head	1.5;
access;
symbols
	RELEASE_7_4_0:1.4
	RELEASE_8_2_0:1.4
	RELEASE_6_EOL:1.4
	RELEASE_8_1_0:1.2
	RELEASE_7_3_0:1.2
	RELEASE_8_0_0:1.2
	RELEASE_7_2_0:1.2
	RELEASE_7_1_0:1.1
	RELEASE_6_4_0:1.1
	RELEASE_5_EOL:1.1
	RELEASE_7_0_0:1.1
	RELEASE_6_3_0:1.1;
locks; strict;
comment	@# @;


1.5
date	2011.04.10.01.39.49;	author wxs;	state dead;
branches;
next	1.4;

1.4
date	2010.08.22.01.58.33;	author wxs;	state Exp;
branches;
next	1.3;

1.3
date	2010.08.16.02.16.26;	author wxs;	state Exp;
branches;
next	1.2;

1.2
date	2008.10.11.20.39.03;	author tmclaugh;	state Exp;
branches;
next	1.1;

1.1
date	2007.08.27.19.40.48;	author tmclaugh;	state Exp;
branches;
next	;


desc
@@


1.5
log
@Update to 1.8.1. There are a lot of behind-the-scenes changes in this port,
including a plugin system now.

While here, do some whitespace fixes.
@
text
@--- ./sudoers.in.orig	2010-07-30 11:58:54.000000000 -0400
+++ ./sudoers.in	2010-08-15 21:31:54.000000000 -0400
@@@@ -31,6 +31,14 @@@@
 ##
 ## 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"
+##
+## Additionally uncomment if needed to preserve environmental variables
+## related to portupgrade
+# Defaults	env_keep += "PORTSDIR PORTS_INDEX PORTS_DBDIR PACKAGES PKGTOOLS_CONF"
+##
 ## You may wish to keep some of the following environment variables
 ## when running commands via sudo.
 ##
@


1.4
log
@Update to 1.7.4p3
Install etc/pam.d/sudo and etc/pam.d/sudo.default
@
text
@@


1.3
log
@Update to 1.7.4p2.
@
text
@d1 2
a2 2
--- ./sudoers.orig	2010-07-30 11:58:54.000000000 -0400
+++ ./sudoers	2010-08-15 21:31:54.000000000 -0400
@


1.2
log
@- Add FTP_PASSIVE_MODE to example env_keep line for pkg utilities and fetch.

Suggested by:	koitsu
@
text
@d1 17
a17 16
--- sudoers.orig	2008-01-15 22:18:17.000000000 +0000
+++ sudoers	2008-10-11 20:36:46.928244000 +0000
@@@@ -14,6 +14,13 @@@@
 # Cmnd alias specification
 
 # 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"
+
+# Additionally uncomment if needed to preserve environmental variables
+# related to portupgrade.
+#Defaults	env_keep += "PORTSDIR PORTS_INDEX PORTS_DBDIR PACKAGES PKGTOOLS_CONF"
 
 # Runas alias specification
 
@


1.1
log
@Update to 1.6.9p4
- IPv6 support added.
- Added notes to default sudoers for handling environmental variables
  related to our pkg_* tools and portupgrade.
@
text
@d1 3
a3 3
--- sudoers.orig	2007-07-08 09:06:33.000000000 -0400
+++ sudoers	2007-08-27 15:37:00.868840000 -0400
@@@@ -12,6 +12,14 @@@@
d8 2
a9 2
+# FreeBSD pkg_* utilities.
+#Defaults	env_keep += "PKG_PATH PKG_DBDIR PKG_TMPDIR TMPDIR PACKAGEROOT PACKAGESITE PKGDIR"
d11 2
a12 3
+# Uncomment if needed to preserve environmental variables related to
+# portupgrade. (portupgrade uses some of the same variables as the pkg_*
+# tools so their Defaults above should be uncommented if needed too.)
@

