svn commit: r354365 - in head/devel/librelp: . files
Brad Davis
brd at FreeBSD.org
Sat May 17 20:16:33 UTC 2014
Author: brd (doc committer)
Date: Sat May 17 20:16:32 2014
New Revision: 354365
URL: http://svnweb.freebsd.org/changeset/ports/354365
QAT: https://qat.redports.org/buildarchive/r354365/
Log:
- Update devel/librelp from 1.2.0 to 1.2.7
Reviewed by: zi@
Added:
head/devel/librelp/files/
head/devel/librelp/files/patch-src__tcp.c (contents, props changed)
Modified:
head/devel/librelp/Makefile
head/devel/librelp/distinfo
Modified: head/devel/librelp/Makefile
==============================================================================
--- head/devel/librelp/Makefile Sat May 17 20:12:40 2014 (r354364)
+++ head/devel/librelp/Makefile Sat May 17 20:16:32 2014 (r354365)
@@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= librelp
-PORTVERSION= 1.2.0
+PORTVERSION= 1.2.7
CATEGORIES= devel
MASTER_SITES= http://download.rsyslog.com/librelp/
@@ -11,13 +11,14 @@ COMMENT= Reliable event logging protocol
LIB_DEPENDS= libgnutls.so:${PORTSDIR}/security/gnutls
-USES= pathfix pkgconfig
-USE_AUTOTOOLS= libtool
+USES= libtool pathfix pkgconfig
+USE_AUTOTOOLS= automake aclocal
USE_LDCONFIG= yes
PLIST_FILES= include/${PORTNAME}.h \
- lib/${PORTNAME}.a lib/${PORTNAME}.la \
+ lib/${PORTNAME}.a \
lib/${PORTNAME}.so lib/${PORTNAME}.so.0 \
+ lib/${PORTNAME}.so.0.1.0 \
libdata/pkgconfig/relp.pc
PORT_VERBS= relp
@@ -25,5 +26,10 @@ PORT_VERBS= relp
post-patch:
@${REINPLACE_CMD} -e '/CFLAGS/s| -g||g' \
${WRKSRC}/configure
+ @${REINPLACE_CMD} -e 's|libdir)/pkgconfig|prefix)/libdata/pkgconfig|' \
+ ${WRKSRC}/Makefile.am
+
+post-install:
+ ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/librelp.so.0.1.0
.include <bsd.port.mk>
Modified: head/devel/librelp/distinfo
==============================================================================
--- head/devel/librelp/distinfo Sat May 17 20:12:40 2014 (r354364)
+++ head/devel/librelp/distinfo Sat May 17 20:16:32 2014 (r354365)
@@ -1,2 +1,2 @@
-SHA256 (librelp-1.2.0.tar.gz) = 5a8870fd2ae496be08d100ef8a65807311f11d6976ed37b8e0cd8024872c31e5
-SIZE (librelp-1.2.0.tar.gz) = 406527
+SHA256 (librelp-1.2.7.tar.gz) = 3a434a1c71772706104cfb1c93ba8e6809d257851d60de29ac2142c60c68d7d1
+SIZE (librelp-1.2.7.tar.gz) = 410896
Added: head/devel/librelp/files/patch-src__tcp.c
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/devel/librelp/files/patch-src__tcp.c Sat May 17 20:16:32 2014 (r354365)
@@ -0,0 +1,14 @@
+--- ./src/tcp.c.orig 2014-04-22 07:33:25.000000000 -0600
++++ ./src/tcp.c 2014-05-17 10:49:10.247327329 -0600
+@@ -62,7 +62,10 @@
+ static int called_gnutls_global_init = 0;
+ #endif
+
+-
++#include <netdb.h>
++#ifndef SOL_TCP
++#define SOL_TCP (getprotobyname("TCP")->p_proto)
++#endif
+
+ #ifdef ENABLE_TLS
+ /* forward definitions */
More information about the svn-ports-all
mailing list