pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/sysutils/p5-Sys-Utmp p5-Sys-Utmp: update to 1.8.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/3721dd334920
branches:  trunk
changeset: 369484:3721dd334920
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Fri Sep 29 21:54:49 2017 +0000

description:
p5-Sys-Utmp: update to 1.8.

1.8 Fri 29 Sep 19:59:36 BST 2017
                - Fix for NetBSD
                - Modernise the code slightly

diffstat:

 sysutils/p5-Sys-Utmp/Makefile                  |   4 ++--
 sysutils/p5-Sys-Utmp/distinfo                  |  12 +++++-------
 sysutils/p5-Sys-Utmp/patches/patch-Makefile.PL |  16 ----------------
 sysutils/p5-Sys-Utmp/patches/patch-Utmp.xs     |  19 -------------------
 4 files changed, 7 insertions(+), 44 deletions(-)

diffs (72 lines):

diff -r ff09f6385a42 -r 3721dd334920 sysutils/p5-Sys-Utmp/Makefile
--- a/sysutils/p5-Sys-Utmp/Makefile     Fri Sep 29 21:53:17 2017 +0000
+++ b/sysutils/p5-Sys-Utmp/Makefile     Fri Sep 29 21:54:49 2017 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.13 2017/09/28 04:45:11 wiz Exp $
+# $NetBSD: Makefile,v 1.14 2017/09/29 21:54:49 wiz Exp $
 
-DISTNAME=      Sys-Utmp-1.7
+DISTNAME=      Sys-Utmp-1.8
 PKGNAME=       p5-${DISTNAME}
 CATEGORIES=    sysutils perl5
 MASTER_SITES=  ${MASTER_SITE_PERL_CPAN:=Sys/}
diff -r ff09f6385a42 -r 3721dd334920 sysutils/p5-Sys-Utmp/distinfo
--- a/sysutils/p5-Sys-Utmp/distinfo     Fri Sep 29 21:53:17 2017 +0000
+++ b/sysutils/p5-Sys-Utmp/distinfo     Fri Sep 29 21:54:49 2017 +0000
@@ -1,8 +1,6 @@
-$NetBSD: distinfo,v 1.5 2017/09/28 04:45:11 wiz Exp $
+$NetBSD: distinfo,v 1.6 2017/09/29 21:54:49 wiz Exp $
 
-SHA1 (Sys-Utmp-1.7.tar.gz) = 529fb6af2071a264142e1e4dad1ad2e31469530b
-RMD160 (Sys-Utmp-1.7.tar.gz) = 4dab0b8bdebb4f32cbad7d9caeeba8c2cb4e040f
-SHA512 (Sys-Utmp-1.7.tar.gz) = bf6180a452ad1d5a1d9c22ff5e2ed2048eec2bc311b741a47b09a07a0dc1e74ef2ce97d32189689790f3530b2211c66cf907ce227e4d8e4e51f4fff50b3076bb
-Size (Sys-Utmp-1.7.tar.gz) = 9169 bytes
-SHA1 (patch-Makefile.PL) = 3d29edb0431f1e997aeb0f21d0cd6ef988e8e363
-SHA1 (patch-Utmp.xs) = 3a173cf927b10e02a79d3c4fa94463f1e5bc7bf7
+SHA1 (Sys-Utmp-1.8.tar.gz) = 157e811732ca48eb32bcbdef86e96ae2de359765
+RMD160 (Sys-Utmp-1.8.tar.gz) = 9c07269271bd041e189b1f60cd68b521ce03ef0f
+SHA512 (Sys-Utmp-1.8.tar.gz) = 8ad82124547a40e53afdeb55beb9ea3c0cd068f38818cb6a388496c846cc7dcb761177e887d9aa345ee8b7967f05452680b4ad4aa6f13122447255864b1c6592
+Size (Sys-Utmp-1.8.tar.gz) = 9333 bytes
diff -r ff09f6385a42 -r 3721dd334920 sysutils/p5-Sys-Utmp/patches/patch-Makefile.PL
--- a/sysutils/p5-Sys-Utmp/patches/patch-Makefile.PL    Fri Sep 29 21:53:17 2017 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,16 +0,0 @@
-$NetBSD: patch-Makefile.PL,v 1.1 2017/09/28 04:45:11 wiz Exp $
-
-Fix build on NetBSD.
-https://github.com/jonathanstowe/Sys-Utmp/issues/1
-
---- Makefile.PL.orig   2013-10-27 08:58:56.000000000 +0000
-+++ Makefile.PL
-@@ -8,7 +8,7 @@ my (
- # This may require some refinement
- if ( $^O =~ /netbsd/i )
- {
--    $defined = "";
-+   $define = '-DNOUTFUNCS';
- }
- elsif ( $^O =~ /bsd/i )
- {
diff -r ff09f6385a42 -r 3721dd334920 sysutils/p5-Sys-Utmp/patches/patch-Utmp.xs
--- a/sysutils/p5-Sys-Utmp/patches/patch-Utmp.xs        Fri Sep 29 21:53:17 2017 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,19 +0,0 @@
-$NetBSD: patch-Utmp.xs,v 1.1 2017/09/28 04:45:11 wiz Exp $
-
-Fix build on NetBSD.
-https://github.com/jonathanstowe/Sys-Utmp/issues/1
-
---- Utmp.xs.orig       2013-10-27 08:34:17.000000000 +0000
-+++ Utmp.xs
-@@ -57,11 +57,6 @@ static int ut_fd = -1;
- 
- static char _ut_name[] = _PATH_UTMP;
- 
--void utmpname(char *filename)
--{
--   strcpy(_ut_name, filename);
--}
--
- void setutent(void)
- {
-     if (ut_fd < 0)



Home | Main Index | Thread Index | Old Index