[Python-apps-commits] r8890 - in packages/gui-ufw/trunk/debian (changelog rules)

dfiloni-guest at users.alioth.debian.org dfiloni-guest at users.alioth.debian.org
Sun Jun 24 23:30:10 UTC 2012


    Date: Sunday, June 24, 2012 @ 23:30:08
  Author: dfiloni-guest
Revision: 8890

Add changes requested by piotr

Modified:
  packages/gui-ufw/trunk/debian/changelog
  packages/gui-ufw/trunk/debian/rules

Modified: packages/gui-ufw/trunk/debian/changelog
===================================================================
--- packages/gui-ufw/trunk/debian/changelog	2012-06-24 11:01:25 UTC (rev 8889)
+++ packages/gui-ufw/trunk/debian/changelog	2012-06-24 23:30:08 UTC (rev 8890)
@@ -11,6 +11,7 @@
   * debian/control: set ufw minimum version to 0.31.1 in Depends field.
   * debian/{copyright, docs}: update files.
   * debian/menu: remove file.
+  * debian/rules: replace /usr/bin/gufw upstream script with a new one.
   * Bump Standards-Version to 3.9.3.
 
  -- Devid Antonio Filoni <d.filoni at ubuntu.com>  Sun, 10 Jun 2012 05:38:45 +0200

Modified: packages/gui-ufw/trunk/debian/rules
===================================================================
--- packages/gui-ufw/trunk/debian/rules	2012-06-24 11:01:25 UTC (rev 8889)
+++ packages/gui-ufw/trunk/debian/rules	2012-06-24 23:30:08 UTC (rev 8890)
@@ -2,3 +2,13 @@
 
 %:
 	dh --with python2 $@
+
+override_dh_auto_install:
+	dh_auto_install -- --install-lib=usr/share/gufw\
+		--install-scripts=usr/share/gufw
+
+	rm -f $(CURDIR)/debian/gufw/usr/bin/gufw
+	mkdir -p $(CURDIR)/debian/gufw/usr/bin
+	echo "#!/bin/bash" > $(CURDIR)/debian/gufw/usr/bin/gufw
+	echo "python /usr/share/gufw/gufw/gufw.py" >> $(CURDIR)/debian/gufw/usr/bin/gufw
+	chmod 755 $(CURDIR)/debian/gufw/usr/bin/gufw




More information about the Python-apps-commits mailing list