From owner-svn-ports-head@FreeBSD.ORG Sat Oct 20 07:53:54 2012 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 9C1F64C9; Sat, 20 Oct 2012 07:53:54 +0000 (UTC) (envelope-from jhale@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 694598FC0C; Sat, 20 Oct 2012 07:53:54 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.4/8.14.4) with ESMTP id q9K7rsGd081253; Sat, 20 Oct 2012 07:53:54 GMT (envelope-from jhale@svn.freebsd.org) Received: (from jhale@localhost) by svn.freebsd.org (8.14.4/8.14.4/Submit) id q9K7rsIK081250; Sat, 20 Oct 2012 07:53:54 GMT (envelope-from jhale@svn.freebsd.org) Message-Id: <201210200753.q9K7rsIK081250@svn.freebsd.org> From: "Jason E. Hale" Date: Sat, 20 Oct 2012 07:53:54 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r306167 - in head/security/munge: . files X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 20 Oct 2012 07:53:54 -0000 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 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) {