FreeBSD Bugzilla – Attachment 196726 Details for
Bug 231031
net/kamailio Upgrade to 5.1.5
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Alternative way to do port
kamailio (text/plain), 4.51 KB, created by
Nathan
on 2018-08-31 01:59:09 UTC
(
hide
)
Description:
Alternative way to do port
Filename:
MIME Type:
Creator:
Nathan
Created:
2018-08-31 01:59:09 UTC
Size:
4.51 KB
patch
obsolete
>net/kamailio: > >* Update to 5.1.5 >* Add pkgconfig > -- during compile, build would give pkg-config not found >* Remove commented > -- not used, Makefile will be smaller >* Simplify Strip > -- less clutter > >Changelog: https://github.com/kamailio/kamailio/blob/d060804b66b0f7eb064810b1445d4d076e246423/ChangeLog > >Index: net/kamailio/Makefile >=================================================================== >--- net/kamailio/Makefile (revision 478445) >+++ net/kamailio/Makefile (working copy) >@@ -2,7 +2,7 @@ > # $FreeBSD$ > > PORTNAME= kamailio >-PORTVERSION= 5.1.3 >+PORTVERSION= 5.1.5 > > CATEGORIES= net > MASTER_SITES= http://www.kamailio.org/pub/kamailio/${PORTVERSION}/src/ >@@ -21,7 +21,7 @@ > > BROKEN_powerpc64= Does not build: /bin/sh: clang: not found > >-USES= gmake ncurses python readline shebangfix >+USES= gmake ncurses pkgconfig python readline shebangfix > USE_LDCONFIG= yes > SHEBANG_FILES= utils/kamctl/dbtextdb/dbtextdb.py \ > utils/kamctl/kamctl utils/kamctl/kamdbctl >@@ -54,15 +54,6 @@ > > .include <bsd.port.options.mk> > >-# avoid slow locks, use fast atomic ops >-#.if ${ARCH} == "amd64" >-#EXTRA_PATCHES+= ${.CURDIR}/files/extra-patch-atomic-amd64 >-#.endif >-# >-#.if ${ARCH} == "i386" >-#EXTRA_PATCHES+= ${.CURDIR}/files/extra-patch-atomic-i386 >-#.endif >- > DEFAULT_GROUP_INCLUDE= standard standard-dep > > .if ${PORT_OPTIONS:MMYSQL} >@@ -139,63 +130,9 @@ > ${RMDIR} ${STAGEDIR}${PREFIX}/share/${PORTNAME} > .endif > >-# Strip modules in lib/kamailio/modules >- @${ECHO_CMD} "Stripping modules in ${STAGEDIR}${PREFIX}/lib/${PORTNAME}/modules/" >+post-install: >+ (cd ${STAGEDIR}${PREFIX}/lib/kamailio/modules ; ${STRIP_CMD} *.so) >+ (cd ${STAGEDIR}${PREFIX}/lib/kamailio ; ${STRIP_CMD} *.so.1) >+ (cd ${STAGEDIR}${PREFIX}/sbin ; ${STRIP_CMD} kamailio kamcmd) > >-.for i in db_mysql db_postgres db_unixodbc tls blst \ >- xhttp_rpc nat_traversal print msrp mi_datagram \ >- userblacklist msilo uid_uri_db drouting enum \ >- p_usrloc avpops matrix rr sst \ >- rtpproxy rtpproxy-ng mohqueue mqueue tmx sqlops dialog \ >- usrloc dispatcher auth_db uac permissions \ >- path tm mediaproxy nathelper print_lib \ >- mangler group textops rtimer db_cluster \ >- textopsx db_flatstore sl pipelimit counters \ >- mi_fifo statistics stun cnxcc corex debugger pv \ >- ratelimit ctl db2_ops mi_rpc tmrec \ >- benchmark domainpolicy acc exec siputils \ >- malloc_test kex cfg_rpc diversion ipops \ >- uid_auth_db imc cfg_db xhttp seas \ >- timer auth_diameter dmq uac_redirect pdt \ >- call_control uri_db alias_db sca avp \ >- cfgutils pike uid_domain domain maxfwd \ >- htable topoh auth sms async \ >- prefix_route speeddial registrar mtree uid_avp_db \ >- xlog sipt siptrace qos pdb xprint auth_radius \ >- sanity uid_gflags db_text sdpops sipcapture \ >- tsilo nosip rtpengine jsonrpc-s \ >- presence presence_conference presence_dialog presence_dialoginfo \ >- presence_mwi \ >- presence_profile presence_reginfo presence_xml pua_bla \ >- pua_dialoginfo pua_mi pua_reginfo pua_usrloc rls \ >- acc_radius misc_radius peering pua pua_xmpp xcap_client xcap_server \ >- tcpops auth_xkeys statsd dmq_usrloc rtjson websocket sctp \ >- app_perl cfgt smsops log_custom topos statsc dialplan \ >- ss7ops app_jsdt jsonrpcs pua_rpc >- @if [ -e ${STAGEDIR}${PREFIX}/lib/${PORTNAME}/modules/${i}.so ]; then \ >- ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/${PORTNAME}/modules/${i}.so; \ >- fi >-.endfor >- >-# Strip libraries in lib/kamailio >- @${ECHO_CMD} "Stripping libraries in ${STAGEDIR}${PREFIX}/lib/${PORTNAME}/" >- >-.for j in srdb2 srdb1 kcore srutils kmi trie print >- @if [ -e ${STAGEDIR}${PREFIX}/lib/${PORTNAME}/lib${j}.so.1 ]; then \ >- ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/${PORTNAME}/lib${j}.so.1; \ >- fi >-.endfor >- >-# This is also part of lib/kamailio but ends in .so.0 >- @if [ -e ${STAGEDIR}${PREFIX}/lib/${PORTNAME}/libbinrpc.so.0 ]; then \ >- ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/${PORTNAME}/libbinrpc.so.0; \ >- fi >- >-# Strip binaries in sbin >- @${ECHO_CMD} "Stripping binaries in ${STAGEDIR}${PREFIX}/sbin/" >- >-.for k in kamailio kamcmd >- @${STRIP_CMD} ${STAGEDIR}${PREFIX}/sbin/${k} >-.endfor >- > .include <bsd.port.mk> >Index: net/kamailio/distinfo >=================================================================== >--- net/kamailio/distinfo (revision 478445) >+++ net/kamailio/distinfo (working copy) >@@ -1,3 +1,3 @@ >-TIMESTAMP = 1525555079 >-SHA256 (kamailio-5.1.3_src.tar.gz) = b2266e15ec8ffa62be66b44989155f26a31d137f06f81fb3841aad8315315a14 >-SIZE (kamailio-5.1.3_src.tar.gz) = 12015322 >+TIMESTAMP = 1531530327 >+SHA256 (kamailio-5.1.5_src.tar.gz) = f185294b070c65117e9e7d31e6c91446f6c70ae970a3fa4797254470ba55b9ae >+SIZE (kamailio-5.1.5_src.tar.gz) = 12058396
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:
ndowens04
:
maintainer-approval?
Actions:
View
|
Diff
Attachments on
bug 231031
:
196715
| 196726