View | Details | Raw Unified | Return to bug 246472 | Differences between
and this patch

Collapse All | Expand All

(-)security/sudo/Makefile (-3 / +13 lines)
Lines 2-8 Link Here
2
# $FreeBSD$
2
# $FreeBSD$
3
3
4
PORTNAME=	sudo
4
PORTNAME=	sudo
5
PORTVERSION=	1.8.31p1
5
PORTVERSION=	1.9.0
6
CATEGORIES=	security
6
CATEGORIES=	security
7
MASTER_SITES=	SUDO
7
MASTER_SITES=	SUDO
8
8
Lines 29-35 Link Here
29
		--with-rundir=/var/run/sudo
29
		--with-rundir=/var/run/sudo
30
30
31
OPTIONS_DEFINE=	LDAP INSULTS DISABLE_ROOT_SUDO DISABLE_AUTH NOARGS_SHELL \
31
OPTIONS_DEFINE=	LDAP INSULTS DISABLE_ROOT_SUDO DISABLE_AUTH NOARGS_SHELL \
32
		AUDIT OPIE PAM NLS SSSD DOCS EXAMPLES
32
		AUDIT OPIE PAM PYTHON NLS SSSD DOCS EXAMPLES
33
OPTIONS_RADIO=	KERBEROS
33
OPTIONS_RADIO=	KERBEROS
34
OPTIONS_DEFAULT=	AUDIT PAM
34
OPTIONS_DEFAULT=	AUDIT PAM
35
OPTIONS_SUB=	yes
35
OPTIONS_SUB=	yes
Lines 41-46 Link Here
41
AUDIT_DESC=	Enable BSM audit support
41
AUDIT_DESC=	Enable BSM audit support
42
KERBEROS_DESC=	Enable Kerberos 5 authentication (no PAM support)
42
KERBEROS_DESC=	Enable Kerberos 5 authentication (no PAM support)
43
OPIE_DESC=	Enable one-time passwords (no PAM support)
43
OPIE_DESC=	Enable one-time passwords (no PAM support)
44
PYTHON_DESC=	Enable python plugin support
44
SSSD_DESC=	Enable SSSD backend support.
45
SSSD_DESC=	Enable SSSD backend support.
45
46
46
PAM_PREVENTS=	OPIE GSSAPI_BASE GSSAPI_HEIMDAL GSSAPI_MIT
47
PAM_PREVENTS=	OPIE GSSAPI_BASE GSSAPI_HEIMDAL GSSAPI_MIT
Lines 75-80 Link Here
75
AUDIT_CONFIGURE_WITH=	bsm-audit
76
AUDIT_CONFIGURE_WITH=	bsm-audit
76
PAM_CONFIGURE_ON=	--with-pam
77
PAM_CONFIGURE_ON=	--with-pam
77
OPIE_CONFIGURE_ON=	--with-opie
78
OPIE_CONFIGURE_ON=	--with-opie
79
PYTHON_USES=	python
80
PYTHON_CONFIGURE_ENABLE=	python
78
SSSD_CONFIGURE_ON=	--with-sssd
81
SSSD_CONFIGURE_ON=	--with-sssd
79
SSSD_RUN_DEPENDS=	sssd:security/sssd
82
SSSD_RUN_DEPENDS=	sssd:security/sssd
80
83
Lines 107-118 Link Here
107
110
108
post-install:
111
post-install:
109
	${INSTALL_DATA} ${FILESDIR}/pam.conf ${STAGEDIR}${PREFIX}/etc/pam.d/sudo.default
112
	${INSTALL_DATA} ${FILESDIR}/pam.conf ${STAGEDIR}${PREFIX}/etc/pam.d/sudo.default
113
	${MV} ${STAGEDIR}${PREFIX}/etc/sudo.conf ${STAGEDIR}${PREFIX}/etc/sudo.conf.sample
114
	${MV} ${STAGEDIR}${PREFIX}/etc/sudo_logsrvd.conf ${STAGEDIR}${PREFIX}/etc/sudo_logsrvd.conf.sample
110
	${RM} ${STAGEDIR}${PREFIX}/etc/sudoers
115
	${RM} ${STAGEDIR}${PREFIX}/etc/sudoers
111
	${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/cvtsudoers
116
	${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/cvtsudoers
112
	${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/sudoreplay
117
	${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/sudoreplay
118
	${STRIP_CMD} ${STAGEDIR}${PREFIX}/sbin/sudo_logsrvd
119
	${STRIP_CMD} ${STAGEDIR}${PREFIX}/sbin/sudo_sendlog
113
	${STRIP_CMD} ${STAGEDIR}${PREFIX}/sbin/visudo
120
	${STRIP_CMD} ${STAGEDIR}${PREFIX}/sbin/visudo
114
.for f in group_file.so libsudo_util.so sudoers.so system_group.so
121
.for f in audit_json.so group_file.so libsudo_util.so sample_approval.so sudoers.so system_group.so
115
	${STRIP_CMD} ${STAGEDIR}${PREFIX}/libexec/sudo/${f}
122
	${STRIP_CMD} ${STAGEDIR}${PREFIX}/libexec/sudo/${f}
116
.endfor
123
.endfor
117
124
125
post-install-PYTHON-on:
126
	${STRIP_CMD} ${STAGEDIR}${PREFIX}/libexec/sudo/python_plugin.so
127
118
.include <bsd.port.mk>
128
.include <bsd.port.mk>
(-)security/sudo/distinfo (-3 / +3 lines)
Lines 1-3 Link Here
1
TIMESTAMP = 1584533326
1
TIMESTAMP = 1589486631
2
SHA256 (sudo-1.8.31p1.tar.gz) = c73cfdfbc1c5cc259fcc3a355e1bacfed99c5580daeadec9704a24cd5e6d15d8
2
SHA256 (sudo-1.9.0.tar.gz) = ab231439c5dfdf4ecbef74f10d5f7e9686c2255c2f3887085b5c5e13281bf95c
3
SIZE (sudo-1.8.31p1.tar.gz) = 3351312
3
SIZE (sudo-1.9.0.tar.gz) = 3743850
(-)security/sudo/pkg-plist (-1 / +21 lines)
Lines 2-28 Link Here
2
bin/sudo
2
bin/sudo
3
bin/sudoedit
3
bin/sudoedit
4
bin/sudoreplay
4
bin/sudoreplay
5
@sample etc/pam.d/sudo.default etc/pam.d/sudo
6
@sample etc/sudo.conf.sample
7
@sample etc/sudo_logsrvd.conf.sample
5
@sample etc/sudoers.dist etc/sudoers
8
@sample etc/sudoers.dist etc/sudoers
6
@sample etc/pam.d/sudo.default etc/pam.d/sudo
7
include/sudo_plugin.h
9
include/sudo_plugin.h
10
libexec/sudo/audit_json.so
8
libexec/sudo/group_file.so
11
libexec/sudo/group_file.so
9
libexec/sudo/libsudo_util.so
12
libexec/sudo/libsudo_util.so
10
libexec/sudo/libsudo_util.so.0
13
libexec/sudo/libsudo_util.so.0
11
libexec/sudo/libsudo_util.so.0.0.0
14
libexec/sudo/libsudo_util.so.0.0.0
15
%%PYTHON%%libexec/sudo/python_plugin.so
16
libexec/sudo/sample_approval.so
12
libexec/sudo/sudo_noexec.so
17
libexec/sudo/sudo_noexec.so
13
libexec/sudo/sudoers.so
18
libexec/sudo/sudoers.so
14
libexec/sudo/system_group.so
19
libexec/sudo/system_group.so
15
man/man1/cvtsudoers.1.gz
20
man/man1/cvtsudoers.1.gz
16
man/man5/sudo.conf.5.gz
21
man/man5/sudo.conf.5.gz
22
man/man5/sudo_logsrv.proto.5.gz
23
man/man5/sudo_logsrvd.conf.5.gz
17
man/man5/sudoers.5.gz
24
man/man5/sudoers.5.gz
18
man/man5/sudoers_timestamp.5.gz
25
man/man5/sudoers_timestamp.5.gz
19
%%LDAP%%man/man5/sudoers.ldap.5.gz
26
%%LDAP%%man/man5/sudoers.ldap.5.gz
20
man/man8/sudo.8.gz
27
man/man8/sudo.8.gz
28
man/man8/sudo_logsrvd.8.gz
21
man/man8/sudo_plugin.8.gz
29
man/man8/sudo_plugin.8.gz
30
man/man8/sudo_plugin_python.8.gz
31
man/man8/sudo_sendlog.8.gz
22
man/man8/sudoedit.8.gz
32
man/man8/sudoedit.8.gz
23
man/man8/sudoreplay.8.gz
33
man/man8/sudoreplay.8.gz
24
man/man8/visudo.8.gz
34
man/man8/visudo.8.gz
25
sbin/visudo
35
sbin/visudo
36
sbin/sudo_logsrvd
37
sbin/sudo_sendlog
26
%%PORTDOCS%%%%DOCSDIR%%/CONTRIBUTORS
38
%%PORTDOCS%%%%DOCSDIR%%/CONTRIBUTORS
27
%%PORTDOCS%%%%DOCSDIR%%/ChangeLog
39
%%PORTDOCS%%%%DOCSDIR%%/ChangeLog
28
%%PORTDOCS%%%%DOCSDIR%%/HISTORY
40
%%PORTDOCS%%%%DOCSDIR%%/HISTORY
Lines 38-45 Link Here
38
%%LDAP%%%%PORTDOCS%%%%DOCSDIR%%/schema.olcSudo
50
%%LDAP%%%%PORTDOCS%%%%DOCSDIR%%/schema.olcSudo
39
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/pam.conf
51
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/pam.conf
40
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/sudo.conf
52
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/sudo.conf
53
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/sudo_logsrvd.conf
41
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/sudoers
54
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/sudoers
42
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/syslog.conf
55
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/syslog.conf
56
%%PYTHON%%%%PORTEXAMPLES%%%%EXAMPLESDIR%%/example_approval_plugin.py
57
%%PYTHON%%%%PORTEXAMPLES%%%%EXAMPLESDIR%%/example_audit_plugin.py
58
%%PYTHON%%%%PORTEXAMPLES%%%%EXAMPLESDIR%%/example_conversation.py
59
%%PYTHON%%%%PORTEXAMPLES%%%%EXAMPLESDIR%%/example_debugging.py
60
%%PYTHON%%%%PORTEXAMPLES%%%%EXAMPLESDIR%%/example_group_plugin.py
61
%%PYTHON%%%%PORTEXAMPLES%%%%EXAMPLESDIR%%/example_io_plugin.py
62
%%PYTHON%%%%PORTEXAMPLES%%%%EXAMPLESDIR%%/example_policy_plugin.py
43
%%NLS%%share/locale/ast/LC_MESSAGES/sudo.mo
63
%%NLS%%share/locale/ast/LC_MESSAGES/sudo.mo
44
%%NLS%%share/locale/ast/LC_MESSAGES/sudoers.mo
64
%%NLS%%share/locale/ast/LC_MESSAGES/sudoers.mo
45
%%NLS%%share/locale/ca/LC_MESSAGES/sudo.mo
65
%%NLS%%share/locale/ca/LC_MESSAGES/sudo.mo

Return to bug 246472