pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/security/sudo
Module Name: pkgsrc
Committed By: nia
Date: Mon Mar 3 21:53:05 UTC 2025
Modified Files:
pkgsrc/security/sudo: Makefile options.mk
Log Message:
sudo: Enable PAM by default where available.
Verified to build successfully on SunOS, Linux, FreeBSD, NetBSD
via drecklypkg ci.
To generate a diff of this commit:
cvs rdiff -u -r1.206 -r1.207 pkgsrc/security/sudo/Makefile
cvs rdiff -u -r1.24 -r1.25 pkgsrc/security/sudo/options.mk
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/security/sudo/Makefile
diff -u pkgsrc/security/sudo/Makefile:1.206 pkgsrc/security/sudo/Makefile:1.207
--- pkgsrc/security/sudo/Makefile:1.206 Mon Mar 3 21:51:40 2025
+++ pkgsrc/security/sudo/Makefile Mon Mar 3 21:53:05 2025
@@ -1,6 +1,7 @@
-# $NetBSD: Makefile,v 1.206 2025/03/03 21:51:40 nia Exp $
+# $NetBSD: Makefile,v 1.207 2025/03/03 21:53:05 nia Exp $
DISTNAME= sudo-1.9.16p2
+PKGREVISION= 1
CATEGORIES= security
MASTER_SITES= https://www.sudo.ws/dist/
MASTER_SITES+= ftp://ftp.sudo.ws/pub/sudo/
Index: pkgsrc/security/sudo/options.mk
diff -u pkgsrc/security/sudo/options.mk:1.24 pkgsrc/security/sudo/options.mk:1.25
--- pkgsrc/security/sudo/options.mk:1.24 Mon Feb 20 13:36:42 2023
+++ pkgsrc/security/sudo/options.mk Mon Mar 3 21:53:05 2025
@@ -1,15 +1,22 @@
-# $NetBSD: options.mk,v 1.24 2023/02/20 13:36:42 taca Exp $
+# $NetBSD: options.mk,v 1.25 2025/03/03 21:53:05 nia Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.sudo
PKG_SUPPORTED_OPTIONS= ldap nls
PKG_OPTIONS_OPTIONAL_GROUPS= auth
PKG_OPTIONS_GROUP.auth= kerberos pam skey
-.if ${OPSYS} == "NetBSD" && exists(/usr/include/skey.h)
+.if ${OPSYS} == "NetBSD"
+. if exists(/usr/include/security/openpam.h)
+PKG_SUGGESTED_OPTIONS= pam
+. elif exists(/usr/include/skey.h)
PKG_SUGGESTED_OPTIONS= skey
+. endif
.endif
PKG_SUGGESTED_OPTIONS.Darwin= pam
+PKG_SUGGESTED_OPTIONS.FreeBSD= pam
+PKG_SUGGESTED_OPTIONS.Linux= pam
+PKG_SUGGESTED_OPTIONS.SunOS= pam
.include "../../mk/bsd.options.mk"
Home |
Main Index |
Thread Index |
Old Index