Commit 71f451a2 authored by Kolbjørn Barmen's avatar Kolbjørn Barmen
Browse files

Småplukk

parent 4cd1561b
# Build script for Radsecproxy at UNINETT # Docker for building debian package of Radsecproxy at UNINETT
This script will generate a .deb package for Radsecproxy. This docker will generate a .deb package for Radsecproxy.
## Usage ## Usage
......
#!/bin/sh #!/bin/sh
set -e
# set -x # set -x
set -e
export TZ="Europe/Oslo"
package="radsecproxy" package="radsecproxy"
version="1.6.8" version="1.6.8"
revision="uninett-2"
export TZ="Europe/Oslo"
now=$(date +"%a, %d %b %Y %T %z") now=$(date +"%a, %d %b %Y %T %z")
here=$(pwd) here=$(pwd)
...@@ -29,13 +29,13 @@ tar xzf "${package}"_"${version}".orig.tar.gz ...@@ -29,13 +29,13 @@ tar xzf "${package}"_"${version}".orig.tar.gz
apt-get source ${package} apt-get source ${package}
tar xf "${package}"_*.debian.tar.xz -C "${package}"-"${version}/" tar xf "${package}"_*.debian.tar.xz -C "${package}"-"${version}/"
cp patches/* "${package}"-"${version}"/debian/patches/ cp patches/* "${package}"~"${version}"/debian/patches/
for patch in patches/* ; do for patch in patches/* ; do
echo ${patch##*/} echo ${patch##*/}
done >> "${package}"-"${version}"/debian/patches/series done >> "${package}"-"${version}"/debian/patches/series
cat > changelog << EOF cat > changelog << EOF
radsecproxy (${version}-uninett1) unstable; urgency=medium radsecproxy (${version}-${revision}) unstable; urgency=medium
* New upstream release, with uninett-specific patches * 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