pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/security/tacshell Fix permissions.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/ea65d11d638b
branches:  trunk
changeset: 570551:ea65d11d638b
user:      joerg <joerg%pkgsrc.org@localhost>
date:      Sun Jan 31 23:13:24 2010 +0000

description:
Fix permissions.

diffstat:

 security/tacshell/Makefile         |   6 +++---
 security/tacshell/distinfo         |   3 +--
 security/tacshell/patches/patch-aa |  13 -------------
 3 files changed, 4 insertions(+), 18 deletions(-)

diffs (49 lines):

diff -r 08c54cd65684 -r ea65d11d638b security/tacshell/Makefile
--- a/security/tacshell/Makefile        Sun Jan 31 22:47:34 2010 +0000
+++ b/security/tacshell/Makefile        Sun Jan 31 23:13:24 2010 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.3 2010/01/27 21:21:03 joerg Exp $
+# $NetBSD: Makefile,v 1.4 2010/01/31 23:13:24 joerg Exp $
 
 DISTNAME=              tacshell-0.91
 PKGREVISION=           1
@@ -16,9 +16,9 @@
                        ${PKG_SYSCONFDIR}/tacshell.conf
 
 INSTALLATION_DIRS+=    bin share/examples/tacshell
-INSTALL_MAKE_FLAGS+=   PREFIX=${DESTDIR}${PREFIX}
 
-post-install:
+do-install:
+       ${INSTALL_PROGRAM} ${WRKSRC}/tacshell ${DESTDIR}${PREFIX}/bin
        ${INSTALL_DATA} ${WRKSRC}/tacshell.conf-example \
            ${DESTDIR}${PREFIX}/share/examples/tacshell/tacshell.conf
 
diff -r 08c54cd65684 -r ea65d11d638b security/tacshell/distinfo
--- a/security/tacshell/distinfo        Sun Jan 31 22:47:34 2010 +0000
+++ b/security/tacshell/distinfo        Sun Jan 31 23:13:24 2010 +0000
@@ -1,6 +1,5 @@
-$NetBSD: distinfo,v 1.3 2006/02/20 23:05:27 wiz Exp $
+$NetBSD: distinfo,v 1.4 2010/01/31 23:13:24 joerg 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 08c54cd65684 -r ea65d11d638b security/tacshell/patches/patch-aa
--- a/security/tacshell/patches/patch-aa        Sun Jan 31 22:47:34 2010 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,13 +0,0 @@
-$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