tags 375633 + patch
thanks

Hi,

Attached is the diff for my pentanet 2.3.1-5.1 NMU.

-- 
| Lucas Nussbaum
| [EMAIL PROTECTED]   http://www.lucas-nussbaum.net/ |
| jabber: [EMAIL PROTECTED]             GPG: 1024D/023B3F4F |
diff -u pentanet-2.3.1/debian/changelog pentanet-2.3.1/debian/changelog
--- pentanet-2.3.1/debian/changelog
+++ pentanet-2.3.1/debian/changelog
@@ -1,3 +1,10 @@
+pentanet (2.3.1-5.1) unstable; urgency=low
+
+  * Non-maintainer upload.
+  * debian/rules: fixed bashisms. (Closes: #375633)
+
+ -- Lucas Nussbaum <[EMAIL PROTECTED]>  Mon, 14 Jan 2008 16:53:16 +0100
+
 pentanet (2.3.1-5) unstable; urgency=low
 
   * Compile libpentanet.a with -fPIC (Closes: #268456, #269535).
diff -u pentanet-2.3.1/debian/rules pentanet-2.3.1/debian/rules
--- pentanet-2.3.1/debian/rules
+++ pentanet-2.3.1/debian/rules
@@ -23,15 +23,18 @@
 clean:
 	dh_testdir
 	dh_testroot
-	rm -f build-stamp configure-stamp config.{log,status,cache}
+	rm -f build-stamp configure-stamp config.log config.status config.cache
 	-$(MAKE) clean
 	rm -f driver/pentanet.o
 	dh_clean
-	rm -f $(CURDIR)/debian/{build,configure}-stamp
-	rm -rf $(CURDIR)/debian/{tmp,pentanet-{utils,doc,dev}}
-	find $(CURDIR)/{apps,tools} -name "*.o" -exec rm {} \;
+	rm -f $(CURDIR)/debian/build-stamp $(CURDIR)/debian/configure-stamp
+	rm -rf $(CURDIR)/debian/pentanet-utils $(CURDIR)/debian/pentanet-doc
+	rm -rf $(CURDIR)/debian/tmp $(CURDIR)/debian/pentanet-dev
+	find $(CURDIR)/apps -name "*.o" -exec rm {} \;
+	find $(CURDIR)/tools -name "*.o" -exec rm {} \;
 	find $(CURDIR) -name "*~" -exec rm {} \;
-	rm -f $(CURDIR)/apps/{textapp/pentanett,monitor/pentanetm}
+	rm -f $(CURDIR)/apps/textapp/pentanett
+	rm -f $(CURDIR)/apps/textapp/monitor/pentanetm
 	find $(CURDIR)/apps -name "*.la" -exec rm {} \;
 
 install: build
@@ -40,7 +43,10 @@
 	dh_clean -k
 	dh_installdirs
 	# Very ugly, but their makefile is unusable
-	install -d $(DESTDIR)/usr/{bin,lib,include/pentanet,share/man/man1}
+	install -d $(DESTDIR)/usr/bin
+	install -d $(DESTDIR)/usr/lib
+	install -d $(DESTDIR)/usr/include/pentanet
+	install -d $(DESTDIR)/usr/share/man/man1
 	install -m 0755 -s apps/monitor/pentanetm $(DESTDIR)/usr/bin
 	install -m 0755 -s apps/textapp/pentanett $(DESTDIR)/usr/bin
 	install -m 0644 apps/libif/pentapi.h $(DESTDIR)/usr/include/pentanet
@@ -48,7 +54,8 @@
 	install -m 0644 share/xptype.h $(DESTDIR)/usr/include/pentanet
 	install -m 0644 apps/libif/libif.la $(DESTDIR)/usr/lib/libpentanet.a
 	strip --strip-unneeded --remove-section=.note --remove-section=.comment $(DESTDIR)/usr/lib/libpentanet.a
-	install -m 0644 debian/pentanet[tm].1 $(DESTDIR)/usr/share/man/man1
+	install -m 0644 debian/pentanett.1 $(DESTDIR)/usr/share/man/man1
+	install -m 0644 debian/pentanetm.1 $(DESTDIR)/usr/share/man/man1
 
 # Build architecture-independent files here.
 binary-indep: build install

Reply via email to