- 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
This commit is contained in:
parent
177caebdc2
commit
b707e5a735
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=306167
2 changed files with 14 additions and 6 deletions
|
@ -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
|
||||
|
|
11
security/munge/files/patch-src-munged-xgetgrent.c
Normal file
11
security/munge/files/patch-src-munged-xgetgrent.c
Normal file
|
@ -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) {
|
Loading…
Reference in a new issue