Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 25 Apr 2003 02:20:59 +0100
From:      lewiz <purple@lewiz.info>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/51402: New port for LDAP Directory Administrator
Message-ID:  <1051233659.243982.63598.nullmailer@walrus.lewiz.org>
Resent-Message-ID: <200304250130.h3P1UBWF088250@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         51402
>Category:       ports
>Synopsis:       New port for LDAP Directory Administrator
>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 Apr 24 18:30:10 PDT 2003
>Closed-Date:
>Last-Modified:
>Originator:     lewiz
>Release:        FreeBSD 5.0-RELEASE-p7 i386
>Organization:
>Environment:
System: FreeBSD walrus.lewiz.org 5.0-RELEASE-p7 FreeBSD 5.0-RELEASE-p7 #5: Fri Apr 18 17:56:30 BST 2003 root@walrus.lewiz.org:/usr/src/sys/i386/compile/WALRUS i386
Requires gnome and LDAP to run.
>Description:
Port for LDAP Directory Administrator -- a GTK+/GNOME(1) frontend for managing user accounts on an LDAP server using the poisx schema.
>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:
#
#	diradmin
#	diradmin/distinfo
#	diradmin/Makefile
#	diradmin/pkg-descr
#	diradmin/files
#	diradmin/files/patch-aa
#	diradmin/pkg-plist
#
echo c - diradmin
mkdir -p diradmin > /dev/null 2>&1
echo x - diradmin/distinfo
sed 's/^X//' >diradmin/distinfo << 'END-of-diradmin/distinfo'
XMD5 (directory_administrator-1.3.5.tar.gz) = a4796ea71d62b39caefb3bec999899e0
END-of-diradmin/distinfo
echo x - diradmin/Makefile
sed 's/^X//' >diradmin/Makefile << 'END-of-diradmin/Makefile'
X# New ports collection makefile for:	diradmin
X# Date created:		24 April 2003
X# Whom:			lewiz <purple@lewiz.info>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	diradmin
XPORTVERSION=	1.3.5
XCATEGORIES=	net
XMASTER_SITES=	http://diradmin.open-it.org/
XDISTNAME=	directory_administrator-${PORTVERSION}
X
XMAINTAINER=	purple@lewiz.info
XCOMMENT=	A smart LDAP directory management tool
X
XLIB_DEPENDS+=	ldap.2:${PORTSDIR}/net/openldap20
X#CPPFLAGS+=	-I/usr/src/lib/libcrypt
X
XGNU_CONFIGURE=	yes
XUSE_GMAKE=	yes
XUSE_X_PREFIX=	yes
XUSE_GNOME=	gnomelibs
XCFLAGS+=	-I/usr/src/lib/libcrypt
X
XDOCS=		AUTHORS COPYING CREDITS ChangeLog INSTALL NEWS \
X       		README TODO
X
Xpost-install:
X.if !defined(NOPORTDOCS)
X	@${MKDIR} ${DOCSDIR}
X.for file in ${DOCS}
X	${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR}
X.endfor
X.endif
X
X.include <bsd.port.mk>
END-of-diradmin/Makefile
echo x - diradmin/pkg-descr
sed 's/^X//' >diradmin/pkg-descr << 'END-of-diradmin/pkg-descr'
XDirectory administrator is a smart LDAP directory management tool. It
Xcan be used to manage UNIX users and groups in a single sign-on setup,
Xcorporate address book , information, host-based access control and
Xadvanced mail routing. It's extremely easy to install and use, yet
Xpowerful at the same time. Along with popular software, it's the
Xpreferred solution for single sign-on maintenance.
X
XWWW: http://diradmin.open-it.org/
X
Xlewiz <purple@lewiz.info>
END-of-diradmin/pkg-descr
echo c - diradmin/files
mkdir -p diradmin/files > /dev/null 2>&1
echo x - diradmin/files/patch-aa
sed 's/^X//' >diradmin/files/patch-aa << 'END-of-diradmin/files/patch-aa'
Xdiff -ruN directory_administrator-1.3.5/aclocal.m4 directory_administrator-1.3.5.new/aclocal.m4
X--- aclocal.m4.orig	Wed Feb  5 20:15:34 2003
X+++ aclocal.m4	Fri Apr 25 01:21:57 2003
X@@ -1589,6 +1589,6 @@
X dnl LDAP_CHECKS
X AC_DEFUN([LDAP_CHECKS],
X [
X-        LDFLAGS="$LDFLAGS -llber -lldap -lresolv -lcrypt"
X+        LDFLAGS="$LDFLAGS -llber -lldap -lcrypt"
X ])
X 
Xdiff -ruN directory_administrator-1.3.5/configure directory_administrator-1.3.5.new/configure
X--- configure.orig	Wed Feb  5 20:15:40 2003
X+++ configure	Fri Apr 25 01:22:07 2003
X@@ -4951,7 +4951,7 @@
X 
X 
X 
X-        LDFLAGS="$LDFLAGS -llber -lldap -lresolv -lcrypt"
X+        LDFLAGS="$LDFLAGS -llber -lldap -lcrypt"
X 
X 
X PACKAGE_PIXMAPS_DIR="/share/pixmaps/${PACKAGE}"
Xdiff -ruN directory_administrator-1.3.5/macros/ldap.m4 directory_administrator-1.3.5.new/macros/ldap.m4
X--- macros/ldap.m4.orig	Fri Dec 20 15:39:42 2002
X+++ macros/ldap.m4	Fri Apr 25 01:22:21 2003
X@@ -1,5 +1,5 @@
X dnl LDAP_CHECKS
X AC_DEFUN([LDAP_CHECKS],
X [
X-        LDFLAGS="$LDFLAGS -llber -lldap -lresolv -lcrypt"
X+        LDFLAGS="$LDFLAGS -llber -lldap -lcrypt"
X ])
END-of-diradmin/files/patch-aa
echo x - diradmin/pkg-plist
sed 's/^X//' >diradmin/pkg-plist << 'END-of-diradmin/pkg-plist'
Xbin/directory_administrator
Xshare/applications/dragonfear-directory_administrator.desktop
Xshare/pixmaps/directory_administrator/briefcase.png
Xshare/pixmaps/directory_administrator/byruddo.png
Xshare/pixmaps/directory_administrator/cellphone.png
Xshare/pixmaps/directory_administrator/diradminlogo.ico
Xshare/pixmaps/directory_administrator/diradminlogo.png
Xshare/pixmaps/directory_administrator/diradminlogo.xcf
Xshare/pixmaps/directory_administrator/gnome-computer.png
Xshare/pixmaps/directory_administrator/gnome-gnomecard.png
Xshare/pixmaps/directory_administrator/gnome-who.png
Xshare/pixmaps/directory_administrator/group-icon.xpm
Xshare/pixmaps/directory_administrator/house.png
Xshare/pixmaps/directory_administrator/ico-mail.png
Xshare/pixmaps/directory_administrator/new-16.xpm
Xshare/pixmaps/directory_administrator/new.xpm
Xshare/pixmaps/directory_administrator/newgroup-16.xpm
Xshare/pixmaps/directory_administrator/newgroup.xpm
Xshare/pixmaps/directory_administrator/old-group-icon.xpm
Xshare/pixmaps/directory_administrator/old-user-icon.xpm
Xshare/pixmaps/directory_administrator/user-icon.xpm
X%%PORTDOCS%%share/doc/diradmin/AUTHORS
X%%PORTDOCS%%share/doc/diradmin/COPYING
X%%PORTDOCS%%share/doc/diradmin/CREDITS
X%%PORTDOCS%%share/doc/diradmin/ChangeLog
X%%PORTDOCS%%share/doc/diradmin/INSTALL
X%%PORTDOCS%%share/doc/diradmin/NEWS
X%%PORTDOCS%%share/doc/diradmin/README
X%%PORTDOCS%%share/doc/diradmin/TODO
X%%PORTDOCS%%@dirrm share/doc/diradmin
X@dirrm share/pixmaps/directory_administrator
X@dirrm share/pixmaps
X@dirrm share/applications
END-of-diradmin/pkg-plist
exit
>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1051233659.243982.63598.nullmailer>