summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--www-apps/dspam-web/Manifest83
-rw-r--r--www-apps/dspam-web/dspam-web-3.2.7.ebuild170
-rw-r--r--www-apps/dspam-web/dspam-web-3.4.9-r1.ebuild162
-rw-r--r--www-apps/dspam-web/dspam-web-3.6.0.ebuild158
-rw-r--r--www-apps/dspam-web/dspam-web-3.6.1.ebuild158
-rw-r--r--www-apps/dspam-web/dspam-web-3.6.3.ebuild158
-rw-r--r--www-apps/dspam-web/files/digest-dspam-web-3.2.71
-rw-r--r--www-apps/dspam-web/files/digest-dspam-web-3.4.9-r11
-rw-r--r--www-apps/dspam-web/files/digest-dspam-web-3.6.04
-rw-r--r--www-apps/dspam-web/files/digest-dspam-web-3.6.14
-rw-r--r--www-apps/dspam-web/files/digest-dspam-web-3.6.34
11 files changed, 35 insertions, 868 deletions
diff --git a/www-apps/dspam-web/Manifest b/www-apps/dspam-web/Manifest
index ee209191a6c9..80dff8f78b2a 100644
--- a/www-apps/dspam-web/Manifest
+++ b/www-apps/dspam-web/Manifest
@@ -1,3 +1,6 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
AUX htaccess 135 RMD160 4f79db8e1bdf56ef86b922d2a87a7c2a1ba78d71 SHA1 f1cdf9aa23cef60ccc48f2303699b467bf7a98b5 SHA256 e0c0da58eea5ef6af65cc03c22eaa47ad4f6584cec0f6430817f836d60457c3b
MD5 ffdfc8d816078f4c58b75b9bed07503f files/htaccess 135
RMD160 4f79db8e1bdf56ef86b922d2a87a7c2a1ba78d71 files/htaccess 135
@@ -6,60 +9,44 @@ AUX htpasswd 19 RMD160 9ef909dbde45fd311062229354ba56c76174fa96 SHA1 d5e26992468
MD5 b4099a94a52af9abd4ade48d82914c3c files/htpasswd 19
RMD160 9ef909dbde45fd311062229354ba56c76174fa96 files/htpasswd 19
SHA256 0fae2fe609644c4c631385e0f4127bb1a19dcf18013871c8353117f38fa7ea2a files/htpasswd 19
-DIST dspam-3.2.7.tar.gz 621245
-DIST dspam-3.4.9.tar.gz 701069
-DIST dspam-3.6.0.tar.gz 732042
-DIST dspam-3.6.1.tar.gz 739389
-DIST dspam-3.6.3.tar.gz 740097
+AUX postinst-en.txt 933 RMD160 9b857c29753403944e7fb76147c07645c6c3aa76 SHA1 c31ab3f3505f50eb08a6436d9e2dd3b592ddbe98 SHA256 997a7ca9295cd82cc7a70ba99a411abb52765e929800260d43499307f9958288
+MD5 cb22b2a146edb15c93a8f9ed59e08987 files/postinst-en.txt 933
+RMD160 9b857c29753403944e7fb76147c07645c6c3aa76 files/postinst-en.txt 933
+SHA256 997a7ca9295cd82cc7a70ba99a411abb52765e929800260d43499307f9958288 files/postinst-en.txt 933
+AUX setperms 255 RMD160 4b29c87a2d1129c9aa9a7df9e2a6f412aeb029c8 SHA1 17f1bab63693018be6dbbb4ec7e4d1a5658f9fac SHA256 85cfd1a8a6e322698c5e09573dfb4e04220e8642d1835e9a7eedbb809736e9ed
+MD5 355cfc338e3f9e912ea954471b0bb458 files/setperms 255
+RMD160 4b29c87a2d1129c9aa9a7df9e2a6f412aeb029c8 files/setperms 255
+SHA256 85cfd1a8a6e322698c5e09573dfb4e04220e8642d1835e9a7eedbb809736e9ed files/setperms 255
DIST dspam-3.6.4.tar.gz 743664 RMD160 fcd431205e3fd737cfdfb90b695ba7c84bbb27d5 SHA1 bc11d8c1584175de9cdeed7ed20e11c2a49bf53a SHA256 bdb10acbff97483db8ef7aafee8ba2e9113f6b7d5fc76cf569334b32937ca304
+DIST dspam-3.6.8-patches-20061029.tar.gz 5030 RMD160 cfc2d2c8f896b1e17b8ceed2f51d2c74640e3a58 SHA1 b9cc608c9b111ada584a1a09c72b37b28c6dd823 SHA256 841e93b6347dd3f96f536e9fab3717b5b1c7aa21f0acf04f524fe4c1bb8e903a
+DIST dspam-3.6.8.tar.gz 743275 RMD160 93a70db14070cb61bd2ef1b0ca55a18be1dbfd7b SHA1 e8c413882eadf1e02837e4a2ffcfc98b801eded1 SHA256 88c7b41fb81e90ba8a260885a1d14bce39f2ef4a06cc2c6b8bfa0b99ba1aec34
DIST dspam_sa_trainer.tar.gz 1230 RMD160 c3d0fca7169d23ecf9d44c850ee255b42d97d818 SHA1 71a002f26a888bdfe47759cf1f780cd6478dacac SHA256 8fb6b1ebe592acf00a028737ef8e174544af166768b987d29048b2319bc5a215
-EBUILD dspam-web-3.2.7.ebuild 5216 RMD160 226f7d1bdf3904f06fbefd646356c431b22033ed SHA1 a39ee45a87e359642420fc44ef3231325d748890 SHA256 f3bc27639e0a22b02d205caeaeb9d436f2ff26c7dc5c1a6988a37094453b86ee
-MD5 3556db7ff664537dca11a80a1aa937d3 dspam-web-3.2.7.ebuild 5216
-RMD160 226f7d1bdf3904f06fbefd646356c431b22033ed dspam-web-3.2.7.ebuild 5216
-SHA256 f3bc27639e0a22b02d205caeaeb9d436f2ff26c7dc5c1a6988a37094453b86ee dspam-web-3.2.7.ebuild 5216
-EBUILD dspam-web-3.4.9-r1.ebuild 5034 RMD160 eaf48cda68c1c6fe53d150fa0c0bed337d8bfc10 SHA1 4b56654cc530fa06cdcac6b1bed47501444371aa SHA256 cca3d9b0ac31955e7b5825c5bcdd1879a566483a51680997427cbf571dd66d28
-MD5 26409854de884f5d97f3a6f424e03fa6 dspam-web-3.4.9-r1.ebuild 5034
-RMD160 eaf48cda68c1c6fe53d150fa0c0bed337d8bfc10 dspam-web-3.4.9-r1.ebuild 5034
-SHA256 cca3d9b0ac31955e7b5825c5bcdd1879a566483a51680997427cbf571dd66d28 dspam-web-3.4.9-r1.ebuild 5034
-EBUILD dspam-web-3.6.0.ebuild 5177 RMD160 111825e8f4527f547d69d3a973181106576eaa22 SHA1 1dbafa5936e76d3b442b55aff8a4cf382f449b4f SHA256 6b3a81925dbf50471d5de94035f1f05ffe4a3fed7c50e74b789b8c4902ba0947
-MD5 1898f823113a777c154c426f9ee8d194 dspam-web-3.6.0.ebuild 5177
-RMD160 111825e8f4527f547d69d3a973181106576eaa22 dspam-web-3.6.0.ebuild 5177
-SHA256 6b3a81925dbf50471d5de94035f1f05ffe4a3fed7c50e74b789b8c4902ba0947 dspam-web-3.6.0.ebuild 5177
-EBUILD dspam-web-3.6.1.ebuild 5177 RMD160 7f5ecf65caabb26617738021a40e20a45e1fd40c SHA1 8e9de6885aef5c5247967e7c74022a086b7d6fce SHA256 e004179da8ad5a5dd4552b45434e7b6a2291fc5a40a31ada15faaa65f6cf34d2
-MD5 ff51188171a9e215248bf6f62cda5138 dspam-web-3.6.1.ebuild 5177
-RMD160 7f5ecf65caabb26617738021a40e20a45e1fd40c dspam-web-3.6.1.ebuild 5177
-SHA256 e004179da8ad5a5dd4552b45434e7b6a2291fc5a40a31ada15faaa65f6cf34d2 dspam-web-3.6.1.ebuild 5177
-EBUILD dspam-web-3.6.3.ebuild 5179 RMD160 f671ec5c53d0b920dea89c0cac6d13899509759e SHA1 04db88d92d77c4bd2954e4c078a8361a0a43f5b7 SHA256 ffd623a33f8e768e27cb63f85befa8d7d410248da0c37063994f23a339bdb519
-MD5 2a1f7d326abc49bdb7201cec33769898 dspam-web-3.6.3.ebuild 5179
-RMD160 f671ec5c53d0b920dea89c0cac6d13899509759e dspam-web-3.6.3.ebuild 5179
-SHA256 ffd623a33f8e768e27cb63f85befa8d7d410248da0c37063994f23a339bdb519 dspam-web-3.6.3.ebuild 5179
EBUILD dspam-web-3.6.4.ebuild 5290 RMD160 8cccafc4e1ebcb9702b1ef9909a06393dd4fa4a2 SHA1 5d28f758e6e04e09ce05c0b83bb218ace63e74da SHA256 0af556c4181f581b3bb19b73312bb9c3a971dc8c9fc92583f2ffc439fb0a66c6
MD5 f524115affc741ef0620818ed1eee695 dspam-web-3.6.4.ebuild 5290
RMD160 8cccafc4e1ebcb9702b1ef9909a06393dd4fa4a2 dspam-web-3.6.4.ebuild 5290
SHA256 0af556c4181f581b3bb19b73312bb9c3a971dc8c9fc92583f2ffc439fb0a66c6 dspam-web-3.6.4.ebuild 5290
-MISC ChangeLog 4007 RMD160 9a58b71d49527183c70b8c0c01ae398401c3f2e4 SHA1 cc039a904d3b5f2d533735bf0ea9231ab1850f05 SHA256 faf0f80bd7bfb7fc4c8a5969088fbfef407861f077677e65ff6f6ce54cbc78f8
-MD5 064d7ef8673bf4b105dcbbb98aeef58f ChangeLog 4007
-RMD160 9a58b71d49527183c70b8c0c01ae398401c3f2e4 ChangeLog 4007
-SHA256 faf0f80bd7bfb7fc4c8a5969088fbfef407861f077677e65ff6f6ce54cbc78f8 ChangeLog 4007
-MISC metadata.xml 341 RMD160 a12d687ee0219d49f322ea5d0c16513661adc55e SHA1 95f72e8ccb1e47032cc1b6bab2ce1df179040170 SHA256 2777ce448f25f31f2c7c7a26e0f8fbcfc44a1db7fe3ce4868a2137c62b3e2799
-MD5 f1ea445d6b4ddf81c55a4e886bc04218 metadata.xml 341
-RMD160 a12d687ee0219d49f322ea5d0c16513661adc55e metadata.xml 341
-SHA256 2777ce448f25f31f2c7c7a26e0f8fbcfc44a1db7fe3ce4868a2137c62b3e2799 metadata.xml 341
-MD5 7735956f416bd58bfcbeee99af43bea0 files/digest-dspam-web-3.2.7 63
-RMD160 ce7960915bff3c533ccffc2698ab6a2a44e63623 files/digest-dspam-web-3.2.7 63
-SHA256 f30a88498275e3e0f401a373c3fd8f0e7f6669cf1eac9f06a7a6addbbe1be1d5 files/digest-dspam-web-3.2.7 63
-MD5 c26bf920b2afa7ae432ac6b6d96fb9b4 files/digest-dspam-web-3.4.9-r1 63
-RMD160 ab009d325fabbe3cb11b8da7e6ef3890f196a92f files/digest-dspam-web-3.4.9-r1 63
-SHA256 5dd2d2cd521ef26932742b6f1e670355860bdb6a9ec2a4cb6a6b83028329409f files/digest-dspam-web-3.4.9-r1 63
-MD5 5d26a02c843bba0970293036316f69f9 files/digest-dspam-web-3.6.0 307
-RMD160 f6e28a5357414e64aa8138459a51409637cb6f71 files/digest-dspam-web-3.6.0 307
-SHA256 5f2ae10e662c8d1a5e15ffda06a1838738429826e18c3e60174ea8ce8edddadf files/digest-dspam-web-3.6.0 307
-MD5 c3827b663184fad6c386e88ad9bc6022 files/digest-dspam-web-3.6.1 307
-RMD160 abc146b44aa85ae5746450078a1f5642609115f5 files/digest-dspam-web-3.6.1 307
-SHA256 0bc2a58c23efdcb04d25384543f8f4f7741249d74961a11bbe99fbb4705f32a6 files/digest-dspam-web-3.6.1 307
-MD5 fc5fd9593dd3de524487ad2631681afb files/digest-dspam-web-3.6.3 307
-RMD160 9fd1beb7cbfb9c56ffc6e76eb0662dbd0b31d7e0 files/digest-dspam-web-3.6.3 307
-SHA256 f5d0cae0eac4d5c18af96901e4d9dadc7def244c3845d28e5e8813b4c5d976bf files/digest-dspam-web-3.6.3 307
+EBUILD dspam-web-3.6.8.ebuild 1488 RMD160 32dc4d1f30527aea19271cc359a7c55f39da540a SHA1 e202ffc28f3bd093f461b2639c45af84fbf883a7 SHA256 2a5a20ee4a831110ae39a916a2849ef52f212d4a3fc1141c591a3ce8770fc155
+MD5 0cf0e2fbd8422c526110de5b0f9d22e7 dspam-web-3.6.8.ebuild 1488
+RMD160 32dc4d1f30527aea19271cc359a7c55f39da540a dspam-web-3.6.8.ebuild 1488
+SHA256 2a5a20ee4a831110ae39a916a2849ef52f212d4a3fc1141c591a3ce8770fc155 dspam-web-3.6.8.ebuild 1488
+MISC ChangeLog 4393 RMD160 6fb4d1ce750cd6aec527ffda36dcd9f634033082 SHA1 0777e18455d0887f9cb4b91ffb66cbde81fbd59e SHA256 8240b5d406f018040efaf5cc75d0db54162bcf6a102fa298914ee0fc2e1ef07c
+MD5 e9b771c8eb0433b8d314eea789e48100 ChangeLog 4393
+RMD160 6fb4d1ce750cd6aec527ffda36dcd9f634033082 ChangeLog 4393
+SHA256 8240b5d406f018040efaf5cc75d0db54162bcf6a102fa298914ee0fc2e1ef07c ChangeLog 4393
+MISC metadata.xml 430 RMD160 6fa735da9fcd312590517721dda5edd4ab35cdcc SHA1 6da347cad0bca1abe943e6bf0ce78ccfeaa112d4 SHA256 26a30308c5e734031a73875e8bd5c8e0e3f55f3b171638e5cd793542db4f9d83
+MD5 bafc2acde9ac4dc56148b6e52928ee37 metadata.xml 430
+RMD160 6fa735da9fcd312590517721dda5edd4ab35cdcc metadata.xml 430
+SHA256 26a30308c5e734031a73875e8bd5c8e0e3f55f3b171638e5cd793542db4f9d83 metadata.xml 430
MD5 7581683a18b328f3fa07b2904787e0bd files/digest-dspam-web-3.6.4 479
RMD160 9ef62154897f5cdcd28c2ab1f04ccad9f19b8967 files/digest-dspam-web-3.6.4 479
SHA256 af3f77afae9380d52f6f7910135aad0fda7b9c080b6ce9f88919abee9247d421 files/digest-dspam-web-3.6.4 479
+MD5 04c15c2b7159970b8dc3c3065ef7cf65 files/digest-dspam-web-3.6.8 515
+RMD160 14dee357234e1f88207fb04e4157136fcbd65d10 files/digest-dspam-web-3.6.8 515
+SHA256 2794a7da0abf546a484955d92450c1f29872252dbcfc02f9895ce60e13dfd863 files/digest-dspam-web-3.6.8 515
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v1.4.5 (GNU/Linux)
+
+iD8DBQFFRO/43sf9c6kjmR8RAvFdAJ0cTSeazCh2lv6e1Lij19t7X+T0/gCgoVxG
+tXiF3f7m/+IrIGntiumEGBI=
+=pZ3O
+-----END PGP SIGNATURE-----
diff --git a/www-apps/dspam-web/dspam-web-3.2.7.ebuild b/www-apps/dspam-web/dspam-web-3.2.7.ebuild
deleted file mode 100644
index a20460227868..000000000000
--- a/www-apps/dspam-web/dspam-web-3.2.7.ebuild
+++ /dev/null
@@ -1,170 +0,0 @@
-# Copyright 1999-2006 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.7.ebuild,v 1.4 2006/01/08 17:34:50 rl03 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 ~amd64"
-IUSE="debug mysql neural oci8 postgres sqlite"
-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 ; 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 "emerge --config ${PF}"
- 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.4.9-r1.ebuild b/www-apps/dspam-web/dspam-web-3.4.9-r1.ebuild
deleted file mode 100644
index 46ef13c6a466..000000000000
--- a/www-apps/dspam-web/dspam-web-3.4.9-r1.ebuild
+++ /dev/null
@@ -1,162 +0,0 @@
-# Copyright 1999-2006 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.4.9-r1.ebuild,v 1.2 2006/01/08 17:34:50 rl03 Exp $
-
-inherit webapp eutils
-
-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-${PV}
- >=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 ~amd64"
-S=${WORKDIR}/${MY_P}
-HOMEDIR=/etc/mail/dspam
-IUSE="debug large-domain mysql neural oci8 postgres sqlite sqlite3 virtual-users"
-
-src_compile() {
- local myconf
-
- myconf="${myconf} --enable-long-username"
- use large-domain && myconf="${myconf} --enable-large-scale" ||\
- myconf="${myconf} --enable-domain-scale"
-
- myconf="${myconf} --with-dspam-mode=4755"
- myconf="${myconf} --with-dspam-owner=dspam"
- myconf="${myconf} --with-dspam-group=dspam"
- myconf="${myconf} --sysconfdir=${HOMEDIR}"
- myconf="${myconf} --with-logdir=${LOGDIR}"
- use virtual-users || myconf="${myconf} --with-dspam-home=${HOMEDIR}"
-
- # 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; 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} --enable-preferences-extension"
-
- if has_version =sys-kernel/linux-headers-2.6*; then
- myconf="${myconf} --enable-daemon"
- fi
-
- use virtual-users && myconf="${myconf} --enable-virtual-users"
- # an experimental feature available with MySQL and PgSQL backend
- use neural && myconf="${myconf} --enable-neural-networking"
- 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-preferences-extension"
-
- if has_version sys-kernel/linux26-headers; then
- myconf="${myconf} --enable-daemon"
- fi
-
- use virtual-users && myconf="${myconf} --enable-virtual-users"
- # an experimental feature available with MySQL and PgSQL backend
- use neural && myconf="${myconf} --enable-neural-networking"
- elif use oci8 ; then
- myconf="${myconf} --with-storage-driver=ora_drv"
- myconf="${myconf} --with-oracle-home=${ORACLE_HOME}"
- myconf="${myconf} --enable-virtual-users"
-
- # 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
- myconf="${myconf} --with-oracle-version=10"
- fi
- elif use sqlite3 ; then
- myconf="${myconf} --with-storage-driver=sqlite3_drv"
- myconf="${myconf} --enable-virtual-users"
- elif use sqlite ; then
- myconf="${myconf} --with-storage-driver=sqlite_drv"
- myconf="${myconf} --enable-virtual-users"
- 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 "emerge --config ${PF}"
- 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.6.0.ebuild b/www-apps/dspam-web/dspam-web-3.6.0.ebuild
deleted file mode 100644
index 7a7448bf350a..000000000000
--- a/www-apps/dspam-web/dspam-web-3.6.0.ebuild
+++ /dev/null
@@ -1,158 +0,0 @@
-# Copyright 1999-2006 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.6.0.ebuild,v 1.3 2006/01/08 17:34:50 rl03 Exp $
-
-inherit webapp eutils
-
-MY_PN=${PN/-web/}
-MY_P=${MY_PN}-${PV}
-
-S=${WORKDIR}/${MY_P}
-DESCRIPTION="Web based administration and user controls for dspam"
-SRC_URI="http://dspam.nuclearelephant.com/sources/${MY_P}.tar.gz
- http://dspam.nuclearelephant.com/sources/extras/dspam_sa_trainer.tar.gz"
-HOMEPAGE="http://dspam.nuclearelephant.com/"
-LICENSE="GPL-2"
-
-IUSE="clamav debug large-domain logrotate mysql neural oci8 postgres sqlite virtual-users"
-DEPEND=">=mail-filter/dspam-${PV}
- clamav? ( >=app-antivirus/clamav-0.86 )
- mysql? ( >=dev-db/mysql-3.23 )
- sqlite? ( dev-db/sqlite )
- postgres? ( >=dev-db/postgresql-7.4.3 )
- >=sys-libs/db-4.0
- >=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 ~amd64"
-
-# some FHS-like structure
-HOMEDIR="/var/spool/dspam"
-CONFDIR="/etc/mail/dspam"
-LOGDIR="/var/log/dspam"
-
-src_compile() {
- local myconf
-
- myconf="${myconf} --enable-long-username"
- myconf="${myconf} --with-delivery-agent=/usr/bin/procmail"
- use large-domain && myconf="${myconf} --enable-large-scale" ||\
- myconf="${myconf} --enable-domain-scale"
-
- myconf="${myconf} --with-dspam-home=${HOMEDIR}"
- myconf="${myconf} --sysconfdir=${CONFDIR}"
- use virtual-users || myconf="${myconf} --enable-homedir"
- use clamav || myconf="${myconf} --enable-clamav"
-
- # 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 sqlite ; then
- myconf="${myconf} --with-storage-driver=sqlite_drv"
- myconf="${myconf} --enable-virtual-users"
- elif use mysql; 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} --enable-preferences-extension"
-
- if has_version ">sys-kernel/linux-headers-2.6"; then
- myconf="${myconf} --enable-daemon"
- fi
-
- use virtual-users && myconf="${myconf} --enable-virtual-users"
- # an experimental feature available with MySQL and PgSQL backend
- use neural && myconf="${myconf} --enable-neural-networking"
- 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-preferences-extension"
-
- if has_version ">sys-kernel/linux-headers-2.6"; then
- myconf="${myconf} --enable-daemon"
- fi
-
- use virtual-users && myconf="${myconf} --enable-virtual-users"
- # an experimental feature available with MySQL and PgSQL backend
- use neural && myconf="${myconf} --enable-neural-networking"
- elif use oci8 ; then
- myconf="${myconf} --with-storage-driver=ora_drv"
- myconf="${myconf} --with-oracle-home=${ORACLE_HOME}"
- myconf="${myconf} --enable-virtual-users"
-
- # 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
- myconf="${myconf} --with-oracle-version=10"
- fi
- else
- myconf="${myconf} --with-storage-driver=libdb4_drv"
- fi
-
- econf ${myconf} || die
- cd ${S}/webui
- make
-}
-
-src_install () {
- cd ${S}/webui
- webapp_src_preinst
-
- sed -e 's,/var/dspam,/etc/mail/dspam,' \
- -e 's,/usr/local,/usr,' \
- -i ${S}/webui/cgi-bin/admin.cgi
- sed -e 's,/var/dspam,/etc/mail/dspam,' \
- -e 's,/usr/local,/usr,' \
- -i ${S}/webui/cgi-bin/dspam.cgi
-
- cp -r ${S}/webui/htdocs/* ${D}/${MY_HTDOCSDIR} || die
- cp -r ${S}/webui/cgi-bin/* ${D}/${MY_CGIBINDIR} || die
- insinto ${MY_HTDOCSDIR}
- insopts -m644 -o apache -g apache
-
- newins ${FILESDIR}/htaccess .htaccess
- newins ${FILESDIR}/htpasswd .htpasswd
-
- #All files must be owned by server
- cd ${D}/${MY_HTDOCSDIR}
- for file in `find -type d -printf "%p/* "`; do
- webapp_serverowned "${MY_HTDOCSDIR}/${file}"
- done
-
- #All files must be owned by server
- cd ${D}/${MY_CGIBINDIR}
- for file in `find -type d -printf "%p/* "`; do
- webapp_serverowned "${MY_CGIBINDIR}/${file}"
- 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 "emerge --config ${PF}"
- 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.6.1.ebuild b/www-apps/dspam-web/dspam-web-3.6.1.ebuild
deleted file mode 100644
index 7a7297ab93e6..000000000000
--- a/www-apps/dspam-web/dspam-web-3.6.1.ebuild
+++ /dev/null
@@ -1,158 +0,0 @@
-# Copyright 1999-2006 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.6.1.ebuild,v 1.2 2006/01/08 17:34:50 rl03 Exp $
-
-inherit webapp eutils
-
-MY_PN=${PN/-web/}
-MY_P=${MY_PN}-${PV}
-
-S=${WORKDIR}/${MY_P}
-DESCRIPTION="Web based administration and user controls for dspam"
-SRC_URI="http://dspam.nuclearelephant.com/sources/${MY_P}.tar.gz
- http://dspam.nuclearelephant.com/sources/extras/dspam_sa_trainer.tar.gz"
-HOMEPAGE="http://dspam.nuclearelephant.com/"
-LICENSE="GPL-2"
-
-IUSE="clamav debug large-domain logrotate mysql neural oci8 postgres sqlite virtual-users"
-DEPEND=">=mail-filter/dspam-${PV}
- clamav? ( >=app-antivirus/clamav-0.86 )
- mysql? ( >=dev-db/mysql-3.23 )
- sqlite? ( dev-db/sqlite )
- postgres? ( >=dev-db/postgresql-7.4.3 )
- >=sys-libs/db-4.0
- >=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 ~amd64"
-
-# some FHS-like structure
-HOMEDIR="/var/spool/dspam"
-CONFDIR="/etc/mail/dspam"
-LOGDIR="/var/log/dspam"
-
-src_compile() {
- local myconf
-
- myconf="${myconf} --enable-long-username"
- myconf="${myconf} --with-delivery-agent=/usr/bin/procmail"
- use large-domain && myconf="${myconf} --enable-large-scale" ||\
- myconf="${myconf} --enable-domain-scale"
-
- myconf="${myconf} --with-dspam-home=${HOMEDIR}"
- myconf="${myconf} --sysconfdir=${CONFDIR}"
- use virtual-users || myconf="${myconf} --enable-homedir"
- use clamav || myconf="${myconf} --enable-clamav"
-
- # 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 sqlite ; then
- myconf="${myconf} --with-storage-driver=sqlite_drv"
- myconf="${myconf} --enable-virtual-users"
- elif use mysql; 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} --enable-preferences-extension"
-
- if has_version ">sys-kernel/linux-headers-2.6"; then
- myconf="${myconf} --enable-daemon"
- fi
-
- use virtual-users && myconf="${myconf} --enable-virtual-users"
- # an experimental feature available with MySQL and PgSQL backend
- use neural && myconf="${myconf} --enable-neural-networking"
- 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-preferences-extension"
-
- if has_version ">sys-kernel/linux-headers-2.6"; then
- myconf="${myconf} --enable-daemon"
- fi
-
- use virtual-users && myconf="${myconf} --enable-virtual-users"
- # an experimental feature available with MySQL and PgSQL backend
- use neural && myconf="${myconf} --enable-neural-networking"
- elif use oci8 ; then
- myconf="${myconf} --with-storage-driver=ora_drv"
- myconf="${myconf} --with-oracle-home=${ORACLE_HOME}"
- myconf="${myconf} --enable-virtual-users"
-
- # 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
- myconf="${myconf} --with-oracle-version=10"
- fi
- else
- myconf="${myconf} --with-storage-driver=libdb4_drv"
- fi
-
- econf ${myconf} || die
- cd ${S}/webui
- make
-}
-
-src_install () {
- cd ${S}/webui
- webapp_src_preinst
-
- sed -e 's,/var/dspam,/etc/mail/dspam,' \
- -e 's,/usr/local,/usr,' \
- -i ${S}/webui/cgi-bin/admin.cgi
- sed -e 's,/var/dspam,/etc/mail/dspam,' \
- -e 's,/usr/local,/usr,' \
- -i ${S}/webui/cgi-bin/dspam.cgi
-
- cp -r ${S}/webui/htdocs/* ${D}/${MY_HTDOCSDIR} || die
- cp -r ${S}/webui/cgi-bin/* ${D}/${MY_CGIBINDIR} || die
- insinto ${MY_HTDOCSDIR}
- insopts -m644 -o apache -g apache
-
- newins ${FILESDIR}/htaccess .htaccess
- newins ${FILESDIR}/htpasswd .htpasswd
-
- #All files must be owned by server
- cd ${D}/${MY_HTDOCSDIR}
- for file in `find -type d -printf "%p/* "`; do
- webapp_serverowned "${MY_HTDOCSDIR}/${file}"
- done
-
- #All files must be owned by server
- cd ${D}/${MY_CGIBINDIR}
- for file in `find -type d -printf "%p/* "`; do
- webapp_serverowned "${MY_CGIBINDIR}/${file}"
- 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 "emerge --config ${PF}"
- 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.6.3.ebuild b/www-apps/dspam-web/dspam-web-3.6.3.ebuild
deleted file mode 100644
index 8a589d787dd7..000000000000
--- a/www-apps/dspam-web/dspam-web-3.6.3.ebuild
+++ /dev/null
@@ -1,158 +0,0 @@
-# Copyright 1999-2006 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.6.3.ebuild,v 1.1 2006/01/20 08:43:12 st_lim Exp $
-
-inherit webapp eutils
-
-MY_PN=${PN/-web/}
-MY_P=${MY_PN}-${PV}
-
-S=${WORKDIR}/${MY_P}
-DESCRIPTION="Web based administration and user controls for dspam"
-SRC_URI="http://dspam.nuclearelephant.com/sources/${MY_P}.tar.gz
- http://dspam.nuclearelephant.com/sources/extras/dspam_sa_trainer.tar.gz"
-HOMEPAGE="http://dspam.nuclearelephant.com/"
-LICENSE="GPL-2"
-
-IUSE="clamav debug large-domain logrotate mysql neural oci8 postgres sqlite virtual-users"
-DEPEND=">=mail-filter/dspam-${PV}
- clamav? ( >=app-antivirus/clamav-0.86 )
- mysql? ( >=dev-db/mysql-3.23 )
- sqlite? ( dev-db/sqlite )
- postgres? ( >=dev-db/postgresql-7.4.3 )
- >=sys-libs/db-4.0
- >=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 ~amd64"
-
-# some FHS-like structure
-HOMEDIR="/var/spool/dspam"
-CONFDIR="/etc/mail/dspam"
-LOGDIR="/var/log/dspam"
-
-src_compile() {
- local myconf
-
- myconf="${myconf} --enable-long-username"
- myconf="${myconf} --with-delivery-agent=/usr/bin/procmail"
- use large-domain && myconf="${myconf} --enable-large-scale" ||\
- myconf="${myconf} --enable-domain-scale"
-
- myconf="${myconf} --with-dspam-home=${HOMEDIR}"
- myconf="${myconf} --sysconfdir=${CONFDIR}"
- use virtual-users || myconf="${myconf} --enable-homedir"
- use clamav || myconf="${myconf} --enable-clamav"
-
- # 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 sqlite ; then
- myconf="${myconf} --with-storage-driver=sqlite_drv"
- myconf="${myconf} --enable-virtual-users"
- elif use mysql; 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} --enable-preferences-extension"
-
- if has_version ">sys-kernel/linux-headers-2.6"; then
- myconf="${myconf} --enable-daemon"
- fi
-
- use virtual-users && myconf="${myconf} --enable-virtual-users"
- # an experimental feature available with MySQL and PgSQL backend
- use neural && myconf="${myconf} --enable-neural-networking"
- 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-preferences-extension"
-
- if has_version ">sys-kernel/linux-headers-2.6"; then
- myconf="${myconf} --enable-daemon"
- fi
-
- use virtual-users && myconf="${myconf} --enable-virtual-users"
- # an experimental feature available with MySQL and PgSQL backend
- use neural && myconf="${myconf} --enable-neural-networking"
- elif use oci8 ; then
- myconf="${myconf} --with-storage-driver=ora_drv"
- myconf="${myconf} --with-oracle-home=${ORACLE_HOME}"
- myconf="${myconf} --enable-virtual-users"
-
- # 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
- myconf="${myconf} --with-oracle-version=10"
- fi
- else
- myconf="${myconf} --with-storage-driver=libdb4_drv"
- fi
-
- econf ${myconf} || die
- cd ${S}/webui
- make
-}
-
-src_install () {
- cd ${S}/webui
- webapp_src_preinst
-
- sed -e 's,/var/dspam,/etc/mail/dspam,' \
- -e 's,/usr/local,/usr,' \
- -i ${S}/webui/cgi-bin/admin.cgi
- sed -e 's,/var/dspam,/etc/mail/dspam,' \
- -e 's,/usr/local,/usr,' \
- -i ${S}/webui/cgi-bin/dspam.cgi
-
- cp -r ${S}/webui/htdocs/* ${D}/${MY_HTDOCSDIR} || die
- cp -r ${S}/webui/cgi-bin/* ${D}/${MY_CGIBINDIR} || die
- insinto ${MY_HTDOCSDIR}
- insopts -m644 -o apache -g apache
-
- newins ${FILESDIR}/htaccess .htaccess
- newins ${FILESDIR}/htpasswd .htpasswd
-
- #All files must be owned by server
- cd ${D}/${MY_HTDOCSDIR}
- for file in `find -type d -printf "%p/* "`; do
- webapp_serverowned "${MY_HTDOCSDIR}/${file}"
- done
-
- #All files must be owned by server
- cd ${D}/${MY_CGIBINDIR}
- for file in `find -type d -printf "%p/* "`; do
- webapp_serverowned "${MY_CGIBINDIR}/${file}"
- 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 "emerge --config ${PF}"
- 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.2.7 b/www-apps/dspam-web/files/digest-dspam-web-3.2.7
deleted file mode 100644
index b4002f859213..000000000000
--- a/www-apps/dspam-web/files/digest-dspam-web-3.2.7
+++ /dev/null
@@ -1 +0,0 @@
-MD5 f2bc9fb56ab6f21ef0b0ec7a3d453121 dspam-3.2.7.tar.gz 621245
diff --git a/www-apps/dspam-web/files/digest-dspam-web-3.4.9-r1 b/www-apps/dspam-web/files/digest-dspam-web-3.4.9-r1
deleted file mode 100644
index 732c6a77fc09..000000000000
--- a/www-apps/dspam-web/files/digest-dspam-web-3.4.9-r1
+++ /dev/null
@@ -1 +0,0 @@
-MD5 ef7ceba47e63edb02a59be3c36cf0f6f dspam-3.4.9.tar.gz 701069
diff --git a/www-apps/dspam-web/files/digest-dspam-web-3.6.0 b/www-apps/dspam-web/files/digest-dspam-web-3.6.0
deleted file mode 100644
index 38ecbd8bd659..000000000000
--- a/www-apps/dspam-web/files/digest-dspam-web-3.6.0
+++ /dev/null
@@ -1,4 +0,0 @@
-MD5 d9ee63a8cf67ea933d711b00851ce916 dspam-3.6.0.tar.gz 732042
-MD5 8ffe9d41e6104a4c6d19067528193145 dspam_sa_trainer.tar.gz 1230
-RMD160 c3d0fca7169d23ecf9d44c850ee255b42d97d818 dspam_sa_trainer.tar.gz 1230
-SHA256 8fb6b1ebe592acf00a028737ef8e174544af166768b987d29048b2319bc5a215 dspam_sa_trainer.tar.gz 1230
diff --git a/www-apps/dspam-web/files/digest-dspam-web-3.6.1 b/www-apps/dspam-web/files/digest-dspam-web-3.6.1
deleted file mode 100644
index a64e4f90c90c..000000000000
--- a/www-apps/dspam-web/files/digest-dspam-web-3.6.1
+++ /dev/null
@@ -1,4 +0,0 @@
-MD5 6aad568823f297852dff4989da332e22 dspam-3.6.1.tar.gz 739389
-MD5 8ffe9d41e6104a4c6d19067528193145 dspam_sa_trainer.tar.gz 1230
-RMD160 c3d0fca7169d23ecf9d44c850ee255b42d97d818 dspam_sa_trainer.tar.gz 1230
-SHA256 8fb6b1ebe592acf00a028737ef8e174544af166768b987d29048b2319bc5a215 dspam_sa_trainer.tar.gz 1230
diff --git a/www-apps/dspam-web/files/digest-dspam-web-3.6.3 b/www-apps/dspam-web/files/digest-dspam-web-3.6.3
deleted file mode 100644
index 75f25c05c720..000000000000
--- a/www-apps/dspam-web/files/digest-dspam-web-3.6.3
+++ /dev/null
@@ -1,4 +0,0 @@
-MD5 db1aedb9677e6bf5c7a47a72d4f130e5 dspam-3.6.3.tar.gz 740097
-MD5 8ffe9d41e6104a4c6d19067528193145 dspam_sa_trainer.tar.gz 1230
-RMD160 c3d0fca7169d23ecf9d44c850ee255b42d97d818 dspam_sa_trainer.tar.gz 1230
-SHA256 8fb6b1ebe592acf00a028737ef8e174544af166768b987d29048b2319bc5a215 dspam_sa_trainer.tar.gz 1230