summaryrefslogtreecommitdiff
path: root/security
diff options
context:
space:
mode:
authorpettai <pettai>2010-03-09 19:57:42 +0000
committerpettai <pettai>2010-03-09 19:57:42 +0000
commit7b7bba3a8b8171be664d5a2ae53e50c45986d506 (patch)
tree3453b8922383796f51b862ced9a0f6675e083f50 /security
parent1dc63e0d3ba3992bcc6e14f58da6ac780459596d (diff)
downloadpkgsrc-7b7bba3a8b8171be664d5a2ae53e50c45986d506.tar.gz
Authen::TacacsPlus allows you to authenticate using tacacs+ server
Diffstat (limited to 'security')
-rw-r--r--security/p5-Authen-TacacsPlus/DESCR1
-rw-r--r--security/p5-Authen-TacacsPlus/Makefile18
-rw-r--r--security/p5-Authen-TacacsPlus/distinfo6
-rw-r--r--security/p5-Authen-TacacsPlus/patches/patch-aa27
4 files changed, 52 insertions, 0 deletions
diff --git a/security/p5-Authen-TacacsPlus/DESCR b/security/p5-Authen-TacacsPlus/DESCR
new file mode 100644
index 00000000000..b64a8c0c57b
--- /dev/null
+++ b/security/p5-Authen-TacacsPlus/DESCR
@@ -0,0 +1 @@
+Authen::TacacsPlus allows you to authenticate using tacacs+ server
diff --git a/security/p5-Authen-TacacsPlus/Makefile b/security/p5-Authen-TacacsPlus/Makefile
new file mode 100644
index 00000000000..4ff4d6119c0
--- /dev/null
+++ b/security/p5-Authen-TacacsPlus/Makefile
@@ -0,0 +1,18 @@
+# $NetBSD: Makefile,v 1.1 2010/03/09 19:57:42 pettai Exp $
+#
+
+DISTNAME= Authen-TacacsPlus-0.20
+PKGNAME= p5-${DISTNAME}
+CATEGORIES= perl5 security
+MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=Authen/}
+
+MAINTAINER= pettai@nordu.net
+HOMEPAGE= http://search.cpan.org/~mikem/Authen-TacacsPlus/TacacsPlus.pm
+COMMENT= Perl extension for authentication using tacacs+ server
+
+PKG_DESTDIR_SUPPORT= user-destdir
+
+PERL5_PACKLIST= auto/Authen/TacacsPlus/.packlist
+
+.include "../../lang/perl5/module.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/security/p5-Authen-TacacsPlus/distinfo b/security/p5-Authen-TacacsPlus/distinfo
new file mode 100644
index 00000000000..87d4bf56848
--- /dev/null
+++ b/security/p5-Authen-TacacsPlus/distinfo
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2010/03/09 19:57:43 pettai Exp $
+
+SHA1 (Authen-TacacsPlus-0.20.tar.gz) = 72ba26a94e834e2159e1ce8a3a9b91fff50be3e6
+RMD160 (Authen-TacacsPlus-0.20.tar.gz) = b23ac04e61efeaa869d7d4da9fbd79dc9b5d2510
+Size (Authen-TacacsPlus-0.20.tar.gz) = 21656 bytes
+SHA1 (patch-aa) = e94f44e9ce1f7b8e18ac1cfabbe0ff36e9664216
diff --git a/security/p5-Authen-TacacsPlus/patches/patch-aa b/security/p5-Authen-TacacsPlus/patches/patch-aa
new file mode 100644
index 00000000000..2b1f52b6956
--- /dev/null
+++ b/security/p5-Authen-TacacsPlus/patches/patch-aa
@@ -0,0 +1,27 @@
+$NetBSD: patch-aa,v 1.1 2010/03/09 19:57:43 pettai Exp $
+
+--- tacpluslib/tac_plus.h.orig 2009-01-08 06:26:43.000000000 +0100
++++ tacpluslib/tac_plus.h 2009-01-08 06:30:42.000000000 +0100
+@@ -78,6 +78,7 @@
+ #define STDLIB_MALLOC
+ #define NO_PWAGE
+ #define CONST_SYSERRLIST
++#define HAVE_SYSERR_PROTO
+ #define VOIDSIG
+ #endif
+
+@@ -673,12 +674,13 @@
+ extern void set_expiration_status();
+
+ /* miscellaneous */
++#ifndef HAVE_SYSERR_PROTO
+ #ifdef CONST_SYSERRLIST
+ extern const char *const sys_errlist[];
+ #else
+ /*extern char *sys_errlist[];*/
+ #endif
+-extern int errno;
++#endif
+ extern int sendauth_fn();
+ extern int sendpass_fn();
+ extern int enable_fn();