Commit 27f364e2 authored by Julian Wiesener's avatar Julian Wiesener

Build klarlack instead of varnish

parent d7f9043e
#!/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/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
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 [ -f ./debian/changelog ]; then
rm ./debian/changelog || exit 1
if [ -d debian/source ]; then
rm -r debian/source
fi
rsync -a ${DEBDIR} ./
if type prep_src >/dev/null 2>&1; then
......@@ -73,11 +76,18 @@ 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
fi
......
#!/bin/bash
PREFIX="/home/pkgbuild/uplex-varnish-dpkg"
PREFIX="/home/pkgbuild/ino/uplex-varnish-dpkg"
DPKGDIR="${PREFIX}/dpkg"
PKGNAME="$1"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment