pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/security/pam-af Import pam_af version 1.0.1.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/55838de406eb
branches:  trunk
changeset: 523455:55838de406eb
user:      obache <obache%pkgsrc.org@localhost>
date:      Mon Jan 08 05:49:01 2007 +0000

description:
Import pam_af version 1.0.1.

pam_af is a simple anti-bruteforce PAM module for authentification
services. It can be used to prevent brute-force attacks on services
like SSH or Telnet.

diffstat:

 security/pam-af/DESCR            |   3 +++
 security/pam-af/Makefile         |  19 +++++++++++++++++++
 security/pam-af/PLIST            |   5 +++++
 security/pam-af/distinfo         |   6 ++++++
 security/pam-af/patches/patch-aa |  22 ++++++++++++++++++++++
 5 files changed, 55 insertions(+), 0 deletions(-)

diffs (75 lines):

diff -r 817b046b6f91 -r 55838de406eb security/pam-af/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/security/pam-af/DESCR     Mon Jan 08 05:49:01 2007 +0000
@@ -0,0 +1,3 @@
+pam_af is a simple anti-bruteforce PAM module for authentification
+services. It can be used to prevent brute-force attacks on services
+like SSH or Telnet.
diff -r 817b046b6f91 -r 55838de406eb security/pam-af/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/security/pam-af/Makefile  Mon Jan 08 05:49:01 2007 +0000
@@ -0,0 +1,19 @@
+# $NetBSD: Makefile,v 1.1.1.1 2007/01/08 05:49:01 obache Exp $
+
+DISTNAME=      pam_af-1.0.1
+PKGNAME=       ${DISTNAME:S/_/-/}
+CATEGORIES=    security
+MASTER_SITES=  http://mbsd.msk.ru/dist/
+EXTRACT_SUFX=  .tar.bz2
+
+MAINTAINER=    obache%NetBSD.org@localhost
+HOMEPAGE=      http://mbsd.msk.ru/stas/pam_af.html
+COMMENT=       Anti-bruteforce PAM module
+
+.include "../../mk/bsd.fast.prefs.mk"
+
+.if ${OPSYS} == "Linux"
+.include "../../databases/gdbm/buildlink3.mk"
+.endif
+.include "../../mk/pam.buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r 817b046b6f91 -r 55838de406eb security/pam-af/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/security/pam-af/PLIST     Mon Jan 08 05:49:01 2007 +0000
@@ -0,0 +1,5 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2007/01/08 05:49:01 obache Exp $
+lib/security/pam_af.so
+man/man8/pam_af.8
+man/man8/pam_af_tool.8
+sbin/pam_af_tool
diff -r 817b046b6f91 -r 55838de406eb security/pam-af/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/security/pam-af/distinfo  Mon Jan 08 05:49:01 2007 +0000
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1.1.1 2007/01/08 05:49:01 obache Exp $
+
+SHA1 (pam_af-1.0.1.tar.bz2) = f953e50791db0d13f124ce0346f1db43b9d0bafa
+RMD160 (pam_af-1.0.1.tar.bz2) = 6fd33ef36b810eac58a59cd6ae0eb918548205e3
+Size (pam_af-1.0.1.tar.bz2) = 18006 bytes
+SHA1 (patch-aa) = 57b60fc8b7860c476451d33112aa67ac756ede5a
diff -r 817b046b6f91 -r 55838de406eb security/pam-af/patches/patch-aa
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/security/pam-af/patches/patch-aa  Mon Jan 08 05:49:01 2007 +0000
@@ -0,0 +1,22 @@
+$NetBSD: patch-aa,v 1.1.1.1 2007/01/08 05:49:01 obache Exp $
+
+--- Makefile.orig      2006-11-07 09:26:58.000000000 +0900
++++ Makefile
+@@ -104,14 +104,14 @@ TOOLMAN = $(TOOLDIR)/$(DISTTOOLMAN)
+ 
+ SECUREDIR = /lib/security
+ SBINDIR = /sbin
+-MANDIR = /share/man
+-DESTDIR = /usr/local
++MANDIR = /$(PKGMANDIR)
++DESTDIR = $(PREFIX)
+ 
+ LIB_OBJS = $(LIBDIR)/pam_af.o $(LIBDIR)/subr.o
+ TOOL_OBJS = $(TOOLDIR)/pam_af_tool.o $(TOOLDIR)/subr.o
+ 
+ all:
+-      if [ "`$(UNAME)`" = "FreeBSD" ]; then \
++      if [ "`$(UNAME)`" = "FreeBSD" -o "`$(UNAME)`" = "NetBSD" -o "`$(UNAME)`" = "OpenBSD" -o "`$(UNAME)`" = "DragonFly" ]; then \
+               $(MAKE) CFLAGS="$(CFLAGS) $(CFLAGS_GCC) $(CFLAGS_BSD)" \
+                       LD=ld LDFLAGS="$(LDFLAGS_BSD) $(SHLDFLAGS_GCC)" \
+                       $(LIBBIN); \



Home | Main Index | Thread Index | Old Index