pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/security/tacshell Convert to pkginstall framework. Bum...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/fc5ffb602872
branches:  trunk
changeset: 508527:fc5ffb602872
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Mon Feb 20 23:05:27 2006 +0000

description:
Convert to pkginstall framework. Bump PKGREVISION.

diffstat:

 security/tacshell/MESSAGE          |  10 ----------
 security/tacshell/Makefile         |  10 +++++++++-
 security/tacshell/PLIST            |   4 +++-
 security/tacshell/distinfo         |   3 ++-
 security/tacshell/patches/patch-aa |  13 +++++++++++++
 5 files changed, 27 insertions(+), 13 deletions(-)

diffs (76 lines):

diff -r b5d8a18488dc -r fc5ffb602872 security/tacshell/MESSAGE
--- a/security/tacshell/MESSAGE Mon Feb 20 23:04:51 2006 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,10 +0,0 @@
-===========================================================================
-$NetBSD: MESSAGE,v 1.1.1.1 2004/05/26 12:04:27 sekiya Exp $
-
-A sample configuration file has been placed in
-
-       ${PREFIX}/etc/tacshell.conf-example
-
-Copy it to ${PREFIX}/etc/tacshell.conf and edit it to suit your environment.
-
-===========================================================================
diff -r b5d8a18488dc -r fc5ffb602872 security/tacshell/Makefile
--- a/security/tacshell/Makefile        Mon Feb 20 23:04:51 2006 +0000
+++ b/security/tacshell/Makefile        Mon Feb 20 23:05:27 2006 +0000
@@ -1,6 +1,7 @@
-# $NetBSD: Makefile,v 1.1.1.1 2004/05/26 12:04:27 sekiya Exp $
+# $NetBSD: Makefile,v 1.2 2006/02/20 23:05:27 wiz Exp $
 
 DISTNAME=              tacshell-0.91
+PKGREVISION=           1
 CATEGORIES=            security
 MASTER_SITES=          http://www.rezrov.net/software/
 
@@ -9,5 +10,12 @@
 COMMENT=               RSA ACE/Server sdshell workalike, using TACACS+
 
 GNU_CONFIGURE=         YES
+CONF_FILES+=           $(PREFIX)/share/examples/tacshell/tacshell.conf \
+                       ${PKG_SYSCONFDIR}/tacshell.conf
+
+post-install:
+       ${INSTALL_DATA_DIR} ${PREFIX}/share/examples/tacshell
+       ${INSTALL_DATA} ${WRKSRC}/tacshell.conf-example \
+               ${PREFIX}/share/examples/tacshell/tacshell.conf
 
 .include "../../mk/bsd.pkg.mk"
diff -r b5d8a18488dc -r fc5ffb602872 security/tacshell/PLIST
--- a/security/tacshell/PLIST   Mon Feb 20 23:04:51 2006 +0000
+++ b/security/tacshell/PLIST   Mon Feb 20 23:05:27 2006 +0000
@@ -1,2 +1,4 @@
-@comment $NetBSD: PLIST,v 1.1.1.1 2004/05/26 12:04:27 sekiya Exp $
+@comment $NetBSD: PLIST,v 1.2 2006/02/20 23:05:27 wiz Exp $
 bin/tacshell
+share/examples/tacshell/tacshell.conf
+@dirrm share/examples/tacshell
diff -r b5d8a18488dc -r fc5ffb602872 security/tacshell/distinfo
--- a/security/tacshell/distinfo        Mon Feb 20 23:04:51 2006 +0000
+++ b/security/tacshell/distinfo        Mon Feb 20 23:05:27 2006 +0000
@@ -1,5 +1,6 @@
-$NetBSD: distinfo,v 1.2 2005/02/24 13:10:13 agc Exp $
+$NetBSD: distinfo,v 1.3 2006/02/20 23:05:27 wiz Exp $
 
 SHA1 (tacshell-0.91.tar.gz) = cddbdfd0bacd197d0783270898d3935026c9e54d
 RMD160 (tacshell-0.91.tar.gz) = ac436ecb10c1a50852ec63b66f786bcbe0b24eb6
 Size (tacshell-0.91.tar.gz) = 56453 bytes
+SHA1 (patch-aa) = 901014cd45cc8e3dc693bc8f3fc0fe548b24aef3
diff -r b5d8a18488dc -r fc5ffb602872 security/tacshell/patches/patch-aa
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/security/tacshell/patches/patch-aa        Mon Feb 20 23:05:27 2006 +0000
@@ -0,0 +1,13 @@
+$NetBSD: patch-aa,v 1.1 2006/02/20 23:05:27 wiz Exp $
+
+--- Makefile.in.orig   2004-05-26 11:48:36.000000000 +0000
++++ Makefile.in
+@@ -21,8 +21,6 @@ tacshell: tacshell.o $(SHARED_OBJS)
+ 
+ install: all
+       $(INSTALL) -o root -m 555 tacshell $(PREFIX)/bin/tacshell
+-      mkdir -p -m 755 $(PREFIX)/etc
+-      $(INSTALL_DATA) -o root tacshell.conf-example $(PREFIX)/etc/tacshell.conf-example
+ 
+ pam_tacplus.so.1: pam.o $(SHARED_OBJS)
+       $(CC) $(LDFLAGS) -shared -o pam_tacplus.so.1 pam.o $(SHARED_OBJS) $(LIBS)



Home | Main Index | Thread Index | Old Index