ports/99287: New port: net/splatd Scalable Periodic LDAP Attribute Transmogrifier

Nick Barkas snb at threerings.net
Thu Jun 22 02:30:18 UTC 2006


>Number:         99287
>Category:       ports
>Synopsis:       New port: net/splatd Scalable Periodic LDAP Attribute Transmogrifier
>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 Jun 22 02:30:17 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     Nick Barkas
>Release:        FreeBSD 5.4-RELEASE-p13 i386
>Organization:
Three Rings Design
>Environment:
System: FreeBSD mail.earth.threerings.net 5.4-RELEASE-p13 FreeBSD 5.4-RELEASE-p13 #10: Wed Apr 5 22:48:55 PDT 2006 root at mail.earth.threerings.net:/usr/obj/usr/src/sys/GENERIC i386

>Description:
Splat is a set of utilities designed to help keep information
in an LDAP directory in sync with information outside of an
LDAP directory. This information can be any set of attributes on
any object in the LDAP directory.

WWW: http://dpw.threerings.net/projects/splat/

>How-To-Repeat:
>Fix:
# 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:
#
#	splatd
#	splatd/distinfo
#	splatd/pkg-descr
#	splatd/files
#	splatd/files/splatd.sh.in
#	splatd/pkg-plist
#	splatd/Makefile
#
echo c - splatd
mkdir -p splatd > /dev/null 2>&1
echo x - splatd/distinfo
sed 's/^X//' >splatd/distinfo << 'END-of-splatd/distinfo'
XMD5 (splat-1.0.tar.gz) = 0dfd7f4ab86453f2be1d6d428e2d2d08
XSHA256 (splat-1.0.tar.gz) = 0cd91fb17fcc44fe10b2ba0a3a6f851b55045898a15b8b311b094e9963d204bb
XSIZE (splat-1.0.tar.gz) = 73575
END-of-splatd/distinfo
echo x - splatd/pkg-descr
sed 's/^X//' >splatd/pkg-descr << 'END-of-splatd/pkg-descr'
XSplat is a set of utilities designed to help keep information
Xin an LDAP directory in sync with information outside of an
XLDAP directory. This information can be any set of attributes on
Xany object in the LDAP directory.
X
XWWW: http://dpw.threerings.net/projects/splat/
END-of-splatd/pkg-descr
echo c - splatd/files
mkdir -p splatd/files > /dev/null 2>&1
echo x - splatd/files/splatd.sh.in
sed 's/^X//' >splatd/files/splatd.sh.in << 'END-of-splatd/files/splatd.sh.in'
X#!/bin/sh
X#
X# $FreeBSD: $
X#
X
X# PROVIDE: splatd 
X# REQUIRE: DAEMON
X# BEFORE:  LOGIN
X# KEYWORD: shutdown
X
X. %%RC_SUBR%%
X
Xname=splatd
Xrcvar=`set_rcvar`
X
Xcommand=%%PREFIX%%/sbin/splatd
Xcommand_interpreter="%%PYTHON_CMD%%"
Xcommand_args="-f %%PREFIX%%/etc/splat.conf -p /var/run/$name.pid"
Xpidfile="/var/run/$name.pid"
Xrequired_files=%%PREFIX%%/etc/splat.conf
X
X# set default
Xsplatd_enable=${splatd_enable:-"NO"}
X
Xload_rc_config $name
Xrun_rc_command "$1"
END-of-splatd/files/splatd.sh.in
echo x - splatd/pkg-plist
sed 's/^X//' >splatd/pkg-plist << 'END-of-splatd/pkg-plist'
Xetc/splat.conf.sample
Xsbin/splatd
X%%PYTHON_SITELIBDIR%%/splat/__init__.py
X%%PYTHON_SITELIBDIR%%/splat/__init__.pyc
X%%PYTHON_SITELIBDIR%%/splat/__init__.pyo
X%%PYTHON_SITELIBDIR%%/splat/daemon.py
X%%PYTHON_SITELIBDIR%%/splat/daemon.pyc
X%%PYTHON_SITELIBDIR%%/splat/daemon.pyo
X%%PYTHON_SITELIBDIR%%/splat/ldaputils.py
X%%PYTHON_SITELIBDIR%%/splat/ldaputils.pyc
X%%PYTHON_SITELIBDIR%%/splat/ldaputils.pyo
X%%PYTHON_SITELIBDIR%%/splat/plugin.py
X%%PYTHON_SITELIBDIR%%/splat/plugin.pyc
X%%PYTHON_SITELIBDIR%%/splat/plugin.pyo
X%%PYTHON_SITELIBDIR%%/splat/helpers/__init__.py
X%%PYTHON_SITELIBDIR%%/splat/helpers/__init__.pyc
X%%PYTHON_SITELIBDIR%%/splat/helpers/__init__.pyo
X%%PYTHON_SITELIBDIR%%/splat/helpers/sshPublicKeys.py
X%%PYTHON_SITELIBDIR%%/splat/helpers/sshPublicKeys.pyc
X%%PYTHON_SITELIBDIR%%/splat/helpers/sshPublicKeys.pyo
X%%PYTHON_SITELIBDIR%%/splat/helpers/mailForwardingAddress.py
X%%PYTHON_SITELIBDIR%%/splat/helpers/mailForwardingAddress.pyc
X%%PYTHON_SITELIBDIR%%/splat/helpers/mailForwardingAddress.pyo
X%%PYTHON_SITELIBDIR%%/splat/helpers/homeDirectory.py
X%%PYTHON_SITELIBDIR%%/splat/helpers/homeDirectory.pyc
X%%PYTHON_SITELIBDIR%%/splat/helpers/homeDirectory.pyo
X%%PYTHON_SITELIBDIR%%/splat/data/splat_conf.xml
X at dirrm %%PYTHON_SITELIBDIR%%/splat/helpers
X at dirrm %%PYTHON_SITELIBDIR%%/splat/data
X at dirrm %%PYTHON_SITELIBDIR%%/splat
X%%PORTDOCS%%%%DOCSDIR%%/xhtml/ch01.html
X%%PORTDOCS%%%%DOCSDIR%%/xhtml/ch01s02.html
X%%PORTDOCS%%%%DOCSDIR%%/xhtml/ch01s03.html
X%%PORTDOCS%%%%DOCSDIR%%/xhtml/ch02.html
X%%PORTDOCS%%%%DOCSDIR%%/xhtml/ch02s02.html
X%%PORTDOCS%%%%DOCSDIR%%/xhtml/ch02s03.html
X%%PORTDOCS%%%%DOCSDIR%%/xhtml/ch02s04.html
X%%PORTDOCS%%%%DOCSDIR%%/xhtml/ch03.html
X%%PORTDOCS%%%%DOCSDIR%%/xhtml/ch03s02.html
X%%PORTDOCS%%%%DOCSDIR%%/xhtml/docbook.css
X%%PORTDOCS%%%%DOCSDIR%%/xhtml/index.html
X%%PORTDOCS%%%%DOCSDIR%%/xhtml/pr01.html
X%%PORTDOCS%%%%DOCSDIR%%/xhtml/rn01.html
X%%PORTDOCS%%%%DOCSDIR%%/xhtml/rn01re01.html
X%%PORTDOCS%%%%DOCSDIR%%/xhtml/rn01re02.html
X%%PORTDOCS%%@dirrm %%DOCSDIR%%/xhtml
X%%PORTDOCS%%@dirrm %%DOCSDIR%%
END-of-splatd/pkg-plist
echo x - splatd/Makefile
sed 's/^X//' >splatd/Makefile << 'END-of-splatd/Makefile'
X# New ports collection makefile for:	splatd
X# Date created:		26 September 2005
X# Whom:			Landon Fuller <landonf at opendarwin.org>
X#
X# $FreeBSD: $
X
XPORTNAME=	splatd
XPORTVERSION=	1.0
XCATEGORIES=	net
XMASTER_SITES=	http://dpw.threerings.net/projects/splat/
XDISTNAME=	splat-1.0
X
XMAINTAINER=	splat at dpw.threerings.net
XCOMMENT=	Splat is the Scalable Periodic LDAP Attribute Transmogrifier
X
XBUILD_DEPENDS=	${PYTHON_SITELIBDIR}/ZConfig:${PORTSDIR}/devel/py-zconfig \
X		${PYTHON_SITELIBDIR}/ldap:${PORTSDIR}/net/py-ldap2 \
X		${PYTHON_SITELIBDIR}/twisted:${PORTSDIR}/devel/py-twistedCore
XRUN_DEPENDS=	${BUILD_DEPENDS}
X
XWRKSRC=		${WRKDIR}/${DISTNAME}
X
XUSE_PYTHON=	2.2+
XUSE_PYDISTUTILS=	yes
XUSE_RC_SUBR=	splatd.sh
XSUB_LIST+=	PYTHON_CMD=${PYTHON_CMD}
XMAN5=           splat.conf.5
XMAN8=           splatd.8
X
Xpost-install:
X	${INSTALL_DATA} ${WRKSRC}/splat.conf ${LOCALBASE}/etc/splat.conf.sample
X	${MV} -f ${LOCALBASE}/bin/splatd ${LOCALBASE}/sbin/splatd
X	${INSTALL_MAN} ${WRKSRC}/docs/man/splat.conf.5 ${MANPREFIX}/man/man5
X	${INSTALL_MAN} ${WRKSRC}/docs/man/splatd.8 ${MANPREFIX}/man/man8
X
X.if !defined(NOPORTDOCS)
X	${MKDIR} ${DOCSDIR}/xhtml
X	${INSTALL_MAN} ${WRKSRC}/docs/xhtml/* ${DOCSDIR}/xhtml
X.endif
X
X.include <bsd.port.mk>
END-of-splatd/Makefile
exit

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



More information about the freebsd-ports-bugs mailing list