[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Please unblock openser 1.1.0-9



Hi,

I've just fixed a brown paper bug in the OpenSER packaging; a bad sed
substitution was breaking 3 shell scripts.

debdiff attached.

Thanks,

JB.

-- 
 Julien BLACHE <jblache@debian.org>  |  Debian, because code matters more 
 Debian & GNU/Linux Developer        |       <http://www.debian.org>
 Public key available on <http://www.jblache.org> - KeyID: F5D6 5169 
 GPG Fingerprint : 935A 79F1 C8B3 3521 FD62 7CC7 CD61 4FD7 F5D6 5169 

diff -u openser-1.1.0/debian/changelog openser-1.1.0/debian/changelog
--- openser-1.1.0/debian/changelog
+++ openser-1.1.0/debian/changelog
@@ -1,3 +1,11 @@
+openser (1.1.0-9) unstable; urgency=medium
+
+  * debian/rules:
+    + Fix sed substitution pattern to properly get rid of the PATH variable
+      in the openserctl, openser_mysql and openser_postgresql scripts.
+
+ -- Julien BLACHE <jblache@debian.org>  Fri, 12 Jan 2007 15:20:26 +0100
+
 openser (1.1.0-8) unstable; urgency=high
 
   * debian/patches/22_OpenPKG-SA-2006.042.dpatch:
diff -u openser-1.1.0/debian/rules openser-1.1.0/debian/rules
--- openser-1.1.0/debian/rules
+++ openser-1.1.0/debian/rules
@@ -123,7 +123,7 @@
 		cfg-target=/etc/openser/
 
 	find $(CURDIR)/debian/openser/etc/openser -type f -exec chmod -x {} \;
-	sed -i -e "s/^PATH//" $(CURDIR)/debian/openser/usr/sbin/openserctl
+	sed -i -e "s/^PATH.*//" $(CURDIR)/debian/openser/usr/sbin/openserctl
 
 	# install only the mysql module
 	CC="$(CC)" CFLAGS="$(CFLAGS)" TLS=$(TLS) $(MAKE) install-modules-all modules="$(MYSQL_MOD_PATH)"  \
@@ -134,7 +134,7 @@
 		doc-dir=share/doc/openser-mysql-module
 
 	mv $(CURDIR)/debian/openser-mysql-module/usr/sbin/openser_mysql.sh $(CURDIR)/debian/openser-mysql-module/usr/sbin/openser_mysql
-	sed -i -e "s/^PATH//" $(CURDIR)/debian/openser-mysql-module/usr/sbin/openser_mysql
+	sed -i -e "s/^PATH.*//" $(CURDIR)/debian/openser-mysql-module/usr/sbin/openser_mysql
 	chmod +x $(CURDIR)/debian/openser-mysql-module/usr/sbin/openser_mysql
 
 	# install only the postgres module
@@ -146,7 +146,7 @@
 		doc-dir=share/doc/openser-postgres-module
 
 	mv $(CURDIR)/debian/openser-postgres-module/usr/sbin/openser_postgresql.sh $(CURDIR)/debian/openser-postgres-module/usr/sbin/openser_postgresql
-	sed -i -e "s/^PATH//" $(CURDIR)/debian/openser-postgres-module/usr/sbin/openser_postgresql
+	sed -i -e "s/^PATH.*//" $(CURDIR)/debian/openser-postgres-module/usr/sbin/openser_postgresql
 	chmod +x $(CURDIR)/debian/openser-postgres-module/usr/sbin/openser_postgresql
 
 	# install only the unixodbc module

Reply to: