summaryrefslogtreecommitdiffstats
path: root/gnu/usr.bin
diff options
context:
space:
mode:
authorimp <imp@FreeBSD.org>2000-08-13 01:40:06 +0000
committerimp <imp@FreeBSD.org>2000-08-13 01:40:06 +0000
commitd7f0e20ea6dc414a21bb35aafcfd7d9e0d2cce55 (patch)
tree447da7c8ca4957851f3a8335efeec90ac6d9c0e5 /gnu/usr.bin
parentc90f528c4877ab2f0b1c72b6a66221ef112d9edb (diff)
downloadFreeBSD-src-d7f0e20ea6dc414a21bb35aafcfd7d9e0d2cce55.zip
FreeBSD-src-d7f0e20ea6dc414a21bb35aafcfd7d9e0d2cce55.tar.gz
Always build and install suidperl. Only install suidperl setuid when
ENABLE_SUIDPERL is set to true. When perl is updated to remove the fork mail code, additional warnings will enable the users to know what is gonig on and how to correct it. Markm will make those commits as part of his perl patch integration. suidperl is installed with execute permissions so that markm's added error messages wil be seen by the user.
Diffstat (limited to 'gnu/usr.bin')
-rw-r--r--gnu/usr.bin/perl/Makefile6
-rw-r--r--gnu/usr.bin/perl/suidperl/Makefile4
2 files changed, 5 insertions, 5 deletions
diff --git a/gnu/usr.bin/perl/Makefile b/gnu/usr.bin/perl/Makefile
index 7c11782..3cce3ab 100644
--- a/gnu/usr.bin/perl/Makefile
+++ b/gnu/usr.bin/perl/Makefile
@@ -1,10 +1,6 @@
# $FreeBSD$
-.if defined(BUILD_SUIDPERL) && ${BUILD_SUIDPERL} == "true"
-_suidperl= suidperl
-.endif
-
-SUBDIR= libperl miniperl perl ${_suidperl} library pod utils x2p
+SUBDIR= libperl miniperl perl suidperl library pod utils x2p
MAINTAINER=markm@freebsd.org
diff --git a/gnu/usr.bin/perl/suidperl/Makefile b/gnu/usr.bin/perl/suidperl/Makefile
index 6b5f8ac..8337028 100644
--- a/gnu/usr.bin/perl/suidperl/Makefile
+++ b/gnu/usr.bin/perl/suidperl/Makefile
@@ -13,7 +13,11 @@ LDADD= ${DYNALOADER} -lperl -lm -lcrypt -lmd
LINKS= ${BINDIR}/${PROG} ${BINDIR}/sperl5 \
${BINDIR}/${PROG} ${BINDIR}/sperl${VERSION}
BINOWN= root
+.if defined(ENABLE_SUIDPERL) && ${ENABLE_SUIDPERL} == "true"
BINMODE=4511
+.else
+BINMODE=511
+.endif
CLEANFILES= Config.pm perlmain.c \
autosplit ext.libs
OpenPOWER on IntegriCloud