aboutsummaryrefslogtreecommitdiffstats
path: root/net/tinyldap
diff options
context:
space:
mode:
authordinoex <dinoex@FreeBSD.org>2004-03-23 22:28:24 +0800
committerdinoex <dinoex@FreeBSD.org>2004-03-23 22:28:24 +0800
commit76698d28f4b98d0b78dfba82980eeb9e639294f0 (patch)
tree698dcd3fec5ab196b77933a17ab5cfa57346e00f /net/tinyldap
parent19a78e0ff8a10c639e6990c11c89c87cd9fc648d (diff)
downloadfreebsd-ports-gnome-76698d28f4b98d0b78dfba82980eeb9e639294f0.tar.gz
freebsd-ports-gnome-76698d28f4b98d0b78dfba82980eeb9e639294f0.tar.zst
freebsd-ports-gnome-76698d28f4b98d0b78dfba82980eeb9e639294f0.zip
- configure location of database with TINYLDAP_DATA
- extend number of attributes - add to IPV6 category
Diffstat (limited to 'net/tinyldap')
-rw-r--r--net/tinyldap/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/net/tinyldap/Makefile b/net/tinyldap/Makefile
index 61b489d7140e..7f97969b1a71 100644
--- a/net/tinyldap/Makefile
+++ b/net/tinyldap/Makefile
@@ -7,7 +7,8 @@
PORTNAME= tinyldap
PORTVERSION= 0.0.20040226
-CATEGORIES= net
+PORTREVISION= 2
+CATEGORIES= net ipv6
MASTER_SITES= ftp://ftp.dinoex.de/pub/tinyldap/
MAINTAINER= dinoex@FreeBSD.org
@@ -15,10 +16,13 @@ COMMENT= A small LDAP implementation
BUILD_DEPENDS+= ${LOCALBASE}/lib/libowfat.a:${PORTSDIR}/${LIBOWFAT_PORT}
+USE_REINPLACE= yes
USE_BZIP2= yes
USE_GMAKE= yes
WRKSRC= ${WRKDIR}/${PORTNAME}
+CFLAGS+= -DATTRIBS=512
LIBOWFAT_PORT?= devel/libowfat
+TINYLDAP_DATA?= ${PREFIX}/tinyldap/data
SBINFILES= dumpidx idx2ldif addindex parse tinyldap_debug \
tinyldap_standalone
BINFILES= ldapclient ldapclient_str md5password
@@ -26,6 +30,8 @@ DOCFILES= FORMAT GETTING.STARTED README RFCs THANKS TODO
post-patch:
${TOUCH} ${WRKSRC}/alloca.h
+ ${REINPLACE_CMD} -e "s|\"data\"|\"${TINYLDAP_DATA}\"|" \
+ ${WRKSRC}/tinyldap.c
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/tinyldap ${PREFIX}/libexec/