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
27f364e2
Commit
27f364e2
authored
Apr 29, 2022
by
Julian Wiesener
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Build klarlack instead of varnish
parent
d7f9043e
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
20 additions
and
21 deletions
+20
-21
buildall
bin/buildall
+1
-12
builddpkg
bin/builddpkg
+18
-8
newdpkg
bin/newdpkg
+1
-1
No files found.
bin/buildall
View file @
27f364e2
#!/bin/bash
PREFIX
=
"/home/pkgbuild/uplex-varnish-dpkg"
PREFIX
=
"/home/pkgbuild/
ino/
uplex-varnish-dpkg"
DPKGDIR
=
"
${
PREFIX
}
/dpkg"
BUILDDIR
=
"
${
PREFIX
}
/build"
PATH
=
"
${
PREFIX
}
/bin:
${
PATH
}
"
...
...
@@ -51,17 +51,6 @@ if [ -z "${VERSION}" ]; then
VERSION
=
$(
date
"+%Y%m%d"
)
fi
if
[
-z
"
${
VARNISHABI
}
"
]
;
then
VARNISHABI
=
$(${
PREFIX
}
/bin/getvarnishabi.py
)
if
[
$?
-ne
0
]
;
then
exit
1
fi
fi
sed
-i
'/^GIT_CHEKOUT/d'
varnish/overrides
||
exit
1
echo
"GIT_CHEKOUT=
${
VARNISHABI
}
"
>>
varnish/overrides
||
exit
1
if
[
-z
"
${
DEBRELEASE
}
"
]
;
then
for
dist
in
$(
<build_dist.list
)
;
do
ERR
=
0
...
...
bin/builddpkg
View file @
27f364e2
#!/bin/bash
PREFIX
=
"/home/pkgbuild/uplex-varnish-dpkg"
PREFIX
=
"/home/pkgbuild/
ino/
uplex-varnish-dpkg"
DPKGDIR
=
"
${
PREFIX
}
/dpkg"
PKGNAME
=
"
$1
"
BUILDDIR
=
"
${
PREFIX
}
/build"
...
...
@@ -60,12 +60,15 @@ fi
SRCDIR
=
"
${
BUILDDIR
}
/
${
SRCDIR
}
"
cd
"
${
SRCDIR
}
"
||
exit
1
if
!
[
-z
"
${
GIT_CHEKOUT
}
"
]
;
then
${
GIT_FETCH
}
||
exit
1
git checkout
${
GIT_CHEKOUT
}
||
exit
1
fi
if
[
-f
./debian/changelog
]
;
then
rm
./debian/changelog
||
exit
1
if
[
-z
"
${
KEEP_SOURCE
}
"
]
;
then
if
!
[
-z
"
${
GIT_CHEKOUT
}
"
]
;
then
git reset
--hard
${
GIT_FETCH
}
||
exit
1
git checkout
${
GIT_CHEKOUT
}
||
exit
1
fi
fi
if
[
-d
debian/source
]
;
then
rm
-r
debian/source
fi
rsync
-a
${
DEBDIR
}
./
if
type
prep_src
>
/dev/null 2>&1
;
then
...
...
@@ -73,13 +76,20 @@ if type prep_src >/dev/null 2>&1; then
fi
sed
"s/DPGK_VERSION/
${
FULL_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
fi
if
[
-f
debian/changelog
]
;
then
dch
-u
low
-v
"
$FULL_VERSION
"
-D
stable
"
${
CHANGE_MSG
}
"
||
exit
1
else
dch
-u
low
--package
"
${
PKGNAME
}
"
--create
-v
"
$FULL_VERSION
"
-D
stable
"
${
CHANGE_MSG
}
"
||
exit
1
fi
if
[
-f
debian/changelog.in
]
;
then
cp
debian/changelog debian/changelog.in
fi
if
!
[
-d
"
${
SBUILDDIR
}
"
]
;
then
mkdir
-p
"
${
SBUILDDIR
}
"
||
exit
1
mkdir
-p
"
${
SBUILDDIR
}
"
||
exit
1
fi
cd
"
${
SBUILDDIR
}
"
||
exit
1
sbuild
-d
${
DEBRELEASE
}
--arch
=
${
ARCH
}
${
SRCDIR
}
||
exit
1
...
...
bin/newdpkg
View file @
27f364e2
#!/bin/bash
PREFIX
=
"/home/pkgbuild/uplex-varnish-dpkg"
PREFIX
=
"/home/pkgbuild/
ino/
uplex-varnish-dpkg"
DPKGDIR
=
"
${
PREFIX
}
/dpkg"
PKGNAME
=
"
$1
"
...
...
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