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

Bug#684320: unblock: isdnutils/1:3.25+dfsg-2



Package: release.debian.org
Severity: normal
User: release.debian.org@packages.debian.org
Usertags: freeze-exception

Dear release team,

with the help of Peter Marschall I managed to iron
out a few more quirks in the isdnutils build system.
The package now builds with the latest autotools
instead of hardcoding.  isdnutils was one of the
last few packages to depend on automake1.7 and this
requirement being dropped might allow for wheezy to
ship without automake1.7.  I've taken the liberty
to disable the watch file since upstream currently
does not release tarballs.  Please kindly consider
to allow isdnutils 1:3.25+dfsg-2 into wheezy.

Thank you.

Regards

Rolf
diff --git a/debian/changelog b/debian/changelog
index 0dfe4cb..519fab6 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,14 @@
+isdnutils (1:3.25+dfsg1-2) unstable; urgency=low
+
+  [ Rolf Leggewie ]
+  * deactivate watch file until upstream starts releasing tarballs again
+
+  [ Peter Marschall ]
+  * simplify autotools stuff and drop dependency on obsolete automake
+    version 1.7. Closes: #549137
+
+ -- Rolf Leggewie <foss@rolf.leggewie.biz>  Mon, 30 Jul 2012 03:53:00 +0800
+
 isdnutils (1:3.25+dfsg1-1) unstable; urgency=low
 
   * debian/init.d.functions: reintroduce cd-command lost in 985a74cd63.
diff --git a/debian/control b/debian/control
index 921c56f..95c1269 100644
--- a/debian/control
+++ b/debian/control
@@ -8,7 +8,7 @@ Standards-Version: 3.9.3
 Build-Depends: debhelper (>= 9), bzip2, libncurses5-dev | libncurses-dev,
  xutils-dev | imake, tcl-dev, linuxdoc-tools (>=0.9.20), groff, libtool,
  libxaw7-dev, libreadline-dev, libpcap0.8-dev, autotools-dev,
- automake1.7, automake1.9, autoconf2.13, autoconf, libssl-dev, psutils,
+ automake, autoconf, libssl-dev, psutils,
  lsb-release, po-debconf, ppp-dev
 Homepage: http://www.isdn4linux.de
 Vcs-Git: git://git.debian.org/git/collab-maint/isdnutils.git
diff --git a/debian/patches/capiinfo-autotools.patch b/debian/patches/capiinfo-autotools.patch
new file mode 100644
index 0000000..fceb7c7
--- /dev/null
+++ b/debian/patches/capiinfo-autotools.patch
@@ -0,0 +1,36 @@
+Author: Peter Marschall <peter@adpm.de>
+Description: make sure autoreconf works
+Applied-Upstream: commit:e23cdd55623a7c4f91a
+Forwarded: Yes
+Last-Update: 2012-07-30
+
+diff --git a/capiinfo/acconfig.h b/capiinfo/acconfig.h
+deleted file mode 100644
+--- a/capiinfo/acconfig.h
++++ /dev/null
+@@ -1,5 +0,0 @@
+-
+-#undef VERSION
+-#undef PACKAGE
+-#undef CONFIG_SBINDIR
+-#undef CONFIG_MANDIR
+diff --git a/capiinfo/configure.in b/capiinfo/configure.in
+--- a/capiinfo/configure.in
++++ b/capiinfo/configure.in
+@@ -27,14 +27,14 @@ dnl Optional sbin directory
+ AC_ARG_WITH(sbin,
+ 	[  --with-sbin=DIR         Set dir where binary is istalled. [/sbin]],
+ 	CONFIG_SBINDIR="${withval}"
+-	AC_DEFINE(CONFIG_SBINDIR,"${withval}"),
++	AC_DEFINE(CONFIG_SBINDIR,"${withval}", [capiinfo sbin directory]),
+ )
+ 
+ dnl Optional man directory
+ AC_ARG_WITH(man,
+ 	[  --with-man=DIR          Set manpage dir. [/usr/man]],
+ 	CONFIG_MANDIR="${withval}"
+-	AC_DEFINE(CONFIG_MANDIR,"${withval}"),
++	AC_DEFINE(CONFIG_MANDIR,"${withval}", [capiinfo manual directory]),
+ )
+ 
+ AC_SUBST(INSTALL)
diff --git a/debian/patches/series b/debian/patches/series
index 37f82d0..d488fb0 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -4,3 +4,4 @@ capiinit-conffile.patch
 capiinit-fwpath.patch
 libtool.patch
 ipppd-replace-gpl-code.patch
+capiinfo-autotools.patch
diff --git a/debian/rules b/debian/rules
index e752ae1..ba7fe34 100755
--- a/debian/rules
+++ b/debian/rules
@@ -12,55 +12,13 @@ override_dh_auto_build:
 	done
 
 	@set -e; \
-	for d in capi20; do \
+	for d in capi20 capifax capiinfo capiinit rcapid vbox eicon ipppd; do \
 	  echo "Regenerating autotools files in $$d ..."; \
 	  cd $$d; \
-	  echo "  libtool"; libtoolize -c -f ; \
-	  echo "  aclocal-1.9"; aclocal-1.9; \
-	  echo "  automake-1.9"; automake-1.9 --add-missing; \
+	  echo "  autoreconf"; autoreconf -if; \
 	  cd ..; \
 	done
 
-	@set -e; \
-	for d in capifax capiinfo capiinit rcapid; do \
-	  echo "Regenerating autotools files in $$d ..."; \
-	  cd $$d; \
-	  echo "  aclocal"; aclocal; \
-	  echo "  autoconf"; autoconf; \
-	  case "$$d" in rcapid);; *) echo "  autoheader"; autoheader; esac; \
-	  echo "  automake"; automake --add-missing; \
-	  touch configure.in; \
-	  touch aclocal.m4; \
-	  touch configure; \
-	  cd ..; \
-	done
-
-	@set -e; \
-	for d in vbox; do \
-	  echo "Regenerating autotools files in $$d ..."; \
-	  cd $$d; \
-	  echo "  aclocal-1.7"; aclocal-1.7; \
-	  echo "  autoconf"; autoconf; \
-	  echo "  automake-1.7"; automake-1.7 -c --add-missing; \
-	  touch configure.in; \
-	  touch aclocal.m4; \
-	  touch configure; \
-	  cd ..; \
-	done
-
-	@set -e; \
-	for d in eicon; do \
-	  echo "Regenerating autotools files in $$d ..."; \
-	  cd $$d; \
-	  echo "  autoconf2.13"; autoconf2.13; \
-	  cd ..; \
-	done
-
-# autoheader doesn't work in vbox ... is it needed?
-#	  echo "  autoheader"; autoheader; \
-
-	cd ipppd && autoconf
-
 	#### normal MAKE process continues here ###
 
 	# we need a .config file. Try isdnutils.config in parent directory first
diff --git a/debian/watch b/debian/watch
index 6f8197c..4dbee90 100644
--- a/debian/watch
+++ b/debian/watch
@@ -3,6 +3,6 @@
 # Upstream tags releases in git for the moment, proper tarball releases
 # are scheduled to follow.
 
-version=3
-opts="dversionmangle=s/.*(2[[:digit:]]+).dfsg.*/$1/,uversionmangle=s/-//g" \
-  ftp://ftp.isdn4linux.de/pub/isdn4linux/CVS-Snapshots/isdn4k-utils-CVS-([-\d\.]*)\.tar\.bz2
+#version=3
+#opts="dversionmangle=s/.*(2[[:digit:]]+).dfsg.*/$1/,uversionmangle=s/-//g" \
+#  ftp://ftp.isdn4linux.de/pub/isdn4linux/CVS-Snapshots/isdn4k-utils-CVS-([-\d\.]*)\.tar\.bz2

Reply to: