pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/sysutils/p5-Sys-Hostname-Long Updated to version 1.4.
details: https://anonhg.NetBSD.org/pkgsrc/rev/b15946e31894
branches: trunk
changeset: 501016:b15946e31894
user: heinz <heinz%pkgsrc.org@localhost>
date: Sun Oct 16 08:06:55 2005 +0000
description:
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:
sysutils/p5-Sys-Hostname-Long/Makefile | 10 +++-------
sysutils/p5-Sys-Hostname-Long/distinfo | 9 ++++-----
sysutils/p5-Sys-Hostname-Long/patches/patch-aa | 16 ----------------
3 files changed, 7 insertions(+), 28 deletions(-)
diffs (60 lines):
diff -r 35519c3a937c -r b15946e31894 sysutils/p5-Sys-Hostname-Long/Makefile
--- a/sysutils/p5-Sys-Hostname-Long/Makefile Sun Oct 16 05:07:58 2005 +0000
+++ b/sysutils/p5-Sys-Hostname-Long/Makefile Sun Oct 16 08:06:55 2005 +0000
@@ -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 @@
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 -r 35519c3a937c -r b15946e31894 sysutils/p5-Sys-Hostname-Long/distinfo
--- a/sysutils/p5-Sys-Hostname-Long/distinfo Sun Oct 16 05:07:58 2005 +0000
+++ b/sysutils/p5-Sys-Hostname-Long/distinfo Sun Oct 16 08:06:55 2005 +0000
@@ -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 -r 35519c3a937c -r b15946e31894 sysutils/p5-Sys-Hostname-Long/patches/patch-aa
--- a/sysutils/p5-Sys-Hostname-Long/patches/patch-aa Sun Oct 16 05:07:58 2005 +0000
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -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;
Home |
Main Index |
Thread Index |
Old Index