pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/sysutils/checkpassword Add a RESTRICTED clause as in t...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/974733032f96
branches:  trunk
changeset: 478349:974733032f96
user:      schmonz <schmonz%pkgsrc.org@localhost>
date:      Thu Jul 22 01:10:40 2004 +0000

description:
Add a RESTRICTED clause as in the other djbware packages. Set
USE_BUILDLINK3=yes. Remove the unnecessary post-install target.

diffstat:

 sysutils/checkpassword/Makefile |  11 +++++++----
 1 files changed, 7 insertions(+), 4 deletions(-)

diffs (30 lines):

diff -r 34614b1a3906 -r 974733032f96 sysutils/checkpassword/Makefile
--- a/sysutils/checkpassword/Makefile   Thu Jul 22 01:07:24 2004 +0000
+++ b/sysutils/checkpassword/Makefile   Thu Jul 22 01:10:40 2004 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.5 2004/07/22 01:07:24 schmonz Exp $
+# $NetBSD: Makefile,v 1.6 2004/07/22 01:10:40 schmonz Exp $
 #
 
 DISTNAME=      checkpassword-0.90
@@ -9,6 +9,12 @@
 HOMEPAGE=      http://cr.yp.to/checkpwd.html
 COMMENT=       Simple, uniform password-checking interface to all root applications
 
+RESTRICTED=    "modified source and binaries may not be distributed"
+NO_BIN_ON_CDROM=${RESTRICTED}
+NO_BIN_ON_FTP= ${RESTRICTED}
+
+USE_BUILDLINK3=        yes
+
 ALL_TARGET=    it
 INSTALL_TARGET=        setup check
 
@@ -17,7 +23,4 @@
        ${ECHO} ${CC} ${CFLAGS} > ${WRKSRC}/conf-cc
        ${ECHO} ${CC} ${_STRIPFLAG_CC} > ${WRKSRC}/conf-ld
 
-post-install:
-       ${CHMOD} +x ${PREFIX}/bin/checkpassword
-
 .include "../../mk/bsd.pkg.mk"



Home | Main Index | Thread Index | Old Index