Bug#325268: asterisk: Please package version 1.2 betas

Tzafrir Cohen tzafrir.cohen at xorcom.com
Tue Aug 30 03:19:38 UTC 2005


On Sat, Aug 27, 2005 at 08:02:02AM +0100, Mark Purcell wrote:
> Alessandro Polverini wrote:
> 
> >today Asterisk 1.2 beta1 has been released. From the release notes:
> >This version of Asterisk represents a significant improvement in 
> >features, stability and compatibility over the 1.0.x releases. Some of 
> >the major new (or upgraded) features include:
> > 
> >
> Allessandro,
> 
> Thanks for this report.
> 
> We shall take a look at it, and proably package the beta versions to 
> experimental.
> 
> If you would like to join the packaging effort then please feel free to 
> setup an account on alioth.debian.org.

Let's get this started. Here's libpri: a modest way to start.

I can't yet figure out exatly how to make svn-buildpackage buld. It
seems to be annoyed with the extra file I have added (see below). I also
don't know how to get a decent diff from svn diff. So I attach the
partial diff and extra file..

No major changes, except that there's no bristuff (RC8f-CVS is
to old). 

-- 
Tzafrir Cohen     icq#16849755  +972-50-7952406
tzafrir.cohen at xorcom.com  http://www.xorcom.com
-------------- next part --------------
Index: debian/control
===================================================================
--- debian/control	(revision 728)
+++ debian/control	(working copy)
@@ -2,7 +2,7 @@
 Priority: optional
 Section: libs
 Maintainer: Debian VoIP Team <pkg-voip-maintainers at lists.alioth.debian.org>
-Uploaders: Kilian Krause <kilian at debian.org>, Jose Carlos Garcia Sogo <jsogo at debian.org>, Mark Purcell <msp at debian.org>, Santiago Garcia Mantinan <manty at debian.org>
+Uploaders: Kilian Krause <kilian at debian.org>, Jose Carlos Garcia Sogo <jsogo at debian.org>, Mark Purcell <msp at debian.org>, Santiago Garcia Mantinan <manty at debian.org>, Tzafrir Cohen <tzafrir.cohen at xorcom.com>
 Build-Depends: debhelper (>> 4.0.0), dpatch
 Standards-Version: 3.6.1
 
Index: debian/patches/00list
===================================================================
--- debian/patches/00list	(revision 728)
+++ debian/patches/00list	(working copy)
@@ -1,2 +1,3 @@
-Makefile.dpatch
-bristuff-0.2.0-RC8l.dpatch
+Makefile_ldconfig.dpatch
+#Makefile.dpatch
+#bristuff-0.2.0-RC8l.dpatch
Index: debian/changelog
===================================================================
--- debian/changelog	(revision 728)
+++ debian/changelog	(working copy)
@@ -1,3 +1,10 @@
+libpri (1.1.9.beta1-1) unstable; urgency=low
+
+  * Using beta of Libpri 1.2 from Asterisk 1.2
+  * Added Makefile_ldconfig.dpatch not to step over Makefile.dpatch
+
+ -- Tzafrir Cohen <tzafrir.cohen at xorcom.com>  Tue, 30 Aug 2005 04:54:21 +0300
+
 libpri (1.0.9-4) unstable; urgency=low
 
   * Import bristuff-0.2.0-RC8l.dpatch
Index: debian/rules
===================================================================
--- debian/rules	(revision 728)
+++ debian/rules	(working copy)
@@ -5,7 +5,7 @@
 # Uncomment this to turn on verbose mode.
 #export DH_VERBOSE=1
 
-include /usr/share/dpatch/dpatch.make
+-include /usr/share/dpatch/dpatch.make
 
 
 CFLAGS = -Wall -g
@@ -33,7 +33,7 @@
 	dh_testdir
 	# Add here commands to configure the package.
 
-	touch configure-stamp
+	touch $@
 
 
 build: build-stamp
@@ -43,7 +43,7 @@
 	# Add here commands to compile the package.
 	$(MAKE)
 
-	touch build-stamp
+	touch $@
 
 clean: clean-unpatched unpatch
 clean-unpatched:
-------------- next part --------------
#! /bin/sh /usr/share/dpatch/dpatch-run
## Makefile_ldconfig.dpatch by Tzafrir Cohen <tzafrir.cohen at xorcom.com>
##
## All lines beginning with `## DP:' are a description of the patch.
## DP: Always run ldconfig -n . At least until upstream Makefile is fixed.

@DPATCH@
diff -urNad libpri-1.1.9.beta1/Makefile /tmp/dpep.Rpms1u/libpri-1.1.9.beta1/Makefile
--- libpri-1.1.9.beta1/Makefile	2005-07-27 16:14:05.000000000 +0300
+++ /tmp/dpep.Rpms1u/libpri-1.1.9.beta1/Makefile	2005-08-30 05:25:15.734755344 +0300
@@ -42,7 +42,7 @@
 INSTALL_PREFIX=
 INSTALL_BASE=/usr
 ifeq (${OSARCH},Linux)
-LDCONFIG_FLAGS=-n
+LDCONFIG_FLAGS=#-n
 else
 ifeq (${OSARCH},FreeBSD)
 LDCONFIG_FLAGS=-m
@@ -56,7 +56,7 @@
 INSTALL_BASE = /usr/local
 else
 SOFLAGS = -Wl,-soname,libpri.so.1
-LDCONFIG = /sbin/ldconfig
+LDCONFIG = /sbin/ldconfig -n
 endif
 
 #The problem with sparc is the best stuff is in newer versions of gcc (post 3.0) only.


More information about the Pkg-voip-maintainers mailing list