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

(-)sudo/Makefile (+2 lines)
Lines 7-12 Link Here
7
7
8
PORTNAME=	sudo
8
PORTNAME=	sudo
9
PORTVERSION=	1.7.4.3
9
PORTVERSION=	1.7.4.3
10
PORTREVISION=	1
10
CATEGORIES=	security
11
CATEGORIES=	security
11
MASTER_SITES=	http://www.sudo.ws/sudo/dist/ \
12
MASTER_SITES=	http://www.sudo.ws/sudo/dist/ \
12
		ftp://obsd.isc.org/pub/sudo/ \
13
		ftp://obsd.isc.org/pub/sudo/ \
Lines 102-106 Link Here
102
	if [ ! -f ${PREFIX}/etc/sudoers ]; then \
103
	if [ ! -f ${PREFIX}/etc/sudoers ]; then \
103
		${CP} -p ${PREFIX}/etc/sudoers.sample ${PREFIX}/etc/sudoers; \
104
		${CP} -p ${PREFIX}/etc/sudoers.sample ${PREFIX}/etc/sudoers; \
104
	fi
105
	fi
106
	${TOUCH} ${PREFIX}/etc/sudoers.d/.keep-me
105
107
106
.include <bsd.port.post.mk>
108
.include <bsd.port.post.mk>
(-)sudo/pkg-plist (-1 / +2 lines)
Lines 6-12 Link Here
6
@exec if [ ! -f %D/etc/sudoers ] ; then cp -p %D/%F %B/sudoers; fi
6
@exec if [ ! -f %D/etc/sudoers ] ; then cp -p %D/%F %B/sudoers; fi
7
@unexec if cmp -s %D/etc/pam.d/sudo.default %D/etc/pam.d/sudo; then rm -f %D/etc/pam.d/sudo ; fi
7
@unexec if cmp -s %D/etc/pam.d/sudo.default %D/etc/pam.d/sudo; then rm -f %D/etc/pam.d/sudo ; fi
8
etc/pam.d/sudo.default
8
etc/pam.d/sudo.default
9
@exec if [ ! -f %D/etc/pam.d/sudo ] ; then cp -p %D/%F %B/pam.d/sudo; fi
9
@exec if [ ! -f %D/etc/pam.d/sudo ] ; then cp -p %D/%F %B/sudo; fi
10
libexec/sudo_noexec.so
10
libexec/sudo_noexec.so
11
sbin/visudo
11
sbin/visudo
12
%%PORTDOCS%%%%DOCSDIR%%/ChangeLog
12
%%PORTDOCS%%%%DOCSDIR%%/ChangeLog
Lines 23-26 Link Here
23
%%LDAP%%%%PORTDOCS%%%%DOCSDIR%%/schema.OpenLDAP
23
%%LDAP%%%%PORTDOCS%%%%DOCSDIR%%/schema.OpenLDAP
24
%%LDAP%%%%PORTDOCS%%%%DOCSDIR%%/sudoers2ldif
24
%%LDAP%%%%PORTDOCS%%%%DOCSDIR%%/sudoers2ldif
25
%%PORTDOCS%%@dirrm %%DOCSDIR%%
25
%%PORTDOCS%%@dirrm %%DOCSDIR%%
26
etc/sudoers.d/.keep-me
26
@dirrmtry etc/sudoers.d
27
@dirrmtry etc/sudoers.d

Return to bug 149912