View | Details | Raw Unified | Return to bug 183988
Collapse All | Expand All

(-)./Makefile (-25 / +5 lines)
Lines 1-41 Link Here
1
# Created by: Muhammad Moinur Rahman <5u623l20@gmail.com>
1
# Created by: Muhammad Moinur Rahman <5u623l20@gmail.com>
2
# $FreeBSD: security/munge/Makefile 327769 2013-09-20 22:55:24Z bapt $
2
# $FreeBSD: head/security/munge/Makefile 327769 2013-09-20 22:55:24Z bapt $
3
3
4
PORTNAME=	munge
4
PORTNAME=	munge
5
PORTVERSION=	0.5.10
5
PORTVERSION=	0.5.11
6
PORTREVISION=	1
7
CATEGORIES=	security
6
CATEGORIES=	security
8
MASTER_SITES=	GOOGLE_CODE
7
MASTER_SITES=	GOOGLE_CODE
9
8
10
MAINTAINER=	5u623l20@gmail.com
9
MAINTAINER=	5u623l20@gmail.com
11
COMMENT=	Authentication service for creating and validating credentials
10
COMMENT=	Authentication service for creating and validating credentials
12
11
12
LICENSE=	GPLv3 LGPL3
13
LICENSE_COMB=	dual
14
13
USE_BZIP2=	yes
15
USE_BZIP2=	yes
14
GNU_CONFIGURE=	yes
16
GNU_CONFIGURE=	yes
15
USES=		perl5
17
USES=		perl5
16
USE_LDCONFIG=	yes
18
USE_LDCONFIG=	yes
17
USE_RC_SUBR=	munged
19
USE_RC_SUBR=	munged
18
20
19
MAN1=		unmunge.1 \
20
	       	munge.1 \
21
	       	remunge.1
22
MAN3=		munge.3 \
23
		munge_ctx_copy.3 \
24
	       	munge_ctx_get.3 \
25
	       	munge_ctx.3 \
26
	       	munge_enum_int_to_str.3 \
27
	       	munge_enum_is_valid.3 \
28
	       	munge_enum_str_to_int.3 \
29
	       	munge_enum.3
30
MAN7=		munge.7
31
MAN8=		munged.8
32
MLINKS=		munge.3 munge_strerror.3 \
33
		munge.3 munge_encode.3 \
34
		munge.3 munge_decode.3 \
35
	       	munge_ctx.3 munge_ctx_create.3 \
36
	       	munge_ctx.3 munge_ctx_destroy.3 \
37
		munge_ctx.3 munge_ctx_set.3 \
38
		munge_ctx.3 munge_ctx_strerror.3
39
40
NO_STAGE=	yes
41
.include <bsd.port.mk>
21
.include <bsd.port.mk>
(-)./distinfo (-2 / +2 lines)
Lines 1-2 Link Here
1
SHA256 (munge-0.5.10.tar.bz2) = 00e0125c2895877b555872647b0a98d13838a54acda78614bb6c6e70daadabc6
1
SHA256 (munge-0.5.11.tar.bz2) = 8e075614f81cb0a6df21a0aafdc825498611a04429d0876f074fc828739351a5
2
SIZE (munge-0.5.10.tar.bz2) = 424285
2
SIZE (munge-0.5.11.tar.bz2) = 423232
(-)./files/patch-src-Makefile.in (+10 lines)
Line 0 Link Here
1
--- src/Makefile.in.orig	2013-11-15 02:53:07.000000000 +0600
2
+++ src/Makefile.in	2013-11-15 02:53:15.000000000 +0600
3
@@ -284,7 +284,6 @@
4
 top_builddir = @top_builddir@
5
 top_srcdir = @top_srcdir@
6
 SUBDIRS = \
7
-	etc \
8
 	libcommon \
9
 	libmissing \
10
 	libmunge \
(-)./files/patch-src-etc-Makefile.in (-28 lines)
Lines 1-28 Link Here
1
--- src/etc/Makefile.in.orig	2012-03-24 23:11:13.000000000 +0600
2
+++ src/etc/Makefile.in	2012-03-24 23:14:23.000000000 +0600
3
@@ -431,24 +431,7 @@
4
 	-rm -f *~ \#* .\#* cscope*.out core core.* tags TAGS
5
 
6
 install-data-local:
7
-	expr "`id`" : 'uid=0(' >/dev/null && OWNER="-o daemon" || OWNER=""; \
8
-	$(INSTALL) -m 0755 -d "$(DESTDIR)$(sysconfdir)/init.d"; \
9
-	new=""; test ! -f "$(DESTDIR)$(sysconfdir)/init.d/munge" \
10
-	  || cmp "$(builddir)/munge.init" \
11
-	    "$(DESTDIR)$(sysconfdir)/init.d/munge" \
12
-	  1>/dev/null 2>&1 || new=".new"; \
13
-	$(INSTALL) -m 0755 "$(builddir)/munge.init" \
14
-	  "$(DESTDIR)$(sysconfdir)/init.d/munge$${new}"; \
15
-	test -d "/etc/sysconfig" && d="sysconfig" || d="default"; \
16
-	new=""; test ! -f "$(DESTDIR)$(sysconfdir)/$${d}/munge" \
17
-	  || cmp "$(srcdir)/munge.sysconfig" \
18
-	    "$(DESTDIR)$(sysconfdir)/$${d}/munge" \
19
-	  1>/dev/null 2>&1 || new=".new"; \
20
-	$(INSTALL) -m 0755 -d "$(DESTDIR)$(sysconfdir)/$${d}"; \
21
-	$(INSTALL) -m 0644 "$(srcdir)/munge.sysconfig" \
22
-	  "$(DESTDIR)$(sysconfdir)/$${d}/munge$${new}"; \
23
-	$(INSTALL) $${OWNER} -m 0700 -d \
24
-	  "$(DESTDIR)$(sysconfdir)/munge"; \
25
+	expr "`id`" : 'uid=0(' >/dev/null && OWNER="-o root" || OWNER=""; \
26
 	$(INSTALL) -m 0711 -d "$(DESTDIR)$(localstatedir)/lib"; \
27
 	$(INSTALL) $${OWNER} -m 0711 -d \
28
 	  "$(DESTDIR)$(localstatedir)/lib/munge"; \
(-)./files/patch-src-munged-xgetgrent.c (-11 lines)
Lines 1-11 Link Here
1
--- src/munged/xgetgrent.c.orig	2012-10-18 16:42:46.000000000 +0200
2
+++ src/munged/xgetgrent.c	2012-10-18 16:43:17.000000000 +0200
3
@@ -194,7 +194,7 @@
4
 
5
 #if   HAVE_GETGRENT_R_GNU
6
     rv = getgrent_r (gr, buf, buflen, &gr_ptr);
7
-    if (rv == ENOENT) {
8
+    if (((rv == ENOENT) || (rv == 0)) && (gr_ptr == NULL)) {
9
         got_eof = 1;
10
     }
11
     else if (rv != 0) {
(-)./pkg-descr (-1 / +1 lines)
Lines 7-10 Link Here
7
credentials without the use of root privileges, reserved ports, or
7
credentials without the use of root privileges, reserved ports, or
8
platform-specific methods.
8
platform-specific methods.
9
9
10
WWW:	http://code.google.com/p/munge/
10
WWW: http://code.google.com/p/munge/
(-)./pkg-plist (-4 / +23 lines)
Lines 8-14 Link Here
8
lib/libmunge.a
8
lib/libmunge.a
9
lib/libmunge.so
9
lib/libmunge.so
10
sbin/munged
10
sbin/munged
11
@cwd /
11
man/man1/munge.1.gz
12
@exec rm /var/run/${PORTNAME}
12
man/man1/remunge.1.gz
13
@exec rm /var/log/${PORTNAME}
13
man/man1/unmunge.1.gz
14
@exec rm /var/lib/${PORTNAME}
14
man/man3/munge.3.gz
15
man/man3/munge_ctx.3.gz
16
man/man3/munge_ctx_copy.3.gz
17
man/man3/munge_ctx_create.3.gz
18
man/man3/munge_ctx_destroy.3.gz
19
man/man3/munge_ctx_get.3.gz
20
man/man3/munge_ctx_set.3.gz
21
man/man3/munge_ctx_strerror.3.gz
22
man/man3/munge_decode.3.gz
23
man/man3/munge_encode.3.gz
24
man/man3/munge_enum.3.gz
25
man/man3/munge_enum_int_to_str.3.gz
26
man/man3/munge_enum_is_valid.3.gz
27
man/man3/munge_enum_str_to_int.3.gz
28
man/man3/munge_strerror.3.gz
29
man/man7/munge.7.gz
30
man/man8/munged.8.gz
31
@unexec rm %D/var/run/munge 2>&1 >/dev/null || true
32
@unexec rm %D/var/log/munge 2>&1 >/dev/null || true
33
@unexec rm %D/var/lib/munge 2>&1 >/dev/null || true

Return to bug 183988