bristuffed libpri
Tzafrir Cohen
tzafrir.cohen at xorcom.com
Mon Dec 5 10:29:13 UTC 2005
Hi
On Mon, Nov 28, 2005 at 04:27:29PM +0200, Tzafrir Cohen wrote:
> And just to complicate things a bit further, there is a nice little 200k
> patch in the svn called bristuff that is basically a rewrite of libpri
> and is not exactly API-compatible.
Here is a crude patch against current libpri package in the SVN to split
libpri into libpri and libpri-bristuffed (2 pairs of binary packages
from the same source package).
This should allow people to build a non-bristuffed aserisk.
--
Tzafrir Cohen icq#16849755 +972-50-7952406
tzafrir.cohen at xorcom.com http://www.xorcom.com
-------------- next part --------------
diff -Nur -x .svn debian/control ../../libpri/trunk/debian/control
--- debian/control 2005-12-04 23:32:12.000000000 +0200
+++ ../../libpri/trunk/debian/control 2005-11-23 04:15:50.000000000 +0200
@@ -23,27 +23,3 @@
based on the Bellcore specification SR-NWT-002343 for National ISDN. As of
May 12, 2001, it has been tested work with NI-2, Nortel DMS-100, and Lucent
5E Custom protocols on switches from Nortel and Lucent
-
-Package: libpri-bristuffed-dev
-Provides: libpri-dev
-Section: libdevel
-Architecture: any
-Depends: libpri1-bristuffed (= ${Source-Version})
-Description: Primary Rate ISDN specification development files
- Development files for the C implementation of the Primary Rate ISDN
- specification.
- .
- This is the version from the bristuff patch.
-
-Package: libpri1-bristuffed
-Provides: libpri1
-Section: libs
-Architecture: any
-Depends: ${shlibs:Depends} ${misc:Depends}
-Description: Primary Rate ISDN specification library
- C implementation of the Primary Rate ISDN specification. It was
- based on the Bellcore specification SR-NWT-002343 for National ISDN. As of
- May 12, 2001, it has been tested work with NI-2, Nortel DMS-100, and Lucent
- 5E Custom protocols on switches from Nortel and Lucent
- .
- This is the version from the bristuff patch.
diff -Nur -x .svn debian/libpri1-bristuffed.dirs ../../libpri/trunk/debian/libpri1-bristuffed.dirs
--- debian/libpri1-bristuffed.dirs 2005-12-04 23:43:11.000000000 +0200
+++ ../../libpri/trunk/debian/libpri1-bristuffed.dirs 1970-01-01 02:00:00.000000000 +0200
@@ -1 +0,0 @@
-usr/lib
diff -Nur -x .svn debian/libpri-bristuffed-dev.dirs ../../libpri/trunk/debian/libpri-bristuffed-dev.dirs
--- debian/libpri-bristuffed-dev.dirs 2005-12-04 23:43:50.000000000 +0200
+++ ../../libpri/trunk/debian/libpri-bristuffed-dev.dirs 1970-01-01 02:00:00.000000000 +0200
@@ -1,2 +0,0 @@
-usr/lib
-usr/include
diff -Nur -x .svn debian/patches/00list ../../libpri/trunk/debian/patches/00list
--- debian/patches/00list 2005-12-04 23:23:43.000000000 +0200
+++ ../../libpri/trunk/debian/patches/00list 2005-11-23 04:14:40.000000000 +0200
@@ -1,2 +1,2 @@
Makefile.dpatch
-#bristuff
+bristuff
diff -Nur -x .svn debian/rules ../../libpri/trunk/debian/rules
--- debian/rules 2005-12-04 23:41:59.000000000 +0200
+++ ../../libpri/trunk/debian/rules 2005-09-21 04:34:04.000000000 +0300
@@ -32,13 +32,6 @@
configure-stamp: patch-stamp
dh_testdir
# Add here commands to configure the package.
-
- # copy to bristuffed:
- rm -rf bristuffed
- mkdir -p bristuffed
- ls | egrep -v '^(debian|bristuffed)$$' \
- | xargs cp -a --target-directory=bristuffed
- cd bristuffed; patch -p1 <../debian/patches/bristuff.dpatch
touch configure-stamp
@@ -49,7 +42,6 @@
# Add here commands to compile the package.
$(MAKE)
- cd bristuffed; $(MAKE)
touch build-stamp
@@ -60,9 +52,6 @@
rm -f build-stamp configure-stamp
# Add here commands to clean up after the build process.
- #
- $(RM) -rf bristuffed
-
-$(MAKE) clean
dh_clean
@@ -75,9 +64,6 @@
# Add here commands to install the package into debian/tmp
$(MAKE) install INSTALL_PREFIX=$(CURDIR)/debian/tmp
- dh_install -p libpri1-bristuffed bristuffed/libpri*.so.*i usr/lib
- dh_install -p libpri-bristuffed-dev bristuffed/libpri*.so usr/lib
- dh_install -p libpri-bristuffed-dev bristuffed/libpri.h usr/include
# Build architecture-independent files here.
??? ?? ????? `debian/.rules.swp'-? `../../libpri/trunk/debian/.rules.swp' ??????? ?????
More information about the Pkg-voip-maintainers
mailing list