From owner-freebsd-ports@FreeBSD.ORG Fri Jul 4 22:15:33 2008 Return-Path: Delivered-To: ports@FreeBSD.org Received: from straylight.ringlet.net (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by hub.freebsd.org (Postfix) with SMTP id 083881065670 for ; Fri, 4 Jul 2008 22:15:31 +0000 (UTC) (envelope-from roam@ringlet.net) Received: (qmail 2134 invoked by uid 1000); 4 Jul 2008 22:15:00 -0000 Date: Sat, 5 Jul 2008 01:15:00 +0300 From: Peter Pentchev To: Mikhail Goriachev Message-ID: <20080704221500.GA1118@straylight.m.ringlet.net> References: <20080704132215.36754y85s8y8kisk@www.san.navalradio.cl> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="J/dobhs11T7y2rNN" Content-Disposition: inline In-Reply-To: <20080704132215.36754y85s8y8kisk@www.san.navalradio.cl> User-Agent: Mutt/1.5.18 (2008-05-17) Cc: ports@FreeBSD.org, delphij@FreeBSD.org Subject: Re: FreeBSD Port: openldap-server-2.4.10 X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 Jul 2008 22:15:33 -0000 --J/dobhs11T7y2rNN Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Jul 04, 2008 at 01:22:15PM -0400, Mikhail Goriachev wrote: > Hi, [snip] > I slapped together a workaround. Here's a "patch", maybe the idea of =20 > it will be of some use. Just a minor comment on the patch: > +DBDIR=3D`grep directory /usr/local/etc/openldap/slapd.conf | awk '{ =20 > print $2 }'` This is better written as awk '/directory/ {print $2}' /usr/local/etc/openldap/slapd.conf or possibly (I'm not quite familiar with the slapd.conf syntax) even: awk '$1 =3D=3D "directory" {print $2}' /usr/local/etc/openldap/slapd.conf Then there's another thing - it might be better to make this depend on the actual prefix where the OpenLDAP server is installed (it is not necessarily /usr/local), but that's a whole different can of beer that I'm not familiar with, since I don't even have an OpenLDAP server installed on my system :) G'luck, Peter --=20 Peter Pentchev roam@ringlet.net roam@cnsys.bg roam@FreeBSD.org PGP key: http://people.FreeBSD.org/~roam/roam.key.asc Key fingerprint FDBA FD79 C26F 3C51 C95E DF9E ED18 B68D 1619 4553 This sentence is false. --J/dobhs11T7y2rNN Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (FreeBSD) iEYEARECAAYFAkhuoOMACgkQ7Ri2jRYZRVPIWACeN/iIRAV9pxcgguAYygSQw0ke Nm4An0yQeQ/0uu3oQsB8UwFnyFBhY6yE =4Ydv -----END PGP SIGNATURE----- --J/dobhs11T7y2rNN--