summaryrefslogtreecommitdiff
path: root/sysutils
diff options
context:
space:
mode:
authorryoon <ryoon>2016-06-18 11:09:35 +0000
committerryoon <ryoon>2016-06-18 11:09:35 +0000
commit35ab5e89020aed7d01be2d63264d93ecb26bdccf (patch)
tree697c32d71346b606e0de9e05635fa3e3c5e9cc70 /sysutils
parente03cfe5183810621730544915c45e390384343cb (diff)
downloadpkgsrc-35ab5e89020aed7d01be2d63264d93ecb26bdccf.tar.gz
Use release tarball (and do not use too general distname)
and use INSTALL_SCRIPT to install script
Diffstat (limited to 'sysutils')
-rw-r--r--sysutils/consolekit/Makefile13
-rw-r--r--sysutils/consolekit/distinfo13
-rw-r--r--sysutils/consolekit/patches/patch-data_Makefile.am9
-rw-r--r--sysutils/consolekit/patches/patch-data_Makefile.in15
4 files changed, 31 insertions, 19 deletions
diff --git a/sysutils/consolekit/Makefile b/sysutils/consolekit/Makefile
index a664ea03bd3..c1285b8fdf8 100644
--- a/sysutils/consolekit/Makefile
+++ b/sysutils/consolekit/Makefile
@@ -1,19 +1,17 @@
-# $NetBSD: Makefile,v 1.31 2016/06/18 10:23:16 youri Exp $
+# $NetBSD: Makefile,v 1.32 2016/06/18 11:09:35 ryoon Exp $
CONSOLEKIT_VER= 1.0.2
-DISTNAME= ${CONSOLEKIT_VER}
+DISTNAME= ConsoleKit2-1.0.2
PKGNAME= consolekit-${CONSOLEKIT_VER}
CATEGORIES= sysutils
-MASTER_SITES= ${MASTER_SITE_GITHUB:=ConsoleKit2/}
+MASTER_SITES= https://github.com/ConsoleKit2/ConsoleKit2/releases/download/${CONSOLEKIT_VER}/
+EXTRACT_SUFX= .tar.bz2
MAINTAINER= youri@NetBSD.org
HOMEPAGE= https://github.com/ConsoleKit2/ConsoleKit2/
COMMENT= Framework for defining and tracking users, login sessions, and seats
LICENSE= gnu-gpl-v2
-GITHUB_PROJECT= ConsoleKit2
-GITHUB_TAG= ${CONSOLEKIT_VER}
-
MESSAGE_SUBST+= PREFIX=${PREFIX}
BUILD_DEFS+= VARBASE \
@@ -55,9 +53,6 @@ INSTALL_MAKE_FLAGS+= sysconfdir=${EGDIR} \
DBUS_SYS_DIR=${EGDIR}/dbus-1/system.d \
XINITRC_DIR=${EGDIR}/X11/xinit/xinitrc.d
-pre-configure:
- cd ${WRKSRC} && ./autogen.sh
-
post-install:
${MKDIR} ${DESTDIR}${RULESDIR} && \
${INSTALL_DATA} ${FILESDIR}/50-shutdown.rules \
diff --git a/sysutils/consolekit/distinfo b/sysutils/consolekit/distinfo
index d9378e4ff96..f337f04af36 100644
--- a/sysutils/consolekit/distinfo
+++ b/sysutils/consolekit/distinfo
@@ -1,7 +1,8 @@
-$NetBSD: distinfo,v 1.13 2016/06/18 10:23:16 youri Exp $
+$NetBSD: distinfo,v 1.14 2016/06/18 11:09:35 ryoon Exp $
-SHA1 (1.0.2.tar.gz) = aca2f13f65e77ebffc9fb65d6102cd8edde522ba
-RMD160 (1.0.2.tar.gz) = 1af1cfe8bdfc92215e8393eb4246c0e8667ae5e5
-SHA512 (1.0.2.tar.gz) = a0ce6b3b8eded4ec9fb0774b617cbf6b50aedef16a2bc28ec783e296eb3acc4a250611abb108aaf4f3716f3386ba397644fe55615e516f156982e9102cbb950e
-Size (1.0.2.tar.gz) = 205101 bytes
-SHA1 (patch-data_Makefile.am) = 7d37d6c3b5c0bab2e1e4b7000bd23f72b646cf9c
+SHA1 (ConsoleKit2-1.0.2.tar.bz2) = 57b5fc3eae0391105e4933e79e6aeda943e6da81
+RMD160 (ConsoleKit2-1.0.2.tar.bz2) = 7b151e8d25dedb6961d2d83b934d79d9411147ff
+SHA512 (ConsoleKit2-1.0.2.tar.bz2) = a6d1c876aafe3cb102d916c6b6086283eff77d2f35fbda460196cb71daf16d21a6713096bfc9e1b6ccef9719b2fcb25b6124024f3245f9410d0e503087c479f7
+Size (ConsoleKit2-1.0.2.tar.bz2) = 622723 bytes
+SHA1 (patch-data_Makefile.am) = 5de63a98459914c7fda185d71fefd553b82107d3
+SHA1 (patch-data_Makefile.in) = a1861d2b80cc45ec6e4d625b635d1fb3c8b90122
diff --git a/sysutils/consolekit/patches/patch-data_Makefile.am b/sysutils/consolekit/patches/patch-data_Makefile.am
index 04bf3258d27..8f76811d86a 100644
--- a/sysutils/consolekit/patches/patch-data_Makefile.am
+++ b/sysutils/consolekit/patches/patch-data_Makefile.am
@@ -1,15 +1,16 @@
-$NetBSD: patch-data_Makefile.am,v 1.1 2016/06/18 10:23:17 youri Exp $
+$NetBSD: patch-data_Makefile.am,v 1.2 2016/06/18 11:09:36 ryoon Exp $
* Fix installation of script data files
--- data/Makefile.am.orig 2015-06-28 08:37:44.000000000 +0000
+++ data/Makefile.am
-@@ -113,7 +113,7 @@ install-logrotate: $(LOGROTATE_CONFS)
+@@ -113,8 +113,7 @@ install-logrotate: $(LOGROTATE_CONFS)
install-90-consolekit: $(XINITRC_CONFS)
$(MKDIR_P) $(DESTDIR)$(XINITRC_DIR)/
- $(INSTALL_PROGRAM) 90-consolekit $(DESTDIR)$(XINITRC_DIR) && \
-+ $(INSTALL_DATA) 90-consolekit $(DESTDIR)$(XINITRC_DIR) && \
- chmod +x $(DESTDIR)$(XINITRC_DIR)/90-consolekit
+- chmod +x $(DESTDIR)$(XINITRC_DIR)/90-consolekit
++ $(INSTALL_DATA) 90-consolekit $(DESTDIR)$(XINITRC_DIR)
uninstall-logrotate:
+ rm -f $(DESTDIR)$(sysconfdir)/logrotate.d/consolekit
diff --git a/sysutils/consolekit/patches/patch-data_Makefile.in b/sysutils/consolekit/patches/patch-data_Makefile.in
new file mode 100644
index 00000000000..35d0a7770eb
--- /dev/null
+++ b/sysutils/consolekit/patches/patch-data_Makefile.in
@@ -0,0 +1,15 @@
+$NetBSD: patch-data_Makefile.in,v 1.1 2016/06/18 11:09:36 ryoon Exp $
+
+* Fix installation of script data files
+
+--- data/Makefile.in.orig 2016-03-19 15:19:18.000000000 +0000
++++ data/Makefile.in
+@@ -784,7 +784,7 @@ install-logrotate: $(LOGROTATE_CONFS)
+
+ install-90-consolekit: $(XINITRC_CONFS)
+ $(MKDIR_P) $(DESTDIR)$(XINITRC_DIR)/
+- $(INSTALL_PROGRAM) 90-consolekit $(DESTDIR)$(XINITRC_DIR) && \
++ $(INSTALL_SCRIPT) 90-consolekit $(DESTDIR)$(XINITRC_DIR) && \
+ chmod +x $(DESTDIR)$(XINITRC_DIR)/90-consolekit
+
+ uninstall-logrotate: