summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLim Swee Tat <st_lim@gentoo.org>2005-01-05 01:17:57 +0000
committerLim Swee Tat <st_lim@gentoo.org>2005-01-05 01:17:57 +0000
commit999435709ee4dd7766192b5d3b535b10a80cf836 (patch)
tree9637d6828eeb10c7dbcace4e396c472c5832e6ee /www-apps
parentVersion bump and removed older stuff (Manifest recommit) (diff)
downloadgentoo-2-999435709ee4dd7766192b5d3b535b10a80cf836.tar.gz
gentoo-2-999435709ee4dd7766192b5d3b535b10a80cf836.tar.bz2
gentoo-2-999435709ee4dd7766192b5d3b535b10a80cf836.zip
Version bump and removed all the older stuff
Diffstat (limited to 'www-apps')
-rw-r--r--www-apps/dspam-web/dspam-web-3.0.0.ebuild93
-rw-r--r--www-apps/dspam-web/dspam-web-3.2.0.ebuild169
-rw-r--r--www-apps/dspam-web/dspam-web-3.2.1.ebuild169
-rw-r--r--www-apps/dspam-web/dspam-web-3.2.2.ebuild169
-rw-r--r--www-apps/dspam-web/dspam-web-3.2.3.ebuild169
-rw-r--r--www-apps/dspam-web/files/digest-dspam-web-3.0.01
-rw-r--r--www-apps/dspam-web/files/digest-dspam-web-3.2.01
-rw-r--r--www-apps/dspam-web/files/digest-dspam-web-3.2.11
-rw-r--r--www-apps/dspam-web/files/digest-dspam-web-3.2.21
-rw-r--r--www-apps/dspam-web/files/digest-dspam-web-3.2.31
10 files changed, 0 insertions, 774 deletions
diff --git a/www-apps/dspam-web/dspam-web-3.0.0.ebuild b/www-apps/dspam-web/dspam-web-3.0.0.ebuild
deleted file mode 100644
index dbfc9d275941..000000000000
--- a/www-apps/dspam-web/dspam-web-3.0.0.ebuild
+++ /dev/null
@@ -1,93 +0,0 @@
-# Copyright 1999-2005 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/www-apps/dspam-web/dspam-web-3.0.0.ebuild,v 1.2 2005/01/05 01:11:53 st_lim Exp $
-
-inherit webapp
-
-MY_PN=${PN/-web/}
-MY_P=${MY_PN}-${PV}
-
-DESCRIPTION="Web based administration and user controls for dspam"
-SRC_URI="http://dspam.nuclearelephant.com/sources/${MY_P}.tar.gz"
-
-HOMEPAGE="http://dspam.nuclearelephant.com/"
-LICENSE="GPL-2"
-DEPEND=">=mail-filter/dspam-3.1.0_beta11
- >=net-www/apache-1.3
- >=dev-lang/perl-5.8.2
- >=dev-perl/GD-2.0
- dev-perl/GD-Graph3d
- dev-perl/GDGraph
- dev-perl/GDTextUtil"
-KEYWORDS="~x86"
-S=${WORKDIR}/${MY_P}/cgi
-
-src_compile () {
- einfo "Nothing to compile"
-}
-
-src_install () {
- webapp_src_preinst
-
- sed -e 's,/var/dspam,/etc/mail/dspam,' \
- -e 's,/usr/local,/usr,' \
- -i ${S}/cgi/admin.cgi
- sed -e 's,/var/dspam,/etc/mail/dspam,' \
- -e 's,/usr/local,/usr,' \
- -i ${S}/cgi/dspam.cgi
-
- insinto ${MY_HTDOCSDIR}
- insopts -m644 -o apache -g apache
-
- doins *.css
- doins *.gif
- doins rgb.txt
- doins default.prefs
- doins admins
-
- newins ${FILESDIR}/htaccess .htaccess
- newins ${FILESDIR}/htpasswd .htpasswd
-
- insopts -m755 -o apache -g apache
- doins *.cgi
-
- for CGI_SCRIPT in admin.cgi admingraph.cgi dspam.cgi graph.cgi; do
- webapp_runbycgibin perl ${MY_HTDOCSDIR}/${CGI_SCRIPT}
- done
-
- dodir ${MY_HTDOCSDIR}/templates
-
- insinto ${MY_HTDOCSDIR}/templates
- doins templates/*.html
-
- #All files must be owned by server
- cd ${D}${MY_HTDOCSDIR}
- for x in `find . -type f -print` ; do
- webapp_serverowned ${MY_HTDOCSDIR}/$x
- done
-
- webapp_src_install
-}
-
-pkg_config () {
- # add apache to the dspam group so the CGIs can access the data
-
- local groups
- groups=`groups apache`
- groups=`echo ${groups} | sed -e 's/ /,/g'`
- usermod -G "${groups},dspam" apache
-}
-
-pkg_postinst () {
- einfo "The CGIs need to be executed as group dspam in order to write"
- einfo "to the dspam data directory. You will need to configure apache"
- einfo "manually to do this. Another option is to add the user apache"
- einfo "to the dspam group. You can do this automatically by running:"
- echo
- einfo "ebuild /var/db/pkg/${CATEGORY}/${PF}/${PF}.ebuild config"
- echo
- einfo "This app requires basic auth in order to operate properly."
- einfo "You will need to add dspam users to the .htpasswd file or"
- einfo "configure a different authentication mechanism for the user"
- einfo "accounts."
-}
diff --git a/www-apps/dspam-web/dspam-web-3.2.0.ebuild b/www-apps/dspam-web/dspam-web-3.2.0.ebuild
deleted file mode 100644
index 25d6f4b37a27..000000000000
--- a/www-apps/dspam-web/dspam-web-3.2.0.ebuild
+++ /dev/null
@@ -1,169 +0,0 @@
-# Copyright 1999-2005 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/www-apps/dspam-web/dspam-web-3.2.0.ebuild,v 1.2 2005/01/05 01:11:53 st_lim Exp $
-
-inherit webapp eutils
-
-MY_PN=${PN/-web/}
-MY_PV=${PV/_rc3/.pr1}
-MY_P=${MY_PN}-${MY_PV}
-
-DESCRIPTION="Web based administration and user controls for dspam"
-SRC_URI="http://dspam.nuclearelephant.com/sources/${MY_P}.tar.gz"
-
-HOMEPAGE="http://dspam.nuclearelephant.com/"
-LICENSE="GPL-2"
-DEPEND=">=mail-filter/dspam-3.2_rc3
- >=net-www/apache-1.3
- >=dev-lang/perl-5.8.2
- >=dev-perl/GD-2.0
- dev-perl/GD-Graph3d
- dev-perl/GDGraph
- dev-perl/GDTextUtil"
-KEYWORDS="~x86 ~ppc"
-S=${WORKDIR}/${MY_P}
-HOMEDIR=/etc/mail/dspam
-
-src_compile() {
- local myconf
-
- # these are the default settings
- myconf="${myconf} --with-signature-life=14"
- myconf="${myconf} --enable-broken-return-codes"
- myconf="${myconf} --enable-experimental"
- myconf="${myconf} --enable-long-username"
- myconf="${myconf} --enable-robinson"
- #myconf="${myconf} --enable-chi-square"
- myconf="${myconf} --enable-robinson-pvalues"
- #myconf="${myconf} --enable-broken-mta"
- myconf="${myconf} --enable-large-scale"
- #myconf="${myconf} --enable-domain-scale"
-
- # ${HOMEDIR}/data is a symlink to ${DATADIR}
- myconf="${myconf} --with-dspam-mode=4755"
- myconf="${myconf} --with-dspam-owner=dspam"
- myconf="${myconf} --with-dspam-group=dspam"
- myconf="${myconf} --enable-homedir --with-dspam-home=${HOMEDIR} --sysconfdir=${HOMEDIR}"
- myconf="${myconf} --with-logdir=/var/log/dspam"
-
- # enables support for debugging (touch /etc/dspam/.debug to turn on)
- # optional: even MORE debugging output, use with extreme caution!
- use debug && myconf="${myconf} --enable-debug --enable-verbose-debug"
-
- # select storage driver
- if use mysql || use mysql41; then
- myconf="${myconf} --with-storage-driver=mysql_drv"
- myconf="${myconf} --with-mysql-includes=/usr/include/mysql"
- myconf="${myconf} --with-mysql-libraries=/usr/lib/mysql"
- myconf="${myconf} --with-client-compression"
- myconf="${myconf} --enable-virtual-users"
- myconf="${myconf} --enable-preferences-extension"
-
- # an experimental feature available with MySQL and PgSQL backend
- if use neural ; then
- myconf="${myconf} --enable-neural-networking"
- fi
- elif use postgres ; then
- myconf="${myconf} --with-storage-driver=pgsql_drv"
- myconf="${myconf} --with-pgsql-includes=/usr/include/postgresql"
- myconf="${myconf} --with-pgsql-libraries=/usr/lib/postgresql"
- myconf="${myconf} --enable-virtual-users"
- myconf="${myconf} --enable-preferences-extension"
-
- # an experimental feature available with MySQL and PgSQL backend
- if use neural ; then
- myconf="${myconf} --enable-neural-networking"
- fi
- elif use oci8 ; then
- myconf="${myconf} --with-storage-driver=ora_drv"
- myconf="${myconf} --with-oracle-home=${ORACLE_HOME}"
- myconf="${myconf} --enable-virtual-users"
- myconf="${myconf} --enable-preferences-extension"
-
- # I am in no way a Oracle specialist. If someone knows
- # how to query the version of Oracle, then let me know.
- if (expr ${ORACLE_HOME/*\/} : 10 1>/dev/null 2>&1)
- then
- --with-oracle-version=MAJOR
- myconf="${myconf} --with-oracle-version=10"
- fi
- elif use sqlite ; then
- myconf="${myconf} --with-storage-driver=sqlite_drv"
- myconf="${myconf} --enable-virtual-users"
- myconf="${myconf} --enable-preferences-extension"
-
- else
- myconf="${myconf} --with-storage-driver=libdb4_drv"
- fi
-
- econf ${myconf} || die
- cd ${S}/cgi
- make
-}
-
-src_install () {
- cd ${S}/cgi
- webapp_src_preinst
-
- sed -e 's,/var/dspam,/etc/mail/dspam,' \
- -e 's,/usr/local,/usr,' \
- -i admin.cgi
- sed -e 's,/var/dspam,/etc/mail/dspam,' \
- -e 's,/usr/local,/usr,' \
- -i dspam.cgi
-
- insinto ${MY_HTDOCSDIR}
- insopts -m644 -o apache -g apache
- doins *.css
- doins *.gif
- doins rgb.txt
- doins default.prefs
- doins admins
- doins configure.pl
-
- newins ${FILESDIR}/htaccess .htaccess
- newins ${FILESDIR}/htpasswd .htpasswd
-
- insopts -m755 -o apache -g apache
- doins *.cgi
-
- for CGI_SCRIPT in admin.cgi admingraph.cgi dspam.cgi graph.cgi; do
- webapp_runbycgibin perl ${MY_HTDOCSDIR}/${CGI_SCRIPT}
- done
-
- dodir ${MY_HTDOCSDIR}/templates
-
- insinto ${MY_HTDOCSDIR}/templates
- doins templates/*.html
-
- #All files must be owned by server
- cd ${D}${MY_HTDOCSDIR}
- for x in `find . -type f -print` ; do
- webapp_serverowned ${MY_HTDOCSDIR}/$x
- done
-
- webapp_src_install
-}
-
-pkg_config () {
- # add apache to the dspam group so the CGIs can access the data
-
- local groups
- groups=`groups apache`
- groups=`echo ${groups} | sed -e 's/ /,/g'`
- usermod -G "${groups},dspam" apache
-}
-
-pkg_postinst () {
- einfo "The CGIs need to be executed as group dspam in order to write"
- einfo "to the dspam data directory. You will need to configure apache"
- einfo "manually to do this. Another option is to add the user apache"
- einfo "to the dspam group. You can do this automatically by running:"
- echo
- einfo "ebuild /var/db/pkg/${CATEGORY}/${PF}/${PF}.ebuild config"
- echo
- einfo "This app requires basic auth in order to operate properly."
- einfo "You will need to add dspam users to the .htpasswd file or"
- einfo "configure a different authentication mechanism for the user"
- einfo "accounts."
-}
diff --git a/www-apps/dspam-web/dspam-web-3.2.1.ebuild b/www-apps/dspam-web/dspam-web-3.2.1.ebuild
deleted file mode 100644
index 0251a37f9d55..000000000000
--- a/www-apps/dspam-web/dspam-web-3.2.1.ebuild
+++ /dev/null
@@ -1,169 +0,0 @@
-# Copyright 1999-2005 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/www-apps/dspam-web/dspam-web-3.2.1.ebuild,v 1.2 2005/01/05 01:11:53 st_lim Exp $
-
-inherit webapp eutils
-
-MY_PN=${PN/-web/}
-MY_PV=${PV/_rc3/.pr1}
-MY_P=${MY_PN}-${MY_PV}
-
-DESCRIPTION="Web based administration and user controls for dspam"
-SRC_URI="http://dspam.nuclearelephant.com/sources/${MY_P}.tar.gz"
-
-HOMEPAGE="http://dspam.nuclearelephant.com/"
-LICENSE="GPL-2"
-DEPEND=">=mail-filter/dspam-3.2_rc3
- >=net-www/apache-1.3
- >=dev-lang/perl-5.8.2
- >=dev-perl/GD-2.0
- dev-perl/GD-Graph3d
- dev-perl/GDGraph
- dev-perl/GDTextUtil"
-KEYWORDS="~x86 ~ppc"
-S=${WORKDIR}/${MY_P}
-HOMEDIR=/etc/mail/dspam
-
-src_compile() {
- local myconf
-
- # these are the default settings
- myconf="${myconf} --with-signature-life=14"
- myconf="${myconf} --enable-broken-return-codes"
- myconf="${myconf} --enable-experimental"
- myconf="${myconf} --enable-long-username"
- myconf="${myconf} --enable-robinson"
- #myconf="${myconf} --enable-chi-square"
- myconf="${myconf} --enable-robinson-pvalues"
- #myconf="${myconf} --enable-broken-mta"
- myconf="${myconf} --enable-large-scale"
- #myconf="${myconf} --enable-domain-scale"
-
- # ${HOMEDIR}/data is a symlink to ${DATADIR}
- myconf="${myconf} --with-dspam-mode=4755"
- myconf="${myconf} --with-dspam-owner=dspam"
- myconf="${myconf} --with-dspam-group=dspam"
- myconf="${myconf} --enable-homedir --with-dspam-home=${HOMEDIR} --sysconfdir=${HOMEDIR}"
- myconf="${myconf} --with-logdir=/var/log/dspam"
-
- # enables support for debugging (touch /etc/dspam/.debug to turn on)
- # optional: even MORE debugging output, use with extreme caution!
- use debug && myconf="${myconf} --enable-debug --enable-verbose-debug"
-
- # select storage driver
- if use mysql || use mysql41; then
- myconf="${myconf} --with-storage-driver=mysql_drv"
- myconf="${myconf} --with-mysql-includes=/usr/include/mysql"
- myconf="${myconf} --with-mysql-libraries=/usr/lib/mysql"
- myconf="${myconf} --with-client-compression"
- myconf="${myconf} --enable-virtual-users"
- myconf="${myconf} --enable-preferences-extension"
-
- # an experimental feature available with MySQL and PgSQL backend
- if use neural ; then
- myconf="${myconf} --enable-neural-networking"
- fi
- elif use postgres ; then
- myconf="${myconf} --with-storage-driver=pgsql_drv"
- myconf="${myconf} --with-pgsql-includes=/usr/include/postgresql"
- myconf="${myconf} --with-pgsql-libraries=/usr/lib/postgresql"
- myconf="${myconf} --enable-virtual-users"
- myconf="${myconf} --enable-preferences-extension"
-
- # an experimental feature available with MySQL and PgSQL backend
- if use neural ; then
- myconf="${myconf} --enable-neural-networking"
- fi
- elif use oci8 ; then
- myconf="${myconf} --with-storage-driver=ora_drv"
- myconf="${myconf} --with-oracle-home=${ORACLE_HOME}"
- myconf="${myconf} --enable-virtual-users"
- myconf="${myconf} --enable-preferences-extension"
-
- # I am in no way a Oracle specialist. If someone knows
- # how to query the version of Oracle, then let me know.
- if (expr ${ORACLE_HOME/*\/} : 10 1>/dev/null 2>&1)
- then
- --with-oracle-version=MAJOR
- myconf="${myconf} --with-oracle-version=10"
- fi
- elif use sqlite ; then
- myconf="${myconf} --with-storage-driver=sqlite_drv"
- myconf="${myconf} --enable-virtual-users"
- myconf="${myconf} --enable-preferences-extension"
-
- else
- myconf="${myconf} --with-storage-driver=libdb4_drv"
- fi
-
- econf ${myconf} || die
- cd ${S}/cgi
- make
-}
-
-src_install () {
- cd ${S}/cgi
- webapp_src_preinst
-
- sed -e 's,/var/dspam,/etc/mail/dspam,' \
- -e 's,/usr/local,/usr,' \
- -i admin.cgi
- sed -e 's,/var/dspam,/etc/mail/dspam,' \
- -e 's,/usr/local,/usr,' \
- -i dspam.cgi
-
- insinto ${MY_HTDOCSDIR}
- insopts -m644 -o apache -g apache
- doins *.css
- doins *.gif
- doins rgb.txt
- doins default.prefs
- doins admins
- doins configure.pl
-
- newins ${FILESDIR}/htaccess .htaccess
- newins ${FILESDIR}/htpasswd .htpasswd
-
- insopts -m755 -o apache -g apache
- doins *.cgi
-
- for CGI_SCRIPT in admin.cgi admingraph.cgi dspam.cgi graph.cgi; do
- webapp_runbycgibin perl ${MY_HTDOCSDIR}/${CGI_SCRIPT}
- done
-
- dodir ${MY_HTDOCSDIR}/templates
-
- insinto ${MY_HTDOCSDIR}/templates
- doins templates/*.html
-
- #All files must be owned by server
- cd ${D}${MY_HTDOCSDIR}
- for x in `find . -type f -print` ; do
- webapp_serverowned ${MY_HTDOCSDIR}/$x
- done
-
- webapp_src_install
-}
-
-pkg_config () {
- # add apache to the dspam group so the CGIs can access the data
-
- local groups
- groups=`groups apache`
- groups=`echo ${groups} | sed -e 's/ /,/g'`
- usermod -G "${groups},dspam" apache
-}
-
-pkg_postinst () {
- einfo "The CGIs need to be executed as group dspam in order to write"
- einfo "to the dspam data directory. You will need to configure apache"
- einfo "manually to do this. Another option is to add the user apache"
- einfo "to the dspam group. You can do this automatically by running:"
- echo
- einfo "ebuild /var/db/pkg/${CATEGORY}/${PF}/${PF}.ebuild config"
- echo
- einfo "This app requires basic auth in order to operate properly."
- einfo "You will need to add dspam users to the .htpasswd file or"
- einfo "configure a different authentication mechanism for the user"
- einfo "accounts."
-}
diff --git a/www-apps/dspam-web/dspam-web-3.2.2.ebuild b/www-apps/dspam-web/dspam-web-3.2.2.ebuild
deleted file mode 100644
index 5b98d2f56095..000000000000
--- a/www-apps/dspam-web/dspam-web-3.2.2.ebuild
+++ /dev/null
@@ -1,169 +0,0 @@
-# Copyright 1999-2005 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/www-apps/dspam-web/dspam-web-3.2.2.ebuild,v 1.2 2005/01/05 01:11:53 st_lim Exp $
-
-inherit webapp eutils
-
-MY_PN=${PN/-web/}
-MY_PV=${PV/_rc3/.pr1}
-MY_P=${MY_PN}-${MY_PV}
-
-DESCRIPTION="Web based administration and user controls for dspam"
-SRC_URI="http://dspam.nuclearelephant.com/sources/${MY_P}.tar.gz"
-
-HOMEPAGE="http://dspam.nuclearelephant.com/"
-LICENSE="GPL-2"
-DEPEND=">=mail-filter/dspam-3.2_rc3
- >=net-www/apache-1.3
- >=dev-lang/perl-5.8.2
- >=dev-perl/GD-2.0
- dev-perl/GD-Graph3d
- dev-perl/GDGraph
- dev-perl/GDTextUtil"
-KEYWORDS="~x86 ~ppc"
-S=${WORKDIR}/${MY_P}
-HOMEDIR=/etc/mail/dspam
-
-src_compile() {
- local myconf
-
- # these are the default settings
- myconf="${myconf} --with-signature-life=14"
- myconf="${myconf} --enable-broken-return-codes"
- myconf="${myconf} --enable-experimental"
- myconf="${myconf} --enable-long-username"
- myconf="${myconf} --enable-robinson"
- #myconf="${myconf} --enable-chi-square"
- myconf="${myconf} --enable-robinson-pvalues"
- #myconf="${myconf} --enable-broken-mta"
- myconf="${myconf} --enable-large-scale"
- #myconf="${myconf} --enable-domain-scale"
-
- # ${HOMEDIR}/data is a symlink to ${DATADIR}
- myconf="${myconf} --with-dspam-mode=4755"
- myconf="${myconf} --with-dspam-owner=dspam"
- myconf="${myconf} --with-dspam-group=dspam"
- myconf="${myconf} --enable-homedir --with-dspam-home=${HOMEDIR} --sysconfdir=${HOMEDIR}"
- myconf="${myconf} --with-logdir=/var/log/dspam"
-
- # enables support for debugging (touch /etc/dspam/.debug to turn on)
- # optional: even MORE debugging output, use with extreme caution!
- use debug && myconf="${myconf} --enable-debug --enable-verbose-debug"
-
- # select storage driver
- if use mysql || use mysql41; then
- myconf="${myconf} --with-storage-driver=mysql_drv"
- myconf="${myconf} --with-mysql-includes=/usr/include/mysql"
- myconf="${myconf} --with-mysql-libraries=/usr/lib/mysql"
- myconf="${myconf} --with-client-compression"
- myconf="${myconf} --enable-virtual-users"
- myconf="${myconf} --enable-preferences-extension"
-
- # an experimental feature available with MySQL and PgSQL backend
- if use neural ; then
- myconf="${myconf} --enable-neural-networking"
- fi
- elif use postgres ; then
- myconf="${myconf} --with-storage-driver=pgsql_drv"
- myconf="${myconf} --with-pgsql-includes=/usr/include/postgresql"
- myconf="${myconf} --with-pgsql-libraries=/usr/lib/postgresql"
- myconf="${myconf} --enable-virtual-users"
- myconf="${myconf} --enable-preferences-extension"
-
- # an experimental feature available with MySQL and PgSQL backend
- if use neural ; then
- myconf="${myconf} --enable-neural-networking"
- fi
- elif use oci8 ; then
- myconf="${myconf} --with-storage-driver=ora_drv"
- myconf="${myconf} --with-oracle-home=${ORACLE_HOME}"
- myconf="${myconf} --enable-virtual-users"
- myconf="${myconf} --enable-preferences-extension"
-
- # I am in no way a Oracle specialist. If someone knows
- # how to query the version of Oracle, then let me know.
- if (expr ${ORACLE_HOME/*\/} : 10 1>/dev/null 2>&1)
- then
- --with-oracle-version=MAJOR
- myconf="${myconf} --with-oracle-version=10"
- fi
- elif use sqlite ; then
- myconf="${myconf} --with-storage-driver=sqlite_drv"
- myconf="${myconf} --enable-virtual-users"
- myconf="${myconf} --enable-preferences-extension"
-
- else
- myconf="${myconf} --with-storage-driver=libdb4_drv"
- fi
-
- econf ${myconf} || die
- cd ${S}/cgi
- make
-}
-
-src_install () {
- cd ${S}/cgi
- webapp_src_preinst
-
- sed -e 's,/var/dspam,/etc/mail/dspam,' \
- -e 's,/usr/local,/usr,' \
- -i admin.cgi
- sed -e 's,/var/dspam,/etc/mail/dspam,' \
- -e 's,/usr/local,/usr,' \
- -i dspam.cgi
-
- insinto ${MY_HTDOCSDIR}
- insopts -m644 -o apache -g apache
- doins *.css
- doins *.gif
- doins rgb.txt
- doins default.prefs
- doins admins
- doins configure.pl
-
- newins ${FILESDIR}/htaccess .htaccess
- newins ${FILESDIR}/htpasswd .htpasswd
-
- insopts -m755 -o apache -g apache
- doins *.cgi
-
- for CGI_SCRIPT in admin.cgi admingraph.cgi dspam.cgi graph.cgi; do
- webapp_runbycgibin perl ${MY_HTDOCSDIR}/${CGI_SCRIPT}
- done
-
- dodir ${MY_HTDOCSDIR}/templates
-
- insinto ${MY_HTDOCSDIR}/templates
- doins templates/*.html
-
- #All files must be owned by server
- cd ${D}${MY_HTDOCSDIR}
- for x in `find . -type f -print` ; do
- webapp_serverowned ${MY_HTDOCSDIR}/$x
- done
-
- webapp_src_install
-}
-
-pkg_config () {
- # add apache to the dspam group so the CGIs can access the data
-
- local groups
- groups=`groups apache`
- groups=`echo ${groups} | sed -e 's/ /,/g'`
- usermod -G "${groups},dspam" apache
-}
-
-pkg_postinst () {
- einfo "The CGIs need to be executed as group dspam in order to write"
- einfo "to the dspam data directory. You will need to configure apache"
- einfo "manually to do this. Another option is to add the user apache"
- einfo "to the dspam group. You can do this automatically by running:"
- echo
- einfo "ebuild /var/db/pkg/${CATEGORY}/${PF}/${PF}.ebuild config"
- echo
- einfo "This app requires basic auth in order to operate properly."
- einfo "You will need to add dspam users to the .htpasswd file or"
- einfo "configure a different authentication mechanism for the user"
- einfo "accounts."
-}
diff --git a/www-apps/dspam-web/dspam-web-3.2.3.ebuild b/www-apps/dspam-web/dspam-web-3.2.3.ebuild
deleted file mode 100644
index 169c77193d02..000000000000
--- a/www-apps/dspam-web/dspam-web-3.2.3.ebuild
+++ /dev/null
@@ -1,169 +0,0 @@
-# Copyright 1999-2005 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/www-apps/dspam-web/dspam-web-3.2.3.ebuild,v 1.2 2005/01/05 01:11:53 st_lim Exp $
-
-inherit webapp eutils
-
-MY_PN=${PN/-web/}
-MY_PV=${PV/_rc3/.pr1}
-MY_P=${MY_PN}-${MY_PV}
-
-DESCRIPTION="Web based administration and user controls for dspam"
-SRC_URI="http://dspam.nuclearelephant.com/sources/${MY_P}.tar.gz"
-
-HOMEPAGE="http://dspam.nuclearelephant.com/"
-LICENSE="GPL-2"
-DEPEND=">=mail-filter/dspam-3.2_rc3
- >=net-www/apache-1.3
- >=dev-lang/perl-5.8.2
- >=dev-perl/GD-2.0
- dev-perl/GD-Graph3d
- dev-perl/GDGraph
- dev-perl/GDTextUtil"
-KEYWORDS="~x86 ~ppc"
-S=${WORKDIR}/${MY_P}
-HOMEDIR=/etc/mail/dspam
-
-src_compile() {
- local myconf
-
- # these are the default settings
- myconf="${myconf} --with-signature-life=14"
- myconf="${myconf} --enable-broken-return-codes"
- myconf="${myconf} --enable-experimental"
- myconf="${myconf} --enable-long-username"
- myconf="${myconf} --enable-robinson"
- #myconf="${myconf} --enable-chi-square"
- myconf="${myconf} --enable-robinson-pvalues"
- #myconf="${myconf} --enable-broken-mta"
- myconf="${myconf} --enable-large-scale"
- #myconf="${myconf} --enable-domain-scale"
-
- # ${HOMEDIR}/data is a symlink to ${DATADIR}
- myconf="${myconf} --with-dspam-mode=4755"
- myconf="${myconf} --with-dspam-owner=dspam"
- myconf="${myconf} --with-dspam-group=dspam"
- myconf="${myconf} --enable-homedir --with-dspam-home=${HOMEDIR} --sysconfdir=${HOMEDIR}"
- myconf="${myconf} --with-logdir=/var/log/dspam"
-
- # enables support for debugging (touch /etc/dspam/.debug to turn on)
- # optional: even MORE debugging output, use with extreme caution!
- use debug && myconf="${myconf} --enable-debug --enable-verbose-debug"
-
- # select storage driver
- if use mysql || use mysql41; then
- myconf="${myconf} --with-storage-driver=mysql_drv"
- myconf="${myconf} --with-mysql-includes=/usr/include/mysql"
- myconf="${myconf} --with-mysql-libraries=/usr/lib/mysql"
- myconf="${myconf} --with-client-compression"
- myconf="${myconf} --enable-virtual-users"
- myconf="${myconf} --enable-preferences-extension"
-
- # an experimental feature available with MySQL and PgSQL backend
- if use neural ; then
- myconf="${myconf} --enable-neural-networking"
- fi
- elif use postgres ; then
- myconf="${myconf} --with-storage-driver=pgsql_drv"
- myconf="${myconf} --with-pgsql-includes=/usr/include/postgresql"
- myconf="${myconf} --with-pgsql-libraries=/usr/lib/postgresql"
- myconf="${myconf} --enable-virtual-users"
- myconf="${myconf} --enable-preferences-extension"
-
- # an experimental feature available with MySQL and PgSQL backend
- if use neural ; then
- myconf="${myconf} --enable-neural-networking"
- fi
- elif use oci8 ; then
- myconf="${myconf} --with-storage-driver=ora_drv"
- myconf="${myconf} --with-oracle-home=${ORACLE_HOME}"
- myconf="${myconf} --enable-virtual-users"
- myconf="${myconf} --enable-preferences-extension"
-
- # I am in no way a Oracle specialist. If someone knows
- # how to query the version of Oracle, then let me know.
- if (expr ${ORACLE_HOME/*\/} : 10 1>/dev/null 2>&1)
- then
- --with-oracle-version=MAJOR
- myconf="${myconf} --with-oracle-version=10"
- fi
- elif use sqlite ; then
- myconf="${myconf} --with-storage-driver=sqlite_drv"
- myconf="${myconf} --enable-virtual-users"
- myconf="${myconf} --enable-preferences-extension"
-
- else
- myconf="${myconf} --with-storage-driver=libdb4_drv"
- fi
-
- econf ${myconf} || die
- cd ${S}/cgi
- make
-}
-
-src_install () {
- cd ${S}/cgi
- webapp_src_preinst
-
- sed -e 's,/var/dspam,/etc/mail/dspam,' \
- -e 's,/usr/local,/usr,' \
- -i admin.cgi
- sed -e 's,/var/dspam,/etc/mail/dspam,' \
- -e 's,/usr/local,/usr,' \
- -i dspam.cgi
-
- insinto ${MY_HTDOCSDIR}
- insopts -m644 -o apache -g apache
- doins *.css
- doins *.gif
- doins rgb.txt
- doins default.prefs
- doins admins
- doins configure.pl
-
- newins ${FILESDIR}/htaccess .htaccess
- newins ${FILESDIR}/htpasswd .htpasswd
-
- insopts -m755 -o apache -g apache
- doins *.cgi
-
- for CGI_SCRIPT in admin.cgi admingraph.cgi dspam.cgi graph.cgi; do
- webapp_runbycgibin perl ${MY_HTDOCSDIR}/${CGI_SCRIPT}
- done
-
- dodir ${MY_HTDOCSDIR}/templates
-
- insinto ${MY_HTDOCSDIR}/templates
- doins templates/*.html
-
- #All files must be owned by server
- cd ${D}${MY_HTDOCSDIR}
- for x in `find . -type f -print` ; do
- webapp_serverowned ${MY_HTDOCSDIR}/$x
- done
-
- webapp_src_install
-}
-
-pkg_config () {
- # add apache to the dspam group so the CGIs can access the data
-
- local groups
- groups=`groups apache`
- groups=`echo ${groups} | sed -e 's/ /,/g'`
- usermod -G "${groups},dspam" apache
-}
-
-pkg_postinst () {
- einfo "The CGIs need to be executed as group dspam in order to write"
- einfo "to the dspam data directory. You will need to configure apache"
- einfo "manually to do this. Another option is to add the user apache"
- einfo "to the dspam group. You can do this automatically by running:"
- echo
- einfo "ebuild /var/db/pkg/${CATEGORY}/${PF}/${PF}.ebuild config"
- echo
- einfo "This app requires basic auth in order to operate properly."
- einfo "You will need to add dspam users to the .htpasswd file or"
- einfo "configure a different authentication mechanism for the user"
- einfo "accounts."
-}
diff --git a/www-apps/dspam-web/files/digest-dspam-web-3.0.0 b/www-apps/dspam-web/files/digest-dspam-web-3.0.0
deleted file mode 100644
index f27f0f265cf9..000000000000
--- a/www-apps/dspam-web/files/digest-dspam-web-3.0.0
+++ /dev/null
@@ -1 +0,0 @@
-MD5 f5b568e8fea50faaf4c1fcabee177934 dspam-3.0.0.tar.gz 575382
diff --git a/www-apps/dspam-web/files/digest-dspam-web-3.2.0 b/www-apps/dspam-web/files/digest-dspam-web-3.2.0
deleted file mode 100644
index b5b46dde2f67..000000000000
--- a/www-apps/dspam-web/files/digest-dspam-web-3.2.0
+++ /dev/null
@@ -1 +0,0 @@
-MD5 6ebcbc130afde2ef0dc00e95051ab362 dspam-3.2.0.tar.gz 617716
diff --git a/www-apps/dspam-web/files/digest-dspam-web-3.2.1 b/www-apps/dspam-web/files/digest-dspam-web-3.2.1
deleted file mode 100644
index 619daf44be2e..000000000000
--- a/www-apps/dspam-web/files/digest-dspam-web-3.2.1
+++ /dev/null
@@ -1 +0,0 @@
-MD5 a4357c02ca39a68480719adf47fca67a dspam-3.2.1.tar.gz 618780
diff --git a/www-apps/dspam-web/files/digest-dspam-web-3.2.2 b/www-apps/dspam-web/files/digest-dspam-web-3.2.2
deleted file mode 100644
index 6091aa5f5dbd..000000000000
--- a/www-apps/dspam-web/files/digest-dspam-web-3.2.2
+++ /dev/null
@@ -1 +0,0 @@
-MD5 882f9ce3879fc71cec47bf2dcbc4f392 dspam-3.2.2.tar.gz 619691
diff --git a/www-apps/dspam-web/files/digest-dspam-web-3.2.3 b/www-apps/dspam-web/files/digest-dspam-web-3.2.3
deleted file mode 100644
index 2337ef822d20..000000000000
--- a/www-apps/dspam-web/files/digest-dspam-web-3.2.3
+++ /dev/null
@@ -1 +0,0 @@
-MD5 0c5d62df8746332906d487d5c5ad9926 dspam-3.2.3.tar.gz 620153