From owner-freebsd-ports-bugs@FreeBSD.ORG Thu Jul 8 11:40:20 2004 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 86D9A16A4CF for ; Thu, 8 Jul 2004 11:40:20 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6799F43D5F for ; Thu, 8 Jul 2004 11:40:20 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) i68BeKC0014894 for ; Thu, 8 Jul 2004 11:40:20 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.11/8.12.11/Submit) id i68BeKog014893; Thu, 8 Jul 2004 11:40:20 GMT (envelope-from gnats) Resent-Date: Thu, 8 Jul 2004 11:40:20 GMT Resent-Message-Id: <200407081140.i68BeKog014893@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Michael Bushkov Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B790016A5C9 for ; Thu, 8 Jul 2004 11:37:17 +0000 (GMT) Received: from stinger.cc.rsu.ru (stinger.cc.rsu.ru [195.208.252.82]) by mx1.FreeBSD.org (Postfix) with ESMTP id 08CDC43D49 for ; Thu, 8 Jul 2004 11:37:17 +0000 (GMT) (envelope-from bushman@stinger.cc.rsu.ru) Received: from stinger.cc.rsu.ru (localhost.rsu.ru [127.0.0.1] (may be forged)) by stinger.cc.rsu.ru (8.12.11/8.12.10) with ESMTP id i68BbQBf023367 for ; Thu, 8 Jul 2004 15:37:46 +0400 (MSD) (envelope-from bushman@stinger.cc.rsu.ru) Received: (from bushman@localhost) by stinger.cc.rsu.ru (8.12.11/8.12.10/Submit) id i6892iRS021465; Thu, 8 Jul 2004 13:02:44 +0400 (MSD) (envelope-from bushman) Message-Id: <200407080902.i6892iRS021465@stinger.cc.rsu.ru> Date: Thu, 8 Jul 2004 13:02:44 +0400 (MSD) From: Michael Bushkov To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: ports/68811: New port: sysutils/lookupd - name service lookup daemon X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Michael Bushkov List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 08 Jul 2004 11:40:20 -0000 >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@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 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@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 X.if ${OSVERSION} < 500112 XIGNORE= This version of LookupD is only supported on FreeBSD 5.1 or later X.endif X.include 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@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: