pkgsrc-WIP-changes archive

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

i3lock: Cleanup package, reset maintainer (4 years of inactivity)



Module Name:	pkgsrc-wip
Committed By:	Kamil Rytarowski <n54%gmx.com@localhost>
Pushed By:	kamil
Date:		Sun Jun 12 00:30:20 2016 +0200
Changeset:	7d034f605a9323dde46406bd773b62828bdb6d1b

Modified Files:
	i3lock/Makefile
	i3lock/PLIST
	i3lock/distinfo
Added Files:
	i3lock/MESSAGE
	i3lock/patches/patch-Makefile

Log Message:
i3lock: Cleanup package, reset maintainer (4 years of inactivity)

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

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

diffstat:
 i3lock/MESSAGE                | 12 ++++++++++++
 i3lock/Makefile               | 11 ++++-------
 i3lock/PLIST                  |  3 +--
 i3lock/distinfo               |  1 +
 i3lock/patches/patch-Makefile | 16 ++++++++++++++++
 5 files changed, 34 insertions(+), 9 deletions(-)

diffs:
diff --git a/i3lock/MESSAGE b/i3lock/MESSAGE
new file mode 100644
index 0000000..ced0570
--- /dev/null
+++ b/i3lock/MESSAGE
@@ -0,0 +1,12 @@
+===========================================================================
+$NetBSD: MESSAGE,v 1.1.1.1 2006/05/01 07:22:29 jmmv Exp $
+
+You need to copy the cherokee PAM configuration file to your PAM
+configuration directory (typically /etc/pam.d).  You can find a sample
+file in:
+
+	${EGDIR}/pam.d/i3lock
+
+It may need to be manually adjusted.
+
+===========================================================================
diff --git a/i3lock/Makefile b/i3lock/Makefile
index f9a090b..022d1e6 100644
--- a/i3lock/Makefile
+++ b/i3lock/Makefile
@@ -2,12 +2,11 @@
 #
 
 DISTNAME=	i3lock-2.7
-PKGREVISION=	1
 CATEGORIES=	x11
 MASTER_SITES=	http://i3wm.org/i3lock/
 EXTRACT_SUFX=	.tar.bz2
 
-MAINTAINER=	pallegra%gmail.com@localhost
+MAINTAINER=	pkgsrc-users%NetBSD.org@localhost
 HOMEPAGE=	http://i3wm.org/i3lock/
 COMMENT=	Slightly improved screen locker based on slock
 LICENSE=	modified-bsd
@@ -17,16 +16,14 @@ USE_LANGUAGES=	c99
 
 MAKE_FLAGS+=	PREFIX=${PREFIX}
 MAKE_FLAGS+=	SYSCONFDIR=${PKG_SYSCONFDIR}
+MAKE_FLAGS+=	EGDIR=${EGDIR}
 
-INSTALLATION_DIRS=	${PKGMANDIR}/man1 share/doc/${PKGBASE} ${EGDIR}
-CONF_FILES+=		${EGDIR}/pam.d/i3lock /etc/pam.d/i3lock
+INSTALLATION_DIRS=	${PKGMANDIR}/man1
 
 EGDIR=	${PREFIX}/share/examples/${PKGBASE}
 
 post-install:
-	${INSTALL_MAN} ${WRKSRC}/i3lock.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/
-	${INSTALL_DATA} ${WRKSRC}/LICENSE ${DESTDIR}${PREFIX}/share/doc/${PKGBASE}
-	${MV} ${DESTDIR}${PKG_SYSCONFDIR}/pam.d ${DESTDIR}${EGDIR}
+	cd ${WRKSRC} && ${INSTALL_MAN} i3lock.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/
 
 .include "../../devel/libev/buildlink3.mk"
 .include "../../graphics/cairo/buildlink3.mk"
diff --git a/i3lock/PLIST b/i3lock/PLIST
index c69e93b..2a2391a 100644
--- a/i3lock/PLIST
+++ b/i3lock/PLIST
@@ -1,5 +1,4 @@
-@comment $NetBSD: PLIST,v 1.2 2015/04/08 14:38:42 nros Exp $
+@comment $NetBSD$
 bin/i3lock
 man/man1/i3lock.1
-share/doc/i3lock/LICENSE
 share/examples/i3lock/pam.d/i3lock
diff --git a/i3lock/distinfo b/i3lock/distinfo
index 745728f..c6c8736 100644
--- a/i3lock/distinfo
+++ b/i3lock/distinfo
@@ -4,3 +4,4 @@ SHA1 (i3lock-2.7.tar.bz2) = d1096b1f67bfcddc447fade8fa4f7bc124607fec
 RMD160 (i3lock-2.7.tar.bz2) = b140a1babea730469943641d5d78655d9a5807a8
 SHA512 (i3lock-2.7.tar.bz2) = 7945d142d239fe7f8985c1000e22db0532456939e65ee855f12e364092808d0cc09cc818b1189e32d88c872ce00033c41c8ebefe62349630872815adaf8b3899
 Size (i3lock-2.7.tar.bz2) = 19490 bytes
+SHA1 (patch-Makefile) = 8114a66b85759f9c49c42f6686149422a23dd154
diff --git a/i3lock/patches/patch-Makefile b/i3lock/patches/patch-Makefile
new file mode 100644
index 0000000..5cd631f
--- /dev/null
+++ b/i3lock/patches/patch-Makefile
@@ -0,0 +1,16 @@
+$NetBSD$
+
+--- Makefile.orig	2015-05-20 07:17:06.000000000 +0000
++++ Makefile
+@@ -37,9 +37,9 @@ clean:
+ 
+ install: all
+ 	$(INSTALL) -d $(DESTDIR)$(PREFIX)/bin
+-	$(INSTALL) -d $(DESTDIR)$(SYSCONFDIR)/pam.d
++	$(INSTALL) -d $(DESTDIR)$(EGDIR)/pam.d
+ 	$(INSTALL) -m 755 i3lock $(DESTDIR)$(PREFIX)/bin/i3lock
+-	$(INSTALL) -m 644 i3lock.pam $(DESTDIR)$(SYSCONFDIR)/pam.d/i3lock
++	$(INSTALL) -m 644 i3lock.pam $(DESTDIR)$(EGDIR)/pam.d/i3lock
+ 
+ uninstall:
+ 	rm -f $(DESTDIR)$(PREFIX)/bin/i3lock


Home | Main Index | Thread Index | Old Index