[SM-Commit] GIT changes to master grimoire by Vlad Glagolev (992653ac2f15ba5a0fac507b9b469f5e50fb2da5)

Vlad Glagolev scm at sourcemage.org
Sat Jan 5 20:44:04 EST 2008


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

 perl-cpan/perl/DEPENDS                 |    2 
 perl-cpan/perl/DETAILS                 |   11 +-
 perl-cpan/perl/HISTORY                 |    5 +
 perl-cpan/perl/INSTALL                 |    9 +-
 perl-cpan/perl/PRE_BUILD               |    7 -
 perl-cpan/perl/UP_TRIGGERS             |    2 
 perl-cpan/perl/configuration.diff      |  126 ---------------------------------
 perl-cpan/perl/gcc-4.2.0-perlfix.patch |   11 --
 perl-cpan/perl/perl-5.10.0.tar.gz.sig  |binary
 9 files changed, 18 insertions(+), 155 deletions(-)

New commits:
commit 992653ac2f15ba5a0fac507b9b469f5e50fb2da5
Author: Vlad Glagolev <stealth at sourcemage.org>
Commit: Vlad Glagolev <stealth at sourcemage.org>

    perl: => 5.10.0

diff --git a/perl-cpan/perl/DEPENDS b/perl-cpan/perl/DEPENDS
index 553bb02..0c02ed5 100755
--- a/perl-cpan/perl/DEPENDS
+++ b/perl-cpan/perl/DEPENDS
@@ -1 +1 @@
-optional_depends  "gdbm"  ""  ""  "for database support"
+optional_depends "gdbm" "" "" "for database support"
diff --git a/perl-cpan/perl/DETAILS b/perl-cpan/perl/DETAILS
index 97e1e4f..922d7a2 100755
--- a/perl-cpan/perl/DETAILS
+++ b/perl-cpan/perl/DETAILS
@@ -1,17 +1,16 @@
            SPELL=perl
-         VERSION=5.8.8
+         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_HASH='sha512:b6af88d67b4dd76665c92aa3d175119453633149597bccfead7a91759efcc42ca05aece4fb92dc770ae9ac8930a8f5d166ecf1aea34b41af52ca937de9d95aa3'
-        WEB_SITE=http://www.cpan.org/src
+      SOURCE_GPG=gurus.gpg:$SOURCE.sig
+        WEB_SITE=http://www.perl.org/
          ENTERED=20010922
-         UPDATED=20050801
       LICENSE[0]=ART
-    DISTCC_HOSTS=
+    DISTCC_HOSTS=""
           CCACHE=off
         KEYWORDS="perl"
-           SHORT="Larry Wall's practical extraction and reporting language."
+           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
diff --git a/perl-cpan/perl/HISTORY b/perl-cpan/perl/HISTORY
index 9355f35..1d19fac 100644
--- a/perl-cpan/perl/HISTORY
+++ b/perl-cpan/perl/HISTORY
@@ -1,3 +1,8 @@
+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
+
 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)
 
diff --git a/perl-cpan/perl/INSTALL b/perl-cpan/perl/INSTALL
index 6e8c8eb..1db3a7f 100755
--- a/perl-cpan/perl/INSTALL
+++ b/perl-cpan/perl/INSTALL
@@ -1,3 +1,6 @@
-make  install DESTDIR=${INSTALL_ROOT} INSTALLFLAGS="--man1dir=$INSTALL_ROOT/usr/share/man/man1 --man1ext=1 --man3dir=$INSTALL_ROOT/usr/share/man/man3 --man3ext=3" &&
-mkdir -p ${INSTALL_ROOT}/etc/profile.d  &&
-install -m 0644 $SCRIPT_DIRECTORY/perl.sh ${INSTALL_ROOT}/etc/profile.d/perl.sh
+make install DESTDIR=$INSTALL_ROOT \
+INSTALLFLAGS="--man1dir=$INSTALL_ROOT/usr/share/man/man1 --man1ext=1 \
+--man3dir=$INSTALL_ROOT/usr/share/man/man3 --man3ext=3" &&
+
+mkdir -p $INSTALL_ROOT/etc/profile.d &&
+install -m 0644 $SCRIPT_DIRECTORY/perl.sh $INSTALL_ROOT/etc/profile.d/perl.sh
diff --git a/perl-cpan/perl/PRE_BUILD b/perl-cpan/perl/PRE_BUILD
deleted file mode 100755
index 9818627..0000000
--- a/perl-cpan/perl/PRE_BUILD
+++ /dev/null
@@ -1,7 +0,0 @@
-default_pre_build                                  &&
-cd ${SOURCE_DIRECTORY}                             &&
-patch -p1 < ${SCRIPT_DIRECTORY}/configuration.diff &&
-
-if [ "$(installed_version gcc | cut -d. -f1-2)" == "4.2" ]; then
-    patch -p0 < ${SCRIPT_DIRECTORY}/gcc-4.2.0-perlfix.patch
-fi
diff --git a/perl-cpan/perl/UP_TRIGGERS b/perl-cpan/perl/UP_TRIGGERS
index ec58396..5902648 100755
--- a/perl-cpan/perl/UP_TRIGGERS
+++ b/perl-cpan/perl/UP_TRIGGERS
@@ -1,6 +1,6 @@
 local OLD_SPELL_VERSION=""
 spell_ok $SPELL && OLD_SPELL_VERSION="$(installed_version $SPELL)"
-if [ "$VERSION" != "$OLD_SPELL_VERSION" ]; then
+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$" \
diff --git a/perl-cpan/perl/configuration.diff b/perl-cpan/perl/configuration.diff
deleted file mode 100644
index 189c678..0000000
--- a/perl-cpan/perl/configuration.diff
+++ /dev/null
@@ -1,126 +0,0 @@
-diff -urN perl-5.8.7/Configure perl/Configure
---- perl-5.8.7/Configure	2005-04-20 12:34:37.000000000 -0400
-+++ perl/Configure	2005-06-29 03:57:43.000000000 -0400
-@@ -1234,9 +1234,9 @@
- groupstype=''
- libnames=''
- : change the next line if compiling for Xenix/286 on Xenix/386
--xlibpth='/usr/lib/386 /lib/386'
-+xlibpth='/usr/lib/386 /lib/386 /lib64 /usr/lib64'
- : Possible local library directories to search.
--loclibpth="/usr/local/lib /opt/local/lib /usr/gnu/lib"
-+loclibpth="/usr/local/lib usr/local/lib64 /opt/local/lib /usr/gnu/lib"
- loclibpth="$loclibpth /opt/gnu/lib /usr/GNU/lib /opt/GNU/lib"
- 
- : general looking path for locating libraries
-diff -urN perl-5.8.7/installperl perl/installperl
---- perl-5.8.7/installperl	2005-04-03 10:58:58.000000000 -0400
-+++ perl/installperl	2005-06-29 03:57:17.000000000 -0400
-@@ -854,7 +854,7 @@
- 	my $xname = "$installlib/$name";
- 	$xname =~ s/^\Q$destdir\E// if $destdir;
- 	$packlist->{$xname} = { type => 'file' };
--	if ($force || compare($_, "$installlib/$name") || $nonono) {
-+	if (1) {
- 	    unlink("$installlib/$name");
- 	    mkpath("$installlib/$dir", $verbose, 0777);
- 	    # HP-UX (at least) needs to maintain execute permissions
-@@ -913,7 +913,7 @@
-     }
-     -f $from || $perlpodbadsymlink || warn "$0: $from not found";
-     $packlist->{$xto} = { type => 'file' };
--    if ($force || compare($from, $to) || $nonono) {
-+    if (1) {
- 	safe_unlink($to);   # In case we don't have write permissions.
- 	if ($nonono) {
- 	    $from = $depth . "/" . $from if $depth;
-diff -urN perl-5.8.7/perl.c perl/perl.c
---- perl-5.8.7/perl.c	2005-04-22 10:14:27.000000000 -0400
-+++ perl/perl.c	2005-06-29 03:58:24.000000000 -0400
-@@ -4391,45 +4391,12 @@
-     }
- 
- /* Use the ~-expanded versions of APPLLIB (undocumented),
--    ARCHLIB PRIVLIB SITEARCH SITELIB VENDORARCH and VENDORLIB
-+     SITEARCH SITELIB VENDORARCH VENDORLIB ARCHLIB and PRIVLIB
- */
- #ifdef APPLLIB_EXP
-     incpush(APPLLIB_EXP, TRUE, TRUE, TRUE);
- #endif
- 
--#ifdef ARCHLIB_EXP
--    incpush(ARCHLIB_EXP, FALSE, FALSE, TRUE);
--#endif
--#ifdef MACOS_TRADITIONAL
--    {
--	Stat_t tmpstatbuf;
--    	SV * privdir = NEWSV(55, 0);
--	char * macperl = PerlEnv_getenv("MACPERL");
--	
--	if (!macperl)
--	    macperl = "";
--	
--	Perl_sv_setpvf(aTHX_ privdir, "%slib:", macperl);
--	if (PerlLIO_stat(SvPVX(privdir), &tmpstatbuf) >= 0 && S_ISDIR(tmpstatbuf.st_mode))
--	    incpush(SvPVX(privdir), TRUE, FALSE, TRUE);
--	Perl_sv_setpvf(aTHX_ privdir, "%ssite_perl:", macperl);
--	if (PerlLIO_stat(SvPVX(privdir), &tmpstatbuf) >= 0 && S_ISDIR(tmpstatbuf.st_mode))
--	    incpush(SvPVX(privdir), TRUE, FALSE, TRUE);
--	
--   	SvREFCNT_dec(privdir);
--    }
--    if (!PL_tainting)
--	incpush(":", FALSE, FALSE, TRUE);
--#else
--#ifndef PRIVLIB_EXP
--#  define PRIVLIB_EXP "/usr/local/lib/perl5:/usr/local/lib/perl"
--#endif
--#if defined(WIN32)
--    incpush(PRIVLIB_EXP, TRUE, FALSE, TRUE);
--#else
--    incpush(PRIVLIB_EXP, FALSE, FALSE, TRUE);
--#endif
--
- #ifdef SITEARCH_EXP
-     /* sitearch is always relative to sitelib on Windows for
-      * DLL-based path intuition to work correctly */
-@@ -4471,6 +4438,39 @@
-     incpush(PERL_VENDORLIB_STEM, FALSE, TRUE, TRUE);
- #endif
- 
-+#ifdef ARCHLIB_EXP
-+    incpush(ARCHLIB_EXP, FALSE, FALSE, TRUE);
-+#endif
-+#ifdef MACOS_TRADITIONAL
-+    {
-+	Stat_t tmpstatbuf;
-+    	SV * privdir = NEWSV(55, 0);
-+	char * macperl = PerlEnv_getenv("MACPERL");
-+	
-+	if (!macperl)
-+	    macperl = "";
-+	
-+	Perl_sv_setpvf(aTHX_ privdir, "%slib:", macperl);
-+	if (PerlLIO_stat(SvPVX(privdir), &tmpstatbuf) >= 0 && S_ISDIR(tmpstatbuf.st_mode))
-+	    incpush(SvPVX(privdir), TRUE, FALSE, TRUE);
-+	Perl_sv_setpvf(aTHX_ privdir, "%ssite_perl:", macperl);
-+	if (PerlLIO_stat(SvPVX(privdir), &tmpstatbuf) >= 0 && S_ISDIR(tmpstatbuf.st_mode))
-+	    incpush(SvPVX(privdir), TRUE, FALSE, TRUE);
-+	
-+   	SvREFCNT_dec(privdir);
-+    }
-+    if (!PL_tainting)
-+	incpush(":", FALSE, FALSE, TRUE);
-+#else
-+#ifndef PRIVLIB_EXP
-+#  define PRIVLIB_EXP "/usr/local/lib/perl5:/usr/local/lib/perl"
-+#endif
-+#if defined(WIN32)
-+    incpush(PRIVLIB_EXP, TRUE, FALSE, TRUE);
-+#else
-+    incpush(PRIVLIB_EXP, FALSE, FALSE, TRUE);
-+#endif
-+
- #ifdef PERL_OTHERLIBDIRS
-     incpush(PERL_OTHERLIBDIRS, TRUE, TRUE, TRUE);
- #endif
diff --git a/perl-cpan/perl/gcc-4.2.0-perlfix.patch b/perl-cpan/perl/gcc-4.2.0-perlfix.patch
deleted file mode 100644
index c4e0d08..0000000
--- a/perl-cpan/perl/gcc-4.2.0-perlfix.patch
+++ /dev/null
@@ -1,11 +0,0 @@
-diff -Naru ./makedepend.SH ./makedepend.SH
---- ./makedepend.SH	2003-06-05 14:11:10.000000000 -0400
-+++ ./makedepend.SH	2007-06-15 19:45:35.865408538 -0400
-@@ -167,6 +167,7 @@
-             -e '/^#.*<builtin>/d' \
-             -e '/^#.*<built-in>/d' \
-             -e '/^#.*<command line>/d' \
-+            -e '/^#.*<command-line>/d' \
- 	    -e '/^#.*"-"/d' \
- 	    -e '/: file path prefix .* never used$/d' \
- 	    -e 's#\.[0-9][0-9]*\.c#'"$file.c#" \
diff --git a/perl-cpan/perl/perl-5.10.0.tar.gz.sig b/perl-cpan/perl/perl-5.10.0.tar.gz.sig
new file mode 100644
index 0000000..6dffd8d
Binary files /dev/null and b/perl-cpan/perl/perl-5.10.0.tar.gz.sig differ



More information about the SM-Commit mailing list