From 7286a50dc52ca7964fb387a8719f119b14e4936b Mon Sep 17 00:00:00 2001 From: Maxim Sobolev Date: Sun, 22 Jul 2007 10:36:56 +0000 Subject: [PATCH] Update to 1.4.1. --- misc/libpri/Makefile | 3 +-- misc/libpri/distinfo | 6 +++--- misc/libpri/files/patch-Makefile | 30 +++++++++++++++++------------- 3 files changed, 21 insertions(+), 18 deletions(-) diff --git a/misc/libpri/Makefile b/misc/libpri/Makefile index cc4b7461258d..6a848915939a 100644 --- a/misc/libpri/Makefile +++ b/misc/libpri/Makefile @@ -6,8 +6,7 @@ # PORTNAME= libpri -PORTVERSION= 1.4.0 -PORTREVISION= 1 +PORTVERSION= 1.4.1 CATEGORIES= misc MASTER_SITES= ftp://ftp.digium.com/pub/libpri/ \ ftp://ftp.digium.com/pub/libpri/old/ diff --git a/misc/libpri/distinfo b/misc/libpri/distinfo index 736952fb9803..85d20723f99e 100644 --- a/misc/libpri/distinfo +++ b/misc/libpri/distinfo @@ -1,3 +1,3 @@ -MD5 (libpri-1.4.0.tar.gz) = 09b039226e43a810d523bc076823c6a9 -SHA256 (libpri-1.4.0.tar.gz) = 9f4db10a105545e68cbe0620795d2e11278828fa281ad339eeb72087125eeaf9 -SIZE (libpri-1.4.0.tar.gz) = 80021 +MD5 (libpri-1.4.1.tar.gz) = 9e5da1f2267711d9aaaf91ffa925b219 +SHA256 (libpri-1.4.1.tar.gz) = 2c8b33213d68a187fb25430c39d79db04bdfc08c769bdada97ab00f521e8ec84 +SIZE (libpri-1.4.1.tar.gz) = 81178 diff --git a/misc/libpri/files/patch-Makefile b/misc/libpri/files/patch-Makefile index a579cef726bd..69052d97c043 100644 --- a/misc/libpri/files/patch-Makefile +++ b/misc/libpri/files/patch-Makefile @@ -29,26 +29,30 @@ $FreeBSD$ LDCONFIG = /sbin/ldconfig ifneq (,$(findstring X$(OSARCH)X, XLinuxX XGNU/kFreeBSDX)) LDCONFIG_FLAGS=-n -@@ -77,15 +77,14 @@ - fi - - install: $(STATIC_LIBRARY) $(DYNAMIC_LIBRARY) -- mkdir -p $(INSTALL_PREFIX)$(INSTALL_BASE)/lib -- mkdir -p $(INSTALL_PREFIX)$(INSTALL_BASE)/include -+ mkdir -p $(INSTALL_PREFIX)/lib -+ mkdir -p $(INSTALL_PREFIX)/include +@@ -47,7 +47,7 @@ + ifeq (${OSARCH},FreeBSD) + LDCONFIG_FLAGS=-m + CFLAGS += -I../zaptel -I../zapata +-INSTALL_BASE=/usr/local ++INSTALL_BASE= + endif + endif + ifeq (${OSARCH},SunOS) +@@ -80,12 +80,11 @@ + mkdir -p $(INSTALL_PREFIX)$(INSTALL_BASE)/lib + mkdir -p $(INSTALL_PREFIX)$(INSTALL_BASE)/include ifneq (${OSARCH},SunOS) - install -m 644 libpri.h $(INSTALL_PREFIX)$(INSTALL_BASE)/include - install -m 755 $(DYNAMIC_LIBRARY) $(INSTALL_PREFIX)$(INSTALL_BASE)/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 +- if [ -x /usr/sbin/sestatus ] && ( /usr/sbin/sestatus | grep "SELinux status:" | grep -q "enabled"); then /sbin/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) $(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 -+ ( cd $(INSTALL_PREFIX)/lib ; ln -sf libpri.so.1 libpri.so ) -+ $(BSD_INSTALL_DATA) $(STATIC_LIBRARY) $(INSTALL_PREFIX)/lib ++ $(BSD_INSTALL_DATA) libpri.h $(INSTALL_PREFIX)$(INSTALL_BASE)/include ++ $(BSD_INSTALL_PROGRAM) $(DYNAMIC_LIBRARY) $(INSTALL_PREFIX)$(INSTALL_BASE)/lib ++ ( cd $(INSTALL_PREFIX)$(INSTALL_BASE)/lib ; ln -sf libpri.so.1 libpri.so ) ++ $(BSD_INSTALL_DATA) $(STATIC_LIBRARY) $(INSTALL_PREFIX)$(INSTALL_BASE)/lib else install -f $(INSTALL_PREFIX)$(INSTALL_BASE)/include -m 644 libpri.h install -f $(INSTALL_PREFIX)$(INSTALL_BASE)/lib -m 755 $(DYNAMIC_LIBRARY)