[csw-devel] SF.net SVN: gar:[8499] csw/mgar/pkg/cpan/Crypt-SSLeay/trunk

bensons at users.sourceforge.net bensons at users.sourceforge.net
Thu Feb 11 16:32:49 CET 2010


Revision: 8499
          http://gar.svn.sourceforge.net/gar/?rev=8499&view=rev
Author:   bensons
Date:     2010-02-11 15:32:46 +0000 (Thu, 11 Feb 2010)

Log Message:
-----------
cpan Crypt-SSLeay: fix failing test via unset of https_proxy while running as non root user

Modified Paths:
--------------
    csw/mgar/pkg/cpan/Crypt-SSLeay/trunk/Makefile
    csw/mgar/pkg/cpan/Crypt-SSLeay/trunk/checksums

Removed Paths:
-------------
    csw/mgar/pkg/cpan/Crypt-SSLeay/trunk/files/noask.diff

Modified: csw/mgar/pkg/cpan/Crypt-SSLeay/trunk/Makefile
===================================================================
--- csw/mgar/pkg/cpan/Crypt-SSLeay/trunk/Makefile	2010-02-11 15:21:03 UTC (rev 8498)
+++ csw/mgar/pkg/cpan/Crypt-SSLeay/trunk/Makefile	2010-02-11 15:32:46 UTC (rev 8499)
@@ -10,9 +10,6 @@
   perldoc LWP for more information on POST requests.
 endef
 
-# Don't ask about networked tests -- the answer is no.
-PATCHFILES += noask.diff
-
 PACKAGES = CSWpmcryptssleay
 CATALOGNAME = pm_cryptssleay
 
@@ -20,8 +17,9 @@
 BUILD_DEP_PKGS = CSWosslrt CSWpmmimebase64
 
 CONFIGURE_ARGS = --lib=$(prefix)
+# unset https_proxy, otherwise 1 test will fail as non root user
+CONFIGURE_ENV += https_proxy=
+# dont ask stupid questions
+CONFIGURE_ENV += PERL_MM_USE_DEFAULT=1
 
 include gar/category.mk
-
-pre-test-modulated:
-	gsed -i'' 's,fail(,pass(,' $(WORKSRC)/t/01-connect.t

Modified: csw/mgar/pkg/cpan/Crypt-SSLeay/trunk/checksums
===================================================================
--- csw/mgar/pkg/cpan/Crypt-SSLeay/trunk/checksums	2010-02-11 15:21:03 UTC (rev 8498)
+++ csw/mgar/pkg/cpan/Crypt-SSLeay/trunk/checksums	2010-02-11 15:32:46 UTC (rev 8499)
@@ -1,2 +1 @@
 82264180f5911dce33dbd85e24b1f36b  Crypt-SSLeay-0.57.tar.gz
-39e34bc08f09e4630359eb135272222e  noask.diff

Deleted: csw/mgar/pkg/cpan/Crypt-SSLeay/trunk/files/noask.diff
===================================================================
--- csw/mgar/pkg/cpan/Crypt-SSLeay/trunk/files/noask.diff	2010-02-11 15:21:03 UTC (rev 8498)
+++ csw/mgar/pkg/cpan/Crypt-SSLeay/trunk/files/noask.diff	2010-02-11 15:32:46 UTC (rev 8499)
@@ -1,20 +0,0 @@
---- Crypt-SSLeay-0.57.orig/Makefile.PL	2007-09-17 22:36:59.000000000 +0200
-+++ Crypt-SSLeay-0.57/Makefile.PL	2010-01-29 18:42:01.080390444 +0100
-@@ -282,11 +282,12 @@
- 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;
-+    #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;
-+    print OUT "network_tests 0\n";
- }
- 
- ## HELPERS


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.


More information about the devel mailing list