[med-svn] r13120 - trunk/packages/aragorn/trunk/debian
Sascha Steinbiss
sascha-guest at alioth.debian.org
Sat Mar 2 19:49:52 UTC 2013
Author: sascha-guest
Date: 2013-03-02 19:49:51 +0000 (Sat, 02 Mar 2013)
New Revision: 13120
Removed:
trunk/packages/aragorn/trunk/debian/watch
Modified:
trunk/packages/aragorn/trunk/debian/get-orig-source
Log:
adjust to new upstream URL
Modified: trunk/packages/aragorn/trunk/debian/get-orig-source
===================================================================
--- trunk/packages/aragorn/trunk/debian/get-orig-source 2013-02-28 13:47:25 UTC (rev 13119)
+++ trunk/packages/aragorn/trunk/debian/get-orig-source 2013-03-02 19:49:51 UTC (rev 13120)
@@ -1,13 +1,4 @@
#!/bin/sh
-# if you need to repack for whatever reason you can
-# use this script via uscan or directly
-#
-# FIXME: currently the code is not conform to Debian Policy
-# http://www.debian.org/doc/debian-policy/ch-source.html
-# "get-orig-source (optional)"
-# This target may be invoked in any directory, ...
-# --> currently it is assumed the script is called in the
-# source directory featuring the debian/ dir
COMPRESS=gz
@@ -16,7 +7,6 @@
if ! echo $@ | grep -q upstream-version ; then
VERSION=`dpkg-parsechangelog | awk '/^Version:/ { print $2 }' | sed 's/\([0-9\.]\+\)-[0-9]\+$/\1/'`
- uscan --force-download
else
VERSION=`echo $@ | sed "s?^.*--upstream-version \([0-9.]\+\) .*${NAME}.*?\1?"`
if echo "$VERSION" | grep -q "upstream-version" ; then
@@ -25,17 +15,10 @@
fi
fi
-TARDIR=${NAME}-${VERSION}
mkdir -p ../tarballs
cd ../tarballs
rm -rf *
-# need to clean up the tarballs dir first because upstream tarball might
-# contain a directory with unpredictable name
-mkdir ${TARDIR}
-cp ../${NAME}${VERSION}.c ${TARDIR}
-rm -f ../${NAME}${VERSION}.c
-
-GZIP="--best --no-name" tar --owner=root --group=root --mode=a+rX -caf "$NAME"_"$VERSION".orig.tar.${COMPRESS} "${TARDIR}"
-rm -rf ${TARDIR}
+wget http://mbio-serv2.mbioekol.lu.se/ARAGORN/aragorn${VERSION}.tgz
+mv aragorn${VERSION}.tgz ${NAME}_${VERSION}.orig.tar.gz
cd ..
-cp tarballs/${NAME}_${VERSION}.orig.tar.gz .
+ln -s tarballs/${NAME}_${VERSION}.orig.tar.gz .
Deleted: trunk/packages/aragorn/trunk/debian/watch
===================================================================
--- trunk/packages/aragorn/trunk/debian/watch 2013-02-28 13:47:25 UTC (rev 13119)
+++ trunk/packages/aragorn/trunk/debian/watch 2013-03-02 19:49:51 UTC (rev 13120)
@@ -1,2 +0,0 @@
-version=3
-http://mbio-serv2.mbioekol.lu.se/ARAGORN/aragorn(.*).c
More information about the debian-med-commit
mailing list