diff options
author | jeh <jeh@FreeBSD.org> | 2003-11-06 11:24:48 +0000 |
---|---|---|
committer | jeh <jeh@FreeBSD.org> | 2003-11-06 11:24:48 +0000 |
commit | 20312ec14f1b454f076b725c64dc5936292630c3 (patch) | |
tree | 0aa96286aa656cbda4de2ce36bd02946e63c7829 /deskutils | |
parent | 847514ae4bdc137b18b4d4f1e7f73b974c98c4d6 (diff) | |
download | FreeBSD-ports-20312ec14f1b454f076b725c64dc5936292630c3.zip FreeBSD-ports-20312ec14f1b454f076b725c64dc5936292630c3.tar.gz |
Problem reported by Lewis Thompson: if you run Apache 2, htpasswd
is installed in $LOCALBASE/sbin, not $LOCALBASE/bin.
Since I'm there, remove IS_INTERACTIVE (by default, it will
depends on lang/php4-horde, build with MCAL support).
BUMPED PORTREVISION
PR: 58091
Submitted by: MAINTAINER
Diffstat (limited to 'deskutils')
-rw-r--r-- | deskutils/horde-kronolith/Makefile | 12 | ||||
-rw-r--r-- | deskutils/horde4-kronolith/Makefile | 12 | ||||
-rw-r--r-- | deskutils/kronolith/Makefile | 12 |
3 files changed, 27 insertions, 9 deletions
diff --git a/deskutils/horde-kronolith/Makefile b/deskutils/horde-kronolith/Makefile index 9143b50..762ade3 100644 --- a/deskutils/horde-kronolith/Makefile +++ b/deskutils/horde-kronolith/Makefile @@ -7,6 +7,7 @@ PORTNAME= kronolith PORTVERSION= 1.1 +PORTREVISION= 1 CATEGORIES= deskutils www MASTER_SITES= ftp://ftp.horde.org/pub/kronolith/ \ ftp://ftp.au.horde.org/pub/horde/kronolith/ \ @@ -22,10 +23,15 @@ RUN_DEPENDS= ${LOCALBASE}/www/horde/imp/index.php:${PORTSDIR}/mail/imp3 WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} -IS_INTERACTIVE= 'need to build mod_php4 with MCAL option set.' NO_BUILD= yes USE_REINPLACE= yes +.if defined(WITH_APACHE2) +HTPASSWD= ${LOCALBASE}/sbin/htpasswd +.else +HTPASSWD= ${LOCALBASE}/bin/htpasswd +.endif + REINPLACE_ARGS= -i.beforeKronolith DOCS= COPYING README docs/CHANGES docs/CREDITS docs/INSTALL CONFFILE= conf.php html.php keywords.php menu.php prefs.php @@ -92,13 +98,13 @@ post-install: ${ECHO_MSG} "===> Creating ${LOCALBASE}/etc/mpasswd" ; \ ${ECHO} -n "Please enter a password for www's calendar: " ; \ (read PASSCAL; \ - ${LOCALBASE}/bin/htpasswd -bc ${LOCALBASE}/etc/mpasswd www $${PASSCAL}; \ + ${HTPASSWD} -bc ${LOCALBASE}/etc/mpasswd www $${PASSCAL}; \ ${REINPLACE_CMD} -e "s:%%PASSCAL%%:$${PASSCAL}:" ${CONFDIR}/conf.php) \ elif ! ${GREP} -q -e "^www" ${LOCALBASE}/etc/mpasswd ; then \ ${ECHO_MSG} "===> Adding www into ${LOCALBASE}/etc/mpasswd" ; \ ${ECHO} -n "Please enter a password for www's calendar: " ; \ (read PASSCAL; \ - ${LOCALBASE}/bin/htpasswd -b ${LOCALBASE}/etc/mpasswd www $${PASSCAL} ; \ + ${HTPASSWD} -b ${LOCALBASE}/etc/mpasswd www $${PASSCAL} ; \ ${REINPLACE_CMD} -e "s:%%PASSCAL%%:$${PASSCAL}:" ${CONFDIR}/conf.php) \ else \ ${REINPLACE_CMD} -e "s:%%PASSCAL%%:www_cal_password:" ${CONFDIR}/conf.php ; \ diff --git a/deskutils/horde4-kronolith/Makefile b/deskutils/horde4-kronolith/Makefile index 9143b50..762ade3 100644 --- a/deskutils/horde4-kronolith/Makefile +++ b/deskutils/horde4-kronolith/Makefile @@ -7,6 +7,7 @@ PORTNAME= kronolith PORTVERSION= 1.1 +PORTREVISION= 1 CATEGORIES= deskutils www MASTER_SITES= ftp://ftp.horde.org/pub/kronolith/ \ ftp://ftp.au.horde.org/pub/horde/kronolith/ \ @@ -22,10 +23,15 @@ RUN_DEPENDS= ${LOCALBASE}/www/horde/imp/index.php:${PORTSDIR}/mail/imp3 WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} -IS_INTERACTIVE= 'need to build mod_php4 with MCAL option set.' NO_BUILD= yes USE_REINPLACE= yes +.if defined(WITH_APACHE2) +HTPASSWD= ${LOCALBASE}/sbin/htpasswd +.else +HTPASSWD= ${LOCALBASE}/bin/htpasswd +.endif + REINPLACE_ARGS= -i.beforeKronolith DOCS= COPYING README docs/CHANGES docs/CREDITS docs/INSTALL CONFFILE= conf.php html.php keywords.php menu.php prefs.php @@ -92,13 +98,13 @@ post-install: ${ECHO_MSG} "===> Creating ${LOCALBASE}/etc/mpasswd" ; \ ${ECHO} -n "Please enter a password for www's calendar: " ; \ (read PASSCAL; \ - ${LOCALBASE}/bin/htpasswd -bc ${LOCALBASE}/etc/mpasswd www $${PASSCAL}; \ + ${HTPASSWD} -bc ${LOCALBASE}/etc/mpasswd www $${PASSCAL}; \ ${REINPLACE_CMD} -e "s:%%PASSCAL%%:$${PASSCAL}:" ${CONFDIR}/conf.php) \ elif ! ${GREP} -q -e "^www" ${LOCALBASE}/etc/mpasswd ; then \ ${ECHO_MSG} "===> Adding www into ${LOCALBASE}/etc/mpasswd" ; \ ${ECHO} -n "Please enter a password for www's calendar: " ; \ (read PASSCAL; \ - ${LOCALBASE}/bin/htpasswd -b ${LOCALBASE}/etc/mpasswd www $${PASSCAL} ; \ + ${HTPASSWD} -b ${LOCALBASE}/etc/mpasswd www $${PASSCAL} ; \ ${REINPLACE_CMD} -e "s:%%PASSCAL%%:$${PASSCAL}:" ${CONFDIR}/conf.php) \ else \ ${REINPLACE_CMD} -e "s:%%PASSCAL%%:www_cal_password:" ${CONFDIR}/conf.php ; \ diff --git a/deskutils/kronolith/Makefile b/deskutils/kronolith/Makefile index 9143b50..762ade3 100644 --- a/deskutils/kronolith/Makefile +++ b/deskutils/kronolith/Makefile @@ -7,6 +7,7 @@ PORTNAME= kronolith PORTVERSION= 1.1 +PORTREVISION= 1 CATEGORIES= deskutils www MASTER_SITES= ftp://ftp.horde.org/pub/kronolith/ \ ftp://ftp.au.horde.org/pub/horde/kronolith/ \ @@ -22,10 +23,15 @@ RUN_DEPENDS= ${LOCALBASE}/www/horde/imp/index.php:${PORTSDIR}/mail/imp3 WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} -IS_INTERACTIVE= 'need to build mod_php4 with MCAL option set.' NO_BUILD= yes USE_REINPLACE= yes +.if defined(WITH_APACHE2) +HTPASSWD= ${LOCALBASE}/sbin/htpasswd +.else +HTPASSWD= ${LOCALBASE}/bin/htpasswd +.endif + REINPLACE_ARGS= -i.beforeKronolith DOCS= COPYING README docs/CHANGES docs/CREDITS docs/INSTALL CONFFILE= conf.php html.php keywords.php menu.php prefs.php @@ -92,13 +98,13 @@ post-install: ${ECHO_MSG} "===> Creating ${LOCALBASE}/etc/mpasswd" ; \ ${ECHO} -n "Please enter a password for www's calendar: " ; \ (read PASSCAL; \ - ${LOCALBASE}/bin/htpasswd -bc ${LOCALBASE}/etc/mpasswd www $${PASSCAL}; \ + ${HTPASSWD} -bc ${LOCALBASE}/etc/mpasswd www $${PASSCAL}; \ ${REINPLACE_CMD} -e "s:%%PASSCAL%%:$${PASSCAL}:" ${CONFDIR}/conf.php) \ elif ! ${GREP} -q -e "^www" ${LOCALBASE}/etc/mpasswd ; then \ ${ECHO_MSG} "===> Adding www into ${LOCALBASE}/etc/mpasswd" ; \ ${ECHO} -n "Please enter a password for www's calendar: " ; \ (read PASSCAL; \ - ${LOCALBASE}/bin/htpasswd -b ${LOCALBASE}/etc/mpasswd www $${PASSCAL} ; \ + ${HTPASSWD} -b ${LOCALBASE}/etc/mpasswd www $${PASSCAL} ; \ ${REINPLACE_CMD} -e "s:%%PASSCAL%%:$${PASSCAL}:" ${CONFDIR}/conf.php) \ else \ ${REINPLACE_CMD} -e "s:%%PASSCAL%%:www_cal_password:" ${CONFDIR}/conf.php ; \ |