diff options
author | heinz <heinz> | 2005-10-16 08:06:55 +0000 |
---|---|---|
committer | heinz <heinz> | 2005-10-16 08:06:55 +0000 |
commit | e299e694e9fdde3947cdde65412522cbad826958 (patch) | |
tree | 35c728995566de97705215d4a4c8d2837b144807 /sysutils/p5-Sys-Hostname-Long | |
parent | fa0b60ce77f1e139954b66597af596cd3302fcc5 (diff) | |
download | pkgsrc-e299e694e9fdde3947cdde65412522cbad826958.tar.gz |
Updated to version 1.4.
Pkgsrc changes:
- Removed patch-aa (in Long.pm) and the pre-configure target because our
workaround for the problem on Solaris ("hostname --fqdn" changing the
name of the machine) is no longer necessary.
- Added SVR4_PKGNAME.
Relevant changes since version 1.0:
==========================
New version to fix major Solaris problem
Thanks to patch from Piotr Klaban
and many others for reporting the problem.
Diffstat (limited to 'sysutils/p5-Sys-Hostname-Long')
-rw-r--r-- | sysutils/p5-Sys-Hostname-Long/Makefile | 10 | ||||
-rw-r--r-- | sysutils/p5-Sys-Hostname-Long/distinfo | 9 | ||||
-rw-r--r-- | sysutils/p5-Sys-Hostname-Long/patches/patch-aa | 16 |
3 files changed, 7 insertions, 28 deletions
diff --git a/sysutils/p5-Sys-Hostname-Long/Makefile b/sysutils/p5-Sys-Hostname-Long/Makefile index 632fd834e23..7ae9cca7ad2 100644 --- a/sysutils/p5-Sys-Hostname-Long/Makefile +++ b/sysutils/p5-Sys-Hostname-Long/Makefile @@ -1,9 +1,9 @@ -# $NetBSD: Makefile,v 1.7 2005/08/06 06:19:31 jlam Exp $ +# $NetBSD: Makefile,v 1.8 2005/10/16 08:06:55 heinz Exp $ # -DISTNAME= Sys-Hostname-Long-1.0 +DISTNAME= Sys-Hostname-Long-1.4 PKGNAME= p5-${DISTNAME} -PKGREVISION= 2 +SVR4_PKGNAME= p5shl CATEGORIES= sysutils perl5 MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=Sys/} @@ -17,9 +17,5 @@ USE_LANGUAGES= # empty PERL5_PACKLIST= auto/Sys/Hostname/Long/.packlist -pre-configure: - @ ${TEST} -r ${WRKSRC}/lib/Sys/Hostname/Long.pm.orig && \ - ${RM} ${WRKSRC}/lib/Sys/Hostname/Long.pm.orig ; : - .include "../../lang/perl5/module.mk" .include "../../mk/bsd.pkg.mk" diff --git a/sysutils/p5-Sys-Hostname-Long/distinfo b/sysutils/p5-Sys-Hostname-Long/distinfo index fee8bb4bf36..2c2f4ab656a 100644 --- a/sysutils/p5-Sys-Hostname-Long/distinfo +++ b/sysutils/p5-Sys-Hostname-Long/distinfo @@ -1,6 +1,5 @@ -$NetBSD: distinfo,v 1.2 2005/02/24 13:40:55 agc Exp $ +$NetBSD: distinfo,v 1.3 2005/10/16 08:06:55 heinz Exp $ -SHA1 (Sys-Hostname-Long-1.0.tar.gz) = 8e55d84e84dbc9a75bf90b17f968394f58177368 -RMD160 (Sys-Hostname-Long-1.0.tar.gz) = 04f23e20b9b422475bfd944151edf21bf96e7665 -Size (Sys-Hostname-Long-1.0.tar.gz) = 2286 bytes -SHA1 (patch-aa) = 8ca0721838baac7b15dd2eaf4b49d106f06c041f +SHA1 (Sys-Hostname-Long-1.4.tar.gz) = 3e2f64ca953ab9123fa9994e6fcfb709b049f6c0 +RMD160 (Sys-Hostname-Long-1.4.tar.gz) = d4ea949ed6d4a4fceaaea2952e46aaf0ecae65c6 +Size (Sys-Hostname-Long-1.4.tar.gz) = 4991 bytes diff --git a/sysutils/p5-Sys-Hostname-Long/patches/patch-aa b/sysutils/p5-Sys-Hostname-Long/patches/patch-aa deleted file mode 100644 index 0e8dd2d2d53..00000000000 --- a/sysutils/p5-Sys-Hostname-Long/patches/patch-aa +++ /dev/null @@ -1,16 +0,0 @@ -$NetBSD: patch-aa,v 1.1.1.1 2004/03/07 01:23:28 heinz Exp $ - ---- lib/Sys/Hostname/Long.pm.orig Sat Sep 22 08:23:46 2001 -+++ lib/Sys/Hostname/Long.pm -@@ -35,8 +35,9 @@ sub hostname_long { - # . Linux - # . FreeBSD - # - MacOS X (Rhapsody/Darwin) -- $hostlong = `hostname --fqdn`; -- $hostlong =~ tr/\0\r\n//d; -+ # Emulate `hostname --fqdn` with Perl; more portable -+ $hostlong = Sys::Hostname::hostname(); -+ ($hostlong) = gethostbyname($hostlong); - } - - return $hostlong; |