Date: Mon, 16 Mar 2009 13:56:46 +0100 (CET) From: Florian Smeets <flo@kasimir.com> To: FreeBSD-gnats-submit@FreeBSD.org Cc: sobomax@FreeBSD.org Subject: ports/132693: [PATCH] misc/libpri: update to 1.4.9 Message-ID: <20090316125646.618BF3F433@mail.solomo.de> Resent-Message-ID: <200903161300.n2GD07ga090523@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 132693 >Category: ports >Synopsis: [PATCH] misc/libpri: update to 1.4.9 >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: update >Submitter-Id: current-users >Arrival-Date: Mon Mar 16 13:00:07 UTC 2009 >Closed-Date: >Last-Modified: >Originator: Florian Smeets >Release: FreeBSD 7.1-STABLE amd64 >Organization: >Environment: System: FreeBSD mail.solomo.de 7.1-STABLE FreeBSD 7.1-STABLE #6: Sun Mar 1 16:30:44 CET >Description: - Update to 1.4.9 Port maintainer (sobomax@FreeBSD.org) is cc'd. Generated with FreeBSD Port Tools 0.77 >How-To-Repeat: >Fix: --- libpri-1.4.9.patch begins here --- diff -ruN --exclude=CVS /usr/ports/misc/libpri.orig/Makefile /usr/ports/misc/libpri/Makefile --- /usr/ports/misc/libpri.orig/Makefile 2009-02-04 04:03:34.000000000 +0100 +++ /usr/ports/misc/libpri/Makefile 2009-03-16 13:39:28.000000000 +0100 @@ -6,7 +6,7 @@ # PORTNAME= libpri -PORTVERSION= 1.4.1 +PORTVERSION= 1.4.9 CATEGORIES= misc MASTER_SITES= http://downloads.digium.com/pub/libpri/old/ @@ -16,7 +16,7 @@ USE_GMAKE= yes USE_LDCONFIG= yes PLIST_FILES= include/libpri.h lib/libpri.a lib/libpri.so \ - lib/libpri.so.1 + lib/libpri.so.1 lib/libpri.so.1.4 NOT_FOR_ARCHS= alpha diff -ruN --exclude=CVS /usr/ports/misc/libpri.orig/distinfo /usr/ports/misc/libpri/distinfo --- /usr/ports/misc/libpri.orig/distinfo 2007-07-22 12:36:56.000000000 +0200 +++ /usr/ports/misc/libpri/distinfo 2009-03-16 13:39:28.000000000 +0100 @@ -1,3 +1,3 @@ -MD5 (libpri-1.4.1.tar.gz) = 9e5da1f2267711d9aaaf91ffa925b219 -SHA256 (libpri-1.4.1.tar.gz) = 2c8b33213d68a187fb25430c39d79db04bdfc08c769bdada97ab00f521e8ec84 -SIZE (libpri-1.4.1.tar.gz) = 81178 +MD5 (libpri-1.4.9.tar.gz) = 97332edeaa2de0320d85fda88afb96f9 +SHA256 (libpri-1.4.9.tar.gz) = 0dae5db3f46614330e756a2b7e29143f10132ca4eda2a71869fd89df62d522b7 +SIZE (libpri-1.4.9.tar.gz) = 94075 diff -ruN --exclude=CVS /usr/ports/misc/libpri.orig/files/patch-Makefile /usr/ports/misc/libpri/files/patch-Makefile --- /usr/ports/misc/libpri.orig/files/patch-Makefile 2007-07-22 12:36:56.000000000 +0200 +++ /usr/ports/misc/libpri/files/patch-Makefile 2009-03-16 13:39:27.000000000 +0100 @@ -1,35 +1,30 @@ - -$FreeBSD: ports/misc/libpri/files/patch-Makefile,v 1.8 2007/07/22 10:36:56 sobomax Exp $ - ---- Makefile.orig -+++ Makefile -@@ -27,19 +27,19 @@ +--- Makefile.orig 2008-08-06 18:20:51.000000000 +0000 ++++ Makefile 2009-03-16 12:09:51.000000000 +0000 +@@ -27,7 +27,7 @@ # Uncomment if you want libpri to count number of Q921/Q931 sent/received #LIBPRI_COUNTERS=-DLIBPRI_COUNTERS -CC=gcc +CC?=gcc + GREP=grep + AWK=awk - OSARCH=$(shell uname -s) - PROC?=$(shell uname -m) - - STATIC_LIBRARY=libpri.a --DYNAMIC_LIBRARY=libpri.so.1.0 -+DYNAMIC_LIBRARY=libpri.so.1 - 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) +@@ -43,11 +43,10 @@ + DYNAMIC_LIBRARY:=libpri.so.$(SONAME) + STATIC_OBJS=copy_string.o pri.o q921.o prisched.o q931.o pri_facility.o version.o + DYNAMIC_OBJS=copy_string.lo pri.lo q921.lo prisched.lo q931.lo pri_facility.lo version.lo +-CFLAGS=-Wall -Werror -Wstrict-prototypes -Wmissing-prototypes -g -fPIC $(ALERTING) $(LIBPRI_COUNTERS) -INSTALL_PREFIX=$(DESTDIR) -INSTALL_BASE=/usr --SOFLAGS = -Wl,-hlibpri.so.1.0 -+CFLAGS+=-Wall -Werror -Wstrict-prototypes -Wmissing-prototypes -g $(ALERTING) $(LIBPRI_COUNTERS) ++CFLAGS+=-Wall -Werror -Wstrict-prototypes -Wmissing-prototypes -g -fPIC $(ALERTING) $(LIBPRI_COUNTERS) +INSTALL_PREFIX=$(PREFIX) +INSTALL_BASE= -+SOFLAGS = -Wl,-hlibpri.so.1 + libdir?=$(INSTALL_BASE)/lib +-SOFLAGS:=-Wl,-h$(DYNAMIC_LIBRARY) LDCONFIG = /sbin/ldconfig ifneq (,$(findstring X$(OSARCH)X, XLinuxX XGNU/kFreeBSDX)) LDCONFIG_FLAGS=-n -@@ -47,7 +47,7 @@ +@@ -55,7 +54,7 @@ ifeq (${OSARCH},FreeBSD) LDCONFIG_FLAGS=-m CFLAGS += -I../zaptel -I../zapata @@ -38,32 +33,31 @@ endif endif ifeq (${OSARCH},SunOS) -@@ -80,12 +80,11 @@ - mkdir -p $(INSTALL_PREFIX)$(INSTALL_BASE)/lib +@@ -100,12 +99,12 @@ + mkdir -p $(INSTALL_PREFIX)$(libdir) 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 /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 +- install -m 755 $(DYNAMIC_LIBRARY) $(INSTALL_PREFIX)$(libdir) +- if [ -x /usr/sbin/sestatus ] && ( /usr/sbin/sestatus | grep "SELinux status:" | grep -q "enabled"); then /sbin/restorecon -v $(INSTALL_PREFIX)$(libdir)/$(DYNAMIC_LIBRARY); fi +- ( cd $(INSTALL_PREFIX)$(libdir) ; ln -sf libpri.so.$(SONAME) libpri.so) +- install -m 644 $(STATIC_LIBRARY) $(INSTALL_PREFIX)$(libdir) +- if test $$(id -u) = 0; then $(LDCONFIG) $(LDCONFIG_FLAGS) $(INSTALL_PREFIX)$(libdir); fi + echo installing libpri.h + $(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 ) ++ ( cd $(INSTALL_PREFIX)$(INSTALL_BASE)/lib ; ln -sf libpri.so.1.4 libpri.so ) ++ ( cd $(INSTALL_PREFIX)$(INSTALL_BASE)/lib ; ln -sf libpri.so.1.4 libpri.so.1 ) + $(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) -@@ -126,10 +125,6 @@ + install -f $(INSTALL_PREFIX)$(libdir) -m 755 $(DYNAMIC_LIBRARY) +@@ -146,8 +145,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.$(SONAME) libpri.so - clean: - rm -f *.o *.so *.lo *.so.1 *.so.1.0 + version.c: FORCE + @build_tools/make_version_c > $@.tmp --- libpri-1.4.9.patch ends here --- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20090316125646.618BF3F433>