svn commit: r306167 - in head/security/munge: . files
Jason E. Hale
jhale at FreeBSD.org
Sat Oct 20 07:53:54 UTC 2012
Author: jhale
Date: Sat Oct 20 07:53:53 2012
New Revision: 306167
URL: http://svn.freebsd.org/changeset/ports/306167
Log:
- Add upstream patch to fix CPU consumption and termination bug
http://code.google.com/p/munge/issues/detail?id=18
- Bump PORTREVISION since runtime behavior will change
While here:
- Trim Makefile header
- Remove indefinite article from COMMENT
PR: ports/172856
Submitted by: Loic Pefferkorn <loic-freebsd at loicp.eu>
Approved by: maintainer
makc, avilla (mentors, implicit)
Feature safe: yes
Added:
head/security/munge/files/patch-src-munged-xgetgrent.c (contents, props changed)
Modified:
head/security/munge/Makefile (contents, props changed)
Modified: head/security/munge/Makefile
==============================================================================
--- head/security/munge/Makefile Sat Oct 20 07:35:22 2012 (r306166)
+++ head/security/munge/Makefile Sat Oct 20 07:53:53 2012 (r306167)
@@ -1,17 +1,14 @@
-# New ports collection makefile for: munge
-# Date created: 2012-03-18
-# Whom: Muhammad Moinur Rahman <5u623l20 at gmail.com>
-#
+# Created by: Muhammad Moinur Rahman <5u623l20 at gmail.com>
# $FreeBSD$
-#
PORTNAME= munge
PORTVERSION= 0.5.10
+PORTREVISION= 1
CATEGORIES= security
MASTER_SITES= GOOGLE_CODE
MAINTAINER= 5u623l20 at gmail.com
-COMMENT= An authentication service for creating and validating credentials
+COMMENT= Authentication service for creating and validating credentials
USE_BZIP2= yes
GNU_CONFIGURE= yes
Added: head/security/munge/files/patch-src-munged-xgetgrent.c
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/security/munge/files/patch-src-munged-xgetgrent.c Sat Oct 20 07:53:53 2012 (r306167)
@@ -0,0 +1,11 @@
+--- src/munged/xgetgrent.c.orig 2012-10-18 16:42:46.000000000 +0200
++++ src/munged/xgetgrent.c 2012-10-18 16:43:17.000000000 +0200
+@@ -194,7 +194,7 @@
+
+ #if HAVE_GETGRENT_R_GNU
+ rv = getgrent_r (gr, buf, buflen, &gr_ptr);
+- if (rv == ENOENT) {
++ if (((rv == ENOENT) || (rv == 0)) && (gr_ptr == NULL)) {
+ got_eof = 1;
+ }
+ else if (rv != 0) {
More information about the svn-ports-head
mailing list