Commit 428cb9c5 authored by Kolbjørn Barmen's avatar Kolbjørn Barmen

Updated to 1.7.2

* Our patches seem redundant and/or unappliable for now - disabled
parent e2b5cae8
......@@ -3,8 +3,8 @@
set -e
package="radsecproxy"
version="1.6.9"
revision="3~uninett"
version="1.7.2"
revision="1~uninett"
export TZ="Europe/Oslo"
now=$(date +"%a, %d %b %Y %T %z")
......@@ -21,7 +21,9 @@ EOF
apt-get update
curl --silent -o "${package}"_"${version}".orig.tar.gz "https://software.nordu.net/${package}/${package}-${version}.tar.gz"
RADSECPROXY_URL="https://github.com/${package}/${package}"
RADSECPROXY_SRCURL="${RADSECPROXY_URL}/releases/download/${version}/${package}-${version}.tar.gz"
curl --silent -o "${package}"_"${version}".orig.tar.gz -L "${RADSECPROXY_SRCURL}"
tar xzf "${package}"_"${version}".orig.tar.gz
#git clone https://git.nordu.net/radsecproxy.git "${package}"-"${version}"
#tar czf "${package}"_"${version}".orig.tar.gz "${package}"-"${version}"
......@@ -30,10 +32,10 @@ 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/
for patch in patches/* ; do
echo ${patch##*/}
done >> "${package}"-"${version}"/debian/patches/series
# cp patches/* "${package}"-"${version}"/debian/patches/
# for patch in patches/* ; do
# echo ${patch##*/}
# done >> "${package}"-"${version}"/debian/patches/series
cat > changelog << EOF
radsecproxy (${version}-${revision}) unstable; urgency=medium
......
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