diff options
author | fjoe <fjoe@FreeBSD.org> | 2005-02-28 19:00:47 +0800 |
---|---|---|
committer | fjoe <fjoe@FreeBSD.org> | 2005-02-28 19:00:47 +0800 |
commit | a9d467bbb9661f282213599fa1e340d3d8ee0b6b (patch) | |
tree | 743abe979c948ddb8d27a366f5b6829a2b4ad827 /misc/libpri | |
parent | a1762d1b1f3558b55154e34c1912076bc7d6921a (diff) | |
download | freebsd-ports-gnome-a9d467bbb9661f282213599fa1e340d3d8ee0b6b.tar.gz freebsd-ports-gnome-a9d467bbb9661f282213599fa1e340d3d8ee0b6b.tar.zst freebsd-ports-gnome-a9d467bbb9661f282213599fa1e340d3d8ee0b6b.zip |
- Update to 1.0.4.
- Add PATCHFILE by Klaus-Peter Junghanns for quadBRI/octoBRI (HFC-S) support
Sponsored by: LF.net
Approved by: MAINTAINER
Diffstat (limited to 'misc/libpri')
-rw-r--r-- | misc/libpri/Makefile | 11 | ||||
-rw-r--r-- | misc/libpri/distinfo | 6 | ||||
-rw-r--r-- | misc/libpri/files/patch-Makefile | 16 | ||||
-rw-r--r-- | misc/libpri/files/patch-pri_q921.h | 13 |
4 files changed, 18 insertions, 28 deletions
diff --git a/misc/libpri/Makefile b/misc/libpri/Makefile index 2fe90909e54c..99dd2a02bf96 100644 --- a/misc/libpri/Makefile +++ b/misc/libpri/Makefile @@ -6,14 +6,20 @@ # PORTNAME= libpri -PORTVERSION= 1.0.2 +PORTVERSION= 1.0.4 CATEGORIES= misc MASTER_SITES= ftp://ftp.asterisk.org/pub/libpri/ \ ftp://ftp.asterisk.org/pub/libpri/old/ +PATCHFILES= ${PORTNAME}-${PORTVERSION}-${BRIVER}.patch.gz +PATCH_SITES= ${MASTER_SITE_LOCAL} +PATCH_SITE_SUBDIR= fjoe +PATCH_DIST_STRIP= -p1 + MAINTAINER= gonzo@univ.kiev.ua COMMENT= A C implementation of the Primary Rate ISDN specification +BRIVER= bristuff-0.2.0-RC7f USE_GMAKE= yes INSTALLS_SHLIB= yes @@ -23,7 +29,4 @@ INSTALLS_SHLIB= yes BROKEN= "Does not compile on alpha" .endif -post-patch: - @${FIND} ${WRKSRC} -name \*.orig -or -name \*.bak -delete - .include <bsd.port.post.mk> diff --git a/misc/libpri/distinfo b/misc/libpri/distinfo index 5ba1dbf0365f..c11747653367 100644 --- a/misc/libpri/distinfo +++ b/misc/libpri/distinfo @@ -1,2 +1,4 @@ -MD5 (libpri-1.0.2.tar.gz) = 374c089bf3bdee3f8e2d7b315190022e -SIZE (libpri-1.0.2.tar.gz) = 55451 +MD5 (libpri-1.0.4.tar.gz) = 82f3ac51101b456f9f916ed1ca774ebc +SIZE (libpri-1.0.4.tar.gz) = 55677 +MD5 (libpri-1.0.4-bristuff-0.2.0-RC7f.patch.gz) = 3baf8a992d4aade33ed0347a994a3c94 +SIZE (libpri-1.0.4-bristuff-0.2.0-RC7f.patch.gz) = 28966 diff --git a/misc/libpri/files/patch-Makefile b/misc/libpri/files/patch-Makefile index 69c9ec960f8f..6ab85c668787 100644 --- a/misc/libpri/files/patch-Makefile +++ b/misc/libpri/files/patch-Makefile @@ -1,8 +1,5 @@ - -$FreeBSD$ - ---- Makefile.orig -+++ Makefile +--- Makefile.orig Fri Feb 25 06:05:47 2005 ++++ Makefile Fri Feb 25 06:08:51 2005 @@ -33,11 +33,11 @@ TOBJS=testpri.o T2OBJS=testprilib.o @@ -11,14 +8,14 @@ $FreeBSD$ +DYNAMIC_LIBRARY=libpri.so.1 STATIC_OBJS=pri.o q921.o prisched.o q931.o DYNAMIC_OBJS=pri.lo q921.lo prisched.lo q931.lo --CFLAGS=-Wall -Werror -Wstrict-prototypes -Wmissing-prototypes -g $(ALERTING) $(LIBPRI_COUNTERS) +-CFLAGS=-Wall -Wstrict-prototypes -Wmissing-prototypes -g $(ALERTING) $(LIBPRI_COUNTERS) -INSTALL_PREFIX= -+CFLAGS+=-Wall -Werror -Wstrict-prototypes -Wmissing-prototypes $(ALERTING) $(LIBPRI_COUNTERS) ++CFLAGS+=-Wall -Wstrict-prototypes -Wmissing-prototypes $(ALERTING) $(LIBPRI_COUNTERS) +INSTALL_PREFIX=$(PREFIX) ifeq (${OSARCH},Linux) LDCONFIG_FLAGS=-n else -@@ -62,20 +62,19 @@ +@@ -62,21 +62,19 @@ @cvs update -d install: $(STATIC_LIBRARY) $(DYNAMIC_LIBRARY) @@ -26,6 +23,7 @@ $FreeBSD$ - mkdir -p $(INSTALL_PREFIX)/usr/include - install -m 644 libpri.h $(INSTALL_PREFIX)/usr/include - install -m 755 $(DYNAMIC_LIBRARY) $(INSTALL_PREFIX)/usr/lib +- if [ -x /usr/sbin/sestatus ] && ( /usr/sbin/sestatus | grep "SELinux status:" | grep -q "enabled"); then restorecon -v $(INSTALL_PREFIX)/$(INSTALL_BASE)/lib/$(DYNAMIC_LIBRARY); fi - ( cd $(INSTALL_PREFIX)/usr/lib ; ln -sf libpri.so.1 libpri.so ) - install -m 644 $(STATIC_LIBRARY) $(INSTALL_PREFIX)/usr/lib - /sbin/ldconfig @@ -49,7 +47,7 @@ $FreeBSD$ pritest: pritest.o $(CC) -o pritest pritest.o -L. -lpri -lzap $(CFLAGS) -@@ -100,11 +99,11 @@ +@@ -101,11 +99,11 @@ $(DYNAMIC_LIBRARY): $(DYNAMIC_OBJS) $(CC) -shared -Wl,-soname,libpri.so.1 -o $@ $(DYNAMIC_OBJS) diff --git a/misc/libpri/files/patch-pri_q921.h b/misc/libpri/files/patch-pri_q921.h deleted file mode 100644 index 8cb788d6d722..000000000000 --- a/misc/libpri/files/patch-pri_q921.h +++ /dev/null @@ -1,13 +0,0 @@ -diff -Naur pri_q921.h.orig pri_q921.h ---- pri_q921.h.orig 2004-10-02 17:55:20.000000000 +0300 -+++ pri_q921.h 2004-10-19 19:12:38.000000000 +0300 -@@ -30,6 +30,9 @@ - #include <endian.h> - #elif defined(__FreeBSD__) - #include <sys/endian.h> -+#define __BYTE_ORDER _BYTE_ORDER -+#define __BIG_ENDIAN _BIG_ENDIAN -+#define __LITTLE_ENDIAN _LITTLE_ENDIAN - #endif - - /* Timer values */ |