Commit 9e8b39d3 authored by Kolbjørn Barmen's avatar Kolbjørn Barmen
Browse files

Endelig :p

parent 871884ae
......@@ -3,6 +3,6 @@ WORKDIR /root/
COPY patches patches
COPY build.sh build.sh
RUN apt-get update && apt-get -y upgrade
RUN apt-get install -y curl debhelper dh-autoreconf dh-systemd autotools-dev libssl-dev nettle-dev docbook2x
RUN apt-get install -y curl build-essential debhelper dh-autoreconf dh-systemd autotools-dev libssl-dev nettle-dev docbook2x
RUN ./build.sh
CMD tar c *.deb
......@@ -4,7 +4,7 @@ set -e
package="radsecproxy"
version="1.6.8"
revision="uninett2"
revision="2~uninett"
export TZ="Europe/Oslo"
now=$(date +"%a, %d %b %Y %T %z")
......@@ -21,8 +21,8 @@ EOF
apt-get update
curl --silent -o "${package}"_"${version}"~"${revision}".orig.tar.gz "https://software.nordu.net/${package}/${package}-${version}.tar.gz"
tar xzf "${package}"_"${version}"~"${revision}".orig.tar.gz
curl --silent -o "${package}"_"${version}".orig.tar.gz "https://software.nordu.net/${package}/${package}-${version}.tar.gz"
tar xzf "${package}"_"${version}".orig.tar.gz
apt-get source ${package}
tar xf "${package}"_*.debian.tar.xz -C "${package}"-"${version}/"
......@@ -33,7 +33,7 @@ for patch in patches/* ; do
done >> "${package}"-"${version}"/debian/patches/series
cat > changelog << EOF
radsecproxy (${version}~${revision}) unstable; urgency=medium
radsecproxy (${version}-${revision}) unstable; urgency=medium
* New upstream release, with uninett-specific patches
......
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