FreeBSD Bugzilla – Attachment 172480 Details for
Bug 211094
net/opensips: Update to 2.1.3
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Diff patch between current port version and upgrade to v2.1.3
opensips.2.1.3.patch (text/plain), 7.34 KB, created by
Euan Thoms
on 2016-07-13 20:26:27 UTC
(
hide
)
Description:
Diff patch between current port version and upgrade to v2.1.3
Filename:
MIME Type:
Creator:
Euan Thoms
Created:
2016-07-13 20:26:27 UTC
Size:
7.34 KB
patch
obsolete
>diff -ruN opensips.orig/Makefile opensips/Makefile >--- opensips.orig/Makefile 2016-06-12 03:48:27.000000000 +0800 >+++ opensips/Makefile 2016-07-14 04:18:03.411289056 +0800 >@@ -2,8 +2,7 @@ > # $FreeBSD: head/net/opensips/Makefile 416748 2016-06-11 19:48:27Z garga $ > > PORTNAME= opensips >-PORTVERSION= 2.1.2 >-PORTREVISION= 1 >+PORTVERSION= 2.1.3 > CATEGORIES= net > MASTER_SITES= http://opensips.org/pub/opensips/${PORTVERSION}/ > >@@ -13,8 +12,6 @@ > LICENSE= GPLv2 > LICENSE_FILE= ${WRKSRC}/COPYING > >-BROKEN_powerpc64= Does not build >- > LIB_DEPENDS= libxml2.so:textproc/libxml2 \ > libxmlrpc.so:net/xmlrpc-c \ > libpcre.so:devel/pcre \ >@@ -22,6 +19,8 @@ > librabbitmq.so:net/rabbitmq-c-devel \ > libhiredis.so:databases/hiredis \ > libexpat.so:textproc/expat2 \ >+ libpython2.7.so:lang/python27 \ >+ libcurl.so:ftp/curl \ > libjson-c.so:devel/json-c > BUILD_DEPENDS= ginstall:sysutils/coreutils \ > gtar:archivers/gtar \ >@@ -33,6 +32,8 @@ > ${LOCALBASE}/bin/python2:lang/python2 \ > ${LOCALBASE}/bin/grep:textproc/gnugrep > >+BROKEN_powerpc64= Does not build >+ > GINSTALL= ginstall > > WRKSRC= ${WRKDIR}/opensips-${PORTVERSION} >@@ -40,7 +41,7 @@ > > USE_RC_SUBR= opensips > >-USES= gmake perl5 pkgconfig shebangfix >+USES= gmake perl5 pkgconfig shebangfix ssl > USE_GCC= yes > > NOPRECIOUSMAKEVARS= yes >@@ -59,7 +60,7 @@ > PGSQL_USES+= pgsql > > PGSQL_BUILD_DEPENDS+= p5-DBD-Pg>=3.4:databases/p5-DBD-Pg >-RADIUS_BUILD_DEPENDS+= radiusclient:net/radiusclient >+RADIUS_LIB_DEPENDS+= libradiusclient-ng.so:net/radiusclient > HTTP_LIB_DEPENDS+= libmicrohttpd.so:www/libmicrohttpd > GEOIP_LIB_DEPENDS+= libGeoIP.so:net/GeoIP > MEMCACHED_LIB_DEPENDS+= libmemcached.so:databases/libmemcached >diff -ruN opensips.orig/distinfo opensips/distinfo >--- opensips.orig/distinfo 2016-01-21 03:44:58.000000000 +0800 >+++ opensips/distinfo 2016-07-13 22:33:27.155715836 +0800 >@@ -1,2 +1,3 @@ >-SHA256 (opensips-2.1.2.tar.gz) = 0206af5c6ee3b33856a9c51cf982cecdd26334c3c32fac8e33eb88e9a62ad6e9 >-SIZE (opensips-2.1.2.tar.gz) = 4935839 >+TIMESTAMP = 1468420407 >+SHA256 (opensips-2.1.3.tar.gz) = 43ad82f67c5a62a0978cabfd6d0eba05c9be29307e548fdae1731200d79a9229 >+SIZE (opensips-2.1.3.tar.gz) = 4777142 >diff -ruN opensips.orig/files/patch-Makefile opensips/files/patch-Makefile >--- opensips.orig/files/patch-Makefile 2015-11-26 03:28:00.000000000 +0800 >+++ opensips/files/patch-Makefile 2016-07-13 23:21:50.920516603 +0800 >@@ -1,4 +1,4 @@ >---- Makefile.orig 2015-08-27 15:06:47 UTC >+--- Makefile.orig 2016-07-13 15:21:26 UTC > +++ Makefile > @@ -46,7 +46,7 @@ auto_gen=lex.yy.c cfg.tab.c #lexx, yac > # whether or not to install opensips.cfg or just opensips.cfg.default >@@ -9,31 +9,31 @@ > > #extra modules to exclude > skip_modules?= >-@@ -509,27 +509,14 @@ install-cfg: $(cfg-prefix)/$(cfg-dir) >- rm -fr $(cfg-prefix)/$(cfg-dir)$(NAME).cfg.sample0 >- chmod 600 $(cfg-prefix)/$(cfg-dir)$(NAME).cfg.sample >- chmod 700 $(cfg-prefix)/$(cfg-dir) >+@@ -495,27 +495,14 @@ install-cfg: $(cfg_prefix)/$(cfg_dir) >+ rm -fr $(cfg_prefix)/$(cfg_dir)$(NAME).cfg.sample0 >+ chmod 600 $(cfg_prefix)/$(cfg_dir)$(NAME).cfg.sample >+ chmod 700 $(cfg_prefix)/$(cfg_dir) > - if [ -z "${skip_cfg_install}" -a \ >-- ! -f $(cfg-prefix)/$(cfg-dir)$(NAME).cfg ]; then \ >-- mv -f $(cfg-prefix)/$(cfg-dir)$(NAME).cfg.sample \ >-- $(cfg-prefix)/$(cfg-dir)$(NAME).cfg; \ >+- ! -f $(cfg_prefix)/$(cfg_dir)$(NAME).cfg ]; then \ >+- mv -f $(cfg_prefix)/$(cfg_dir)$(NAME).cfg.sample \ >+- $(cfg_prefix)/$(cfg_dir)$(NAME).cfg; \ > - fi > # opensipsctl config >- $(INSTALL_TOUCH) $(cfg-prefix)/$(cfg-dir)/opensipsctlrc.sample >+ $(INSTALL_TOUCH) $(cfg_prefix)/$(cfg_dir)/opensipsctlrc.sample > $(INSTALL_CFG) scripts/opensipsctlrc \ >- $(cfg-prefix)/$(cfg-dir)/opensipsctlrc.sample >-- if [ ! -f $(cfg-prefix)/$(cfg-dir)/opensipsctlrc ]; then \ >-- mv -f $(cfg-prefix)/$(cfg-dir)/opensipsctlrc.sample \ >-- $(cfg-prefix)/$(cfg-dir)/opensipsctlrc; \ >+ $(cfg_prefix)/$(cfg_dir)/opensipsctlrc.sample >+- if [ ! -f $(cfg_prefix)/$(cfg_dir)/opensipsctlrc ]; then \ >+- mv -f $(cfg_prefix)/$(cfg_dir)/opensipsctlrc.sample \ >+- $(cfg_prefix)/$(cfg_dir)/opensipsctlrc; \ > - fi > # osipsconsole config >- $(INSTALL_TOUCH) $(cfg-prefix)/$(cfg-dir)/osipsconsolerc.sample >+ $(INSTALL_TOUCH) $(cfg_prefix)/$(cfg_dir)/osipsconsolerc.sample > $(INSTALL_CFG) scripts/osipsconsolerc \ >- $(cfg-prefix)/$(cfg-dir)/osipsconsolerc.sample >-- if [ ! -f $(cfg-prefix)/$(cfg-dir)/osipsconsolerc ]; then \ >-- mv -f $(cfg-prefix)/$(cfg-dir)/osipsconsolerc.sample \ >-- $(cfg-prefix)/$(cfg-dir)/osipsconsolerc; \ >+ $(cfg_prefix)/$(cfg_dir)/osipsconsolerc.sample >+- if [ ! -f $(cfg_prefix)/$(cfg_dir)/osipsconsolerc ]; then \ >+- mv -f $(cfg_prefix)/$(cfg_dir)/osipsconsolerc.sample \ >+- $(cfg_prefix)/$(cfg_dir)/osipsconsolerc; \ > - fi > >- install-console: $(bin-prefix)/$(bin-dir) >+ install-console: $(bin_prefix)/$(bin_dir) > # install osipsconsole >diff -ruN opensips.orig/files/patch-Makefile.defs opensips/files/patch-Makefile.defs >--- opensips.orig/files/patch-Makefile.defs 2015-11-26 03:28:00.000000000 +0800 >+++ opensips/files/patch-Makefile.defs 2016-07-13 23:21:50.927524009 +0800 >@@ -1,4 +1,4 @@ >---- Makefile.defs.orig 2015-08-27 15:06:47 UTC >+--- Makefile.defs.orig 2016-05-30 14:13:27 UTC > +++ Makefile.defs > @@ -118,6 +118,14 @@ ifeq ($(OS),solaris) > ISSMP ?= yes >@@ -21,10 +21,10 @@ > endif > +endif > >- OSREL = $(shell uname -r) >- # numerical version (good for comparisons: A.B.C => A*1000000+B*1000+C) >-@@ -162,6 +171,9 @@ cfg-dir = etc/$(MAIN_NAME)/ >- bin-dir = sbin/ >+ #set some vars from the environment (and not make builtins) >+ CC := $(shell echo "$${CC}") >+@@ -308,6 +317,9 @@ cfg_dir = etc/$(MAIN_NAME)/ >+ bin_dir = sbin/ > > ARCH_B = $(shell echo $(ARCH) | sed -e 's/.*64.*/64b/') > +ifeq ($(OS),freebsd) >@@ -33,11 +33,11 @@ > ifeq ($(ARCH_B),64b) > LIBDIR ?= lib64 > else >-@@ -169,6 +181,7 @@ else >+@@ -315,6 +327,7 @@ else > # assume 32b - it is not really used further > ARCH_B=32b > endif > +endif > >- lib-dir = $(LIBDIR)/$(MAIN_NAME) >- modules-dir = $(LIBDIR)/$(MAIN_NAME)/modules/ >+ lib_dir = $(LIBDIR)/$(MAIN_NAME) >+ modules_dir = $(LIBDIR)/$(MAIN_NAME)/modules/ >diff -ruN opensips.orig/files/patch-io_wait.h opensips/files/patch-io_wait.h >--- opensips.orig/files/patch-io_wait.h 2015-11-26 03:28:00.000000000 +0800 >+++ opensips/files/patch-io_wait.h 2016-07-13 23:21:50.934526667 +0800 >@@ -1,4 +1,4 @@ >---- io_wait.h.orig 2015-08-27 15:06:47 UTC >+--- io_wait.h.orig 2016-05-30 14:13:27 UTC > +++ io_wait.h > @@ -56,6 +56,9 @@ > >diff -ruN opensips.orig/files/patch-mem__shm_mem.h opensips/files/patch-mem__shm_mem.h >--- opensips.orig/files/patch-mem__shm_mem.h 2015-11-26 03:28:00.000000000 +0800 >+++ opensips/files/patch-mem__shm_mem.h 2016-07-13 23:21:50.940513540 +0800 >@@ -1,4 +1,4 @@ >---- mem/shm_mem.h.orig 2015-08-27 15:06:47 UTC >+--- mem/shm_mem.h.orig 2016-05-30 14:13:27 UTC > +++ mem/shm_mem.h > @@ -62,6 +62,7 @@ > #endif >diff -ruN opensips.orig/files/patch-modules__proto_tls__proto_tls.c opensips/files/patch-modules__proto_tls__proto_tls.c >--- opensips.orig/files/patch-modules__proto_tls__proto_tls.c 2015-11-26 03:28:00.000000000 +0800 >+++ opensips/files/patch-modules__proto_tls__proto_tls.c 2016-07-13 23:21:50.947516756 +0800 >@@ -1,4 +1,4 @@ >---- modules/proto_tls/proto_tls.c.orig 2015-08-27 15:06:47 UTC >+--- modules/proto_tls/proto_tls.c.orig 2016-05-30 14:13:27 UTC > +++ modules/proto_tls/proto_tls.c > @@ -42,6 +42,7 @@ > #include <openssl/opensslv.h>
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Flags:
euan
:
maintainer-approval+
Actions:
View
|
Diff
Attachments on
bug 211094
: 172480