freebsd-ports/net/ldap2dns/files/patch-ldap2tinydns-conf
Pav Lucistnik eac7e79a90 - Update to 0.3.6
- Take maintainership

PR:		ports/91790
Submitted by:	Gerrit Beine <gerrit.beine@gmx.de>
2006-01-14 17:17:58 +00:00

12 lines
460 B
Text

--- ldap2tinydns-conf.orig Fri Dec 16 20:49:47 2005
+++ ldap2tinydns-conf Sat Jan 14 12:19:18 2006
@@ -22,7 +22,8 @@
cat << EOF_run > $LDAP2DNSDIR/run
#!/bin/sh
exec 2>&1
-exec setuidgid $LDAP2DNSUSER envdir ./env softlimit -d250000 /usr/bin/ldap2dns -e "cd \$TINYDNSDIR && tinydns-data"
+exec envdir ./env sh -c '
+ setuidgid $LDAP2DNSUSER softlimit -d250000 %%PREFIX%%/bin/ldap2dns -e "cd \$TINYDNSDIR && tinydns-data"'
EOF_run
chmod +t $LDAP2DNSDIR