[Pkg-voip-commits] r5554 - in /zaptel/trunk/debian: changelog rules
tzafrir-guest at alioth.debian.org
tzafrir-guest at alioth.debian.org
Wed Apr 16 22:16:30 UTC 2008
Author: tzafrir-guest
Date: Wed Apr 16 22:15:30 2008
New Revision: 5554
URL: http://svn.debian.org/wsvn/pkg-voip/?sc=1&rev=5554
Log:
Fix the generation of tonezone.txt.
Modified:
zaptel/trunk/debian/changelog
zaptel/trunk/debian/rules
Modified: zaptel/trunk/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-voip/zaptel/trunk/debian/changelog?rev=5554&op=diff
==============================================================================
--- zaptel/trunk/debian/changelog (original)
+++ zaptel/trunk/debian/changelog Wed Apr 16 22:15:30 2008
@@ -5,8 +5,9 @@
[ Tzafrir Cohen ]
* Note the buid "error" from http://bugs.digium.com/12426 .
-
- -- Tzafrir Cohen <tzafrir.cohen at xorcom.com> Mon, 14 Apr 2008 15:10:26 +0300
+ * Fix the generation of tonezone.txt.
+
+ -- Tzafrir Cohen <tzafrir.cohen at xorcom.com> Thu, 17 Apr 2008 01:14:22 +0300
zaptel (1:1.4.10~dfsg-1) unstable; urgency=low
Modified: zaptel/trunk/debian/rules
URL: http://svn.debian.org/wsvn/pkg-voip/zaptel/trunk/debian/rules?rev=5554&op=diff
==============================================================================
--- zaptel/trunk/debian/rules (original)
+++ zaptel/trunk/debian/rules Wed Apr 16 22:15:30 2008
@@ -94,8 +94,8 @@
tonezones.txt: zonedata.c
echo >$@ "# A list of tonezones supported by this copy of zaptel and libtonezones:"
- grep '[[:space:]]\+{[[:space:]]\+[[:digit:]]\+,' zonedata.c \
- | awk -F\" '{ print $$2"\t"$$4 }' \
+ perl -ne 'next unless (/\.(country|description) = *"([^"]*)/); \
+ print (($1 eq "country")? "$2\t":"$2\n");' $< \
>>$@
# A workaround for version incompatibility of asciidoc to fix Sarge build.
More information about the Pkg-voip-commits
mailing list