summaryrefslogtreecommitdiff
path: root/security/tacshell
diff options
context:
space:
mode:
authorwiz <wiz>2006-02-20 23:05:27 +0000
committerwiz <wiz>2006-02-20 23:05:27 +0000
commitf0cf44043d0a53f5a6fe6e8930d8f8ce01b09dab (patch)
tree115721c30e9d06d6b8114c55d760badf4a665e6e /security/tacshell
parenta86f440f55a06dfb8d107bc1749109907bac96cf (diff)
downloadpkgsrc-f0cf44043d0a53f5a6fe6e8930d8f8ce01b09dab.tar.gz
Convert to pkginstall framework. Bump PKGREVISION.
Diffstat (limited to 'security/tacshell')
-rw-r--r--security/tacshell/MESSAGE10
-rw-r--r--security/tacshell/Makefile10
-rw-r--r--security/tacshell/PLIST4
-rw-r--r--security/tacshell/distinfo3
-rw-r--r--security/tacshell/patches/patch-aa13
5 files changed, 27 insertions, 13 deletions
diff --git a/security/tacshell/MESSAGE b/security/tacshell/MESSAGE
deleted file mode 100644
index 23dc0409083..00000000000
--- a/security/tacshell/MESSAGE
+++ /dev/null
@@ -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 --git a/security/tacshell/Makefile b/security/tacshell/Makefile
index d8623ac3e87..9a17b6c1150 100644
--- a/security/tacshell/Makefile
+++ b/security/tacshell/Makefile
@@ -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 @@ HOMEPAGE= http://www.rezrov.net/software/tacshell.html
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 --git a/security/tacshell/PLIST b/security/tacshell/PLIST
index 409bf8d8676..32e417a6cb4 100644
--- a/security/tacshell/PLIST
+++ b/security/tacshell/PLIST
@@ -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 --git a/security/tacshell/distinfo b/security/tacshell/distinfo
index ac3d5ece6a4..6e4fe7e4c7c 100644
--- a/security/tacshell/distinfo
+++ b/security/tacshell/distinfo
@@ -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 --git a/security/tacshell/patches/patch-aa b/security/tacshell/patches/patch-aa
new file mode 100644
index 00000000000..552a69493db
--- /dev/null
+++ b/security/tacshell/patches/patch-aa
@@ -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)