aboutsummaryrefslogtreecommitdiff
path: root/security/sudo
diff options
context:
space:
mode:
authorRenato Botelho <garga@FreeBSD.org>2018-01-17 15:07:51 +0000
committerRenato Botelho <garga@FreeBSD.org>2018-01-17 15:07:51 +0000
commit9d5a4ab439f1fd44d013e37ebe26cd08553ef1ee (patch)
tree1e9e485c24ee6bbe53f1f65e76691ab14900cf20 /security/sudo
parentae01866731bb8c76a5008b2194e4364b01f10a65 (diff)
Notes
Diffstat (limited to 'security/sudo')
-rw-r--r--security/sudo/Makefile5
-rw-r--r--security/sudo/distinfo6
-rw-r--r--security/sudo/files/patch-bug22251014
-rw-r--r--security/sudo/pkg-plist2
4 files changed, 7 insertions, 20 deletions
diff --git a/security/sudo/Makefile b/security/sudo/Makefile
index addc2276b387..8dce4f6616e2 100644
--- a/security/sudo/Makefile
+++ b/security/sudo/Makefile
@@ -2,8 +2,7 @@
# $FreeBSD$
PORTNAME= sudo
-PORTVERSION= 1.8.21p2
-PORTREVISION= 1
+PORTVERSION= 1.8.22
CATEGORIES= security
MASTER_SITES= SUDO
@@ -29,7 +28,7 @@ CONFIGURE_ARGS= --sysconfdir=${PREFIX}/etc \
--with-long-otp-prompt
OPTIONS_DEFINE= LDAP INSULTS DISABLE_ROOT_SUDO DISABLE_AUTH NOARGS_SHELL \
- AUDIT OPIE NLS SSSD DOCS
+ AUDIT OPIE NLS SSSD DOCS EXAMPLES
OPTIONS_DEFAULT= AUDIT
OPTIONS_SUB= yes
diff --git a/security/sudo/distinfo b/security/sudo/distinfo
index f420c168200d..363dc6a39f08 100644
--- a/security/sudo/distinfo
+++ b/security/sudo/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1505753076
-SHA256 (sudo-1.8.21p2.tar.gz) = 74c5746cd33a814e2431c39faf0d76f7f8a697379bd073862e3b156cf0d76368
-SIZE (sudo-1.8.21p2.tar.gz) = 2976081
+TIMESTAMP = 1516196577
+SHA256 (sudo-1.8.22.tar.gz) = 7256cb27c20883b14360eddbd17f98922073d104b214cf65aeacf1d9c9b9fd02
+SIZE (sudo-1.8.22.tar.gz) = 3029051
diff --git a/security/sudo/files/patch-bug222510 b/security/sudo/files/patch-bug222510
deleted file mode 100644
index 673612fbc17f..000000000000
--- a/security/sudo/files/patch-bug222510
+++ /dev/null
@@ -1,14 +0,0 @@
-diff -r 926deea0d506 -r fafb3a3083cb lib/util/gethostname.c
---- lib/util/gethostname.c Tue Oct 17 14:28:38 2017 -0600
-+++ lib/util/gethostname.c Fri Oct 20 07:37:40 2017 -0600
-@@ -42,7 +42,7 @@
-
- hname = malloc(host_name_max + 1);
- if (hname != NULL) {
-- if (gethostname(hname, host_name_max + 1) == 0) {
-+ if (gethostname(hname, host_name_max + 1) == 0 && *hname != '\0') {
- /* Old gethostname() may not NUL-terminate if there is no room. */
- hname[host_name_max] = '\0';
- } else {
-
-
diff --git a/security/sudo/pkg-plist b/security/sudo/pkg-plist
index ded7167a929b..7357c1207f34 100644
--- a/security/sudo/pkg-plist
+++ b/security/sudo/pkg-plist
@@ -13,6 +13,7 @@ libexec/sudo/sudoers.so
libexec/sudo/system_group.so
man/man5/sudo.conf.5.gz
man/man5/sudoers.5.gz
+man/man5/sudoers_timestamp.5.gz
%%LDAP%%man/man5/sudoers.ldap.5.gz
man/man8/sudo.8.gz
man/man8/sudo_plugin.8.gz
@@ -56,6 +57,7 @@ sbin/visudo
%%NLS%%share/locale/fr/LC_MESSAGES/sudo.mo
%%NLS%%share/locale/fr/LC_MESSAGES/sudoers.mo
%%NLS%%share/locale/fur/LC_MESSAGES/sudo.mo
+%%NLS%%share/locale/fur/LC_MESSAGES/sudoers.mo
%%NLS%%share/locale/gl/LC_MESSAGES/sudo.mo
%%NLS%%share/locale/hr/LC_MESSAGES/sudo.mo
%%NLS%%share/locale/hr/LC_MESSAGES/sudoers.mo