ports/169877: New port: security/pam_search_list : PAM module to search for user in arbitrary file
Victor Popov
v.a.popov at gmail.com
Sun Jul 15 10:30:11 UTC 2012
>Number: 169877
>Category: ports
>Synopsis: New port: security/pam_search_list : PAM module to search for user in arbitrary file
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Sun Jul 15 10:30:10 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator: Victor Popov
>Release: 9.0-STABLE
>Organization:
>Environment:
FreeBSD vic.hcn-strela.ru 9.0-STABLE FreeBSD 9.0-STABLE #0: Sat Jan 14 22:17:37 MSK 2012 root at vic.hcn-strela.ru:/usr/obj/usr/src/sys/VIC amd64
>Description:
New port for PAM module pam_search_list.
This PAM service module allows PAM-enabled applications to check
if the target user is in some arbitrary plaintext list.
Similar to module pam_ftpusers from the FreeBSD Project,
and is based on its code.
I am also asking the FreeBSD Project to consider including this module into base system, as it is not much different from pam_ftpusers, and might be able to replace it with configuration option path=/etc/ftpusers.
Also I am not very sure about the name of module, any suggestions would be appreciated.
>How-To-Repeat:
>Fix:
Patch attached with submission follows:
# This is a shell archive. Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file". Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
# pam_search_list
# pam_search_list/pkg-descr
# pam_search_list/Makefile
# pam_search_list/distinfo
#
echo c - pam_search_list
mkdir -p pam_search_list > /dev/null 2>&1
echo x - pam_search_list/pkg-descr
sed 's/^X//' >pam_search_list/pkg-descr << '4b747c55fced4d4a5893c321e910ac3b'
XThis PAM service module allows PAM-enabled applications to check
Xif the target user is in some arbitrary plaintext list.
XSimilar to module pam_ftpusers from the FreeBSD Project,
Xand is based on its code.
X
XWWW: http://sourceforge.net/projects/pam-search-list/
4b747c55fced4d4a5893c321e910ac3b
echo x - pam_search_list/Makefile
sed 's/^X//' >pam_search_list/Makefile << 'ca8e398f1da21ec40996cdf3f531e250'
X# New ports collection makefile for: pam_search_list
X# Date created: 15 Jul 2012
X# Whom: Victor Popov
X#
X# $FreeBSD$
X
XPORTNAME= pam_search_list
XPORTVERSION= 0.1
XCATEGORIES= security
XMASTER_SITES= SF/pam-search-list
XDISTNAME= pam-search-list-0.1
X
XMAINTAINER= v.a.popov at gmail.com
XCOMMENT= PAM module to search arbitrary file for user
X
XUSE_XZ= yes
X
XMANCOMPRESSED= yes
XMAN8= pam_search_list.8
X
XPLIST_FILES= lib/pam_search_list.so \
X lib/pam_search_list.so.0
X
X.include <bsd.port.mk>
ca8e398f1da21ec40996cdf3f531e250
echo x - pam_search_list/distinfo
sed 's/^X//' >pam_search_list/distinfo << '342acbe0f7834c6c75b9b949ac44ed0c'
XSHA256 (pam-search-list-0.1.tar.xz) = 77009f307e00413239a4cde497257b0ec33c1fd5c9879461174303230a44c417
XSIZE (pam-search-list-0.1.tar.xz) = 3184
342acbe0f7834c6c75b9b949ac44ed0c
exit
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list