pkgsrc-WIP-changes archive

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

uptimed: update to v0.4.1



Module Name:	pkgsrc-wip
Committed By:	Susumu Miwa <miwarin%gmail.com@localhost>
Pushed By:	miwarin
Date:		Mon May 6 00:40:07 2019 +0900
Changeset:	ede5c0ed62d655e451148a2683915a2b98810290

Modified Files:
	uptimed/Makefile
	uptimed/distinfo
	uptimed/patches/patch-ab

Log Message:
uptimed: update to v0.4.1

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=ede5c0ed62d655e451148a2683915a2b98810290

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 uptimed/Makefile         | 16 +++++++++++++++-
 uptimed/distinfo         | 10 +++++-----
 uptimed/patches/patch-ab |  6 ++++--
 3 files changed, 24 insertions(+), 8 deletions(-)

diffs:
diff --git a/uptimed/Makefile b/uptimed/Makefile
index 8863420ba3..e23e0a4d5e 100644
--- a/uptimed/Makefile
+++ b/uptimed/Makefile
@@ -1,7 +1,7 @@
 # $NetBSD: Makefile,v 1.6 2013/05/10 08:20:04 ahp-nils Exp $
 #
 
-DISTNAME=	uptimed-0.3.17
+DISTNAME=	uptimed-0.4.1
 CATEGORIES=	sysutils
 MASTER_SITES=	${MASTER_SITE_GITHUB:=rpodgorny/}
 GITHUB_TAG=	v${PKGVERSION_NOREV}
@@ -14,6 +14,7 @@ COMMENT=		Keeps track of current and past system uptimes
 USE_PKGLOCALEDIR=	yes
 USE_LIBTOOL=		yes
 GNU_CONFIGURE=		yes
+USE_TOOLS+=	automake automake patch
 
 EGDIR=			share/examples/${PKGBASE}
 INSTALLATION_DIRS=	bin sbin lib ${PKGMANDIR}/man2 ${PKGMANDIR}/man8
@@ -22,4 +23,17 @@ INSTALLATION_DIRS+=	share/examples/rc.d ${EGDIR}
 RCD_SCRIPTS=		uptimed
 CONF_FILES=		${EGDIR}/uptimed.conf-dist ${PKG_SYSCONFDIR}/uptimed.conf
 
+pre-configure:
+	cd ${WRKSRC} && ./autogen.sh
+
+do-patch:
+	# do later
+
+post-configure:
+	cd ${WRKSRC}; \
+	for f in ${PATCHDIR}/patch-*; do \
+		${PATCH} --batch < "$$f" || ${TRUE}; \
+	done
+
+
 .include "../../mk/bsd.pkg.mk"
diff --git a/uptimed/distinfo b/uptimed/distinfo
index 51c0fb82a2..ad65a2bebe 100644
--- a/uptimed/distinfo
+++ b/uptimed/distinfo
@@ -1,7 +1,7 @@
 $NetBSD: distinfo,v 1.5 2013/05/10 08:20:04 ahp-nils Exp $
 
-SHA1 (uptimed-0.3.17.tar.gz) = f05324e12a5f992c5f236fbc536b4da2939a1d9d
-RMD160 (uptimed-0.3.17.tar.gz) = 6002646b458436adf4dafa351c7a82cb31a976cb
-SHA512 (uptimed-0.3.17.tar.gz) = 5f43cee9e3aca34c9a9d66e476e5e9938ab5275683e1190162b3d53ba1c3c194af1de59597635451d7737d1e855933c892863756efa3905b05c1f8bd1b757945
-Size (uptimed-0.3.17.tar.gz) = 356327 bytes
-SHA1 (patch-ab) = cd8b50b87a79f30719d5d4d0f32bb9d17438da8b
+SHA1 (uptimed-0.4.1.tar.gz) = 69133d60f130d347d90153a5123315ccc39e56e7
+RMD160 (uptimed-0.4.1.tar.gz) = bbb92c65db33df936e675b725a5cb2c5d290137c
+SHA512 (uptimed-0.4.1.tar.gz) = 5dfe79aebab8c8daca3a3ec88d54e312446fc7cf8b54ef1414cbfcb3fb25053ef31235de4b42cb14fc7352965b77ca2875c753b97b4d61178792a5484715e23a
+Size (uptimed-0.4.1.tar.gz) = 55162 bytes
+SHA1 (patch-ab) = 5f8a4f65be19b43c7dccde3e2a9a90243779105e
diff --git a/uptimed/patches/patch-ab b/uptimed/patches/patch-ab
index f0abdfb6d2..86cc684d58 100644
--- a/uptimed/patches/patch-ab
+++ b/uptimed/patches/patch-ab
@@ -1,11 +1,13 @@
 --- etc/Makefile.in.orig	2010-05-01 20:17:50.000000000 +0200
 +++ etc/Makefile.in	2010-05-01 20:18:54.000000000 +0200
-@@ -158,7 +158,7 @@
+--- etc/Makefile.in.orig	2019-05-05 15:33:10.196465889 +0000
++++ etc/Makefile.in
+@@ -263,7 +263,7 @@ psdir = @psdir@
  sbindir = @sbindir@
  sharedstatedir = @sharedstatedir@
  srcdir = @srcdir@
 -sysconfdir = @sysconfdir@
 +sysconfdir = @datadir@/examples/uptimed
+ systemdsystemunitdir = @systemdsystemunitdir@
  target_alias = @target_alias@
  top_build_prefix = @top_build_prefix@
- top_builddir = @top_builddir@


Home | Main Index | Thread Index | Old Index