1.3.5 * This version will be dedicated to Darren Besler, thank you for your major contribution! * libtac version is now 1.7.1 * magic.c: magic_inited is only used for linux * Finally got rid of all goto illness! * Changed tabsize to 4 * Fixed missing xalloc.h in authen_s.c * Get PAM_RHOST from PAM stack and use it as rem_addr * Added _pam_get_rhost() and _pam_get_user() * A long list of things done by Darren Besler... * A list of bugs fixed by Darren Besler... * And other things done by Darren Besler... 1.3.4 * removed encrypt option just check if there is a secret (key). * removed first_hit option because you can get the same behaviour by using only one server. * added multiple secret support. * connect.c: improved connection error handling by using getpeername() to check if connection is still valid. * properly handle multiple servers when authenticating. 1.3.3 * pam_tacplus.h: changed bitflags to hex. * Added gitignore for build stuff. * connect.c: removed ifdef for sys/socket.h, it will be included anyway for other platforms. * connect.c: improved connection error handling. 1.3.2 * Added autotool configuration files. * Added pam_tacplus.spec file. * Added license information to all files and the license itself. * All AV pairs are now available to the PAM environment. * Rewritten attribute loop in function pam_sm_acct_mgmt() for debug and future use of AV pairs. * Fixed attribute buffer in author_r.c. 1.3.1 * Added custom password prompt option. * Removed password logging when in debug mode. 1.3.0 * Released version 1.3.0 based on 1.2.13. This release finally includes support for TACACS+ chap and login authentication. The default is still pap for backward compatibility. 1.2.13 * Changed spaces into tabs for pam_tacplus.c so make it more readable. * Did some minor cleanup. * Added login option so you can choose which TACACS+ authentication you want to use. You can use pap, chap or login (ascii) at the moment. The default login option is pap. * Added cont_s.c needed for TACACS+ login authentication. 1.2.12 * Missing network byte order convertion to host byte order in function's tac_account_read, tac_authen_pap_read and tac_author_read. * Fixed potential memory leak.diff -r1.2 -r1.3 pkgsrc/security/pam-tacplus/Makefile
(pettai)
@@ -1,30 +1,25 @@ | @@ -1,30 +1,25 @@ | |||
1 | # $NetBSD: Makefile,v 1.2 2010/03/13 09:27:26 pettai Exp $ | 1 | # $NetBSD: Makefile,v 1.3 2011/11/29 22:24:25 pettai Exp $ | |
2 | # | 2 | # | |
3 | 3 | |||
4 | PKGNAME= ${DISTNAME:S/_/-/} | 4 | PKGNAME= ${DISTNAME:S/_/-/} | |
5 | DISTNAME= pam_tacplus-1.2.11 | 5 | DISTNAME= pam_tacplus-1.3.5 | |
6 | CATEGORIES= security | 6 | CATEGORIES= security | |
7 | MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=tacplus/} | 7 | MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=tacplus/} | |
8 | 8 | |||
9 | MAINTAINER= pettai@NetBSD.org | 9 | MAINTAINER= pettai@NetBSD.org | |
10 | HOMEPAGE= http://tacplus.sourceforge.net/ | 10 | HOMEPAGE= http://tacplus.sourceforge.net/ | |
11 | COMMENT= TACACS+ client library and PAM module | 11 | COMMENT= TACACS+ client library and PAM module | |
12 | #LICENSE= | 12 | LICENSE= gnu-gpl-v2 | |
13 | 13 | |||
14 | WRKSRC= ${WRKDIR}/tacplus | |||
15 | EGDIR= ${PREFIX}/share/examples/pam_tacplus | 14 | EGDIR= ${PREFIX}/share/examples/pam_tacplus | |
16 | DOCDIR= ${PREFIX}/share/doc/pam_tacplus | |||
17 | 15 | |||
18 | PKG_DESTDIR_SUPPORT= user-destdir | 16 | GNU_CONFIGURE=yes | |
19 | 17 | |||
20 | INSTALLATION_DIRS= lib/security ${EGDIR} ${DOCDIR} | 18 | PKG_DESTDIR_SUPPORT= user-destdir | |
21 | 19 | |||
22 | do-install: | 20 | SUBST_CLASSES+= egdir | |
23 | ${INSTALL} ${WRKSRC}/pam_tacplus.so \ | 21 | SUBST_STAGE.egdir= post-patch | |
24 | ${DESTDIR}${PREFIX}/lib/security/pam_tacplus.so | 22 | SUBST_FILES.egdir= Makefile.in | |
25 | ${INSTALL} ${WRKSRC}/README \ | 23 | SUBST_SED.egdir= -e "s,@EGDIR@,${EGDIR}," | |
26 | ${DESTDIR}${DOCDIR}/README | |||
27 | ${INSTALL} ${WRKSRC}/sample.pam \ | |||
28 | ${DESTDIR}${EGDIR}/sample.pam | |||
29 | 24 | |||
30 | .include "../../mk/bsd.pkg.mk" | 25 | .include "../../mk/bsd.pkg.mk" |
@@ -1,8 +1,6 @@ | @@ -1,8 +1,6 @@ | |||
1 | $NetBSD: distinfo,v 1.2 2011/01/03 02:39:32 obache Exp $ | 1 | $NetBSD: distinfo,v 1.3 2011/11/29 22:24:25 pettai Exp $ | |
2 | 2 | |||
3 | SHA1 (pam_tacplus-1.2.11.tar.gz) = 74b33dde8aa80b49cc59e587eb254fd66d3e104a | 3 | SHA1 (pam_tacplus-1.3.5.tar.gz) = 7ce92c068cc70fc5a381aadbe9c9232a4f8484f3 | |
4 | RMD160 (pam_tacplus-1.2.11.tar.gz) = 841038262f0320a5b3a39e7337294e6807a29ada | 4 | RMD160 (pam_tacplus-1.3.5.tar.gz) = 32bac7b9f224693335766694614eed272663292e | |
5 | Size (pam_tacplus-1.2.11.tar.gz) = 30736 bytes | 5 | Size (pam_tacplus-1.3.5.tar.gz) = 331616 bytes | |
6 | SHA1 (patch-aa) = 73e6cd039c81dd43ceaab048c0c289e158809d1b | 6 | SHA1 (patch-makefile.in) = fd7cb932101eb6bdb9d42b3e8989804573835fc1 | |
7 | SHA1 (patch-ab) = 1b33eb64beb95e176dec67fab1c3a2fa8219fda6 | |||
8 | SHA1 (patch-ac) = 456209bee40e2847726faea804cdd593666cf7df |
@@ -1,4 +1,4 @@ | @@ -1,4 +1,4 @@ | |||
1 | @comment $NetBSD: PLIST,v 1.1.1.1 2010/03/12 22:15:27 pettai Exp $ | 1 | @comment $NetBSD: PLIST,v 1.2 2011/11/29 22:24:25 pettai Exp $ | |
2 | lib/security/pam_tacplus.so | 2 | lib/security/pam_tacplus.so | |
3 | share/doc/pam_tacplus/README | 3 | share/doc/pam_tacplus/README | |
4 | share/examples/pam_tacplus/sample.pam | 4 | share/examples/pam_tacplus/sample.pam |