ports/68811: New port: sysutils/lookupd - name service lookup daemon

Michael Bushkov bushman at rsu.ru
Thu Jul 8 11:40:20 UTC 2004


>Number:         68811
>Category:       ports
>Synopsis:       New port: sysutils/lookupd - name service lookup daemon
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Thu Jul 08 11:40:20 GMT 2004
>Closed-Date:
>Last-Modified:
>Originator:     Michael Bushkov
>Release:        FreeBSD 5.2-CURRENT i386
>Organization:
Rostov State University
>Environment:
System: FreeBSD stinger.cc.rsu.ru 5.2-CURRENT FreeBSD 5.2-CURRENT #1: Fri Jun 25 12:56:22 MSD 2004 bushman at stinger.cc.rsu.ru:/usr/obj/usr/src/sys/STINGER i386


>Description:
	lookupd - name service switch daemon.
	It gives an ability to use IPC model for different lookup operations
	(just like nsswitch, but all requests are processed by lookupd daemon),
	which in turn makes system-wide caching possible. Besides, unlike
	the nsswitch lookupd can use persistent connections and different
	other optimizations.
>How-To-Repeat:
	
>Fix:

	

--- lookupd.shar begins here ---
# 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:
#
#	lookupd
#	lookupd/Makefile
#	lookupd/pkg-plist
#	lookupd/pkg-message
#	lookupd/pkg-descr
#	lookupd/distinfo
#
echo c - lookupd
mkdir -p lookupd > /dev/null 2>&1
echo x - lookupd/Makefile
sed 's/^X//' >lookupd/Makefile << 'END-of-lookupd/Makefile'
X# Date created:            3 July May 2004
X# Whom:                Michael Bushkov <bushman at rsu.ru>
X#
X# $FreeBSD$
X
XPORTNAME=		lookupd
XPORTVERSION=	0.3a
XPORTREVISION=1
XCATEGORIES=	sysutils
X
XMASTER_SITES=  http://www.rsu.ru/~bushman/lookupd/downloads/
X
xMAINTAINER=    bushman at rsu.ru
XCOMMENT=       lookupd daemon - IPC nsswitch implementation with system-wide caching
X
XMAN5=          lookupd.conf.5
XMAN8=          lookupd.8
XMANCOMPRESSED= yes
X
XINSTALLS_SHLIB= yes
XLDCONFIG_DIRS=  %%PREFIX%%/lib
X
XUSE_REINPLACE=  yes
X
Xpost-install:
X	@${CAT} ${PKGMESSAGE}
X
X.include <bsd.port.pre.mk>
X.if ${OSVERSION} < 500112
XIGNORE=         This version of LookupD is only supported on FreeBSD 5.1 or later
X.endif
X.include <bsd.port.post.mk>
END-of-lookupd/Makefile
echo x - lookupd/pkg-plist
sed 's/^X//' >lookupd/pkg-plist << 'END-of-lookupd/pkg-plist'
Xsbin/lookupd
Xetc/rc.d/lookupd.sh
Xlib/lkpd_files.so
Xlib/lkpd_files.so.1
Xlib/lkpd_dns.so
Xlib/lkpd_dns.so.1
Xinclude/lookupd/passwd_defs.h
Xinclude/lookupd/group_defs.h
Xinclude/lookupd/host_defs.h
Xinclude/lookupd/lookupd_defs.h
X at dirrm include/lookupd
X%%PORTDOCS%%%%EXAMPLESDIR%%/nsswitch.conf.sample
X%%PORTDOCS%%%%EXAMPLESDIR%%/lookupd.conf.sample
X%%PORTDOCS%%@dirrm %%EXAMPLESDIR%%
END-of-lookupd/pkg-plist
echo x - lookupd/pkg-message
sed 's/^X//' >lookupd/pkg-message << 'END-of-lookupd/pkg-message'
X*
X***************************************************
XConfiguration file for lookupd should be named lookupd.conf and must
Xbe place in your local etc folder (typically - /usr/local/etc).
XTo make lookupd working, you should plug it into the nsswitch.
XYou must tune /etc/nsswitch.conf, by addin lookupd keyword to the
Xappropriate lines.
X
XStartup script lookupd.sh was placed in your local etc/rc.d folder.
X
XExamples of both of these files were installed into the examples folder.
X***************************************************
X*
END-of-lookupd/pkg-message
echo x - lookupd/pkg-descr
sed 's/^X//' >lookupd/pkg-descr << 'END-of-lookupd/pkg-descr'
XThis is an implementation of lookupd - name service switch daemon.
XIt gives an ability to use IPC model for different lookup operations
X(just like nsswitch, but all requests are processed by lookupd daemon),
Xwhich in turn makes system-wide caching possible. Besides, unlike
Xthe nsswitch lookupd can use persistent connections and different
Xother optimizations.
X
XAs current nsswitch implementation, lookupd is also based on plugins,
Xwhich are a bit different from standard nss_* plugins such as nss_ldap,
Xbut they are easy to port. Files and dns plugins are installed by
Xdefault and lookupd_ldap module can be found in ports.
X
XLookupd should be plugged into the current FreeBSD
Xnsswitch implementation using a standard module - nss_lookupd.so.
X
XWWW: http://www.rsu.ru/~bushman/lookupd
END-of-lookupd/pkg-descr
echo x - lookupd/distinfo
sed 's/^X//' >lookupd/distinfo << 'END-of-lookupd/distinfo'
XMD5 (lookupd-0.3a.tar.gz) = 7e94e877eedea98a5aa5edabc6babbea
XSIZE (lookupd-0.3a.tar.gz) = 110218
END-of-lookupd/distinfo
exit
--- lookupd.shar ends here ---


>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list