diff options
author | obache <obache> | 2007-01-08 05:49:01 +0000 |
---|---|---|
committer | obache <obache> | 2007-01-08 05:49:01 +0000 |
commit | cb13c131bb8bb8dea7a94c628e6e6cd81795e6b6 (patch) | |
tree | 85466e3db65ed195432d8102b6e197347d698c3a /security/pam-af | |
parent | 2472a45bad801f6ef94eb1d2324ab8bc7ab0c3c8 (diff) | |
download | pkgsrc-cb13c131bb8bb8dea7a94c628e6e6cd81795e6b6.tar.gz |
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 (limited to 'security/pam-af')
-rw-r--r-- | security/pam-af/DESCR | 3 | ||||
-rw-r--r-- | security/pam-af/Makefile | 19 | ||||
-rw-r--r-- | security/pam-af/PLIST | 5 | ||||
-rw-r--r-- | security/pam-af/distinfo | 6 | ||||
-rw-r--r-- | security/pam-af/patches/patch-aa | 22 |
5 files changed, 55 insertions, 0 deletions
diff --git a/security/pam-af/DESCR b/security/pam-af/DESCR new file mode 100644 index 00000000000..7e84ed4e552 --- /dev/null +++ b/security/pam-af/DESCR @@ -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 --git a/security/pam-af/Makefile b/security/pam-af/Makefile new file mode 100644 index 00000000000..142221f569f --- /dev/null +++ b/security/pam-af/Makefile @@ -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 +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 --git a/security/pam-af/PLIST b/security/pam-af/PLIST new file mode 100644 index 00000000000..743c38758ef --- /dev/null +++ b/security/pam-af/PLIST @@ -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 --git a/security/pam-af/distinfo b/security/pam-af/distinfo new file mode 100644 index 00000000000..dfc6a850f56 --- /dev/null +++ b/security/pam-af/distinfo @@ -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 --git a/security/pam-af/patches/patch-aa b/security/pam-af/patches/patch-aa new file mode 100644 index 00000000000..c672266ff2e --- /dev/null +++ b/security/pam-af/patches/patch-aa @@ -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); \ |