Magellan Linux

Contents of /branches/magellan-next/extras/openldap/openldap-2.4.23-r1.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 6951 - (show annotations) (download)
Sun Sep 26 16:34:48 2010 UTC (13 years, 7 months ago) by niro
File size: 1070 byte(s)
auto added: ver bump to 2.4.23-r1
1 # $Id: openldap-2.4.19-r2.smage2 4064 2009-11-17 21:43:09Z niro $
2
3 PNAME="openldap"
4 PVER="2.4.23"
5 PBUILD="r1"
6
7 PCATEGORIE="net-nds"
8 STATE="unstable"
9
10 DESCRIPTION="OpenLDAP is an open source implementation of the Lightweight Directory Access Protocol."
11 HOMEPAGE="http://www.openldap.org/"
12
13 DEPEND=">= dev-db/db-5.0
14 >= dev-libs/cyrus-sasl-2.1
15 >= dev-libs/openssl-1.0.0
16 >= sys-apps/tcp-wrappers-7"
17
18 SRCFILE="${PNAME}-${PVER}.tgz"
19 SRCDIR="${BUILDDIR}/${PNAME}-${PVER}"
20
21 sminclude mbuild
22
23 SRC_URI=(
24 http://www.openldap.org/software/download/OpenLDAP/openldap-release/${SRCFILE}
25 mirror://${PNAME}/${SRCFILE}
26 )
27
28 UP2DATE="updatecmd http://www.openldap.org/software/download/ | grep 'currently avail' | sed 's/.*OpenLDAP-\(.*\)\ is.*/\1/'"
29
30 src_compile()
31 {
32 cd ${SRCDIR}
33
34 # fixes a >=glibc-2.8 bug
35 # getpeereid.c: In function 'lutil_getpeereid':
36 # getpeereid.c:65: error: storage size of 'peercred' isn't known
37 export CFLAGS="${CFLAGS} -D_GNU_SOURCE"
38 export CXXFLAGS="${CXXFLAGS} -D_GNU_SOURCE"
39
40 mconfigure --libexecdir=/usr/$(mlibdir)/${PNAME} || die
41 mmake || die
42 }