diff options
author | dinoex <dinoex@FreeBSD.org> | 2003-03-23 12:53:39 +0800 |
---|---|---|
committer | dinoex <dinoex@FreeBSD.org> | 2003-03-23 12:53:39 +0800 |
commit | c1af577b0c46aa2311035aeb8619707703b31f32 (patch) | |
tree | 9c346e26a973c119dd56d54652218abc8b9b8d4a /dns/powerdns/files | |
parent | bcbcfa62ae7a97c42d1d9bb7880348d6971c4bbc (diff) | |
download | freebsd-ports-gnome-c1af577b0c46aa2311035aeb8619707703b31f32.tar.gz freebsd-ports-gnome-c1af577b0c46aa2311035aeb8619707703b31f32.tar.zst freebsd-ports-gnome-c1af577b0c46aa2311035aeb8619707703b31f32.zip |
- Update to 2.9.6
- make ports work as a master port
- add support for LDAP, submitted by richard@unixguru.nl
- add build for recursor
Diffstat (limited to 'dns/powerdns/files')
-rw-r--r-- | dns/powerdns/files/configure.powerdns | 14 | ||||
-rw-r--r-- | dns/powerdns/files/patch-modules_ldapbackend_powerldap.cc | 12 | ||||
-rw-r--r-- | dns/powerdns/files/patch-modules_ldapbackend_powerldap.hh | 12 |
3 files changed, 33 insertions, 5 deletions
diff --git a/dns/powerdns/files/configure.powerdns b/dns/powerdns/files/configure.powerdns index e41c817d67e2..02545a440be8 100644 --- a/dns/powerdns/files/configure.powerdns +++ b/dns/powerdns/files/configure.powerdns @@ -2,7 +2,7 @@ # # $FreeBSD$ # -if [ -f ${WRKDIRPREFIX}${CURDIR}/Makefile.inc ]; then +if [ -f ${WRKDIRPREFIX}${CURDIR2}/Makefile.inc ]; then exit fi @@ -11,9 +11,10 @@ if [ "${POWERDNS_OPTIONS}" ]; then else dialog --title "configuration options" --clear \ --checklist "\n\ -Please select desired options:" -1 -1 2 \ +Please select desired options:" -1 -1 3 \ PostgreSQL "PostgreSQL driver" ON \ MySQL "MySQL driver" OFF \ +OpenLDAP "OpenLDAP backend" OFF \ 2> /tmp/checklist.tmp.$$ retval=$? @@ -33,8 +34,8 @@ MySQL "MySQL driver" OFF \ esac fi -${MKDIR} ${WRKDIRPREFIX}${CURDIR} -exec > ${WRKDIRPREFIX}${CURDIR}/Makefile.inc +${MKDIR} ${WRKDIRPREFIX}${CURDIR2} +exec > ${WRKDIRPREFIX}${CURDIR2}/Makefile.inc while [ "$1" ]; do case $1 in @@ -44,11 +45,14 @@ while [ "$1" ]; do \"MySQL\") echo WITH_MYSQL_DRIVER=YES ;; + \"OpenLDAP\") + echo WITH_LDAP=YES + ;; \"nothing\"|true) ;; *) echo "Invalid option(s): $*" > /dev/stderr - rm -f ${WRKDIRPREFIX}${CURDIR}/Makefile.inc + rm -f ${WRKDIRPREFIX}${CURDIR2}/Makefile.inc exit 1 ;; esac diff --git a/dns/powerdns/files/patch-modules_ldapbackend_powerldap.cc b/dns/powerdns/files/patch-modules_ldapbackend_powerldap.cc new file mode 100644 index 000000000000..4cc027918def --- /dev/null +++ b/dns/powerdns/files/patch-modules_ldapbackend_powerldap.cc @@ -0,0 +1,12 @@ +*** modules/ldapbackend/powerldap.cc.orig Thu Mar 13 20:49:23 2003 +--- modules/ldapbackend/powerldap.cc Thu Mar 13 20:49:46 2003 +*************** +*** 3,9 **** + + #include <map> + #include <vector> +- #include <crypt.h> + #include <exception> + #include <stdexcept> + #include <string> +--- 3,8 ---- diff --git a/dns/powerdns/files/patch-modules_ldapbackend_powerldap.hh b/dns/powerdns/files/patch-modules_ldapbackend_powerldap.hh new file mode 100644 index 000000000000..b73538245123 --- /dev/null +++ b/dns/powerdns/files/patch-modules_ldapbackend_powerldap.hh @@ -0,0 +1,12 @@ +*** modules/ldapbackend/powerldap.hh.orig Thu Mar 13 20:49:33 2003 +--- modules/ldapbackend/powerldap.hh Thu Mar 13 20:49:50 2003 +*************** +*** 2,8 **** + #define POWERLDAP_HH + #include <map> + #include <vector> +- #include <crypt.h> + #include <exception> + #include <stdexcept> + #include <string> +--- 2,7 ---- |