[Pkg-voip-commits] r2995 - openser/trunk/debian

Julien Blache jblache at alioth.debian.org
Fri Jan 12 15:22:24 CET 2007


Author: jblache
Date: 2007-01-12 15:22:23 +0100 (Fri, 12 Jan 2007)
New Revision: 2995

Modified:
   openser/trunk/debian/changelog
   openser/trunk/debian/rules
Log:
Fix sed substitution pattern to properly get rid of the PATH variable in the openserctl, openser_mysql and openser_postgresql scripts.


Modified: openser/trunk/debian/changelog
===================================================================
--- openser/trunk/debian/changelog	2007-01-10 17:12:23 UTC (rev 2994)
+++ openser/trunk/debian/changelog	2007-01-12 14:22:23 UTC (rev 2995)
@@ -1,8 +1,10 @@
-openser (1.1.0-9) UNRELEASED; urgency=low
+openser (1.1.0-9) unstable; urgency=medium
 
-  * NOT RELEASED YET
+  * 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 at debian.org>  Tue, 26 Dec 2006 22:25:55 +0100
+ -- Julien BLACHE <jblache at debian.org>  Fri, 12 Jan 2007 15:20:26 +0100
 
 openser (1.1.0-8) unstable; urgency=high
 

Modified: openser/trunk/debian/rules
===================================================================
--- openser/trunk/debian/rules	2007-01-10 17:12:23 UTC (rev 2994)
+++ openser/trunk/debian/rules	2007-01-12 14:22:23 UTC (rev 2995)
@@ -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




More information about the Pkg-voip-commits mailing list