pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/security/bitstir Made the package work for unprivilege...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/76716f7d1cb0
branches:  trunk
changeset: 521322:76716f7d1cb0
user:      rillig <rillig%pkgsrc.org@localhost>
date:      Thu Nov 09 11:08:01 2006 +0000

description:
Made the package work for unprivileged users. Moved the man page to
man1, since the binaries are installed in bin/.

PKGREVISION++

diffstat:

 security/bitstir/Makefile         |  10 ++++++++--
 security/bitstir/PLIST            |   4 ++--
 security/bitstir/distinfo         |   3 +--
 security/bitstir/patches/patch-aa |  15 ---------------
 4 files changed, 11 insertions(+), 21 deletions(-)

diffs (67 lines):

diff -r 1971fb6e88c5 -r 76716f7d1cb0 security/bitstir/Makefile
--- a/security/bitstir/Makefile Thu Nov 09 10:52:21 2006 +0000
+++ b/security/bitstir/Makefile Thu Nov 09 11:08:01 2006 +0000
@@ -1,7 +1,8 @@
-# $NetBSD: Makefile,v 1.5 2005/04/11 21:47:10 tv Exp $
+# $NetBSD: Makefile,v 1.6 2006/11/09 11:08:01 rillig Exp $
 #
 
 DISTNAME=              bitstir-0.2
+PKGREVISION=           1
 CATEGORIES=            security
 MASTER_SITES=          http://www.wiredyne.com/software/downloads/
 
@@ -9,7 +10,12 @@
 HOMEPAGE=              http://www.wiredyne.com/software/bitstir.html
 COMMENT=               Entropy restoration daemon
 
-
 ONLY_FOR_PLATFORM=     NetBSD-*-*
 
+INSTALLATION_DIRS=     bin ${PKGMANDIR}/man1
+
+do-install:
+       cd ${WRKSRC} && ${INSTALL_PROGRAM} bitstir bits-avail ${PREFIX}/bin
+       cd ${WRKSRC} && ${INSTALL_MAN} bitstir.8 ${PREFIX}/${PKGMANDIR}/man1/bitstir.1
+
 .include "../../mk/bsd.pkg.mk"
diff -r 1971fb6e88c5 -r 76716f7d1cb0 security/bitstir/PLIST
--- a/security/bitstir/PLIST    Thu Nov 09 10:52:21 2006 +0000
+++ b/security/bitstir/PLIST    Thu Nov 09 11:08:01 2006 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.1 2003/08/29 00:25:36 dan Exp $
+@comment $NetBSD: PLIST,v 1.2 2006/11/09 11:08:01 rillig Exp $
 bin/bits-avail
 bin/bitstir
-man/man8/bitstir.8
+man/man1/bitstir.1
diff -r 1971fb6e88c5 -r 76716f7d1cb0 security/bitstir/distinfo
--- a/security/bitstir/distinfo Thu Nov 09 10:52:21 2006 +0000
+++ b/security/bitstir/distinfo Thu Nov 09 11:08:01 2006 +0000
@@ -1,6 +1,5 @@
-$NetBSD: distinfo,v 1.2 2005/02/24 13:10:05 agc Exp $
+$NetBSD: distinfo,v 1.3 2006/11/09 11:08:01 rillig Exp $
 
 SHA1 (bitstir-0.2.tar.gz) = 867fc2b28805a71ca2f1e3e3337b3c906951e121
 RMD160 (bitstir-0.2.tar.gz) = a34412882c2685acd4b6613fbfe8a6c9fa9ebcf1
 Size (bitstir-0.2.tar.gz) = 6423 bytes
-SHA1 (patch-aa) = 564b3895b84f07dc05553b3289165e1a2abbe747
diff -r 1971fb6e88c5 -r 76716f7d1cb0 security/bitstir/patches/patch-aa
--- a/security/bitstir/patches/patch-aa Thu Nov 09 10:52:21 2006 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,15 +0,0 @@
-$NetBSD: patch-aa,v 1.1 2003/08/29 00:25:37 dan Exp $
-
---- Makefile.orig      Wed Aug 27 12:58:29 2003
-+++ Makefile
-@@ -2,8 +2,8 @@
- 
- # Makefile for bitstir.
- 
--INSTALLDIR=   /usr/local/bin
--MANDIR=               /usr/local/man
-+INSTALLDIR=   ${PREFIX}/bin
-+MANDIR=               ${PREFIX}/man
- FIND?=                /usr/bin/find
- 
- CC?=          cc



Home | Main Index | Thread Index | Old Index