SF.net SVN: gar:[26161] csw/mgar/pkg/cpan/Net-DNS/trunk

dmichelsen at users.sourceforge.net dmichelsen at users.sourceforge.net
Thu Apr 27 09:18:18 CEST 2017


Revision: 26161
          http://sourceforge.net/p/gar/code/26161
Author:   dmichelsen
Date:     2017-04-27 07:18:17 +0000 (Thu, 27 Apr 2017)
Log Message:
-----------
cpan/Net-DNS/trunk: Update to 1.09, awaiting feedback from Peter

Modified Paths:
--------------
    csw/mgar/pkg/cpan/Net-DNS/trunk/Makefile
    csw/mgar/pkg/cpan/Net-DNS/trunk/checksums

Added Paths:
-----------
    csw/mgar/pkg/cpan/Net-DNS/trunk/files/0001-Makefile.PL.patch

Modified: csw/mgar/pkg/cpan/Net-DNS/trunk/Makefile
===================================================================
--- csw/mgar/pkg/cpan/Net-DNS/trunk/Makefile	2017-04-26 13:57:27 UTC (rev 26160)
+++ csw/mgar/pkg/cpan/Net-DNS/trunk/Makefile	2017-04-27 07:18:17 UTC (rev 26161)
@@ -1,26 +1,26 @@
 NAME = Net-DNS
-VERSION = 0.83
+VERSION = 1.09
 CATEGORIES = cpan
 GARTYPE = v2
 AUTHOR = NLNETLABS
 
-DESCRIPTION = Interface to the DNS resolver
+DESCRIPTION = Perl Interface to the Domain Name System
 define BLURB
 endef
 
-PACKAGES = CSWpm-net-dns
-SPKG_DESC_CSWpm-net-dns = $(DESCRIPTION)
-OBSOLETED_BY_CSWpm-net-dns = CSWpmnetdns
-CATALOGNAME_CSWpmnetdns = pm_netdns
+PATCHFILES += 0001-Makefile.PL.patch
 
-DISTFILES += COPYING
+CATALOG_RELEASE = unstable
 
-RUNTIME_DEP_PKGS  = CSWpm-digest-hmac
-RUNTIME_DEP_PKGS += CSWpm-net-ip
+LICENSE_TEXT = This module is licensed under the mit license
 
-CONFIGURE_ARGS  = --no-online-tests
-CONFIGURE_ARGS += --no-IPv6-tests
+PACKAGES += CSWpm-net-dns
+CATALOGNAME_CSWpm-net-dns = pm_net_dns
+SPKG_DESC_CSWpm-net-dns = Perl Interface to the Domain Name System
+RUNTIME_DEP_PKGS_CSWpm-net-dns += CSWpm-digest-hmac
+ARCHALL_CSWpm-net-dns = 1
 
-EXTRA_MERGE_EXCLUDE_FILES = .*~ .*perllocal\.pod
+# Clean out existing CONFIGURE_ARGS
+CONFIGURE_ARGS =
 
 include gar/category.mk

Modified: csw/mgar/pkg/cpan/Net-DNS/trunk/checksums
===================================================================
--- csw/mgar/pkg/cpan/Net-DNS/trunk/checksums	2017-04-26 13:57:27 UTC (rev 26160)
+++ csw/mgar/pkg/cpan/Net-DNS/trunk/checksums	2017-04-27 07:18:17 UTC (rev 26161)
@@ -1 +1 @@
-f1d48107ff6b366479ad035783486d7a  Net-DNS-0.83.tar.gz
+0db549fa210b540344923124ed912037  Net-DNS-1.09.tar.gz

Added: csw/mgar/pkg/cpan/Net-DNS/trunk/files/0001-Makefile.PL.patch
===================================================================
--- csw/mgar/pkg/cpan/Net-DNS/trunk/files/0001-Makefile.PL.patch	                        (rev 0)
+++ csw/mgar/pkg/cpan/Net-DNS/trunk/files/0001-Makefile.PL.patch	2017-04-27 07:18:17 UTC (rev 26161)
@@ -0,0 +1,78 @@
+From 4aade20f190dc9f3a55da11117269767cc6c3078 Mon Sep 17 00:00:00 2001
+From: Dagobert Michelsen <dam at opencsw.org>
+Date: Wed, 26 Apr 2017 13:01:22 +0200
+Subject: [PATCH] Makefile.PL
+
+---
+ Makefile.PL | 55 -------------------------------------------------------
+ 1 file changed, 55 deletions(-)
+
+diff --git a/Makefile.PL b/Makefile.PL
+index 67d77ae..5e96d2f 100644
+--- a/Makefile.PL
++++ b/Makefile.PL
+@@ -214,61 +214,6 @@ EOT
+ }
+ 
+ 
+-package MY;				## customise generated Makefile
+-
+-sub install {
+-	my $self = shift;
+-
+-	my %install_type = qw(perl INSTALLPRIVLIB site INSTALLSITELIB vendor INSTALLVENDORLIB);
+-	my $install_site = join '', '$(DESTDIR)$(', $install_type{$self->{INSTALLDIRS}}, ')';
+-	for ($install_site) {
+-		s/\$\(([A-Z_]+)\)/$self->{$1}/g while /\$\(/;	# expand Makefile macros
+-		s|([/])[/]+|$1|g;				# remove gratuitous //s
+-	}
+-
+-	eval { require Net::DNS };
+-
+-	my $nameregex = '\W+Net\WDNS.pm$';
+-	my @installed = grep $_ =~ m/$nameregex/i, values %INC;
+-	my %noinstall;
+-
+-	foreach (@installed) {
+-		my $path = lc($1) if m/^(.+)$nameregex/i;
+-		my %seen;
+-		foreach (@INC) {
+-			$seen{$_}++;				# find $path in @INC
+-			last if $path eq lc($_);
+-		}
+-		foreach ( grep !$seen{$_}, @INC ) {
+-			$noinstall{$_}++;			# mark hidden libraries
+-		}
+-	}
+-
+-	return $self->SUPER::install(@_) unless $noinstall{$install_site};
+-
+-	warn <<"AMEN";
+-##
+-##	The install location for this version of Net::DNS differs
+-##	from the existing version $Net::DNS::VERSION in your perl library.
+-##	@installed
+-##
+-##	The installation will be rendered ineffective because old
+-##	Net::DNS will be found on the library search path before
+-##	$install_site
+-##
+-##	Makefile has been generated to support build and test only.
+-##
+-AMEN
+-
+-	return <<'END';
+-install :
+-	$(NOECHO) $(ECHO) "##	Makefile supports test build only"
+-	$(NOECHO) $(ECHO) "##	(see message from Makefile.PL)"
+-	$(NOECHO) $(FALSE)
+-END
+-}
+-
+-
+ sub postamble {
+ 	return <<'END';
+ test_cover : pure_all
+-- 
+2.4.0
+

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