aboutsummaryrefslogtreecommitdiffstats
path: root/misc/libpri2
diff options
context:
space:
mode:
authorsobomax <sobomax@FreeBSD.org>2006-06-19 15:52:13 +0800
committersobomax <sobomax@FreeBSD.org>2006-06-19 15:52:13 +0800
commit480288f2f4462635b281512fa3a10a8b5e885e96 (patch)
tree4394bb7febdbb90b0fd11026498bedf97382940c /misc/libpri2
parent5f78a66f29d1d5d5c55abd589ae3f92fb822654c (diff)
downloadfreebsd-ports-gnome-480288f2f4462635b281512fa3a10a8b5e885e96.tar.gz
freebsd-ports-gnome-480288f2f4462635b281512fa3a10a8b5e885e96.tar.zst
freebsd-ports-gnome-480288f2f4462635b281512fa3a10a8b5e885e96.zip
Update to 1.2.3, which is necessary for newest version of asterisk to
compile with zaptel support.
Diffstat (limited to 'misc/libpri2')
-rw-r--r--misc/libpri2/Makefile3
-rw-r--r--misc/libpri2/distinfo6
-rw-r--r--misc/libpri2/files/patch-Makefile26
3 files changed, 20 insertions, 15 deletions
diff --git a/misc/libpri2/Makefile b/misc/libpri2/Makefile
index de417c50ce4c..0618ec61335e 100644
--- a/misc/libpri2/Makefile
+++ b/misc/libpri2/Makefile
@@ -6,8 +6,7 @@
#
PORTNAME= libpri
-PORTVERSION= 1.2.2
-PORTREVISION= 1
+PORTVERSION= 1.2.3
CATEGORIES= misc
MASTER_SITES= ftp://ftp.digium.com/pub/libpri/ \
ftp://ftp.digium.com/pub/libpri/old/
diff --git a/misc/libpri2/distinfo b/misc/libpri2/distinfo
index cfa28374603b..6f950b1fd966 100644
--- a/misc/libpri2/distinfo
+++ b/misc/libpri2/distinfo
@@ -1,6 +1,6 @@
-MD5 (libpri-1.2.2.tar.gz) = efce9c3699110588df5e4cf09eae01d9
-SHA256 (libpri-1.2.2.tar.gz) = 168fce4699b77c1ac5ae176237dae2f289714be95ddd2fe8bdc25a22f00318dd
-SIZE (libpri-1.2.2.tar.gz) = 76070
+MD5 (libpri-1.2.3.tar.gz) = f365d9ee29a7253d605729a6d07ebfff
+SHA256 (libpri-1.2.3.tar.gz) = f4ca5d72aa4b5e5c99c4e1a9de7235af5ed12b51a20dd757f071f5d7cf9d0fd0
+SIZE (libpri-1.2.3.tar.gz) = 76348
MD5 (libpri-1.2.2-bristuff-0.3.0-PRE-1l.patch.gz) = e24e00f07601f6c43fb3825d0e67af3c
SHA256 (libpri-1.2.2-bristuff-0.3.0-PRE-1l.patch.gz) = 92b4a8e5a36bb772b8cfc7e8563d4c422dec9415bc1f3247179a83ddf8352fdf
SIZE (libpri-1.2.2-bristuff-0.3.0-PRE-1l.patch.gz) = 43755
diff --git a/misc/libpri2/files/patch-Makefile b/misc/libpri2/files/patch-Makefile
index c274238c5b41..c38b3fd90f4b 100644
--- a/misc/libpri2/files/patch-Makefile
+++ b/misc/libpri2/files/patch-Makefile
@@ -1,5 +1,8 @@
---- Makefile.orig Wed Jan 11 02:19:14 2006
-+++ Makefile Wed Apr 26 02:47:21 2006
+
+$FreeBSD$
+
+--- Makefile.orig
++++ Makefile
@@ -27,7 +27,7 @@
# Uncomment if you want libpri to count number of Q921/Q931 sent/received
#LIBPRI_COUNTERS=-DLIBPRI_COUNTERS
@@ -18,15 +21,15 @@
STATIC_OBJS=copy_string.o pri.o q921.o prisched.o q931.o pri_facility.o
DYNAMIC_OBJS=copy_string.lo pri.lo q921.lo prisched.lo q931.lo pri_facility.lo
-CFLAGS=-Wall -Werror -Wstrict-prototypes -Wmissing-prototypes -g $(ALERTING) $(LIBPRI_COUNTERS)
--INSTALL_PREFIX?=
+-INSTALL_PREFIX=$(DESTDIR)
-INSTALL_BASE=/usr
-SOFLAGS = -Wl,-hlibpri.so.1.0
+CFLAGS+=-Wall -Werror -Wstrict-prototypes -Wmissing-prototypes -g $(ALERTING) $(LIBPRI_COUNTERS)
-+INSTALL_PREFIX?=$(PREFIX)
++INSTALL_PREFIX=$(PREFIX)
+INSTALL_BASE=
+SOFLAGS = -Wl,-hlibpri.so.1
LDCONFIG = /sbin/ldconfig
- ifeq (${OSARCH},Linux)
+ ifneq (,$(findstring $(OSARCH), Linux GNU/kFreeBSD))
LDCONFIG_FLAGS=-n
@@ -84,12 +84,11 @@
mkdir -p $(INSTALL_PREFIX)$(INSTALL_BASE)/lib
@@ -37,7 +40,7 @@
- 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)$(INSTALL_BASE)/lib ; ln -sf libpri.so.1.0 libpri.so ; ln -sf libpri.so.1.0 libpri.so.1 )
- install -m 644 $(STATIC_LIBRARY) $(INSTALL_PREFIX)$(INSTALL_BASE)/lib
-- if test $$(id -u) = 0; then $(LDCONFIG); fi
+- if test $$(id -u) = 0; then $(LDCONFIG) $(LDCONFIG_FLAGS) $(INSTALL_PREFIX)$(INSTALL_BASE)/lib; fi
+ echo installing libpri.h
+ $(BSD_INSTALL_DATA) libpri.h $(INSTALL_PREFIX)/include
+ $(BSD_INSTALL_PROGRAM) $(DYNAMIC_LIBRARY) $(INSTALL_PREFIX)/lib
@@ -46,11 +49,14 @@
else
install -f $(INSTALL_PREFIX)$(INSTALL_BASE)/include -m 644 libpri.h
install -f $(INSTALL_PREFIX)$(INSTALL_BASE)/lib -m 755 $(DYNAMIC_LIBRARY)
-@@ -130,7 +129,6 @@
+@@ -130,10 +129,6 @@
$(DYNAMIC_LIBRARY): $(DYNAMIC_OBJS)
$(CC) -shared $(SOFLAGS) -o $@ $(DYNAMIC_OBJS)
- $(LDCONFIG) $(LDCONFIG_FLAGS) .
- ln -sf libpri.so.1.0 libpri.so
- ln -sf libpri.so.1.0 libpri.so.1
- $(SOSLINK)
+- ln -sf libpri.so.1.0 libpri.so
+- ln -sf libpri.so.1.0 libpri.so.1
+- $(SOSLINK)
+
+ clean:
+ rm -f *.o *.so *.lo *.so.1 *.so.1.0