Date: Sat, 20 Oct 2012 07:53:54 +0000 (UTC) From: "Jason E. Hale" <jhale@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r306167 - in head/security/munge: . files Message-ID: <201210200753.q9K7rsIK081250@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
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@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@gmail.com> -# +# Created by: Muhammad Moinur Rahman <5u623l20@gmail.com> # $FreeBSD$ -# PORTNAME= munge PORTVERSION= 0.5.10 +PORTREVISION= 1 CATEGORIES= security MASTER_SITES= GOOGLE_CODE MAINTAINER= 5u623l20@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) {
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201210200753.q9K7rsIK081250>