Skip to Content.
Sympa Menu

sm-commit - [SM-Commit] GIT changes to master grimoire by Vlad Glagolev (23399e9fae5311971a2cfd64a7db84b77c85d86b)

sm-commit AT lists.ibiblio.org

Subject: Source Mage code commit list

List archive

Chronological Thread  
  • From: Vlad Glagolev <scm AT sourcemage.org>
  • To: sm-commit AT lists.ibiblio.org
  • Subject: [SM-Commit] GIT changes to master grimoire by Vlad Glagolev (23399e9fae5311971a2cfd64a7db84b77c85d86b)
  • Date: Sun, 6 Jan 2008 14:17:58 -0600

GIT changes to master grimoire by Vlad Glagolev <stealth AT sourcemage.org>:

ChangeLog | 1
dev/null |binary
devel/perl/BUILD | 50 +++++++
devel/perl/CONFIGURE | 62 +++++++++
devel/perl/DEPENDS | 1
devel/perl/DETAILS | 21 +++
devel/perl/HISTORY | 220
++++++++++++++++++++++++++++++++++
devel/perl/INSTALL | 10 +
devel/perl/PRE_SUB_DEPENDS | 5
devel/perl/SUB_DEPENDS | 9 +
devel/perl/TRIGGERS | 6
devel/perl/UP_TRIGGERS | 13 ++
devel/perl/perl-5.10.0.tar.gz.sig |binary
devel/perl/perl.dl | 1
devel/perl/perl.sh | 2
devel/perl/rebuild_modules | 23 +++
perl-cpan/perl/BUILD | 50 -------
perl-cpan/perl/CONFIGURE | 61 ---------
perl-cpan/perl/DEPENDS | 1
perl-cpan/perl/DETAILS | 21 ---
perl-cpan/perl/DynaLoader.a | 1
perl-cpan/perl/HISTORY | 220
----------------------------------
perl-cpan/perl/INSTALL | 10 -
perl-cpan/perl/TRIGGERS | 6
perl-cpan/perl/UP_TRIGGERS | 12 -
perl-cpan/perl/perl-5.10.0.tar.gz.sig | 0
perl-cpan/perl/perl.sh | 2
perl-cpan/perl/rebuild_modules | 23 ---
28 files changed, 424 insertions(+), 407 deletions(-)

New commits:
commit 23399e9fae5311971a2cfd64a7db84b77c85d86b
Author: Vlad Glagolev <stealth AT sourcemage.org>
Commit: Vlad Glagolev <stealth AT sourcemage.org>

perl: moved into devel, fixed some small bugs

diff --git a/ChangeLog b/ChangeLog
index 939c324..e196ff5 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,6 @@
2008-01-06 Vlad Glagolev <stealth AT sourcemage.org>
* perl-cpan/MAINTAINER: add myself as maintainer
+ * perl-cpan/perl: => moved into devel

2008-01-06 Elisamuel Resto <ryuji AT sourcemage.org>
* php-pear/MAINTAINER: I will be replacing Sergey for this section
diff --git a/devel/perl/BUILD b/devel/perl/BUILD
new file mode 100755
index 0000000..16ceb94
--- /dev/null
+++ b/devel/perl/BUILD
@@ -0,0 +1,50 @@
+unset LANG
+
+if ! declare -f up_trigger > /dev/null; then
+# save current version so we can do a TRIGGERS, only on sorcery < 1.13
+#
+persistent_add PREVIOUS_VERSION &&
+PREVIOUS_VERSION="`installed_version perl`"
+fi &&
+local PERL_CONFIG="$DEPENDS_CONFIG/perl_config.sh" &&
+
+SITEMAN1DIR="${INSTALL_ROOT}/usr/share/site_perl/man/man1" &&
+SITEMAN3DIR="${INSTALL_ROOT}/usr/share/site_perl/man/man3" &&
+VENDORMAN1DIR="${INSTALL_ROOT}/usr/share/vendor_perl/man/man1" &&
+VENDORMAN3DIR="${INSTALL_ROOT}/usr/share/vendor_perl/man/man3" &&
+
+PERL_PATHS="-Dprefix=/usr \
+ -Dvendorprefix=/usr -Dvendorman1dir=$VENDORMAN1DIR
-Dvendorman3dir=$VENDORMAN3DIR \
+ -Dsiteprefix=/usr -Dsiteman1dir=$SITEMAN1DIR
-Dsiteman3dir=$SITEMAN3DIR " &&
+
+local CONFIG_OPTS="-Ui_db -Duseshrplib -Ulocincpth=" &&
+
+if glibc_is_nptl; then
+ LDFLAGS="$LDFLAGS -lpthread"
+fi &&
+
+if [[ $OLD_CUSTOM == y ]]; then
+ CONFIG_OPTS="-S "
+ cp $PERL_CONFIG ./config.sh
+fi &&
+
+if [[ $THREADED == y ]]; then
+ CONFIG_OPTS="$CONFIG_OPTS -Dusethreads"
+fi &&
+
+if [[ $NEW_CUSTOM != y ]]; then
+ CONFIG_OPTS="-d -e $CONFIG_OPTS"
+else
+ rm -f config.sh
+fi &&
+
+./Configure -Doptimize="$CFLAGS" $CONFIG_OPTS $PERL_PATHS &&
+
+make_single &&
+make depend &&
+make &&
+make_normal &&
+
+if [[ $NEW_CUSTOM == y ]]; then
+ cp config.sh $PERL_CONFIG
+fi
diff --git a/devel/perl/CONFIGURE b/devel/perl/CONFIGURE
new file mode 100755
index 0000000..5f87862
--- /dev/null
+++ b/devel/perl/CONFIGURE
@@ -0,0 +1,62 @@
+CONFIG_FILE="$DEPENDS_CONFIG/perl_config.sh" &&
+
+if [[ -f $CONFIG_FILE ]]; then
+ if [[ $(installed_version perl) != $VERSION ]]; then
+ message "${MESSAGE_COLOR}Config changes between versions, using old
config is not an option. Removing $CONFIG_FILE${DEFAULT_COLOR}" &&
+ local OLD_CUSTOM="n" &&
+ rm -f "$CONFIG_FILE"
+ else
+ config_query OLD_CUSTOM "Use old custom configuration for Perl?" y
+
+ if [[ $OLD_CUSTOM == n ]]; then
+ config_query RM_OLD_CUSTOM "Remove old custom configuration file ?" n
+ fi &&
+
+ if [[ $RM_OLD_CUSTOM == y ]]; then
+ rm -f "$CONFIG_FILE"
+ fi
+ fi
+else
+ # Just used for the check below
+ local OLD_CUSTOM="n"
+fi &&
+
+if [[ $OLD_CUSTOM == n ]]; then
+ config_query NEW_CUSTOM "New custom configuration for Perl?" n
+else
+ # if OLD_CUSTOM==y, NEW_CUSTOM (a stored one) shall not get in the way!
+ NEW_CUSTOM=n
+fi &&
+
+persistent_add THREADED &&
+config_query THREADED "Compile threaded perl?" n
+
+if ! declare -f up_trigger > /dev/null; then
+# only do this hack on sorcery < 1.13
+PREVIOUS_VERSION="`installed_version perl`"
+CURRENT_VERSION=$VERSION
+unset REBUILD_ALL
+
+if [ -n "$PREVIOUS_VERSION" -a "$PREVIOUS_VERSION" != "$CURRENT_VERSION"
]; then
+ cat <<- ____EOM
+
+ I see you've got a $PREVIOUS_VERSION perl library. This probably
+ means that you're upgrading perl.
+
+ If this is not the case you can skip the next paragraph
+ and just answer no to the question...
+
+ Perl 5.8 is binary incompatible with previous versions
+ this means that you'll have to rebuild all installed
+ perl spell's. I can do that for you.
+
+ After all spells have successfully been build you'll have to
+ remember to _MANUALLY_ remove the following directories:
+
+ rm -rf ${INSTALL_ROOT}/usr/lib/perl5/$PREVIOUS_VERSION
+ rm -rf ${INSTALL_ROOT}/usr/lib/perl5/site_perl/$PREVIOUS_VERSION
+
+____EOM
+ config_query REBUILD_ALL "Do you want me to rebuild all perl spells?"
n
+fi
+fi
diff --git a/devel/perl/DEPENDS b/devel/perl/DEPENDS
new file mode 100755
index 0000000..c23fc18
--- /dev/null
+++ b/devel/perl/DEPENDS
@@ -0,0 +1 @@
+optional_depends gdbm "" "" "for database support"
diff --git a/devel/perl/DETAILS b/devel/perl/DETAILS
new file mode 100755
index 0000000..922d7a2
--- /dev/null
+++ b/devel/perl/DETAILS
@@ -0,0 +1,21 @@
+ SPELL=perl
+ VERSION=5.10.0
+ SOURCE=$SPELL-$VERSION.tar.gz
+SOURCE_DIRECTORY=$BUILD_DIRECTORY/$SPELL-$VERSION
+ SOURCE_URL[0]=http://ftp.funet.fi/pub/CPAN/src/$SOURCE
+ SOURCE_GPG=gurus.gpg:$SOURCE.sig
+ WEB_SITE=http://www.perl.org/
+ ENTERED=20010922
+ LICENSE[0]=ART
+ DISTCC_HOSTS=""
+ CCACHE=off
+ KEYWORDS="perl"
+ SHORT="Larry Wall's practical extraction and reporting language"
+cat << EOF
+Perl is a high-level, general-purpose programming language that makes
+easy things easy and hard things possible. It is optimized for scanning
+arbitrary text files and system administration. It has built-in extended
+regular expression matching and replacement, a dataflow mechanism to
+improve security with setuid scripts and is extendable via modules that
+can interface to C libraries.
+EOF
diff --git a/devel/perl/HISTORY b/devel/perl/HISTORY
new file mode 100644
index 0000000..eba78e3
--- /dev/null
+++ b/devel/perl/HISTORY
@@ -0,0 +1,220 @@
+2008-01-06 Vlad Glagolev <stealth AT sourcemage.org>
+ * DETAILS: updated spell to 5.10.0, hash => gpg
+ * DEPENDS, INSTALL, UP_TRIGGERS: cleaned up
+ * PRE_BUILD: no more needed
+ * INSTALL: added DynaLoader.a for the backward compatibility (only
+ 1 app affected -- irssi), but DynaLoader is compiled into libperl.so
+ * SUB_DEPENDS, PRE_SUB_DEPENDS: made THREADED perl as sub dep
+
+2007-06-19 Elisamuel Resto <ryuji AT mages.ath.cx>
+ * PRE_BUILD: Added a patch to fix build with gcc-4.2.0 (Bug #13847)
+
+2007-03-15 Thomas Orgis <sobukus AT sourcemage.org>
+ * CONFIGURE: ensure that NEW_CUSTOM==n if OLD_CUSTOM==y, else the
next cast after
+ doing a new config which now wants to use the old config will fail,
becasue
+ both settings will be "y" and this breaks the build
+
+2007-02-13 Eric Sandall <sandalle AT sourcemage.org>
+ * BUILD: Use make_single (Bug #10392)
+ Do not check for OLD_CUSTOM != 'y' when checking NEW_CUSTOM != 'y',
+ on a 'clean' build OLD_CUSTOM will be unset or 'y', so no point.
+ Rename CONFIG to PERL_CONFIG
+ Make PERL_CONFIG and CONFIG_OPTS local
+ NEW_CUSTOM missing $ for variable (Bug #10493)
+ * CONFIGURE: Set OLD_CUSTOM locally just for the NEW_CUSTOM check
+ Moved the RM_OLD_CUSTOM query inside the check for CONFIG_FILE
+ Do not use old config if building a different version of perl
+ and remove the old config (Bug #10731)
+
+2006-10-06 Juuso Alasuutari <iuso AT sourcemage.org>
+ * perl.sh: Removed bashism.
+
+2006-09-21 Juuso Alasuutari <iuso AT sourcemage.org>
+ * DETAILS: [automated] Removed BUILD_API=2.
+
+2006-06-16 Jaka Kranjc <lynxlynxlynx AT sourcemage.org>
+ * UP_TRIGGERS: replaced fast_up_depends with show_up_depends, bug
#12665
+
+2006-04-28 Arwed v. Merkatz <v.merkatz AT gmx.net>
+ * UP_TRIGGERS: replaced 'gaze depends' call with
+ fast_up_depends, bug #10661
+
+2006-03-12 Karsten Behrmann <BearPerson AT sourcemage.org>
+ * DETAILS: (automated) Add KEYWORDS
+
+2006-02-02 Sergey Lipnevich <sergey AT sourcemage.org>
+ * DETAILS: upgrade to 5.8.8; change source location according to
+ http://www.cpan.org/src/README.html.
+
+2005-11-29 Seth Woolley <seth AT tautology.org>
+ * DETAILS: MD5 -> SHA512
+
+2005-09-23 Arwed v. Merkatz <v.merkatz AT gmx.net>
+ * UP_TRIGGERS: added to cleanly recast all perl modules on a version
+ upgrade, meant to replace the rebuild_modules hack when sorcery 1.13
+ gets released
+ * BUILD, CONFIGURE, TRIGGERS: only do the whole rebuild_modules logic
+ if the 'up_trigger' function isn't defined (sorcery <= 1.12.x)
+
+2005-08-01 Thomas Houssin <Thomas.Houssin AT sourcemage.org>
+ * Updated UPDATED, so that everyboy gets the previous fix
+
+2005-07-11 Thomas Houssin <Thomas.Houssin AT sourcemage.org>
+ * perl.sh: do not stomp on manpath; removed useless ${INSTALL_ROOT}
+ (bug #9131)
+
+2005-06-29 Sergey Lipnevich <sergey AT sourcemage.org>
+ * DETAILS: upgrade to 5.8.7;
+ * PRE_BUILD,CAN-2005-155-156.patch: patch is now integrated;
+ *
PRE_BUILD,installperl.patch,perl-Configure-amd64.patch,perl_INC.patch:
+ remove these three patches and replace them with the one below;
+ * PRE_BUILD,configuration.diff: consolidated patch that accomplished
this:
+ a) Configure properly handles lib64 (ex-perl-Configure-amd64.patch);
+ b) installperl always does certain site operations
(ex-installperl.patch);
+ c) perl.c uses INC order where ARCHLIB and PRIVLIB are last, not
first
+ (ex-perl_INC.patch);
+ I decided to integrate them because these are customizations, not
fixes,
+ and all three are likely to persist.
+
+2005-06-04 Seth Woolley <seth AT tautology.org>
+ * DETAILS: Updated UPDATED so that everybody gets the libperl.so
intead of .a
+
+2005-05-26 Thomas Houssin <Thomas.Houssin AT sourcemage.org>
+ * BUILD: Use -Duseshrplib (bug #8960) in configure options
+ * BUILD: Add -lpthread to $LDFLAGS when glibc_is_nptl (this should
fix bug #8970)
+
+2005-05-12 Andrew Stitt <astitt AT sourcemage.org>
+ * INSTALL: Update to install into a chroot correctly, bug 8853.
+
+2005-05-11 Seth Woolley <seth AT tautology.org>
+ * BUILD: respect cflags now -- works on multiple arches.
+
+2005-04-23 Thomas Houssin <Thomas.Houssin AT sourcemage.org>
+ * PRE_BUILD: added perl-Configure-amd64.patch (bug #8622)
+
+2005-04-14 Thomas Houssin <Thomas.Houssin AT sourcemage.org>
+ * BUILD: Rewrote BUILD, added site config, modified vendor config
+ * INSTALL: now installs perl.sh in /etc/profile.d (vendor and site
man path)
+
+2005-04-12 Thomas Houssin <Thomas.Houssin AT sourcemage.org>
+ * BUILD: Added vendorman1dir and vendorman3dir
+
+2005-04-05 Thomas Houssin <Thomas.Houssin AT sourcemage.org>
+ * TRIGGERS: Modified after fix on bug 8557
+
+2005-04-05 Thomas Houssin <Thomas.Houssin AT sourcemage.org>
+ * FINAL: Moved rebuilding all perl modules in CONFIGURE (question)
and in TRIGGERS
+
+2005-03-17 Thomas Houssin <Thomas.Houssin AT sourcemage.org>
+ * perl_INC.patch added
+ * BUILD: Added vendorprefix
+ The goal of these changes is to have site_perl, vendor_perl and
perl core modules
+ parsed in that order ; SMGL will install all modules in
vendor_perl, and user in
+ site_perl (which is the default for several modules) : fix bug #8386
+
+2005-02-18 Thomas Houssin <Thomas.Houssin AT sourcemage.org>
+ * CONFIGURE: modified configure file (related to bug #8226)
+
+2005-02-07 Seth Woolley <seth AT tautology.org>
+ * DETAILS: Updated UPDATED
+ * PRE_BUILD: applied patch file below (remove on version updates)
+ * CAN-2005-155-156.patch: SECURITY FIX for perlio debugging
+ allows exploit of setuid scripts that use perlio (most setuid
scripts)
+ http://www.digitalmunition.com/DMA%5B2005-0131a%5D.txt
+ http://www.digitalmunition.com/DMA%5B2005-0131b%5D.txt
+
+2004-11-30 Eric Sandall <sandalle AT sourcemage.org>
+ * DETAILS: Updated to 5.8.6
+ * installperl.patch: Updated to 5.8.6
+ * BUILD,PRE_BUILD: Moved patching to PRE_BUILD
+
+2004-09-06 Eric Sandall <sandalle AT sourcemage.org>
+ * CONFIGURE: Converted to config_query
+ Prompt for threaded perl (default 'n' as threading breaks some apps)
+ * BUILD: Use config_query responses
+ Check for threading response
+
+2004-07-21 Jose Bernardo <jbernardo AT sourcemage.org>
+ * BUILD: added missing ';'
+
+2004-07-21 Eric Sandall <sandalle AT sourcemage.org>
+ * DETAILS: Updated to 5.8.5
+ BUILD_API=2
+ Shortened SHORT
+ * BUILD: Converted to BUILD_API 2
+ Removed TABs
+ * INSTALL: Added
+ * POST_INSTALL: Renamed to FINAL for BUILD_API 2
+
+2004-04-26 Seth Woolley <seth AT tautology.org>
+ * installperl.patch: fix s/true/1/g (strict subs requires this)
+ * DETAILS: Updated to 5.8.4
+
+2004-02-06 hgg <hgreig AT bigpond.net.au>
+ * BUILD: install_root fixes
+
+2004-01-15 Eric Sandall <sandalle AT sourcemage.org>
+ * DETAILS: Updated to 5.8.3
+ Removed MAINTAINER
+
+2003-11-30 Eric Sandall <sandalle AT sourcemage.org>
+ * BUILD,POST_INSTALL: Use INSTALL_ROOT
+
+2003-11-06 Eric Sandall <sandalle AT sourcemage.org>
+ * DETAILS: Updated to 5.8.2
+
+2003-10-12 Lyon Lemmens <llemmens AT sourcemage.org>
+ * BUILD, POST_INSTALL: added code to check previous version and offer
+ full rebuild. Also changed cast to cast -c on the full rebuild
(bug# 5468)
+
+2003-10-12 hgg <hgreig AT bigpond.net.au>
+ * DETAILS: turn off distcc and ccache
+
+2003-10-02 Eric Sandall <sandalle AT sourcemage.org>
+ * installperl.patch: Updated for 5.8.1
+
+2003-10-01 Eric Sandall <sandalle AT sourcemage.org>
+ * DETAILS: Update to 5.8.1
+
+2003-09-24 Lyon Lemmens <llemmens AT sourcemage.org>
+ * installperl.patch: Added patch for installperl to get rid of aliens
(Bug# 4415)
+
+2003-09-13 Eric Sandall <sandalle AT sourcemage.org>
+ * CONFLICTS: Removed CONFLICTS (Bug #4345)
+
+2003-08-05 Eric Sandall <sandalle AT sourcemage.org>
+ * DETAILS: Changed LICENSE to LICENSE[0]
+
+2003-04-07 Lyon Lemmens <llemmens AT sourcemage.org>
+ * BUILD: Disabled DB_File building to accomodate db version update.
+ * BUILD: DB_File is a separate spell and now has triggers on db.
+
+2002-10-17 Lyon Lemmens <llemmens AT sourcemage.org>
+ * CONFIGURE,BUILD: fixed BUILD and CONFIGURE
+ so that rebuilding works correctly (Bug# 1436)
+
+2002-10-17 Lyon Lemmens <llemmens AT sourcemage.org>
+ * BUILD: fixed so that config info is also in the compile log.
+
+2002-09-01 Lyon Lemmens <llemmens AT sourcemage.org>
+ * BUILD: now unsets LANG (bug 674)
+ * POST_INSTALL: added to rebuild all installed spells (bug 687)
+
+2002-08-08 Eric Schabell <eric AT schabell.com>
+ * DETAILS: Updated new release 5.8.0, fixes two bugs
+
+2002-06-20 Lyon Lemmens <llemmens AT sourcemage.org>
+ * BUILD: added gcc3 support
+
+2002-06-18 Lyon Lemmens <llemmens AT sourcemage.org>
+ * DETAILS: added MD5 signature
+ added LICENSE
+
+2002-06-02 Harley J Pig <harleypig AT harleypig.com>
+ * BUILD: Altered so that custom configuration is saved between builds
+
+2002-03-22 Lyon Lemmens <llemmens AT sourcemage.org>
+ * DETAILS: Fixed WEB_SITE and SOURCE_URL
+
+2002-03-15 Lyon Lemmens <llemmens AT sourcemage.org>
+ * HISTORY: New history
diff --git a/devel/perl/INSTALL b/devel/perl/INSTALL
new file mode 100755
index 0000000..c005cce
--- /dev/null
+++ b/devel/perl/INSTALL
@@ -0,0 +1,10 @@
+make install DESTDIR=$INSTALL_ROOT \
+ INSTALLFLAGS="--man1dir=$INSTALL_ROOT/usr/share/man/man1 --man1ext=1 \
+ --man3dir=$INSTALL_ROOT/usr/share/man/man3 --man3ext=3" &&
+
+# for compatibility (irssi)
+install -m 644 $SPELL_DIRECTORY/perl.dl \
+ $(ls -d
$INSTALL_ROOT/usr/lib/perl5/$VERSION/*/auto/DynaLoader)/DynaLoader.a &&
+
+mkdir -p $INSTALL_ROOT/etc/profile.d &&
+install -m 644 $SPELL_DIRECTORY/perl.sh $INSTALL_ROOT/etc/profile.d/perl.sh
diff --git a/devel/perl/PRE_SUB_DEPENDS b/devel/perl/PRE_SUB_DEPENDS
new file mode 100755
index 0000000..634fcd7
--- /dev/null
+++ b/devel/perl/PRE_SUB_DEPENDS
@@ -0,0 +1,5 @@
+case $THIS_SUB_DEPENDS in
+ THREADS) [[ $THREADED == y ]];;
+*) message "${PROBLEM_COLOR}bogus sub_depends: $SPELL
$THIS_SUB_DEPENDS${DEFAULT_COLOR}" ;
+ return 1;;
+esac
diff --git a/devel/perl/SUB_DEPENDS b/devel/perl/SUB_DEPENDS
new file mode 100755
index 0000000..f2939e5
--- /dev/null
+++ b/devel/perl/SUB_DEPENDS
@@ -0,0 +1,9 @@
+case $THIS_SUB_DEPENDS in
+ THREADS) if [[ $THREADED != y ]]; then
+ message "Requested threaded version of perl, forcing option
THREADED=y." &&
+ THREADED=y
+ fi
+ ;;
+*) message "${PROBLEM_COLOR}bogus sub_depends: $SPELL
$THIS_SUB_DEPENDS${DEFAULT_COLOR}" ;
+ return 1;;
+esac
diff --git a/devel/perl/TRIGGERS b/devel/perl/TRIGGERS
new file mode 100755
index 0000000..308bb50
--- /dev/null
+++ b/devel/perl/TRIGGERS
@@ -0,0 +1,6 @@
+if ! declare -f up_trigger > /dev/null; then
+# only do this hack on sorcery < 1.13
+if [ -n "$REBUILD_ALL" -a "$REBUILD_ALL" = "y" ] ; then
+ on_cast perl "run_script ${SCRIPT_DIRECTORY}/rebuild_modules"
+fi
+fi
diff --git a/devel/perl/UP_TRIGGERS b/devel/perl/UP_TRIGGERS
new file mode 100755
index 0000000..9a674ab
--- /dev/null
+++ b/devel/perl/UP_TRIGGERS
@@ -0,0 +1,13 @@
+local OLD_SPELL_VERSION=""
+
+spell_ok $SPELL && OLD_SPELL_VERSION="$(installed_version $SPELL)"
+if [[ $VERSION != $OLD_SPELL_VERSION ]]; then
+ for name in $(show_up_depends perl); do
+ if test -f $INSTALL_LOGS/$name-$(installed_version $name); then
+ if grep -q "$TRACK_ROOT/usr/lib/perl5.*\.pm$" \
+ $INSTALL_LOGS/$name-$(installed_version $name); then
+ up_trigger $name cast_self
+ fi
+ fi
+ done
+fi
diff --git a/devel/perl/perl-5.10.0.tar.gz.sig
b/devel/perl/perl-5.10.0.tar.gz.sig
new file mode 100644
index 0000000..6dffd8d
Binary files /dev/null and b/devel/perl/perl-5.10.0.tar.gz.sig differ
diff --git a/devel/perl/perl.dl b/devel/perl/perl.dl
new file mode 100644
index 0000000..8b277f0
--- /dev/null
+++ b/devel/perl/perl.dl
@@ -0,0 +1 @@
+!<arch>
diff --git a/devel/perl/perl.sh b/devel/perl/perl.sh
new file mode 100644
index 0000000..f4c1360
--- /dev/null
+++ b/devel/perl/perl.sh
@@ -0,0 +1,2 @@
+#!/bin/sh
+MANPATH="${MANPATH}:/usr/share/site_perl/man:/usr/share/vendor_perl/man"
diff --git a/devel/perl/rebuild_modules b/devel/perl/rebuild_modules
new file mode 100755
index 0000000..e70b7d1
--- /dev/null
+++ b/devel/perl/rebuild_modules
@@ -0,0 +1,23 @@
+#!/bin/sh
+
+SPELL_LIST=""
+
+ for spell in $(gaze section perl-cpan)
+ do
+ if [ $spell != perl ]
+ then
+ gaze installed $spell && SPELL_LIST="$SPELL_LIST $spell"
+ fi
+ done
+
+ cast -c $SPELL_LIST
+
+ cat << EOF
+
+ if all spells have successfully been build, you can now
+ remove the $CURRENT_VERSION libraries, unless you've been installing
+ perl modules without using spells (which of course you haven't ;-).
+ It is a good idea to update those too and remove the $CURRENT_VERSION
+ libs.
+EOF
+
diff --git a/perl-cpan/perl/BUILD b/perl-cpan/perl/BUILD
deleted file mode 100755
index aff1024..0000000
--- a/perl-cpan/perl/BUILD
+++ /dev/null
@@ -1,50 +0,0 @@
-unset LANG
-
-if ! declare -f up_trigger > /dev/null; then
-# save current version so we can do a TRIGGERS, only on sorcery < 1.13
-#
-persistent_add PREVIOUS_VERSION &&
-PREVIOUS_VERSION="`installed_version perl`"
-fi &&
-local PERL_CONFIG="$DEPENDS_CONFIG/perl_config.sh" &&
-
-SITEMAN1DIR="${INSTALL_ROOT}/usr/share/site_perl/man/man1" &&
-SITEMAN3DIR="${INSTALL_ROOT}/usr/share/site_perl/man/man3" &&
-VENDORMAN1DIR="${INSTALL_ROOT}/usr/share/vendor_perl/man/man1" &&
-VENDORMAN3DIR="${INSTALL_ROOT}/usr/share/vendor_perl/man/man3" &&
-
-PERL_PATHS="-Dprefix=/usr \
- -Dvendorprefix=/usr -Dvendorman1dir=$VENDORMAN1DIR
-Dvendorman3dir=$VENDORMAN3DIR \
- -Dsiteprefix=/usr -Dsiteman1dir=$SITEMAN1DIR
-Dsiteman3dir=$SITEMAN3DIR " &&
-
-local CONFIG_OPTS="-Ui_db -Duseshrplib -Ulocincpth=" &&
-
-if glibc_is_nptl; then
- LDFLAGS="$LDFLAGS -lpthread"
-fi &&
-
-if [[ "$OLD_CUSTOM" == "y" ]]; then
- CONFIG_OPTS="-S "
- cp $PERL_CONFIG ./config.sh
-fi &&
-
-if [[ "$THREADED" == "y" ]]; then
- CONFIG_OPTS="$CONFIG_OPTS -Dusethreads"
-fi &&
-
-if [[ "$NEW_CUSTOM" != "y" ]]; then
- CONFIG_OPTS="-d -e $CONFIG_OPTS"
-else
- rm -f config.sh
-fi &&
-
-./Configure -Doptimize="$CFLAGS" $CONFIG_OPTS $PERL_PATHS &&
-
-make_single &&
-make depend &&
-make &&
-make_normal &&
-
-if [[ "$NEW_CUSTOM" == "y" ]]; then
- cp config.sh $PERL_CONFIG
-fi
diff --git a/perl-cpan/perl/CONFIGURE b/perl-cpan/perl/CONFIGURE
deleted file mode 100755
index fe6ed8b..0000000
--- a/perl-cpan/perl/CONFIGURE
+++ /dev/null
@@ -1,61 +0,0 @@
-CONFIG_FILE="$DEPENDS_CONFIG/perl_config.sh" &&
-
-if [[ -f $CONFIG_FILE ]]; then
- if [[ "$(installed_version perl)" != "$VERSION" ]]; then
- message "${MESSAGE_COLOR}Config changes between versions, using old
config is not an option. Removing $CONFIG_FILE${DEFAULT_COLOR}" &&
- local OLD_CUSTOM="n" &&
- rm -f "$CONFIG_FILE"
- else
- config_query OLD_CUSTOM "Use old custom configuration for Perl?" y
-
- if [[ "$OLD_CUSTOM" == "n" ]]; then
- config_query RM_OLD_CUSTOM "Remove old custom configuration file ?" n
- fi &&
-
- if [[ "$RM_OLD_CUSTOM" == "y" ]]; then
- rm -f "$CONFIG_FILE"
- fi
- fi
-else
- # Just used for the check below
- local OLD_CUSTOM="n"
-fi &&
-
-if [[ "$OLD_CUSTOM" == "n" ]]; then
- config_query NEW_CUSTOM "New custom configuration for Perl?" n
-else
- # if OLD_CUSTOM==y, NEW_CUSTOM (a stored one) shall not get in the way!
- NEW_CUSTOM=n
-fi &&
-
-config_query THREADED "Compile threaded perl?" n
-
-if ! declare -f up_trigger > /dev/null; then
-# only do this hack on sorcery < 1.13
-PREVIOUS_VERSION="`installed_version perl`"
-CURRENT_VERSION=$VERSION
-unset REBUILD_ALL
-
-if [ -n "$PREVIOUS_VERSION" -a "$PREVIOUS_VERSION" != "$CURRENT_VERSION"
]; then
- cat <<- ____EOM
-
- I see you've got a $PREVIOUS_VERSION perl library. This probably
- means that you're upgrading perl.
-
- If this is not the case you can skip the next paragraph
- and just answer no to the question...
-
- Perl 5.8 is binary incompatible with previous versions
- this means that you'll have to rebuild all installed
- perl spell's. I can do that for you.
-
- After all spells have successfully been build you'll have to
- remember to _MANUALLY_ remove the following directories:
-
- rm -rf ${INSTALL_ROOT}/usr/lib/perl5/$PREVIOUS_VERSION
- rm -rf ${INSTALL_ROOT}/usr/lib/perl5/site_perl/$PREVIOUS_VERSION
-
-____EOM
- config_query REBUILD_ALL "Do you want me to rebuild all perl spells?"
n
-fi
-fi
diff --git a/perl-cpan/perl/DEPENDS b/perl-cpan/perl/DEPENDS
deleted file mode 100755
index 0c02ed5..0000000
--- a/perl-cpan/perl/DEPENDS
+++ /dev/null
@@ -1 +0,0 @@
-optional_depends "gdbm" "" "" "for database support"
diff --git a/perl-cpan/perl/DETAILS b/perl-cpan/perl/DETAILS
deleted file mode 100755
index 922d7a2..0000000
--- a/perl-cpan/perl/DETAILS
+++ /dev/null
@@ -1,21 +0,0 @@
- SPELL=perl
- VERSION=5.10.0
- SOURCE=$SPELL-$VERSION.tar.gz
-SOURCE_DIRECTORY=$BUILD_DIRECTORY/$SPELL-$VERSION
- SOURCE_URL[0]=http://ftp.funet.fi/pub/CPAN/src/$SOURCE
- SOURCE_GPG=gurus.gpg:$SOURCE.sig
- WEB_SITE=http://www.perl.org/
- ENTERED=20010922
- LICENSE[0]=ART
- DISTCC_HOSTS=""
- CCACHE=off
- KEYWORDS="perl"
- SHORT="Larry Wall's practical extraction and reporting language"
-cat << EOF
-Perl is a high-level, general-purpose programming language that makes
-easy things easy and hard things possible. It is optimized for scanning
-arbitrary text files and system administration. It has built-in extended
-regular expression matching and replacement, a dataflow mechanism to
-improve security with setuid scripts and is extendable via modules that
-can interface to C libraries.
-EOF
diff --git a/perl-cpan/perl/DynaLoader.a b/perl-cpan/perl/DynaLoader.a
deleted file mode 100644
index 8b277f0..0000000
--- a/perl-cpan/perl/DynaLoader.a
+++ /dev/null
@@ -1 +0,0 @@
-!<arch>
diff --git a/perl-cpan/perl/HISTORY b/perl-cpan/perl/HISTORY
deleted file mode 100644
index e846b37..0000000
--- a/perl-cpan/perl/HISTORY
+++ /dev/null
@@ -1,220 +0,0 @@
-2008-01-06 Vlad Glagolev <stealth AT sourcemage.org>
- * DETAILS: updated spell to 5.10.0, hash => gpg
- * DEPENDS, INSTALL, UP_TRIGGERS: cleaned up
- * PRE_BUILD: no more needed
- * INSTALL: added DynaLoader.a for the backward compatibility (only
- 1 app affected -- irssi), but DynaLoader is compiled into libperl.so
-
-2007-06-19 Elisamuel Resto <ryuji AT mages.ath.cx>
- * PRE_BUILD: Added a patch to fix build with gcc-4.2.0 (Bug #13847)
-
-2007-03-15 Thomas Orgis <sobukus AT sourcemage.org>
- * CONFIGURE: ensure that NEW_CUSTOM==n if OLD_CUSTOM==y, else the
next cast after
- doing a new config which now wants to use the old config will fail,
becasue
- both settings will be "y" and this breaks the build
-
-2007-02-13 Eric Sandall <sandalle AT sourcemage.org>
- * BUILD: Use make_single (Bug #10392)
- Do not check for OLD_CUSTOM != 'y' when checking NEW_CUSTOM != 'y',
- on a 'clean' build OLD_CUSTOM will be unset or 'y', so no point.
- Rename CONFIG to PERL_CONFIG
- Make PERL_CONFIG and CONFIG_OPTS local
- NEW_CUSTOM missing $ for variable (Bug #10493)
- * CONFIGURE: Set OLD_CUSTOM locally just for the NEW_CUSTOM check
- Moved the RM_OLD_CUSTOM query inside the check for CONFIG_FILE
- Do not use old config if building a different version of perl
- and remove the old config (Bug #10731)
-
-2006-10-06 Juuso Alasuutari <iuso AT sourcemage.org>
- * perl.sh: Removed bashism.
-
-2006-09-21 Juuso Alasuutari <iuso AT sourcemage.org>
- * DETAILS: [automated] Removed BUILD_API=2.
-
-2006-06-16 Jaka Kranjc <lynxlynxlynx AT sourcemage.org>
- * UP_TRIGGERS: replaced fast_up_depends with show_up_depends, bug
#12665
-
-2006-04-28 Arwed v. Merkatz <v.merkatz AT gmx.net>
- * UP_TRIGGERS: replaced 'gaze depends' call with
- fast_up_depends, bug #10661
-
-2006-03-12 Karsten Behrmann <BearPerson AT sourcemage.org>
- * DETAILS: (automated) Add KEYWORDS
-
-2006-02-02 Sergey Lipnevich <sergey AT sourcemage.org>
- * DETAILS: upgrade to 5.8.8; change source location according to
- http://www.cpan.org/src/README.html.
-
-2005-11-29 Seth Woolley <seth AT tautology.org>
- * DETAILS: MD5 -> SHA512
-
-2005-09-23 Arwed v. Merkatz <v.merkatz AT gmx.net>
- * UP_TRIGGERS: added to cleanly recast all perl modules on a version
- upgrade, meant to replace the rebuild_modules hack when sorcery 1.13
- gets released
- * BUILD, CONFIGURE, TRIGGERS: only do the whole rebuild_modules logic
- if the 'up_trigger' function isn't defined (sorcery <= 1.12.x)
-
-2005-08-01 Thomas Houssin <Thomas.Houssin AT sourcemage.org>
- * Updated UPDATED, so that everyboy gets the previous fix
-
-2005-07-11 Thomas Houssin <Thomas.Houssin AT sourcemage.org>
- * perl.sh: do not stomp on manpath; removed useless ${INSTALL_ROOT}
- (bug #9131)
-
-2005-06-29 Sergey Lipnevich <sergey AT sourcemage.org>
- * DETAILS: upgrade to 5.8.7;
- * PRE_BUILD,CAN-2005-155-156.patch: patch is now integrated;
- *
PRE_BUILD,installperl.patch,perl-Configure-amd64.patch,perl_INC.patch:
- remove these three patches and replace them with the one below;
- * PRE_BUILD,configuration.diff: consolidated patch that accomplished
this:
- a) Configure properly handles lib64 (ex-perl-Configure-amd64.patch);
- b) installperl always does certain site operations
(ex-installperl.patch);
- c) perl.c uses INC order where ARCHLIB and PRIVLIB are last, not
first
- (ex-perl_INC.patch);
- I decided to integrate them because these are customizations, not
fixes,
- and all three are likely to persist.
-
-2005-06-04 Seth Woolley <seth AT tautology.org>
- * DETAILS: Updated UPDATED so that everybody gets the libperl.so
intead of .a
-
-2005-05-26 Thomas Houssin <Thomas.Houssin AT sourcemage.org>
- * BUILD: Use -Duseshrplib (bug #8960) in configure options
- * BUILD: Add -lpthread to $LDFLAGS when glibc_is_nptl (this should
fix bug #8970)
-
-2005-05-12 Andrew Stitt <astitt AT sourcemage.org>
- * INSTALL: Update to install into a chroot correctly, bug 8853.
-
-2005-05-11 Seth Woolley <seth AT tautology.org>
- * BUILD: respect cflags now -- works on multiple arches.
-
-2005-04-23 Thomas Houssin <Thomas.Houssin AT sourcemage.org>
- * PRE_BUILD: added perl-Configure-amd64.patch (bug #8622)
-
-2005-04-14 Thomas Houssin <Thomas.Houssin AT sourcemage.org>
- * BUILD: Rewrote BUILD, added site config, modified vendor config
- * INSTALL: now installs perl.sh in /etc/profile.d (vendor and site
man path)
-
-2005-04-12 Thomas Houssin <Thomas.Houssin AT sourcemage.org>
- * BUILD: Added vendorman1dir and vendorman3dir
-
-2005-04-05 Thomas Houssin <Thomas.Houssin AT sourcemage.org>
- * TRIGGERS: Modified after fix on bug 8557
-
-2005-04-05 Thomas Houssin <Thomas.Houssin AT sourcemage.org>
- * FINAL: Moved rebuilding all perl modules in CONFIGURE (question)
and in TRIGGERS
-
-2005-03-17 Thomas Houssin <Thomas.Houssin AT sourcemage.org>
- * perl_INC.patch added
- * BUILD: Added vendorprefix
- The goal of these changes is to have site_perl, vendor_perl and
perl core modules
- parsed in that order ; SMGL will install all modules in
vendor_perl, and user in
- site_perl (which is the default for several modules) : fix bug #8386
-
-2005-02-18 Thomas Houssin <Thomas.Houssin AT sourcemage.org>
- * CONFIGURE: modified configure file (related to bug #8226)
-
-2005-02-07 Seth Woolley <seth AT tautology.org>
- * DETAILS: Updated UPDATED
- * PRE_BUILD: applied patch file below (remove on version updates)
- * CAN-2005-155-156.patch: SECURITY FIX for perlio debugging
- allows exploit of setuid scripts that use perlio (most setuid
scripts)
- http://www.digitalmunition.com/DMA%5B2005-0131a%5D.txt
- http://www.digitalmunition.com/DMA%5B2005-0131b%5D.txt
-
-2004-11-30 Eric Sandall <sandalle AT sourcemage.org>
- * DETAILS: Updated to 5.8.6
- * installperl.patch: Updated to 5.8.6
- * BUILD,PRE_BUILD: Moved patching to PRE_BUILD
-
-2004-09-06 Eric Sandall <sandalle AT sourcemage.org>
- * CONFIGURE: Converted to config_query
- Prompt for threaded perl (default 'n' as threading breaks some apps)
- * BUILD: Use config_query responses
- Check for threading response
-
-2004-07-21 Jose Bernardo <jbernardo AT sourcemage.org>
- * BUILD: added missing ';'
-
-2004-07-21 Eric Sandall <sandalle AT sourcemage.org>
- * DETAILS: Updated to 5.8.5
- BUILD_API=2
- Shortened SHORT
- * BUILD: Converted to BUILD_API 2
- Removed TABs
- * INSTALL: Added
- * POST_INSTALL: Renamed to FINAL for BUILD_API 2
-
-2004-04-26 Seth Woolley <seth AT tautology.org>
- * installperl.patch: fix s/true/1/g (strict subs requires this)
- * DETAILS: Updated to 5.8.4
-
-2004-02-06 hgg <hgreig AT bigpond.net.au>
- * BUILD: install_root fixes
-
-2004-01-15 Eric Sandall <sandalle AT sourcemage.org>
- * DETAILS: Updated to 5.8.3
- Removed MAINTAINER
-
-2003-11-30 Eric Sandall <sandalle AT sourcemage.org>
- * BUILD,POST_INSTALL: Use INSTALL_ROOT
-
-2003-11-06 Eric Sandall <sandalle AT sourcemage.org>
- * DETAILS: Updated to 5.8.2
-
-2003-10-12 Lyon Lemmens <llemmens AT sourcemage.org>
- * BUILD, POST_INSTALL: added code to check previous version and offer
- full rebuild. Also changed cast to cast -c on the full rebuild
(bug# 5468)
-
-2003-10-12 hgg <hgreig AT bigpond.net.au>
- * DETAILS: turn off distcc and ccache
-
-2003-10-02 Eric Sandall <sandalle AT sourcemage.org>
- * installperl.patch: Updated for 5.8.1
-
-2003-10-01 Eric Sandall <sandalle AT sourcemage.org>
- * DETAILS: Update to 5.8.1
-
-2003-09-24 Lyon Lemmens <llemmens AT sourcemage.org>
- * installperl.patch: Added patch for installperl to get rid of aliens
(Bug# 4415)
-
-2003-09-13 Eric Sandall <sandalle AT sourcemage.org>
- * CONFLICTS: Removed CONFLICTS (Bug #4345)
-
-2003-08-05 Eric Sandall <sandalle AT sourcemage.org>
- * DETAILS: Changed LICENSE to LICENSE[0]
-
-2003-04-07 Lyon Lemmens <llemmens AT sourcemage.org>
- * BUILD: Disabled DB_File building to accomodate db version update.
- * BUILD: DB_File is a separate spell and now has triggers on db.
-
-2002-10-17 Lyon Lemmens <llemmens AT sourcemage.org>
- * CONFIGURE,BUILD: fixed BUILD and CONFIGURE
- so that rebuilding works correctly (Bug# 1436)
-
-2002-10-17 Lyon Lemmens <llemmens AT sourcemage.org>
- * BUILD: fixed so that config info is also in the compile log.
-
-2002-09-01 Lyon Lemmens <llemmens AT sourcemage.org>
- * BUILD: now unsets LANG (bug 674)
- * POST_INSTALL: added to rebuild all installed spells (bug 687)
-
-2002-08-08 Eric Schabell <eric AT schabell.com>
- * DETAILS: Updated new release 5.8.0, fixes two bugs
-
-2002-06-20 Lyon Lemmens <llemmens AT sourcemage.org>
- * BUILD: added gcc3 support
-
-2002-06-18 Lyon Lemmens <llemmens AT sourcemage.org>
- * DETAILS: added MD5 signature
- added LICENSE
-
-2002-06-02 Harley J Pig <harleypig AT harleypig.com>
- * BUILD: Altered so that custom configuration is saved between builds
-
-2002-03-22 Lyon Lemmens <llemmens AT sourcemage.org>
- * DETAILS: Fixed WEB_SITE and SOURCE_URL
-
-2002-03-15 Lyon Lemmens <llemmens AT sourcemage.org>
- * HISTORY: New history
-
diff --git a/perl-cpan/perl/INSTALL b/perl-cpan/perl/INSTALL
deleted file mode 100755
index b4330fb..0000000
--- a/perl-cpan/perl/INSTALL
+++ /dev/null
@@ -1,10 +0,0 @@
-make install DESTDIR=$INSTALL_ROOT \
- INSTALLFLAGS="--man1dir=$INSTALL_ROOT/usr/share/man/man1 --man1ext=1 \
- --man3dir=$INSTALL_ROOT/usr/share/man/man3 --man3ext=3" &&
-
-# for compatibility (irssi)
-install -m 644 $SPELL_DIRECTORY/DynaLoader.a \
- $INSTALL_ROOT/usr/lib/perl5/$VERSION/*/auto/DynaLoader &&
-
-mkdir -p $INSTALL_ROOT/etc/profile.d &&
-install -m 644 $SPELL_DIRECTORY/perl.sh $INSTALL_ROOT/etc/profile.d/perl.sh
diff --git a/perl-cpan/perl/TRIGGERS b/perl-cpan/perl/TRIGGERS
deleted file mode 100755
index 308bb50..0000000
--- a/perl-cpan/perl/TRIGGERS
+++ /dev/null
@@ -1,6 +0,0 @@
-if ! declare -f up_trigger > /dev/null; then
-# only do this hack on sorcery < 1.13
-if [ -n "$REBUILD_ALL" -a "$REBUILD_ALL" = "y" ] ; then
- on_cast perl "run_script ${SCRIPT_DIRECTORY}/rebuild_modules"
-fi
-fi
diff --git a/perl-cpan/perl/UP_TRIGGERS b/perl-cpan/perl/UP_TRIGGERS
deleted file mode 100755
index 5902648..0000000
--- a/perl-cpan/perl/UP_TRIGGERS
+++ /dev/null
@@ -1,12 +0,0 @@
-local OLD_SPELL_VERSION=""
-spell_ok $SPELL && OLD_SPELL_VERSION="$(installed_version $SPELL)"
-if [[ $VERSION != $OLD_SPELL_VERSION ]]; then
- for name in $(show_up_depends perl); do
- if test -f $INSTALL_LOGS/$name-$(installed_version $name); then
- if grep -q "$TRACK_ROOT/usr/lib/perl5.*\.pm$" \
- $INSTALL_LOGS/$name-$(installed_version $name); then
- up_trigger $name cast_self
- fi
- fi
- done
-fi
diff --git a/perl-cpan/perl/perl-5.10.0.tar.gz.sig
b/perl-cpan/perl/perl-5.10.0.tar.gz.sig
deleted file mode 100644
index 6dffd8d..0000000
Binary files a/perl-cpan/perl/perl-5.10.0.tar.gz.sig and /dev/null differ
diff --git a/perl-cpan/perl/perl.sh b/perl-cpan/perl/perl.sh
deleted file mode 100644
index f4c1360..0000000
--- a/perl-cpan/perl/perl.sh
+++ /dev/null
@@ -1,2 +0,0 @@
-#!/bin/sh
-MANPATH="${MANPATH}:/usr/share/site_perl/man:/usr/share/vendor_perl/man"
diff --git a/perl-cpan/perl/rebuild_modules b/perl-cpan/perl/rebuild_modules
deleted file mode 100755
index e70b7d1..0000000
--- a/perl-cpan/perl/rebuild_modules
+++ /dev/null
@@ -1,23 +0,0 @@
-#!/bin/sh
-
-SPELL_LIST=""
-
- for spell in $(gaze section perl-cpan)
- do
- if [ $spell != perl ]
- then
- gaze installed $spell && SPELL_LIST="$SPELL_LIST $spell"
- fi
- done
-
- cast -c $SPELL_LIST
-
- cat << EOF
-
- if all spells have successfully been build, you can now
- remove the $CURRENT_VERSION libraries, unless you've been installing
- perl modules without using spells (which of course you haven't ;-).
- It is a good idea to update those too and remove the $CURRENT_VERSION
- libs.
-EOF
-



  • [SM-Commit] GIT changes to master grimoire by Vlad Glagolev (23399e9fae5311971a2cfd64a7db84b77c85d86b), Vlad Glagolev, 01/06/2008

Archive powered by MHonArc 2.6.24.

Top of Page