[Lunar-commits] CVS: moonbase/perl/perl BUILD, 1.3, 1.4 CONFIGURE,
1.1.1.1, 1.2 DETAILS, 1.4, 1.5
Jerry Lundström
prox at lunar-linux.org
Mon Apr 19 11:13:15 GMT 2004
Update of /var/cvs/lunar/moonbase/perl/perl
In directory dbguin.lunar-linux.org:/tmp/cvs-serv18703
Modified Files:
BUILD CONFIGURE DETAILS
Log Message:
added suidperl as optional and not default
Index: BUILD
===================================================================
RCS file: /var/cvs/lunar/moonbase/perl/perl/BUILD,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- BUILD 22 Jun 2003 23:58:29 -0000 1.3
+++ BUILD 19 Apr 2004 11:13:13 -0000 1.4
@@ -1,9 +1,14 @@
#bzcat $SCRIPT_DIRECTORY/perl-gcc3.patch.bz2 | patch -p 0
+case $SUIDPERL in
+ y|Y) USE_SUIDPERL="-Dd_dosuid" ;;
+ *) USE_SUIDPERL="" ;;
+esac
+
case $CUSTOM in
y|Y|j|J) sound REPORT
./Configure -Dprefix=/usr \
- -Dd_dosuid \
+ $USE_SUIDPERL \
-Dman1dir=/usr/share/man/man1 \
-Dman3dir=/usr/share/man/man3 -d -e
;;
@@ -15,7 +20,7 @@
case $CUSTOM in
y|Y|j|J) true ;;
*) ./Configure -Dprefix=/usr \
- -Dd_dosuid \
+ $USE_SUIDPERL \
-Dman1dir=/usr/share/man/man1 \
-Dman3dir=/usr/share/man/man3 -d -e \
-Dusethreads ;;
@@ -24,6 +29,8 @@
prepare_install &&
make install
strip --strip-unneeded `which perl`
- strip --strip-unneeded `which suidperl`
+ case $SUIDPERL in
+ y|Y) strip --strip-unneeded `which suidperl` ;;
+ esac
) > $C_FIFO 2>&1
Index: CONFIGURE
===================================================================
RCS file: /var/cvs/lunar/moonbase/perl/perl/CONFIGURE,v
retrieving revision 1.1.1.1
retrieving revision 1.2
diff -u -d -r1.1.1.1 -r1.2
--- CONFIGURE 21 Aug 2002 00:55:21 -0000 1.1.1.1
+++ CONFIGURE 19 Apr 2004 11:13:13 -0000 1.2
@@ -1,8 +1,15 @@
if ! grep -q "CUSTOM=" $MODULE_CONFIG; then
- if query "Custom Configuration Perl?" n
+ if query "Custom Configuration Perl? [y/N]" n
then echo "CUSTOM=y" >> $MODULE_CONFIG
else echo "CUSTOM=n" >> $MODULE_CONFIG
fi
fi
+
+if ! grep -q "SUIDPERL=" $MODULE_CONFIG; then
+ if query "Compile and install suidperl? [Y/n]" y
+ then echo "SUIDPERL=y" >> $MODULE_CONFIG
+ else echo "SUIDPERL=n" >> $MODULE_CONFIG
+ fi
+fi
Index: DETAILS
===================================================================
RCS file: /var/cvs/lunar/moonbase/perl/perl/DETAILS,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -d -r1.4 -r1.5
--- DETAILS 7 Feb 2004 19:06:34 -0000 1.4
+++ DETAILS 19 Apr 2004 11:13:13 -0000 1.5
@@ -8,7 +8,7 @@
WEB_SITE=http://www.perl.org
SOURCE_VFY=md5:6d2b389f8c6424b7af303f417947714f
ENTERED=20010922
- UPDATED=20040207
+ UPDATED=20040419
PSAFE=no
SHORT="perl is Larry Wall's practical extraction and reporting language."
cat << EOF
More information about the Lunar-commits
mailing list