summaryrefslogtreecommitdiff
path: root/sysutils
diff options
context:
space:
mode:
authorBrad Davis <brd@FreeBSD.org>2012-09-10 03:02:02 +0000
committerBrad Davis <brd@FreeBSD.org>2012-09-10 03:02:02 +0000
commitb390cae3cc5c94cbf9529f1a68fa351989782b80 (patch)
tree27d45ba63a2bc378af7587f496ae9f9786c1ae3f /sysutils
parent- Add additional MASTER_SITES entry (diff)
- Update to 5.10.0
- Unmark as BROKEN on i386 with SNMP Changes: http://www.rsyslog.com/changelog-for-5-10-0-v5-stable/
Notes
Notes: svn path=/head/; revision=304017
Diffstat (limited to 'sysutils')
-rw-r--r--sysutils/rsyslog5/Makefile6
-rw-r--r--sysutils/rsyslog5/distinfo4
-rw-r--r--sysutils/rsyslog5/files/patch-plugins__imuxsock__imuxsock.c21
3 files changed, 24 insertions, 7 deletions
diff --git a/sysutils/rsyslog5/Makefile b/sysutils/rsyslog5/Makefile
index 9eb61265c5c5..d4825aa46c79 100644
--- a/sysutils/rsyslog5/Makefile
+++ b/sysutils/rsyslog5/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= rsyslog
-PORTVERSION= 5.8.13
+PORTVERSION= 5.10.0
CATEGORIES= sysutils
MASTER_SITES= http://www.rsyslog.com/files/download/rsyslog/
.ifdef MNAME
@@ -84,10 +84,6 @@ post-install:
.ifdef MNAME
-.if ${MNAME} == "snmp" && ${ARCH} == "i386" && ${OSVERSION} >= 800000
-BROKEN= Does not link on i386: can't find symbol snmp_timeout in libnetsnmp
-.endif
-
CONFIGURE_ARGS+= --disable-rsyslogd --disable-klog
DESCR?= ${.CURDIR}/../rsyslog5/pkg-descr
diff --git a/sysutils/rsyslog5/distinfo b/sysutils/rsyslog5/distinfo
index b4b003c7e51a..f84e2bab1888 100644
--- a/sysutils/rsyslog5/distinfo
+++ b/sysutils/rsyslog5/distinfo
@@ -1,2 +1,2 @@
-SHA256 (rsyslog-5.8.13.tar.gz) = e872b3cde0e9c9fe9321cd4fc7e4c78133ba8e1667ec01bb809bb311ea5156dd
-SIZE (rsyslog-5.8.13.tar.gz) = 2394374
+SHA256 (rsyslog-5.10.0.tar.gz) = 0fbfe23f22c102e1e7ff7e19f6396de720832f2a83914c72510a07bdc86536f5
+SIZE (rsyslog-5.10.0.tar.gz) = 2400380
diff --git a/sysutils/rsyslog5/files/patch-plugins__imuxsock__imuxsock.c b/sysutils/rsyslog5/files/patch-plugins__imuxsock__imuxsock.c
new file mode 100644
index 000000000000..04a4156df740
--- /dev/null
+++ b/sysutils/rsyslog5/files/patch-plugins__imuxsock__imuxsock.c
@@ -0,0 +1,21 @@
+--- plugins/imuxsock/imuxsock.c.orig 2012-08-22 09:13:32.000000000 -0600
++++ plugins/imuxsock/imuxsock.c 2012-09-09 15:43:48.000000000 -0600
+@@ -77,7 +77,7 @@
+
+ /* emulate struct ucred for platforms that do not have it */
+ #ifndef HAVE_SCM_CREDENTIALS
+-struct ucred { int pid; };
++struct ucred { int pid; uid_t uid; gid_t gid; };
+ #endif
+
+ /* handle some defines missing on more than one platform */
+@@ -802,9 +802,7 @@
+ int iMaxLine;
+ struct msghdr msgh;
+ struct iovec msgiov;
+-# if HAVE_SCM_CREDENTIALS
+ struct cmsghdr *cm;
+-# endif
+ struct ucred *cred;
+ struct timeval *ts;
+ uchar bufRcv[4096+1];