Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
pkg-varnish-cache
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Commits
Open sidebar
varnishcache
pkg-varnish-cache
Commits
be70e15d
Commit
be70e15d
authored
Mar 09, 2018
by
Dridi Boukelmoune
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Bring back one sed from the grave
And simplify its neighbor.
parent
6fb3a78b
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
11 additions
and
10 deletions
+11
-10
changelog
debian/changelog
+1
-1
control
debian/control
+1
-1
package-deb
package-deb
+9
-8
No files found.
debian/changelog
View file @
be70e15d
varnish (
6.0.0-0
) UNRELEASED; urgency=medium
varnish (
@VERSION@
) UNRELEASED; urgency=medium
* This changelog is not in use. See doc/changes.rst for release notes.
* This changelog is not in use. See doc/changes.rst for release notes.
...
...
debian/control
View file @
be70e15d
Source: varnish
Source: varnish
Section: web
Section:
@SECTION@/
web
Priority: optional
Priority: optional
Maintainer: Varnish Software <opensource@varnish-software.com>
Maintainer: Varnish Software <opensource@varnish-software.com>
Build-Depends:
Build-Depends:
...
...
package-deb
View file @
be70e15d
...
@@ -37,13 +37,6 @@ MINOR=${MINOR%%-*} # 1 or 0
...
@@ -37,13 +37,6 @@ MINOR=${MINOR%%-*} # 1 or 0
RELEASE
=
${
VERSION
#*-
}
# 5.2.1 or rc1
RELEASE
=
${
VERSION
#*-
}
# 5.2.1 or rc1
RELEASE
=
${
RELEASE
#
$VERSION
}
# '' or rc1
RELEASE
=
${
RELEASE
#
$VERSION
}
# '' or rc1
cp
-r
-L
../debian
"
$DIST_DIR
"
/
# Modify Section to suit our repository software.
sed
-i
-e
"s|^Section:
\(
[^/]*
\)\$
|Section: varnish-
$MAJOR
/
\1
|"
"
$DIST_DIR
/debian/control"
tar
zcf
"
$DIST_DIR
.orig.tar.gz"
"
$DIST_DIR
"
/
# Take version override set on Jenkins builds into account.
# Take version override set on Jenkins builds into account.
if
[
-n
"
${
WEEKLY_VERSION
:-}
"
]
if
[
-n
"
${
WEEKLY_VERSION
:-}
"
]
then
then
...
@@ -64,9 +57,17 @@ else
...
@@ -64,9 +57,17 @@ else
DCH_TEXT
=
"Automatic build from git"
DCH_TEXT
=
"Automatic build from git"
fi
fi
FULL_VERSION
=
"
$VERSION
${
RELEASE
:+~
}
$RELEASE
-
$DEBVERSION
"
cp
-r
-L
../debian
"
$DIST_DIR
"
/
sed
-i
-e
"s|@SECTION@|varnish-
$MAJOR
|"
"
$DIST_DIR
/debian/control"
sed
-i
-e
"s|@VERSION@|
$FULL_VERSION
|"
"
$DIST_DIR
/debian/changelog"
tar
zcf
"
$DIST_DIR
.orig.tar.gz"
"
$DIST_DIR
"
/
cd
"
$DIST_DIR
"
cd
"
$DIST_DIR
"
FULL_VERSION
=
"
$VERSION
${
RELEASE
:+~
}
$RELEASE
-
$DEBVERSION
"
dch
-v
"
$FULL_VERSION
"
"
$DCH_TEXT
"
dch
-v
"
$FULL_VERSION
"
"
$DCH_TEXT
"
# Generate the source package used by subsequent sbuilds
# Generate the source package used by subsequent sbuilds
...
...
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