[Pkg-citadel-commit] r309 - webcit/trunk/debian
bzed at alioth.debian.org
bzed at alioth.debian.org
Fri Mar 27 14:13:23 UTC 2009
Author: bzed
Date: 2009-03-27 14:13:23 +0000 (Fri, 27 Mar 2009)
New Revision: 309
Added:
webcit/trunk/debian/uscan-dfsg-clean.sh
Modified:
webcit/trunk/debian/changelog
webcit/trunk/debian/watch
Log:
Added debian/uscan-dfsg-clean.sh and updated debian/watch to remove
non-free material while running uscan.
Modified: webcit/trunk/debian/changelog
===================================================================
--- webcit/trunk/debian/changelog 2009-03-27 14:08:30 UTC (rev 308)
+++ webcit/trunk/debian/changelog 2009-03-27 14:13:23 UTC (rev 309)
@@ -3,8 +3,10 @@
* Calculate dependency on citadel-common based on the current webcit
upstream version, closes: #520881
* Added Homepage, Vcs-Svn and Vcs-Browser information to debian/control.
+ * Added debian/uscan-dfsg-clean.sh and updated debian/watch to remove
+ non-free material while running uscan.
- -- Bernd Zeimetz <bzed at debian.org> Fri, 27 Mar 2009 15:09:50 +0100
+ -- Bernd Zeimetz <bzed at debian.org> Fri, 27 Mar 2009 15:14:37 +0100
webcit (7.43-dfsg-1) unstable; urgency=high
Added: webcit/trunk/debian/uscan-dfsg-clean.sh
===================================================================
--- webcit/trunk/debian/uscan-dfsg-clean.sh (rev 0)
+++ webcit/trunk/debian/uscan-dfsg-clean.sh 2009-03-27 14:13:23 UTC (rev 309)
@@ -0,0 +1,28 @@
+#!/bin/sh
+
+set -e
+
+#command --upstream-version version filename
+
+[ $# -eq 3 ] || exit 255
+
+echo
+
+version="$2"
+filename="$3"
+dfsgfilename=`echo $3 | sed 's,\.orig\.,.dfsg.orig.,'`
+
+tar xfz ${filename}
+
+dir=`tar tfz ${filename} | head -1 | sed 's,/.*,,g'`
+rm -f ${filename}
+
+rm -rf ${dir}/static/openid-small.gif
+mv ${dir} ${dir}.dfsg.orig
+
+tar cf - ${dir}.dfsg.orig | gzip -9 > ${dfsgfilename}
+
+rm -rf ${dir}.dfsg.orig
+
+echo "${dfsgfilename} created."
+
Property changes on: webcit/trunk/debian/uscan-dfsg-clean.sh
___________________________________________________________________
Name: svn:executable
+ *
Modified: webcit/trunk/debian/watch
===================================================================
--- webcit/trunk/debian/watch 2009-03-27 14:08:30 UTC (rev 308)
+++ webcit/trunk/debian/watch 2009-03-27 14:13:23 UTC (rev 309)
@@ -2,5 +2,6 @@
opts=dversionmangle=s/\-dfsg$// \
http://www.citadel.org/doku.php?id=installation:start \
-http://easyinstall.citadel.org/webcit-([\d\.]+.?).tar.gz
+http://easyinstall.citadel.org/webcit-([\d\.]+.?).tar.gz \
+debian debian/uscan-dfsg-clean.sh
More information about the Pkg-citadel-commit
mailing list