summaryrefslogtreecommitdiff
path: root/security/sudo/patches/patch-aa
diff options
context:
space:
mode:
authorhubertf <hubertf@pkgsrc.org>1997-12-14 23:27:00 +0000
committerhubertf <hubertf@pkgsrc.org>1997-12-14 23:27:00 +0000
commite18979004418322ae56212e9503a7d8abb18a8c8 (patch)
tree583e441a7f4178673759a04c3258f832830ab15c /security/sudo/patches/patch-aa
parentee250e0d619feb3990ab698c8642d19793d025ba (diff)
downloadpkgsrc-e18979004418322ae56212e9503a7d8abb18a8c8.tar.gz
Import vanialla FreeBSD sudo.
Diffstat (limited to 'security/sudo/patches/patch-aa')
-rw-r--r--security/sudo/patches/patch-aa43
1 files changed, 43 insertions, 0 deletions
diff --git a/security/sudo/patches/patch-aa b/security/sudo/patches/patch-aa
new file mode 100644
index 00000000000..95030a59441
--- /dev/null
+++ b/security/sudo/patches/patch-aa
@@ -0,0 +1,43 @@
+--- configure.orig Sun Aug 25 12:32:03 1996
++++ configure Thu Aug 29 10:26:50 1996
+@@ -37,6 +37,8 @@
+ --with-libraries additional libraries to link with"
+ ac_help="$ac_help
+ --with-csops add CSOps standard options"
++ac_help="$ac_help
++ --with-fbsdops add FreeBSD standard options"
+
+ # Initialize some variables set by options.
+ # The variables have the same names as the options, with
+@@ -557,8 +559,8 @@
+
+ test "$mandir" = '${prefix}/man' && mandir='$(prefix)/man'
+ test "$bindir" = '${exec_prefix}/bin' && bindir='$(exec_prefix)/bin'
+-test "$sbindir" = '${exec_prefix}/sbin' && sbindir='$(exec_prefix)/etc'
+-test "$sysconfdir" = '${prefix}/etc' && sysconfdir='/etc'
++test "$sbindir" = '${exec_prefix}/sbin' || sbindir='$(exec_prefix)/etc'
++test "$sysconfdir" = '${prefix}/etc' || sysconfdir='/etc'
+
+
+ # Check whether --with-CC or --without-CC was given.
+@@ -784,6 +786,20 @@
+ yes) OPTIONS="${OPTIONS} -DIGNORE_DOT_PATH -DUSE_INSULTS -DCLASSIC_INSULTS -DCSOPS_INSULTS -DENV_EDITOR"
+ sbindir='$(exec_prefix)/sbin'
+ echo 'CSOps--adding options: IGNORE_DOT_PATH USE_INSULTS CLASSIC_INSULTS CSOPS_INSULTS ENV_EDITOR'
++ ;;
++ no) ;;
++ *) echo "Ignoring unknown argument to --with-csops: $with_csops"
++ ;;
++esac
++fi
++
++# Check whether --with-fbsdops or --without-fbsdops was given.
++if test "${with_fbsdops+set}" = set; then
++ withval="$with_fbsdops"
++ case $with_fbsdops in
++ yes) OPTIONS="${OPTIONS} -DIGNORE_DOT_PATH -DENV_EDITOR -DUSE_TTY_TICKETS"
++ sbindir='$(exec_prefix)/sbin'
++ echo 'fbsdops--adding options: IGNORE_DOT_PATH ENV_EDITOR USE_TTY_TICKETS'
+ ;;
+ no) ;;
+ *) echo "Ignoring unknown argument to --with-csops: $with_csops"