Update of /cvsroot/fink/dists/10.7/stable/main/finkinfo/libs/perlmods
In directory vz-cvs-3.sog:/tmp/cvs-serv11461/libs/perlmods

Added Files:
        crypt-ssleay-pm.info crypt-ssleay-pm.patch html-parser-pm.info 
        html-tagset-pm.info libwww-pm.info locale-gettext-pm.info 
        locale-gettext-pm.patch uri-pm.info uri-pm.patch 
        xml-parser-pm.info 
Log Message:
builds on 10.7


--- NEW FILE: locale-gettext-pm.info ---
Info2: <<
Package: locale-gettext-pm%type_pkg[perl]
Version: 1.05
Revision: 1
Architecture: (%type_pkg[perl] = 581) powerpc, (%type_pkg[perl] = 584) powerpc
Distribution: (%type_pkg[perl] = 581) 10.4, (%type_pkg[perl] = 584) 10.4, 
(%type_pkg[perl] = 586) 10.4, (%type_pkg[perl] = 586) 10.5, (%type_pkg[perl] = 
5100) 10.5, (%type_pkg[perl] = 5100) 10.6, (%type_pkg[perl] = 5123) 10.7
Depends: perl%type_pkg[perl]-core, libgettext3-shlibs
BuildDepends: libgettext3-dev, fink (>= 0.24.12-1)
Conflicts: %N-doc
Replaces: %N-doc
Source: mirror:cpan:authors/id/P/PV/PVANDRY/gettext-%v.tar.gz
Source-MD5: f3d3f474a1458f37174c410dfef61a46
SourceRename: %{ni}-%v.tar.gz
SourceDirectory: gettext-%v
Type: perl (5.8.1 5.8.6 5.8.8 5.10.0 5.12.3)
PatchFile: %{ni}.patch
PatchFile-MD5: ff57744a2df4e7e025ed681b08d5971a
InstallScript: <<
  %{default_script}
  mv %i/share/man %i/lib/perl5/%type_raw[perl]
<<
DocFiles: README
UpdatePOD: true
Description: Perl module for string internationalization
DescDetail: <<
This is a perl5 module quickly written to gain access to
the C library functions for internatialization. They
work just like the C versions.
<<
DescPackaging: <<
Rename tarball to avoid colliding with the C gettext library.
<<
DescPort: <<
Need fink's lib/ so can find libintl.dylib
<<
License: Artistic
Maintainer: Daniel Macks <dma...@netspace.org>
Homepage: http://search.cpan.org/~pvandry/gettext-1.04/
<<

--- NEW FILE: crypt-ssleay-pm.patch ---
diff -ruN Crypt-SSLeay-0.57/Makefile.PL Crypt-SSLeay-0.57-patched/Makefile.PL
--- Crypt-SSLeay-0.57/Makefile.PL       2007-09-17 16:36:59.000000000 -0400
+++ Crypt-SSLeay-0.57-patched/Makefile.PL       2009-03-13 13:42:10.000000000 
-0400
@@ -17,7 +17,7 @@
     "static",  \$opt_static,
 );
 
-$opt_default ||= $ENV{CRYPT_SSLEAY_DEFAULT};
+$opt_default = 1;
 
 # FIND POSSIBLE SSL INSTALLATIONS
 
@@ -35,15 +35,7 @@
 }
 else {
     # Unix and the rest
-    @POSSIBLE_SSL_DIRS = qw(
-        /local
-        /local/ssl
-        /opt/ssl
-        /usr
-        /usr/local
-        /usr/local/ssl
-        /usr/local/openssl
-    );
+    @POSSIBLE_SSL_DIRS = qw(@PREFIX@/lib/system-openssl);
 }
 
 my @CANDIDATE = do {
@@ -267,28 +259,6 @@
     @license,
 );
 
-if (open OUT, '> test.config') {
-    print OUT <<"INFO";
-ssl $pkg_config->{type} $pkg_config->{ver} in $SSL_DIR
-lib @LIB_FLAGS
-inc @INC_FLAGS
-cc $Config{cc}
-INFO
-
-    print <<"INFO";
-The test suite can attempt to connect to public servers
-to ensure that the code is working properly. If you are
-behind a strict firewall or have no network connectivity,
-these tests may fail (through no fault of the code).
-
-INFO
-    my $network_tests = prompt
-        "Do you want to run the live tests (y/N) ?",
-        'N';
-    print OUT "network_tests ", ($network_tests =~ /y/i) ? 1 : 0, "\n";
-    close OUT;
-}
-
 ## HELPERS
 
 sub Candidate {

--- NEW FILE: crypt-ssleay-pm.info ---
# DISCLAIMER: Max Horn is the sole maintainer of this package.
# Please DO NOT MAKE MODIFICATIONS without informing the maintainer.
# Preferably, send a patch to me instead of making changes yourself!
# If that is not possible due to extra urgency, at least send me a mail.
#
# Explanation: I am sick and tired of getting back to my packages and
# discovering that people have messed with it. I am then forced to
# retrace their steps, find out who, when and why did make a certain
# change etc. -- i.e. it makes my life as maintainer harder.
# Furthermore, as maintainer I am responsible for problems caused by my
# packages. But I am not willing to take responsibility for something I
# did not do. In particular, for changes that other people introduced
# behind my back, no matter how good and noble their intentions were. As
# such, I may see myself forced to drop responsibility for (and hence,
# maintainership of) the affected package.

Info2: <<
Package: crypt-ssleay-pm%type_pkg[perl]
Version: 0.57
Revision: 2
Type: perl (5.8.1 5.8.6 5.8.8 5.10.0 5.12.3)

Architecture: (%type_pkg[perl] = 581) powerpc, (%type_pkg[perl] = 584) powerpc
Distribution: (%type_pkg[perl] = 581) 10.4, (%type_pkg[perl] = 584) 10.4, 
(%type_pkg[perl] = 586) 10.4, (%type_pkg[perl] = 586) 10.5, (%type_pkg[perl] = 
5100) 10.5, (%type_pkg[perl] = 5100) 10.6, (%type_pkg[perl] = 5123) 10.7
Depends: perl%type_pkg[perl]-core
BuildDepends: fink (>= 0.29.0-1), perl%type_pkg[perl]-core, system-openssl-dev
Replaces: crypt-ssleay-pm (<= 0.45-2)

Source: mirror:cpan:authors/id/D/DL/DLAND/Crypt-SSLeay-%v.tar.gz
Source-MD5: 82264180f5911dce33dbd85e24b1f36b
PatchFile: %{Ni}.patch
PatchFile-MD5: a7b6642c399b4f376354c56f2325a960
PatchScript: sed 's|@PREFIX@|%p|g' < %{PatchFile} | patch -p1

UpdatePOD: true
DocFiles: Changes MANIFEST README
InstallScript: <<
make install \
 INSTALLPRIVLIB=%i/lib/perl5/%type_raw[perl] \
 INSTALLARCHLIB=%i/lib/perl5/%type_raw[perl]/darwin-thread-multi-2level \
 INSTALLSITELIB=%i/lib/perl5/%type_raw[perl] \
 INSTALLSITEARCH=%i/lib/perl5/%type_raw[perl]/darwin-thread-multi-2level \
 INSTALLMAN1DIR=%i/share/man/man1 \
 INSTALLMAN3DIR=%i/lib/perl5/%type_raw[perl]/man/man3 \
 INSTALLSITEMAN1DIR=%i/share/man/man1 \
 INSTALLSITEMAN3DIR=%i/lib/perl5/%type_raw[perl]/man/man3 \
 INSTALLBIN=%i/bin \
 INSTALLSITEBIN=%i/bin \
 INSTALLSCRIPT=%i/bin
<<

PostInstScript: <<
 rm -rf %p/lib/perl5/darwin/auto/Crypt/SSLeay/
 rm -rf %p/lib/perl5/darwin/Crypt/SSLeay/
 rm -f %p/lib/perl5/darwin/Crypt/SSLeay.pm
 rm -f %p/lib/perl5/darwin/Net/SSL.pm
<<

Description: Perl module, allows perl to use OpenSSL 
DescPackaging: <<
Disabled (via patch) the optional network connection test during compile time,
as it requires (a) user interaction and (b) a network connection.
<<
License: Artistic
Maintainer: Max Horn <m...@quendi.de>
Homepage: http://search.cpan.org/dist/Crypt-SSLeay
<<

--- NEW FILE: html-parser-pm.info ---
Info2: <<
Package: html-parser-pm%type_pkg[perl]
version: 3.68
Revision: 1
Architecture: (%type_pkg[perl] = 581) powerpc, (%type_pkg[perl] = 584) powerpc
Distribution: (%type_pkg[perl] = 581) 10.4, (%type_pkg[perl] = 584) 10.4, 
(%type_pkg[perl] = 586) 10.4, (%type_pkg[perl] = 586) 10.5, (%type_pkg[perl] = 
5100) 10.5, (%type_pkg[perl] = 5100) 10.6, (%type_pkg[perl] = 5123) 10.7
###
Depends: perl%type_pkg[perl]-core, html-tagset-pm, uri-pm%type_pkg[perl]
BuildDepends: fink (>= 0.29.0-1)
Replaces: html-parser-pm (<= 3.27-1), %N-man
Conflicts: %N-man
###
Source: mirror:cpan:authors/id/G/GA/GAAS/HTML-Parser-%v.tar.gz
Source-MD5: 5550b2da7aa94341f1e8a17a4ac20c68
###
PatchScript: <<
  # Fix user interaction, this is only for perl 5.8+ else it should be set to n
  perl -pi.bak -e 's,my \$ans = prompt,my \$ans = "y"; #prompt,g' Makefile.PL

  rm t/headparser-http.t
<<
###
Type: perl (5.8.1 5.8.6 5.8.8 5.10.0 5.12.3)
UpdatePOD: true
###
InfoTest: TestDepends: test-pod-pm
DocFiles: Changes MANIFEST README* TODO
InstallScript: <<
  %{default_script}
  mv %i/share/man %i/lib/perl5/%type_raw[perl]
<<
###
Description: Perl modules that parse and extract info
DescDetail: <<
  This is a collection of modules that parse and extract information
  from HTML documents.  Bug reports and issues for discussion about
  these modules can be sent to the <lib...@perl.org> mailing list.
  Remember to also look at the HTML-Tree package that build on
  HTML::Parser to create and extract information from HTML syntax trees.
<<
DescPackaging: <<
 Earlier versions by Justin F. Hallett and
 Christian Schaffner <chri...@users.sourceforge.net>.

 t/headparser-http.t needs HTTP::Header from libwww-pmXXX, but that
 package depends on html-parser-pmXXX. So we nuke the test to avoid a
 circular dependency.
<<
###
License: Artistic
Maintainer: Daniel Johnson <dan...@daniel-johnson.org>
Homepage: http://search.cpan.org/dist/HTML-Parser
<<

--- NEW FILE: html-tagset-pm.info ---
Package: html-tagset-pm
Version: 3.20
Revision: 1
###
BuildDepends: fink (>= 0.17.0-1)
Replaces: html-tagset-pm581 (<= 3.03-10)
###
Source: mirror:cpan:authors/id/P/PE/PETDANCE/HTML-Tagset-%v.tar.gz
Source-MD5: d2bfa18fe1904df7f683e96611e87437
###
Type: perl
UpdatePOD: true
###
InfoTest: TestDepends: test-pod-pm
DocFiles: Changes README
###
Description: Perl module, data tables useful in HTML
DescDetail: <<
  This module contains data tables useful in dealing with HTML.

  It provides no functions or methods.
<<
###
License: Artistic
Maintainer: Daniel Johnson <dan...@daniel-johnson.org>
Homepage: http://search.cpan.org/dist/HTML-Tagset

--- NEW FILE: libwww-pm.info ---
Info2: <<
Package: libwww-pm%type_pkg[perl]
Version: 5.831
Revision: 1
Architecture: (%type_pkg[perl] = 581) powerpc, (%type_pkg[perl] = 584) powerpc
Distribution: (%type_pkg[perl] = 581) 10.4, (%type_pkg[perl] = 584) 10.4, 
(%type_pkg[perl] = 586) 10.4, (%type_pkg[perl] = 586) 10.5, (%type_pkg[perl] = 
5100) 10.5, (%type_pkg[perl] = 5100) 10.6, (%type_pkg[perl] = 5123) 10.7
###
Depends: <<
  perl%type_pkg[perl]-core,
  compress-zlib-pm%type_pkg[perl],
  crypt-ssleay-pm%type_pkg[perl],
  uri-pm%type_pkg[perl] (>= 1.37-1),
  mime-base64-pm%type_pkg[perl],
  html-parser-pm%type_pkg[perl] (>= 3.56-1),
  html-tagset-pm,
  libnet-pm%type_pkg[perl],
  digest-md5-pm%type_pkg[perl]
<<
BuildDepends: fink (>= 0.29.0-1)
Replaces: libwww-pm (<= 5.69-3), %N-man
Conflicts: %N-man
###
Source: mirror:cpan:authors/id/G/GA/GAAS/libwww-perl-%v.tar.gz
Source-MD5: b46737b11a050330dc27db8cb5f9e01f
###
Type: perl (5.8.1 5.8.6 5.8.8 5.10.0 5.12.3)
UpdatePOD: true
InfoTest: TestDepends: test-harness-pm%type_pkg[perl]
###
DocFiles: AUTHORS Changes README*
InstallScript: <<
  #!/bin/bash -ev
  %{default_script}
  mkdir -p %i/lib/perl5/%type_raw[perl]/man
  mv %i/share/man/man3 %i/lib/perl5/%type_raw[perl]/man
  binfiles="lwp-download lwp-dump lwp-mirror lwp-request lwp-rget"
  for binfile in $binfiles ; do
    mv %i/bin/$binfile %i/bin/$binfile-pm%type_pkg[perl]
    mv %i/share/man/man1/${binfile}.1 
%i/share/man/man1/$binfile-pm%type_pkg[perl].1
  done
<<
SplitOff2: <<
 Package: %N-bin
 Depends: %N (>= %v-%r)
 Conflicts: %{Ni}581-bin (<< 5.825-1), %{Ni}584-bin (<< 5.825-1), %{Ni}586-bin 
(<< 5.825-1), %{Ni}588-bin (<< 5.825-1)
 Replaces: %{Ni}581-bin (<< 5.825-1), %{Ni}584-bin (<< 5.825-1), %{Ni}586-bin 
(<< 5.825-1), %{Ni}588-bin (<< 5.825-1)
 Files: bin share/man
 PostInstScript: <<
   binfiles="lwp-download lwp-dump lwp-mirror lwp-request lwp-rget"
         for binfile in $binfiles ; do
         update-alternatives --install %p/bin/$binfile $binfile 
%p/bin/$binfile-pm%type_pkg[perl] %type_pkg[perl] --slave 
%p/share/man/man1/$binfile.1 $binfile.1 
%p/share/man/man1/$binfile-pm%type_pkg[perl].1
   done
 <<
 PreRmScript: <<
   if [ $1 != "upgrade" ]; then
     binfiles="lwp-download lwp-dump lwp-mirror lwp-request lwp-rget"
     for binfile in $binfiles ; do
       update-alternatives --remove $binfile %p/bin/$binfile-pm%type_pkg[perl]
         done
   fi
 <<
<<
###
Description: Perl modules, programming interface to WWW
DescDetail: <<
  The libwww-perl collection is a set of Perl modules which provides a
  simple and consistent application programming interface to the
  World-Wide Web.  The main focus of the library is to provide classes
  and functions that allow you to write WWW clients. The library also
  contain modules that are of more general use and even classes that
  help you implement simple HTTP servers.
<<
DescPackaging: <<
 Earlier versions by Justin F. Hallett and Christian Schaffner.
<<
###
License: Artistic
Maintainer: Daniel Johnson <dan...@daniel-johnson.org>
Homepage: http://search.cpan.org/dist/libwww-perl
<<

--- NEW FILE: uri-pm.info ---
Info2: <<
Package: uri-pm%type_pkg[perl]
Version: 1.38
Revision: 1
Architecture: (%type_pkg[perl] = 581) powerpc, (%type_pkg[perl] = 584) powerpc
Distribution: (%type_pkg[perl] = 581) 10.4, (%type_pkg[perl] = 584) 10.4, 
(%type_pkg[perl] = 586) 10.4, (%type_pkg[perl] = 586) 10.5, (%type_pkg[perl] = 
5100) 10.5, (%type_pkg[perl] = 5100) 10.6, (%type_pkg[perl] = 5123) 10.7
###
Depends:  perl%type_pkg[perl]-core, mime-base64-pm%type_pkg[perl]
BuildDepends: fink (>= 0.29.0-1)
Replaces: uri-pm (<= 1.23-1), %N-man
Conflicts: %N-man
###
Source: mirror:cpan:authors/id/G/GA/GAAS/URI-%v.tar.gz
Source-MD5: 35fba2715eb8ac56e8e30244ae69ff65
###
Type: perl(5.8.1 5.8.6 5.8.8 5.10.0 5.12.3)
UpdatePOD: true
###
DocFiles: Changes README rfc2396.txt
###
InstallScript: <<
  %{default_script}
  mv %i/share/man %i/lib/perl5/%type_raw[perl]
<<
###
Description: Perl module that implements the URI class
DescDetail: <<
  This package contains the URI.pm module with friends.  The module
  implements the URI class.  Objects of this class represent Uniform
  Resource Identifier (URI) references as specified in RFC 2396.

  URI objects can be used to access and manipulate the various
  components that make up these strings.  There are also methods to
  combine URIs in various ways.

  The URI class replaces the URI::URL class that used to be distributed
  with libwww-perl.  This package contains an emulation of the old
  URI::URL interface.  The emulated URI::URL implements both the old and
  the new interface.
<<
###
License: Artistic
Maintainer: Christian Schaffner <chri...@users.sourceforge.net>
Homepage: http://search.cpan.org/dist/URI
<<

--- NEW FILE: xml-parser-pm.info ---
Info2: <<
Package: xml-parser-pm%type_pkg[perl]
Version: 2.36
Revision: 2
Architecture: (%type_pkg[perl] = 581) powerpc, (%type_pkg[perl] = 584) powerpc
Distribution: (%type_pkg[perl] = 581) 10.4, (%type_pkg[perl] = 584) 10.4, 
(%type_pkg[perl] = 586) 10.4, (%type_pkg[perl] = 586) 10.5, (%type_pkg[perl] = 
5100) 10.5, (%type_pkg[perl] = 5100) 10.6, (%type_pkg[perl] = 5123) 10.7
###
Depends: perl%type_pkg[perl]-core, expat1-shlibs, libwww-pm%type_pkg[perl]
BuildDepends: fink (>= 0.29.0-1), expat1, libwww-pm%type_pkg[perl]
Replaces: xml-parser-pm (<= 2.31-4), %N-man
Conflicts: %N-man
###
Source: mirror:cpan:authors/id/M/MS/MSERGEANT/XML-Parser-%v.tar.gz
Source-MD5: 1b868962b658bd87e1563ecd56498ded
###
Type: perl (5.8.1 5.8.6 5.8.8 5.10.0 5.12.3)
UpdatePOD: true
###
ConfigureParams: EXPATLIBPATH=%p/lib EXPATINCPATH=%p/include
###
DocFiles: Changes MANIFEST README samples/*
InstallScript: <<
  %{default_script}
  mv %i/share/man %i/lib/perl5/%type_raw[perl]
<<
###
Description: Perl ext interface to XML parser/expat
DescDetail: <<
  This is a Perl extension interface to James Clark's XML parser, expat.
<<
DescPackaging: <<
 Earlier versions by Justin F. Hallett.
<<
###
License: Artistic
Maintainer: Christian Schaffner <chri...@users.sourceforge.net>
Homepage: http://search.cpan.org/dist/XML-Parser
<<

--- NEW FILE: uri-pm.patch ---
diff -Nurd -x'*~' URI-1.37.orig/t/heuristic.t URI-1.37/t/heuristic.t
--- URI-1.37.orig/t/heuristic.t 2008-04-03 08:53:38.000000000 -0400
+++ URI-1.37/t/heuristic.t      2008-06-24 01:40:21.000000000 -0400
@@ -44,9 +44,7 @@
 if (gethostbyname("www.netscape.com")) {
     # DNS probably work, lets run test 6..8
 
-    $URI::Heuristic::MY_COUNTRY = "bv";
-    print "not " unless uf_urlstr("perl/camel.gif") =~ 
m,^http://www\.perl\.(com|org)/camel\.gif$,;
-    print "ok 6\n";
+    print "ok 6 # Skipped because it is unreliable\n";
 
     $URI::Heuristic::MY_COUNTRY = "uk";
     print "not " unless uf_urlstr("perl/camel.gif") =~ 
m,^http://www\.perl\.(org|co)\.uk/camel\.gif$,;

--- NEW FILE: locale-gettext-pm.patch ---
diff -Nurd -x'*~' gettext-1.04.orig/Makefile.PL gettext-1.04/Makefile.PL
--- gettext-1.04.orig/Makefile.PL       2005-01-30 18:30:22.000000000 -0500
+++ gettext-1.04/Makefile.PL    2005-04-06 13:53:40.000000000 -0400
@@ -7,11 +7,15 @@
 } else {
        $cc = $Config{'cc'};
 }
-my $libs = '';
+my $inc = $ENV{'CPPFLAGS'};
+my $libs = $ENV{'LDFLAGS'};
+
+open(CONFIG_LOG, ">config.log") or die "could not write to config.log: $!\n";
+close CONFIG_LOG;
 
 unless (conftest("char *x = gettext(\"foo\");", "gettext", 0)) {
        # try with -lintl
-       $libs = "-lintl";
+       $libs .= " -lintl";
        unless (conftest("char *x = gettext(\"foo\");", "gettext", 0)) {
                unlink("conftest.c");
                unlink("conftest");
@@ -33,6 +37,7 @@
 
 WriteMakefile(
     NAME => "Locale::gettext",
+    INC => $inc,
     LIBS => ($libs eq '') ? [] : [$libs],
     VERSION_FROM => 'gettext.pm', 
 );
@@ -41,6 +46,7 @@
        my ($testcode, $func, $record) = @_;
 
        print "checking for ", $func;
+       print(" with ", $inc) if ($inc ne '');
        print(" in ", $libs) if ($libs ne '');
        print "...";
        open(TEST, ">conftest.c");
@@ -49,18 +55,22 @@
        print TEST "return 0;}\n";
        close TEST;
        open(SAVE, ">&STDERR");
-       open(STDERR, ">/dev/null");
-       system($cc . " -o conftest " . $libs . " conftest.c");
+       open(STDERR, ">>config.log");
+       warn "checking for $func\n";
+       my $cmd = "$cc -o conftest $inc $libs conftest.c";
+       warn "$cmd\n";
+       system $cmd;
        my $exitstatus = $?;
-       open(STDERR, ">&SAVE");
+       warn "status = $exitstatus\n\n";
        if ($exitstatus != 0) {
+               warn "program that failed was\n", `cat conftest.c`;
                print " no\n";
-               return 0;
        } else {
                print " yes\n";
                if ($record) {
                        print CONFIG "#define HAVE_", uc($func), "\n";
                }
-               return 1;
        }
+       open(STDERR, ">&SAVE");
+       return ($exitstatus == 0);
 }


------------------------------------------------------------------------------
10 Tips for Better Web Security
Learn 10 ways to better secure your business today. Topics covered include:
Web security, SSL, hacker attacks & Denial of Service (DoS), private keys,
security Microsoft Exchange, secure Instant Messaging, and much more.
http://www.accelacomm.com/jaw/sfnl/114/51426210/
_______________________________________________
Fink-commits mailing list
Fink-commits@lists.sourceforge.net
http://news.gmane.org/gmane.os.apple.fink.cvs

Reply via email to