From 132cc129aa88fddb37959af9fd9a48648039e9b8 Mon Sep 17 00:00:00 2001 From: garga Date: Tue, 3 Nov 2015 09:44:23 +0000 Subject: - Update security/sudo to 1.8.15 - Remove patch-plugins__sudoers__Makefile.in, unnecessary on stagedir days - Remove patch-plugins__sudoers__audit.c, sudo_gettext.h is already included by sudoers.h - Rework patch-plugins__sudoers__sudoers.in to replace pkg_* utilities by pkg on message --- security/sudo/Makefile | 2 +- security/sudo/distinfo | 4 ++-- security/sudo/files/patch-plugins__sudoers__Makefile.in | 12 ------------ security/sudo/files/patch-plugins__sudoers__audit.c | 10 ---------- security/sudo/files/patch-plugins__sudoers__sudoers.in | 4 ++-- security/sudo/pkg-plist | 3 +++ 6 files changed, 8 insertions(+), 27 deletions(-) delete mode 100644 security/sudo/files/patch-plugins__sudoers__Makefile.in delete mode 100644 security/sudo/files/patch-plugins__sudoers__audit.c diff --git a/security/sudo/Makefile b/security/sudo/Makefile index 500b9d5..ead65e9 100644 --- a/security/sudo/Makefile +++ b/security/sudo/Makefile @@ -2,7 +2,7 @@ # $FreeBSD$ PORTNAME= sudo -PORTVERSION= 1.8.14p3 +PORTVERSION= 1.8.15 CATEGORIES= security MASTER_SITES= SUDO diff --git a/security/sudo/distinfo b/security/sudo/distinfo index 7ad6d41..db20ac3 100644 --- a/security/sudo/distinfo +++ b/security/sudo/distinfo @@ -1,2 +1,2 @@ -SHA256 (sudo-1.8.14p3.tar.gz) = a8a697cbb113859058944850d098464618254804cf97961dee926429f00a1237 -SIZE (sudo-1.8.14p3.tar.gz) = 2570892 +SHA256 (sudo-1.8.15.tar.gz) = 4316381708324da8b6cb151f655c1a11855207c7c02244d8ffdea5104d7cc308 +SIZE (sudo-1.8.15.tar.gz) = 2660128 diff --git a/security/sudo/files/patch-plugins__sudoers__Makefile.in b/security/sudo/files/patch-plugins__sudoers__Makefile.in deleted file mode 100644 index 6ca8dc2..0000000 --- a/security/sudo/files/patch-plugins__sudoers__Makefile.in +++ /dev/null @@ -1,12 +0,0 @@ ---- plugins/sudoers/Makefile.in.orig 2015-07-15 18:44:07 UTC -+++ plugins/sudoers/Makefile.in -@@ -336,8 +336,7 @@ install-plugin: sudoers.la install-dirs - - install-sudoers: install-dirs - $(INSTALL) -d $(INSTALL_OWNER) -m 0750 $(DESTDIR)$(sudoersdir)/sudoers.d -- test -r $(DESTDIR)$(sudoersdir)/sudoers || \ -- $(INSTALL) $(INSTALL_OWNER) -m $(sudoers_mode) sudoers $(DESTDIR)$(sudoersdir)/sudoers -+ $(INSTALL) $(INSTALL_OWNER) -m $(sudoers_mode) sudoers $(DESTDIR)$(sudoersdir)/sudoers - - uninstall: - -$(LIBTOOL) $(LTFLAGS) --mode=uninstall rm -f $(DESTDIR)$(plugindir)/sudoers.la diff --git a/security/sudo/files/patch-plugins__sudoers__audit.c b/security/sudo/files/patch-plugins__sudoers__audit.c deleted file mode 100644 index 73821c2..0000000 --- a/security/sudo/files/patch-plugins__sudoers__audit.c +++ /dev/null @@ -1,10 +0,0 @@ ---- plugins/sudoers/audit.c.orig 2015-07-15 18:44:07 UTC -+++ plugins/sudoers/audit.c -@@ -24,6 +24,7 @@ - - #ifdef HAVE_BSM_AUDIT - # include "bsm_audit.h" -+# include "sudo_gettext.h" - #endif - #ifdef HAVE_LINUX_AUDIT - # include "linux_audit.h" diff --git a/security/sudo/files/patch-plugins__sudoers__sudoers.in b/security/sudo/files/patch-plugins__sudoers__sudoers.in index cdc4428..d981717 100644 --- a/security/sudo/files/patch-plugins__sudoers__sudoers.in +++ b/security/sudo/files/patch-plugins__sudoers__sudoers.in @@ -5,8 +5,8 @@ ## Defaults specification ## +## Uncomment if needed to preserve environmental variables related to the -+## FreeBSD pkg_* utilities and fetch. -+# Defaults env_keep += "PKG_PATH PKG_DBDIR PKG_TMPDIR TMPDIR PACKAGEROOT PACKAGESITE PKGDIR FTP_PASSIVE_MODE" ++## FreeBSD pkg utility and fetch. ++# Defaults env_keep += "PKG_CACHEDIR PKG_DBDIR FTP_PASSIVE_MODE" +## +## Additionally uncomment if needed to preserve environmental variables +## related to portupgrade diff --git a/security/sudo/pkg-plist b/security/sudo/pkg-plist index 7ca905d..000ae60 100644 --- a/security/sudo/pkg-plist +++ b/security/sudo/pkg-plist @@ -60,6 +60,7 @@ sbin/visudo %%NLS%%share/locale/gl/LC_MESSAGES/sudo.mo %%NLS%%share/locale/hr/LC_MESSAGES/sudo.mo %%NLS%%share/locale/hr/LC_MESSAGES/sudoers.mo +%%NLS%%share/locale/hu/LC_MESSAGES/sudoers.mo %%NLS%%share/locale/it/LC_MESSAGES/sudo.mo %%NLS%%share/locale/it/LC_MESSAGES/sudoers.mo %%NLS%%share/locale/ja/LC_MESSAGES/sudo.mo @@ -75,6 +76,8 @@ sbin/visudo %%NLS%%share/locale/pt_BR/LC_MESSAGES/sudoers.mo %%NLS%%share/locale/ru/LC_MESSAGES/sudo.mo %%NLS%%share/locale/ru/LC_MESSAGES/sudoers.mo +%%NLS%%share/locale/sk/LC_MESSAGES/sudo.mo +%%NLS%%share/locale/sk/LC_MESSAGES/sudoers.mo %%NLS%%share/locale/sl/LC_MESSAGES/sudo.mo %%NLS%%share/locale/sl/LC_MESSAGES/sudoers.mo %%NLS%%share/locale/sr/LC_MESSAGES/sudo.mo -- cgit v1.1