Ingo version H3 (1.2) is a major upgrade in the 1.x release series, including
these enhancements:
* WCAG 1.0 Priority 2/Section 508 accessibility guidelines compliance.
* Timed vacation messages (I will be away from X to Y).
* Major improvements to the procmail driver, including negative matches,
body tests, loop prevention in vacation messages, full character set
support,
* Maildrop driver improvements, including vacation support and full
character set support in the maildrop driver.
* Sieve driver improvements, including numeric spam score tests, sivtest
support, and quota checks before uploading sieve rules.
* Filter rules can be stored in a SQL database.
* Administrators can change other user's filter rules.
* Added Japanese, Russian and Slovak translations.
2008-05-26 14:56:16 +02:00
|
|
|
# $NetBSD: Makefile,v 1.14 2008/05/26 12:56:16 adrianp Exp $
|
2006-04-01 00:06:34 +02:00
|
|
|
|
|
|
|
DISTNAME= ingo-h3-${INGOVER}
|
|
|
|
PKGNAME= ingo-${INGOVER}
|
|
|
|
CATEGORIES= mail www
|
2006-04-29 11:23:19 +02:00
|
|
|
MASTER_SITES= http://ftp.horde.org/pub/ingo/ \
|
|
|
|
ftp://ftp.horde.org/pub/ingo/
|
2006-04-01 00:06:34 +02:00
|
|
|
|
|
|
|
MAINTAINER= adrianp@NetBSD.org
|
|
|
|
HOMEPAGE= http://www.horde.org/ingo/
|
|
|
|
COMMENT= Horde based generic and complete mail filter rule frontend
|
|
|
|
|
Ingo version H3 (1.2) is a major upgrade in the 1.x release series, including
these enhancements:
* WCAG 1.0 Priority 2/Section 508 accessibility guidelines compliance.
* Timed vacation messages (I will be away from X to Y).
* Major improvements to the procmail driver, including negative matches,
body tests, loop prevention in vacation messages, full character set
support,
* Maildrop driver improvements, including vacation support and full
character set support in the maildrop driver.
* Sieve driver improvements, including numeric spam score tests, sivtest
support, and quota checks before uploading sieve rules.
* Filter rules can be stored in a SQL database.
* Administrators can change other user's filter rules.
* Added Japanese, Russian and Slovak translations.
2008-05-26 14:56:16 +02:00
|
|
|
DEPENDS+= horde>=3.2:../../www/horde
|
2006-04-01 00:06:34 +02:00
|
|
|
|
2008-03-04 18:57:17 +01:00
|
|
|
PKG_DESTDIR_SUPPORT= destdir
|
|
|
|
|
2006-04-01 00:06:34 +02:00
|
|
|
.include "../../mk/bsd.prefs.mk"
|
|
|
|
|
2008-05-26 04:13:14 +02:00
|
|
|
USE_TOOLS+= pax
|
|
|
|
|
2006-04-01 00:06:34 +02:00
|
|
|
DOCDIR= ${PREFIX}/share/doc/ingo
|
|
|
|
EGDIR= ${PREFIX}/share/examples/ingo
|
|
|
|
HORDEDIR= ${PREFIX}/share/horde
|
|
|
|
INGODIR= ${HORDEDIR}/ingo
|
Ingo version H3 (1.2) is a major upgrade in the 1.x release series, including
these enhancements:
* WCAG 1.0 Priority 2/Section 508 accessibility guidelines compliance.
* Timed vacation messages (I will be away from X to Y).
* Major improvements to the procmail driver, including negative matches,
body tests, loop prevention in vacation messages, full character set
support,
* Maildrop driver improvements, including vacation support and full
character set support in the maildrop driver.
* Sieve driver improvements, including numeric spam score tests, sivtest
support, and quota checks before uploading sieve rules.
* Filter rules can be stored in a SQL database.
* Administrators can change other user's filter rules.
* Added Japanese, Russian and Slovak translations.
2008-05-26 14:56:16 +02:00
|
|
|
INGOVER= 1.2
|
2006-04-01 00:06:34 +02:00
|
|
|
PAXDIRS= lib locale po scripts templates themes
|
|
|
|
|
|
|
|
MESSAGE_SUBST+= INGODIR=${INGODIR:Q}
|
|
|
|
MESSAGE_SUBST+= PKG_SYSCONFDIR=${PKG_SYSCONFDIR:Q}
|
|
|
|
|
|
|
|
PKG_SYSCONFSUBDIR?= httpd
|
|
|
|
USE_PKGINSTALL= YES
|
|
|
|
|
|
|
|
SUBST_CLASSES+= files
|
|
|
|
SUBST_STAGE.files= post-build
|
|
|
|
SUBST_FILES.files= ingo.conf.dist
|
|
|
|
SUBST_SED.files= -e "s|@INGODIR@|${INGODIR}|g"
|
|
|
|
SUBST_MESSAGE.files= Fixing configuration files.
|
|
|
|
|
Ingo version H3 (1.2) is a major upgrade in the 1.x release series, including
these enhancements:
* WCAG 1.0 Priority 2/Section 508 accessibility guidelines compliance.
* Timed vacation messages (I will be away from X to Y).
* Major improvements to the procmail driver, including negative matches,
body tests, loop prevention in vacation messages, full character set
support,
* Maildrop driver improvements, including vacation support and full
character set support in the maildrop driver.
* Sieve driver improvements, including numeric spam score tests, sivtest
support, and quota checks before uploading sieve rules.
* Filter rules can be stored in a SQL database.
* Administrators can change other user's filter rules.
* Added Japanese, Russian and Slovak translations.
2008-05-26 14:56:16 +02:00
|
|
|
REPLACE_INTERPRETER+= php
|
|
|
|
REPLACE.php.old= .*/bin/php
|
|
|
|
REPLACE.php.new= ${PREFIX}/bin/php
|
|
|
|
REPLACE_FILES.php= scripts/upgrades/convert_prefs_to_sql.php
|
|
|
|
|
2007-07-04 22:54:31 +02:00
|
|
|
PKG_USERS_VARS+= APACHE_USER
|
2007-11-15 23:30:49 +01:00
|
|
|
BUILD_DEFS= APACHE_USER
|
2007-07-04 22:54:31 +02:00
|
|
|
|
2006-04-01 00:06:34 +02:00
|
|
|
CONF_FILES= ${EGDIR}/ingo.conf ${PKG_SYSCONFDIR}/ingo.conf
|
|
|
|
CONF_FILES_PERMS+= ${INGODIR}/config/conf.xml.dist \
|
|
|
|
${INGODIR}/config/conf.xml \
|
|
|
|
${APACHE_USER} ${ROOT_GROUP} 0440
|
|
|
|
CONF_FILES_PERMS+= ${INGODIR}/config/backends.php.dist \
|
|
|
|
${INGODIR}/config/backends.php \
|
|
|
|
${APACHE_USER} ${ROOT_GROUP} 0440
|
|
|
|
CONF_FILES_PERMS+= ${INGODIR}/config/fields.php.dist \
|
|
|
|
${INGODIR}/config/fields.php \
|
|
|
|
${APACHE_USER} ${ROOT_GROUP} 0440
|
|
|
|
CONF_FILES_PERMS+= ${INGODIR}/config/prefs.php.dist \
|
|
|
|
${INGODIR}/config/prefs.php \
|
|
|
|
${APACHE_USER} ${ROOT_GROUP} 0440
|
|
|
|
|
|
|
|
.include "options.mk"
|
|
|
|
|
|
|
|
do-build:
|
2007-11-15 23:30:49 +01:00
|
|
|
${CP} ${FILESDIR}/ingo.conf.dist ${WRKSRC}/ingo.conf.dist
|
|
|
|
${CP} ${WRKSRC}/config/conf.xml ${WRKSRC}/config/conf.xml.dist
|
|
|
|
${FIND} ${WRKSRC} -name .htaccess -print | ${XARGS} ${RM} -f
|
2006-04-01 00:06:34 +02:00
|
|
|
|
|
|
|
do-install:
|
2008-03-04 18:57:17 +01:00
|
|
|
${INSTALL_DATA_DIR} ${DESTDIR}${DOCDIR}
|
|
|
|
${INSTALL_DATA_DIR} ${DESTDIR}${EGDIR}
|
|
|
|
${INSTALL_DATA_DIR} ${DESTDIR}${INGODIR}
|
|
|
|
${INSTALL_DATA_DIR} ${DESTDIR}${INGODIR}/config
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/ingo.conf.dist ${DESTDIR}${EGDIR}/ingo.conf
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/README ${DESTDIR}${DOCDIR}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/docs/INSTALL ${DESTDIR}${DOCDIR}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/docs/RELEASE_NOTES ${DESTDIR}${DOCDIR}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/docs/UPGRADING ${DESTDIR}${DOCDIR}
|
2006-04-01 00:06:34 +02:00
|
|
|
|
|
|
|
. for d in ${PAXDIRS}
|
2008-03-04 18:57:17 +01:00
|
|
|
${INSTALL_DATA_DIR} ${DESTDIR}${INGODIR}/${d:Q}
|
2006-04-01 00:06:34 +02:00
|
|
|
. endfor
|
|
|
|
|
|
|
|
. for d in ${PAXDIRS}
|
2008-05-26 04:13:14 +02:00
|
|
|
cd ${WRKSRC}/${d:Q} && pax -rwpma . ${DESTDIR}${INGODIR}/${d:Q}
|
2006-04-01 00:06:34 +02:00
|
|
|
. endfor
|
|
|
|
|
2008-03-04 18:57:17 +01:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/config/*.dist ${DESTDIR}${INGODIR}/config
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/*.php ${DESTDIR}${INGODIR}
|
|
|
|
${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${DESTDIR}${INGODIR}
|
|
|
|
${FIND} ${DESTDIR}${INGODIR} -type d -print | \
|
|
|
|
${XARGS} ${CHMOD} ${PKGDIRMODE}
|
|
|
|
${FIND} ${DESTDIR}${INGODIR} -type f -print | \
|
|
|
|
${XARGS} ${CHMOD} ${SHAREMODE}
|
|
|
|
${CHOWN} ${APACHE_USER}:${SHAREGRP} ${DESTDIR}${INGODIR}/config
|
|
|
|
${CHMOD} 0750 ${DESTDIR}${INGODIR}/config
|
2006-04-01 00:06:34 +02:00
|
|
|
|
2006-06-02 20:27:54 +02:00
|
|
|
.include "../../lang/php/phpversion.mk"
|
2006-04-01 00:06:34 +02:00
|
|
|
.include "../../mk/bsd.pkg.mk"
|