Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
U
uplex-varnish-dpkg
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
uplex-varnish
uplex-varnish-dpkg
Commits
b889f010
Commit
b889f010
authored
Jun 05, 2024
by
Julian Wiesener
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Use VARNISHSRC from metadata
parent
f459ce98
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
2 deletions
+14
-2
builddpkg
bin/builddpkg
+14
-2
No files found.
bin/builddpkg
View file @
b889f010
...
...
@@ -44,6 +44,18 @@ if [ -f "${PREFIX}/dpkg/${PKGNAME}/overrides.${DEBRELEASE}" ]; then
.
"
${
PREFIX
}
/dpkg/
${
PKGNAME
}
/overrides.
${
DEBRELEASE
}
"
fi
FULL_VERSION
=
"
${
VERSION
}
+
${
DEBRELEASE
}
"
if
[
-z
"
${
VARNISH_VERSION
}
"
]
;
then
DPKG_VARNISH_VERSION
=
"
${
VERSION
}
+
${
DEBRELEASE
}
"
COMPAT_VERSION
=
"
${
VERSION
}
"
else
DPKG_VARNISH_VERSION
=
"
${
VARNISH_VERSION
}
+
${
DEBRELEASE
}
"
if
[
-z
"
${
VARNISH_PKGVER
}
"
]
;
then
VARNISH_PKGVER
=
1
fi
COMPAT_VERSION
=
"
${
VARNISH_VERSION
}
-
${
VARNISH_PKGVER
}
"
fi
if
[
-z
"
${
CHANGE_MSG
}
"
]
;
then
CHANGE_MSG
=
"
${
DEFAULT_CHANGE_MSG
}
"
fi
...
...
@@ -79,9 +91,9 @@ if type prep_src >/dev/null 2>&1; then
prep_src
||
exit
1
fi
sed
"s/DPGK_VERSION/
${
FULL
_VERSION
}
/g"
${
DEBDIR
}
/control
>
debian/control
||
exit
1
sed
"s/DPGK_VERSION/
${
DPKG_VARNISH_VERSION
}
/g;s/DPKG_VMOD_VERSION/
${
FULL_VERSION
}
/g;s/CMP_VERSION/
${
COMPAT
_VERSION
}
/g"
${
DEBDIR
}
/control
>
debian/control
||
exit
1
if
[
-f
${
DEBDIR
}
/control.in
]
;
then
sed
"s/DPGK_VERSION/
${
FULL
_VERSION
}
/g"
${
DEBDIR
}
/control.in
>
debian/control.in
||
exit
1
sed
"s/DPGK_VERSION/
${
DPKG_VARNISH_VERSION
}
/g;s/DPKG_VMOD_VERSION/
${
FULL_VERSION
}
/g;s/CMP_VERSION/
${
COMPAT
_VERSION
}
/g"
${
DEBDIR
}
/control.in
>
debian/control.in
||
exit
1
fi
if
[
-f
debian/changelog
]
;
then
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment