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

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
......
#!/bin/sh
set -e
# set -x
export TZ="Europe/Oslo"
set -e
package="radsecproxy"
version="1.6.8"
revision="uninett-2"
export TZ="Europe/Oslo"
now=$(date +"%a, %d %b %Y %T %z")
here=$(pwd)
......@@ -29,13 +29,13 @@ tar xzf "${package}"_"${version}".orig.tar.gz
apt-get source ${package}
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
echo ${patch##*/}
done >> "${package}"-"${version}"/debian/patches/series
cat > changelog << EOF
radsecproxy (${version}-uninett1) 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