diff options
author | Lim Swee Tat <st_lim@gentoo.org> | 2006-05-29 16:04:00 +0000 |
---|---|---|
committer | Lim Swee Tat <st_lim@gentoo.org> | 2006-05-29 16:04:00 +0000 |
commit | e208fec2d20f397068320965028b02a6c94e90e2 (patch) | |
tree | afea63ace9d01535d5e70c32d73a5c9639cf27e2 /mail-filter | |
parent | Version bump to 2.01 (diff) | |
download | historical-e208fec2d20f397068320965028b02a6c94e90e2.tar.gz historical-e208fec2d20f397068320965028b02a6c94e90e2.tar.bz2 historical-e208fec2d20f397068320965028b02a6c94e90e2.zip |
Version bump, using code from Bug #130204
Diffstat (limited to 'mail-filter')
-rw-r--r-- | mail-filter/dspam/Manifest | 124 | ||||
-rw-r--r-- | mail-filter/dspam/dspam-3.6.5.ebuild | 488 | ||||
-rw-r--r-- | mail-filter/dspam/dspam-3.6.6.ebuild | 488 | ||||
-rw-r--r-- | mail-filter/dspam/files/digest-dspam-3.4.9 | 2 | ||||
-rw-r--r-- | mail-filter/dspam/files/digest-dspam-3.6.0 | 2 | ||||
-rw-r--r-- | mail-filter/dspam/files/digest-dspam-3.6.1 | 2 | ||||
-rw-r--r-- | mail-filter/dspam/files/digest-dspam-3.6.2 | 2 | ||||
-rw-r--r-- | mail-filter/dspam/files/digest-dspam-3.6.3 | 2 | ||||
-rw-r--r-- | mail-filter/dspam/files/digest-dspam-3.6.5 | 6 | ||||
-rw-r--r-- | mail-filter/dspam/files/digest-dspam-3.6.6 | 6 |
10 files changed, 1080 insertions, 42 deletions
diff --git a/mail-filter/dspam/Manifest b/mail-filter/dspam/Manifest index 32d8b64a40e5..dd5c78980541 100644 --- a/mail-filter/dspam/Manifest +++ b/mail-filter/dspam/Manifest @@ -1,69 +1,109 @@ -MD5 8ee74250a1e3fa5d77460a878cc45782 ChangeLog 13082 -RMD160 fbfeab0bbebd40ffbd71efed17ffb25706cabc4c ChangeLog 13082 -SHA256 7ba2327ca42c8329866ac72668c0c81f9967d1ddbf70d3727d342e90475e9128 ChangeLog 13082 +AUX README.postfix 309 RMD160 34f35ffa4e393ba1791cef2800bc8b4d4f49df5b SHA1 c004a3e7d54dfdd6fae8a654e44d0b9240935739 SHA256 e0928cf2d734e79419c30a4ee829962351ef5a1247ed1d1ddf3b58410e14828b size 309 +MD5 c12a54112c6fec3530a7b1a368d04ac8 files/README.postfix 309 +RMD160 34f35ffa4e393ba1791cef2800bc8b4d4f49df5b files/README.postfix 309 +SHA256 e0928cf2d734e79419c30a4ee829962351ef5a1247ed1d1ddf3b58410e14828b files/README.postfix 309 +AUX README.qmail 2317 RMD160 ebdd90be77441540848caf39b6fcde3d332b2b93 SHA1 081b28b6c261644fe3f799e3bbb5aedf59b00b8f SHA256 c70a32eb183401f3d36b8e13c1e298875692b8a9d3f34151ae42b172dd6f064a size 2317 +MD5 e0469b961385fda4305602dc2519d319 files/README.qmail 2317 +RMD160 ebdd90be77441540848caf39b6fcde3d332b2b93 files/README.qmail 2317 +SHA256 c70a32eb183401f3d36b8e13c1e298875692b8a9d3f34151ae42b172dd6f064a files/README.qmail 2317 +AUX crontab.db4 196 RMD160 f1f9b7df67029b81d185cadf531c6310b1a90fb1 SHA1 8d706e926947b32d339c9217efd245c2ed7a71d8 SHA256 d10ae01b52ac1710ebefe44f54d05bde315a1d59e58bb5d106d728babff3f36a size 196 +MD5 cd1bdb75fd86304f9453741a910cb8a2 files/crontab.db4 196 +RMD160 f1f9b7df67029b81d185cadf531c6310b1a90fb1 files/crontab.db4 196 +SHA256 d10ae01b52ac1710ebefe44f54d05bde315a1d59e58bb5d106d728babff3f36a files/crontab.db4 196 +AUX crontab.mysql 118 RMD160 9948beccbe686a23e32b06c569dbc3701a1abd6e SHA1 cb5b50e2f35dc52b3bfff7d9a72f9e22a7cbdfbd SHA256 e6ae345c6be2fc9e741e9f83a1b0399b2a6b362a062a9fe94ff01861d300cee4 size 118 +MD5 f2f86e8f7ab440c8537f40fa18a0ee43 files/crontab.mysql 118 +RMD160 9948beccbe686a23e32b06c569dbc3701a1abd6e files/crontab.mysql 118 +SHA256 e6ae345c6be2fc9e741e9f83a1b0399b2a6b362a062a9fe94ff01861d300cee4 files/crontab.mysql 118 +AUX dspam.cron 4365 RMD160 480ee9f38e938e326d8027a3ea9278627104f4ac SHA1 4647273e98d0895f74e8bed9b868e164afa475bb SHA256 4c5e354832d89e8de6fdd1666c68cad66cd93f65ba53b7c3badf409a613c70f1 size 4365 +MD5 c587b15b04392911dd203bb84b410fc1 files/dspam.cron 4365 +RMD160 480ee9f38e938e326d8027a3ea9278627104f4ac files/dspam.cron 4365 +SHA256 4c5e354832d89e8de6fdd1666c68cad66cd93f65ba53b7c3badf409a613c70f1 files/dspam.cron 4365 +AUX dspam.rc 1025 RMD160 d223977cf390b1e89392462f06b31b0722810fa3 SHA1 6b243ffac8179120ed7ee6f4b24bf01ad3a511f0 SHA256 9726e4b7699ccbb305d5e161baec2010e115731e582f69c3c670ec36bb099d34 size 1025 +MD5 e2850ede85e459ab5479b7d2e79eeb5a files/dspam.rc 1025 +RMD160 d223977cf390b1e89392462f06b31b0722810fa3 files/dspam.rc 1025 +SHA256 9726e4b7699ccbb305d5e161baec2010e115731e582f69c3c670ec36bb099d34 files/dspam.rc 1025 +AUX logrotate.dspam 156 RMD160 256f2607b275336f944b0882591366c39b53daf7 SHA1 2800fc655bd49a280fea4c064c87d1de543cfc1a SHA256 75e04139e564ad55011ee77b8245dc5cdefbb6d56ca451feab5861ab907d614e size 156 +MD5 2163ca41de383f09f4d754e2d35cb158 files/logrotate.dspam 156 +RMD160 256f2607b275336f944b0882591366c39b53daf7 files/logrotate.dspam 156 +SHA256 75e04139e564ad55011ee77b8245dc5cdefbb6d56ca451feab5861ab907d614e files/logrotate.dspam 156 +DIST dspam-3.2.7.tar.gz 621245 size 621245 +DIST dspam-3.4.9.tar.gz 701069 size 701069 +DIST dspam-3.6.0.tar.gz 732042 size 732042 +DIST dspam-3.6.1.tar.gz 739389 size 739389 +DIST dspam-3.6.2.tar.gz 740001 size 740001 +DIST dspam-3.6.3.tar.gz 740097 size 740097 +DIST dspam-3.6.4.tar.gz 743664 RMD160 fcd431205e3fd737cfdfb90b695ba7c84bbb27d5 SHA256 bdb10acbff97483db8ef7aafee8ba2e9113f6b7d5fc76cf569334b32937ca304 size 743664 +DIST dspam-3.6.5.tar.gz 747196 RMD160 363217410de515f15baaa0a864ee23617ae8f6c2 SHA256 d8033773840f51cad27466b018e26c5232990f576108af79f6aa910bc2556fda size 747196 +DIST dspam-3.6.6.tar.gz 725502 RMD160 2416908398e7e8e6a180e97dbebd4f9aee6088d7 SHA1 6113966122597c277d51b7f27539b899c3dcf847 SHA256 af9b9429ee3b69c5d1fe8e8891f21c8640ca572f6244a794835646301ce84e91 size 725502 +DIST dspam_sa_trainer.tar.gz 1230 RMD160 c3d0fca7169d23ecf9d44c850ee255b42d97d818 SHA256 8fb6b1ebe592acf00a028737ef8e174544af166768b987d29048b2319bc5a215 size 1230 +EBUILD dspam-3.2.7.ebuild 15522 RMD160 23a4c5f7b2bc6e3678ac7ac2f52b082b6b0c78ff SHA1 44898e114b325a55d07256553e40c5187bd2ce5a SHA256 fd4058d2906f69dfedca2503f4ddbb9fee9188d2bde6bc65ec4ddd71821e9b9c size 15522 MD5 d67e6503fcd6df5a6b7875c95c3d082a dspam-3.2.7.ebuild 15522 RMD160 23a4c5f7b2bc6e3678ac7ac2f52b082b6b0c78ff dspam-3.2.7.ebuild 15522 SHA256 fd4058d2906f69dfedca2503f4ddbb9fee9188d2bde6bc65ec4ddd71821e9b9c dspam-3.2.7.ebuild 15522 +EBUILD dspam-3.4.9.ebuild 19643 RMD160 2ed5893c13fb9ff727bc092ae6ac6b550f4f340c SHA1 ee6860168d6e2454afd4c03b347acc43b0aaa247 SHA256 2c31f1e96d682d85f4ec64c748a385aa6d64541adc293300c031b531dcfffcba size 19643 MD5 1357c22572c375162a93d9be034d53cd dspam-3.4.9.ebuild 19643 RMD160 2ed5893c13fb9ff727bc092ae6ac6b550f4f340c dspam-3.4.9.ebuild 19643 SHA256 2c31f1e96d682d85f4ec64c748a385aa6d64541adc293300c031b531dcfffcba dspam-3.4.9.ebuild 19643 +EBUILD dspam-3.6.0.ebuild 18417 RMD160 23e253a75d5c26ce2739583013f900bd5e999aa6 SHA1 3f6c22f5e2472e142e8b7c247e9fda70fe1987b4 SHA256 1bb0dd4ff675eabf6255d0ab385335691d2428701a037f979da79196bcca1a84 size 18417 MD5 e117e7b4c6a7b15bd24832c416c106f3 dspam-3.6.0.ebuild 18417 RMD160 23e253a75d5c26ce2739583013f900bd5e999aa6 dspam-3.6.0.ebuild 18417 SHA256 1bb0dd4ff675eabf6255d0ab385335691d2428701a037f979da79196bcca1a84 dspam-3.6.0.ebuild 18417 +EBUILD dspam-3.6.1.ebuild 18243 RMD160 16e0cea71d783d6acf1200390d6c5a7882c3c2ba SHA1 7919cc90e714094e9478e66df65d2d117d6ddb25 SHA256 d01a6acfddfbd0b767297818192a69db3c5a24cc4ad0e415518690e65f62a18c size 18243 MD5 64c1c2f016fbf8a85f9877ef6a757618 dspam-3.6.1.ebuild 18243 RMD160 16e0cea71d783d6acf1200390d6c5a7882c3c2ba dspam-3.6.1.ebuild 18243 SHA256 d01a6acfddfbd0b767297818192a69db3c5a24cc4ad0e415518690e65f62a18c dspam-3.6.1.ebuild 18243 +EBUILD dspam-3.6.2.ebuild 18243 RMD160 8b8a4dba999c8164a30715f5da0ffc58dbb89a14 SHA1 d103be24c4bdecb0c005ea6e27b2f82d38a3ccbc SHA256 25ffa4a2359ca1ec1bfe6bff1990e4d16c0d075c82924e200096f2da17bbc423 size 18243 MD5 16f46fe5b2ee6a9deb4e8cd7fd7254c1 dspam-3.6.2.ebuild 18243 RMD160 8b8a4dba999c8164a30715f5da0ffc58dbb89a14 dspam-3.6.2.ebuild 18243 SHA256 25ffa4a2359ca1ec1bfe6bff1990e4d16c0d075c82924e200096f2da17bbc423 dspam-3.6.2.ebuild 18243 +EBUILD dspam-3.6.3.ebuild 18245 RMD160 0a60874b910029b0c6998aaa51a469977493fd62 SHA1 9ecedc80a2938b7e8660dfc7d32d9c13f853b5d4 SHA256 8f153964373e03e1c54fefcbd570382b3a0a205ce36d63cea7acde48866ae4ce size 18245 MD5 5ba2779930edea12864163bc70f3b161 dspam-3.6.3.ebuild 18245 RMD160 0a60874b910029b0c6998aaa51a469977493fd62 dspam-3.6.3.ebuild 18245 SHA256 8f153964373e03e1c54fefcbd570382b3a0a205ce36d63cea7acde48866ae4ce dspam-3.6.3.ebuild 18245 +EBUILD dspam-3.6.4.ebuild 17922 RMD160 b711630c2e1011bdf2b679c061caabd45b0b510d SHA1 3687fcf5ce5de96234f2356a6c8243cbee13a3dd SHA256 f78495bb845b3f25491c980154b96ef011ce035fa04264c4db526b25d8351430 size 17922 MD5 a93b879b8b6bd6b07807e0f96efa9cff dspam-3.6.4.ebuild 17922 RMD160 b711630c2e1011bdf2b679c061caabd45b0b510d dspam-3.6.4.ebuild 17922 SHA256 f78495bb845b3f25491c980154b96ef011ce035fa04264c4db526b25d8351430 dspam-3.6.4.ebuild 17922 -MD5 c12a54112c6fec3530a7b1a368d04ac8 files/README.postfix 309 -RMD160 34f35ffa4e393ba1791cef2800bc8b4d4f49df5b files/README.postfix 309 -SHA256 e0928cf2d734e79419c30a4ee829962351ef5a1247ed1d1ddf3b58410e14828b files/README.postfix 309 -MD5 e0469b961385fda4305602dc2519d319 files/README.qmail 2317 -RMD160 ebdd90be77441540848caf39b6fcde3d332b2b93 files/README.qmail 2317 -SHA256 c70a32eb183401f3d36b8e13c1e298875692b8a9d3f34151ae42b172dd6f064a files/README.qmail 2317 -MD5 cd1bdb75fd86304f9453741a910cb8a2 files/crontab.db4 196 -RMD160 f1f9b7df67029b81d185cadf531c6310b1a90fb1 files/crontab.db4 196 -SHA256 d10ae01b52ac1710ebefe44f54d05bde315a1d59e58bb5d106d728babff3f36a files/crontab.db4 196 -MD5 f2f86e8f7ab440c8537f40fa18a0ee43 files/crontab.mysql 118 -RMD160 9948beccbe686a23e32b06c569dbc3701a1abd6e files/crontab.mysql 118 -SHA256 e6ae345c6be2fc9e741e9f83a1b0399b2a6b362a062a9fe94ff01861d300cee4 files/crontab.mysql 118 +EBUILD dspam-3.6.5.ebuild 18103 RMD160 08bedab1e87c9e879f2e71188d46a2a504307ff1 SHA1 b750f30888611970fc4411a3425ed6db014b502c SHA256 ea02a5d1717733626ffe99bc94716b95a95b0a91733524b5cbaed5d6f4a81765 size 18103 +MD5 19600cd681669343b5a0e09871fdf311 dspam-3.6.5.ebuild 18103 +RMD160 08bedab1e87c9e879f2e71188d46a2a504307ff1 dspam-3.6.5.ebuild 18103 +SHA256 ea02a5d1717733626ffe99bc94716b95a95b0a91733524b5cbaed5d6f4a81765 dspam-3.6.5.ebuild 18103 +EBUILD dspam-3.6.6.ebuild 18103 RMD160 08bedab1e87c9e879f2e71188d46a2a504307ff1 SHA1 b750f30888611970fc4411a3425ed6db014b502c SHA256 ea02a5d1717733626ffe99bc94716b95a95b0a91733524b5cbaed5d6f4a81765 size 18103 +MD5 19600cd681669343b5a0e09871fdf311 dspam-3.6.6.ebuild 18103 +RMD160 08bedab1e87c9e879f2e71188d46a2a504307ff1 dspam-3.6.6.ebuild 18103 +SHA256 ea02a5d1717733626ffe99bc94716b95a95b0a91733524b5cbaed5d6f4a81765 dspam-3.6.6.ebuild 18103 +MISC ChangeLog 13082 RMD160 fbfeab0bbebd40ffbd71efed17ffb25706cabc4c SHA1 cce269e277275dbc62fe690ef564621666060353 SHA256 7ba2327ca42c8329866ac72668c0c81f9967d1ddbf70d3727d342e90475e9128 size 13082 +MD5 8ee74250a1e3fa5d77460a878cc45782 ChangeLog 13082 +RMD160 fbfeab0bbebd40ffbd71efed17ffb25706cabc4c ChangeLog 13082 +SHA256 7ba2327ca42c8329866ac72668c0c81f9967d1ddbf70d3727d342e90475e9128 ChangeLog 13082 +MISC metadata.xml 308 RMD160 e00f0ac6e9ed220c85106ef5b3f3f10c2ae7367e SHA1 e9dc7ddf99267bec249b7d0912c85edbd049415c SHA256 22e22f11e18ee12d274bff94c5d12acb02acd5a823fb2e5ebe0d0da609e3507e size 308 +MD5 dbfbe5a3bbe3347938107f5f5bd2197e metadata.xml 308 +RMD160 e00f0ac6e9ed220c85106ef5b3f3f10c2ae7367e metadata.xml 308 +SHA256 22e22f11e18ee12d274bff94c5d12acb02acd5a823fb2e5ebe0d0da609e3507e metadata.xml 308 MD5 7735956f416bd58bfcbeee99af43bea0 files/digest-dspam-3.2.7 63 RMD160 ce7960915bff3c533ccffc2698ab6a2a44e63623 files/digest-dspam-3.2.7 63 SHA256 f30a88498275e3e0f401a373c3fd8f0e7f6669cf1eac9f06a7a6addbbe1be1d5 files/digest-dspam-3.2.7 63 -MD5 bf443ca4bd218fa9d4b8975bf450c347 files/digest-dspam-3.4.9 129 -RMD160 594451cae2ecf5d42a6dfe9f3457d2bfc4deeae6 files/digest-dspam-3.4.9 129 -SHA256 f7dbfa097029001a229850fed24a47b578e2bf72b661edd229b5cddf7d2e04e7 files/digest-dspam-3.4.9 129 -MD5 03b69dda833751bdda04e5413a9305e0 files/digest-dspam-3.6.0 129 -RMD160 7938c059468012e29bb5f97bd2c45aabcaf581f6 files/digest-dspam-3.6.0 129 -SHA256 f3687b62ab140539ba49cf5efc5113cb0313604c8221fcef8fe9ad9364e819c2 files/digest-dspam-3.6.0 129 -MD5 5a495629f2b3fbcfabc0f4ae4a9b4e4b files/digest-dspam-3.6.1 129 -RMD160 2f8252fb53b7bd3c69af67cc73d79edb28dbb9ea files/digest-dspam-3.6.1 129 -SHA256 22fe216d58d850934d647270dec89fe999bf2d75a47f69845c0773595b3a534e files/digest-dspam-3.6.1 129 -MD5 c7e2e5a923e66ccdb462ab5b58f134bc files/digest-dspam-3.6.2 129 -RMD160 9ede1c3e4ca2415e9e0eb71e7564b9288c9da924 files/digest-dspam-3.6.2 129 -SHA256 8e040de867d0a3880f8f71be861e3baed9f2ae1bb58c57227eb911589cde4d0f files/digest-dspam-3.6.2 129 -MD5 f73f2bd58b9d8ace7a6f431e8587c909 files/digest-dspam-3.6.3 129 -RMD160 10d6cbe604729a619fdea9fe27714d117d593342 files/digest-dspam-3.6.3 129 -SHA256 51b4104316124d35d8e81d99b681b13e2a15c41f650e50dec6bf8b6d461be3a2 files/digest-dspam-3.6.3 129 +MD5 ee0c1728b9970396b2dc3e6ad9f19814 files/digest-dspam-3.4.9 307 +RMD160 0987f5426405af6ba7f388aeabcfb5ca414193f5 files/digest-dspam-3.4.9 307 +SHA256 fad58959ad86132800ed6553f326cc062977ee2cf131e7c2396d4c4f88134f71 files/digest-dspam-3.4.9 307 +MD5 5d26a02c843bba0970293036316f69f9 files/digest-dspam-3.6.0 307 +RMD160 f6e28a5357414e64aa8138459a51409637cb6f71 files/digest-dspam-3.6.0 307 +SHA256 5f2ae10e662c8d1a5e15ffda06a1838738429826e18c3e60174ea8ce8edddadf files/digest-dspam-3.6.0 307 +MD5 c3827b663184fad6c386e88ad9bc6022 files/digest-dspam-3.6.1 307 +RMD160 abc146b44aa85ae5746450078a1f5642609115f5 files/digest-dspam-3.6.1 307 +SHA256 0bc2a58c23efdcb04d25384543f8f4f7741249d74961a11bbe99fbb4705f32a6 files/digest-dspam-3.6.1 307 +MD5 d607a64e184f4f66e5e99c85c33377f3 files/digest-dspam-3.6.2 307 +RMD160 fa8fee7f1c51d8dfc8c218b99c1cf51587f7ed67 files/digest-dspam-3.6.2 307 +SHA256 5d7ffc888b0470d5248e1bc5f9fee964e0bb70df6a98b8b87d9327ff48361148 files/digest-dspam-3.6.2 307 +MD5 fc5fd9593dd3de524487ad2631681afb files/digest-dspam-3.6.3 307 +RMD160 9fd1beb7cbfb9c56ffc6e76eb0662dbd0b31d7e0 files/digest-dspam-3.6.3 307 +SHA256 f5d0cae0eac4d5c18af96901e4d9dadc7def244c3845d28e5e8813b4c5d976bf files/digest-dspam-3.6.3 307 MD5 7581683a18b328f3fa07b2904787e0bd files/digest-dspam-3.6.4 479 RMD160 9ef62154897f5cdcd28c2ab1f04ccad9f19b8967 files/digest-dspam-3.6.4 479 SHA256 af3f77afae9380d52f6f7910135aad0fda7b9c080b6ce9f88919abee9247d421 files/digest-dspam-3.6.4 479 -MD5 c587b15b04392911dd203bb84b410fc1 files/dspam.cron 4365 -RMD160 480ee9f38e938e326d8027a3ea9278627104f4ac files/dspam.cron 4365 -SHA256 4c5e354832d89e8de6fdd1666c68cad66cd93f65ba53b7c3badf409a613c70f1 files/dspam.cron 4365 -MD5 e2850ede85e459ab5479b7d2e79eeb5a files/dspam.rc 1025 -RMD160 d223977cf390b1e89392462f06b31b0722810fa3 files/dspam.rc 1025 -SHA256 9726e4b7699ccbb305d5e161baec2010e115731e582f69c3c670ec36bb099d34 files/dspam.rc 1025 -MD5 2163ca41de383f09f4d754e2d35cb158 files/logrotate.dspam 156 -RMD160 256f2607b275336f944b0882591366c39b53daf7 files/logrotate.dspam 156 -SHA256 75e04139e564ad55011ee77b8245dc5cdefbb6d56ca451feab5861ab907d614e files/logrotate.dspam 156 -MD5 dbfbe5a3bbe3347938107f5f5bd2197e metadata.xml 308 -RMD160 e00f0ac6e9ed220c85106ef5b3f3f10c2ae7367e metadata.xml 308 -SHA256 22e22f11e18ee12d274bff94c5d12acb02acd5a823fb2e5ebe0d0da609e3507e metadata.xml 308 +MD5 9b229c1d1f7fa7be228708ed9fa207ca files/digest-dspam-3.6.5 479 +RMD160 10e827a6f0086d3c3a23b4bcd320531b970ec81b files/digest-dspam-3.6.5 479 +SHA256 238cd33e9ba52ee7b6acca73c12febcb30a5e33479a4b15ab9bc597ce901e9ea files/digest-dspam-3.6.5 479 +MD5 7af3180e32cd59d6be1665812e5900a5 files/digest-dspam-3.6.6 479 +RMD160 d37fce937cfec8e8c86d94bf14cf34c9f7fd14d3 files/digest-dspam-3.6.6 479 +SHA256 4019ae3c73affe51f0da1bcae2d8c7fbf7e70975c066b09a9b2b1ec89f5be575 files/digest-dspam-3.6.6 479 diff --git a/mail-filter/dspam/dspam-3.6.5.ebuild b/mail-filter/dspam/dspam-3.6.5.ebuild new file mode 100644 index 000000000000..79e22c792d19 --- /dev/null +++ b/mail-filter/dspam/dspam-3.6.5.ebuild @@ -0,0 +1,488 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/mail-filter/dspam/dspam-3.6.5.ebuild,v 1.1 2006/05/29 16:04:00 st_lim Exp $ + +inherit eutils + +DESCRIPTION="A statistical-algorithmic hybrid anti-spam filter" +SRC_URI="http://dspam.nuclearelephant.com/sources/${P}.tar.gz + http://dspam.nuclearelephant.com/sources/extras/dspam_sa_trainer.tar.gz" +HOMEPAGE="http://dspam.nuclearelephant.com/" +LICENSE="GPL-2" + +IUSE="berkdb clamav cyrus daemon debug large-domain ldap logrotate mysql oci8 postgres procmail sqlite sqlite3 virtual-users user-homedirs" + +DEPEND="berkdb? ( >=sys-libs/db-4.0 ) + clamav? ( >=app-antivirus/clamav-0.86 ) + ldap? ( >=net-nds/openldap-2.2 ) + daemon? ( || (mysql? ( >=dev-db/mysql-3.23 )) (postgres? (>=dev-db/postgresql-7.4.3 )) ) + sqlite? ( <dev-db/sqlite-3 ) + sqlite3? ( =dev-db/sqlite-3* )" + +RDEPEND="${DEPEND} + sys-process/cronbase + cyrus? ( net-mail/cyrus-imapd ) + logrotate? ( app-admin/logrotate ) + procmail? ( mail-filter/procmail )" + +KEYWORDS="~x86 ~ppc ~alpha ~amd64" +SLOT="0" + +# some FHS-like structure +HOMEDIR="/var/spool/dspam" +CONFDIR="/etc/mail/dspam" +LOGDIR="/var/log/dspam" + +pkg_setup() { + local multiple_dbs="0" + local supported_dbs="berkdb mysql postgres oci8 sqlite sqlite3" + for foo in ${supported_dbs}; do + if use ${foo}; then + let multiple_dbs="((multiple_dbs + 1 ))" + einfo " ${foo} database support in your USE flags." + fi + done + + if [ "${multiple_dbs}" -ge "2" ]; then + echo + ewarn "You have multiple database backends active in your USE flags." + ewarn "Will default to MySQL as your dspam database backend." + ewarn "If you want to build with another database backend; hit Control-C now." + ewarn "Change your USE flag -mysql and emerge again." + echo + has_version ">=sys-apps/portage-2.0.50" && ( + einfo "It would be best practice to add the set of USE flags that you use for this" + einfo "package to the file: /etc/portage/package.use. Example:" + einfo "\`echo \"mail-filter/dspam -mysql postgres -oci8 -sqlite -sqlite3\" >> /etc/portage/package.use\`" + einfo "to build dspam with a PostgreSQL database as your dspam backend." + ) + elif [ "${multiple_dbs}" -eq "0" ]; then + echo + ewarn "You did not select any SQL based database backend." + ewarn "DSPAM will use self-contained Hash driver for storing data." + ewarn "If you don't want that, then enable one of the following" + ewarn "USE flags: ${supported_dbs}" + fi + + if use daemon && has_version ">sys-kernel/linux-headers-2.6"; then + einfo "To use the new DSPAM daemon mode, you need to emerge" + einfo ">sys-kernel/linux-headers-2.6 and rebuild glibc to support NPTL" + fi + + if use daemon && ! use mysql && ! use postgres ; then + echo + ewarn "To use the new DSPAM daemon mode, you need to emerge either MySQL or PostgreSQL" + fi + + if use virtual-users && use user-homedirs ; then + ewarn "If the users are virtual, then they probably should not have home directories." + fi + + if use user-homedirs ; then + ewarn "WARNING: dspam-web will not work with user-homedirs. Disable this USE flag" + ewarn "if you intend on using dspam-web." + fi + + id dspam 2>/dev/null || enewgroup dspam 26 + id dspam 2>/dev/null || enewuser dspam 26 /bin/bash ${HOMEDIR} dspam +} + +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-home=${HOMEDIR}" + myconf="${myconf} --sysconfdir=${CONFDIR}" + use user-homedirs && myconf="${myconf} --enable-homedir" + use clamav && myconf="${myconf} --enable-clamav" + use ldap && myconf="${myconf} --enable-ldap" + + if use cyrus; then + myconf="${myconf} --with-delivery-agent=/usr/lib/cyrus/deliver" + elif use procmail; then + myconf="${myconf} --with-delivery-agent=/usr/bin/procmail" + fi + + # 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 --enable-bnr-debug" + + if use daemon && has_version ">sys-kernel/linux-headers-2.6"; then + myconf="${myconf} --enable-daemon" + fi + + # select storage driver + if use sqlite ; then + myconf="${myconf} --with-storage-driver=sqlite_drv" + myconf="${myconf} --enable-virtual-users" + elif use sqlite3 ; then + myconf="${myconf} --with-storage-driver=sqlite3_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" + + use virtual-users && myconf="${myconf} --enable-virtual-users" + 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" + + use virtual-users && myconf="${myconf} --enable-virtual-users" + 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 berkdb ; then + myconf="${myconf} --with-storage-driver=libdb4_drv" + else + myconf="${myconf} --with-storage-driver=hash_drv" + fi + + econf ${myconf} || die + emake || die +} + +src_install () { + + # Fix issues with older dspam configuration + CONFIG_PROTECT="${CONFIG_PROTECT} ${HOMEDIR} ${CONFDIR} /var/run/dspam" + CONFIG_PROTECT_MASK="${CONFIG_PROTECTMASK/${HOMEDIR}/}" + CONFIG_PROTECT_MASK="${CONFIG_PROTECTMASK/${CONFDIR}/}" + + # open up perms on $HOMEDIR + diropts -m0775 -o dspam -g dspam + dodir ${HOMEDIR} + keepdir ${HOMEDIR} + + # keeps dspam data in $CONFDIR + diropts -m0775 -o dspam -g dspam + dodir ${CONFDIR} + keepdir ${CONFDIR} + + # create logdir + diropts -m0775 -o dspam -g dspam + dodir ${LOGDIR} + keepdir ${LOGDIR} + + # make install + make DESTDIR=${D} install || die + chmod o+s ${D}/usr/bin/dspam + chmod o+s ${D}/usr/bin/dspam_stats + + # documentation + dodoc CHANGELOG LICENSE README* RELEASE.NOTES UPGRADING + dodoc ${DISTDIR}/dspam_sa_trainer.tar.gz + docinto doc + dodoc doc/*.txt + docinto gentoo + dodoc ${FILESDIR}/README.postfix ${FILESDIR}/README.qmail + doman man/dspam* + dodoc ${DISTDIR}/dspam_sa_trainer.tar.gz + + # build some initial configuration data + [ ! -f ${CONFDIR}/dspam.conf ] \ + && cp src/dspam.conf ${T}/dspam.conf + + if use daemon; then + if has_version ">sys-kernel/linux-headers-2.6"; then + # keeps dspam socket for daemon in /var/run/dspam + diropts -m0775 -o dspam -g dspam + dodir /var/run/dspam + keepdir /var/run/dspam + + # We use sockets for the daemon instead of tcp port 24 + sed -e 's:^#*\(ServerDomainSocketPath[\t ]\{1,\}\).*:\1\"/var/run/dspam/dspam.sock\":gI' \ + -e 's:^#*\(ServerPID[\t ]\{1,\}\).*:\1/var/run/dspam/dspam.pid:gI' \ + -i ${T}/dspam.conf + + # dspam init script + exeinto /etc/init.d + exeopts -m0755 -o root -g root + newexe ${FILESDIR}/dspam.rc dspam + fi + fi + + # generate random password + local PASSWORD="${RANDOM}${RANDOM}${RANDOM}${RANDOM}" + + # database related configuration and scripts + if use sqlite; then + insinto ${CONFDIR} + insopts -m644 -o dspam -g dspam + newins src/tools.sqlite_drv/purge-2.sql sqlite_purge.sql + elif use sqlite3; then + insinto ${CONFDIR} + insopts -m644 -o dspam -g dspam + newins src/tools.sqlite_drv/purge-3.sql sqlite3_purge.sql + elif use mysql; then + # Use existing configuration if possible + if [[ -f ${ROOT}${CONFDIR}/mysql.data ]]; then + DSPAM_DB_DATA=( $(sed "s:^[\t ]*$:###:gI" "${ROOT}${CONFDIR}/mysql.data") ) + for DB_DATA_INDEX in $(seq 0 $((${#DSPAM_DB_DATA[@]} - 1))); do + [[ "${DSPAM_DB_DATA[$DB_DATA_INDEX]}" = "###" ]] && DSPAM_DB_DATA[$DB_DATA_INDEX]="" + done + else + DSPAM_DB_DATA[0]="/var/run/mysqld/mysqld.sock" + DSPAM_DB_DATA[1]="" + DSPAM_DB_DATA[2]="dspam" + DSPAM_DB_DATA[3]="${PASSWORD}" + DSPAM_DB_DATA[4]="dspam" + DSPAM_DB_DATA[5]="true" + fi + + # Modify configuration and create mysql.data file + sed -e "s:^#*\(MySQLServer[\t ]\{1,\}\).*:\1${DSPAM_DB_DATA[0]}:gI" \ + -e "s:^#*\(MySQLPort[\t ]\{1,\}\).*:\1${DSPAM_DB_DATA[1]}:gI" \ + -e "s:^#*\(MySQLUser[\t ]\{1,\}\).*:\1${DSPAM_DB_DATA[2]}:gI" \ + -e "s:^#*\(MySQLPass[\t ]\{1,\}\).*:\1${DSPAM_DB_DATA[3]}:gI" \ + -e "s:^#*\(MySQLDb[\t ]\{1,\}\).*:\1${DSPAM_DB_DATA[4]}:gI" \ + -e "s:^#*\(MySQLCompress[\t ]\{1,\}\).*:\1${DSPAM_DB_DATA[5]}:gI" \ + -i ${T}/dspam.conf + for DB_DATA_INDEX in $(seq 0 $((${#DSPAM_DB_DATA[@]} - 1))); do + echo "${DSPAM_DB_DATA[$DB_DATA_INDEX]}" >> ${T}/mysql.data + done + insinto ${CONFDIR} + insopts -m644 -o dspam -g dspam + doins ${T}/mysql.data + newins src/tools.mysql_drv/mysql_objects-space.sql mysql_objects-space.sql + newins src/tools.mysql_drv/mysql_objects-speed.sql mysql_objects-speed.sql + newins src/tools.mysql_drv/mysql_objects-4.1.sql mysql_objects-4.1.sql + newins src/tools.mysql_drv/virtual_users.sql mysql_virtual_users.sql + newins src/tools.mysql_drv/purge.sql mysql_purge.sql + newins src/tools.mysql_drv/purge-4.1.sql mysql_purge-4.1.sql + + elif use postgres ; then + # Use existing configuration if possible + if [ -f ${ROOT}${CONFDIR}/pgsql.data ]; then + DSPAM_DB_DATA=( $(cat "${ROOT}${CONFDIR}/pgsql.data") ) + for DB_DATA_INDEX in $(seq 0 $((${#DSPAM_DB_DATA[@]} - 1))); do + [[ "${DSPAM_DB_DATA[$DB_DATA_INDEX]}" = "###" ]] && DSPAM_DB_DATA[$DB_DATA_INDEX]="" + done + else + DSPAM_DB_DATA[0]="127.0.0.1" + DSPAM_DB_DATA[1]="5432" + DSPAM_DB_DATA[2]="dspam" + DSPAM_DB_DATA[3]="${PASSWORD}" + DSPAM_DB_DATA[4]="dspam" + fi + + # Modify configuration and create pgsql.data file + sed -e "s:^#*\(PgSQLServer[\t ]\{1,\}\).*:\1${DSPAM_DB_DATA[0]}:gI" \ + -e "s:^#*\(PgSQLPort[\t ]\{1,\}\).*:\1${DSPAM_DB_DATA[1]}:gI" \ + -e "s:^#*\(PgSQLUser[\t ]\{1,\}\).*:\1${DSPAM_DB_DATA[2]}:gI" \ + -e "s:^#*\(PgSQLPass[\t ]\{1,\}\).*:\1${DSPAM_DB_DATA[3]}:gI" \ + -e "s:^#*\(PgSQLDb[\t ]\{1,\}\).*:\1${DSPAM_DB_DATA[4]}:gI" \ + -e "s:^#*\(PgSQLConnectionCache[\t ]*.\):\1:gI" \ + -i ${T}/dspam.conf + for DB_DATA_INDEX in $(seq 0 $((${#DSPAM_DB_DATA[@]} - 1))); do + echo "${DSPAM_DB_DATA[$DB_DATA_INDEX]}" >> ${T}/pgsql.data + done + + insinto ${CONFDIR} + insopts -m644 -o dspam -g dspam + doins ${T}/pgsql.data + newins src/tools.pgsql_drv/pgsql_objects.sql pgsql_objects.sql + newins src/tools.pgsql_drv/virtual_users.sql pgsql_virtual_users.sql + newins src/tools.pgsql_drv/purge.sql pgsql_purge.sql + + elif use oci8 ; then + # Use existing configuration if possible + if [ -f ${ROOT}${CONFDIR}/oracle.data ]; then + DSPAM_DB_DATA=( $(cat "${ROOT}${CONFDIR}/oracle.data") ) + for DB_DATA_INDEX in $(seq 0 $((${#DSPAM_DB_DATA[@]} - 1))); do + [[ "${DSPAM_DB_DATA[$DB_DATA_INDEX]}" = "###" ]] && DSPAM_DB_DATA[$DB_DATA_INDEX]="" + done + else + DSPAM_DB_DATA[0]="(DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=127.0.0.1)(PORT=1521))(CONNECT_DATA=(SID=PROD)))" + DSPAM_DB_DATA[1]="dspam" + DSPAM_DB_DATA[2]="${PASSWORD}" + DSPAM_DB_DATA[3]="dspam" + fi + + # Modify configuration and create oracle.data file + sed -e "s:^#*\(OraServer[\t ]\{1,\}\).*:\1${DSPAM_DB_DATA[0]}:gI" \ + -e "s:^\(OraUser[\t ]\{1,\}\).*:\1${DSPAM_DB_DATA[1]}:gI" \ + -e "s:^\(OraPass[\t ]\{1,\}\).*:\1${DSPAM_DB_DATA[2]}:gI" \ + -e "s:^\(OraSchema[\t ]\{1,\}\).*:\1${DSPAM_DB_DATA[3]}:gI"\ + -i ${T}/dspam.conf + for DB_DATA_INDEX in $(seq 0 $((${#DSPAM_DB_DATA[@]} - 1))); do + echo "${DSPAM_DB_DATA[$DB_DATA_INDEX]}" >> ${T}/oracle.data + done + + insinto ${CONFDIR} + insopts -m644 -o dspam -g dspam + doins ${T}/oracle.data + newins src/tools.ora_drv/oral_objects.sql ora_objects.sql + newins src/tools.ora_drv/virtual_users.sql ora_virtual_users.sql + newins src/tools.ora_drv/purge.sql ora_purge.sql + fi + + sed -e "s:^\(Purge.*\):###\1:g" \ + -e "s:^#\(Purge.*\):\1:g" \ + -e "s:^###\(Purge.*\):#\1:g" \ + -i ${T}/dspam.conf + insinto ${CONFDIR} + insopts -m644 -o dspam -g dspam + doins ${T}/dspam.conf + + # installs the notification messages + # -> The documentation is wrong! The files need to be in ./txt + diropts -m0775 -o dspam -g dspam + dodir ${HOMEDIR}/txt + keepdir ${HOMEDIR}/txt + insinto ${HOMEDIR}/txt + insopts -m644 -o dspam -g dspam + doins ${S}/txt/*.txt + + # Create the opt-in / opt-out directories + diropts -m0775 -o dspam -g dspam + dodir ${HOMEDIR}/opt-in + keepdir ${HOMEDIR}/opt-in + dodir ${HOMEDIR}/opt-out + keepdir ${HOMEDIR}/opt-out + + # logrotation scripts + diropts -m0755 -o dspam -g dspam + dodir /etc/logrotate.d + keepdir /etc/logrotate.d + insinto /etc/logrotate.d + insopts -m0644 -o dspam -g dspam + newins ${FILESDIR}/logrotate.dspam dspam + + # dspam cron job + diropts -m0755 -o dspam -g dspam + dodir /etc/cron.daily + keepdir /etc/cron.daily + exeinto /etc/cron.daily + exeopts -m0755 -o dspam -g dspam + doexe ${FILESDIR}/dspam.cron + + # dspam enviroment + echo -ne "CONFIG_PROTECT=\"${CONFDIR} /var/run/dspam\"\n\n" > ${T}/40dspam + doenvd ${T}/40dspam || die +} + +pkg_postinst() { + env-update + if use mysql || use postgres || use oci8; then + echo + einfo "To setup DSPAM to run out-of-the-box on your system with a MySQL," + einfo "PostgreSQL or Oracle database, run:" + einfo "emerge --config =${PF}" + fi + + if has_version ">dev-db/postgresql-8.0"; then + echo + einfo "Before executing the configuration command mentioned above you have" + einfo "to execute the following command:" + einfo "createlang plpgsql -U postgres dspam" + fi + + if use daemon; then + if has_version ">sys-kernel/linux-headers-2.6"; then + einfo "If you want to run DSPAM in the new daemon mode remember" + einfo "to make the DSPAM daemon start during boot:" + einfo " rc-update add dspam default" + fi + fi + if use exim ; then + echo + einfo "To use dspam in conjunction with your exim system, you should read the README" + fi +} + +pkg_config () { + if use sqlite ; then + einfo "sqlite_drv will automatically create the necessary database" + elif use mysql ; then + DSPAM_DB_DATA=( $(sed "s:^[\t ]*$:###:gI" "${ROOT}${CONFDIR}/mysql.data") ) + for DB_DATA_INDEX in $(seq 0 $((${#DSPAM_DB_DATA[@]} - 1))); do + [[ "${DSPAM_DB_DATA[$DB_DATA_INDEX]}" = "###" ]] && DSPAM_DB_DATA[$DB_DATA_INDEX]="" + done + DSPAM_MySQL_USER="${DSPAM_DB_DATA[2]}" + DSPAM_MySQL_PWD="${DSPAM_DB_DATA[3]}" + DSPAM_MySQL_DB="${DSPAM_DB_DATA[4]}" + + ewarn "When prompted for a password, please enter your MySQL root password" + ewarn + + einfo "Creating DSPAM MySQL database \"${DSPAM_MySQL_DB}\"" + /usr/bin/mysqladmin -u root -p create ${DSPAM_MySQL_DB} + + einfo "Creating DSPAM MySQL tables for data objects" + einfo " Please select what kind of object database you like to use." + einfo " [1] Space optimized database" + einfo " [2] Speed optimized database" + einfo + while true + do + read -n 1 -s -p " Press 1 or 2 on the keyboard to select database" DSPAM_MySQL_DB_Type + [[ "${DSPAM_MySQL_DB_Type}" == "1" || "${DSPAM_MySQL_DB_Type}" == "2" ]] && echo && break + done + + if [ "${DSPAM_MySQL_DB_Type}" == "1" ] + then + /usr/bin/mysql -u root -p ${DSPAM_MySQL_DB} < ${CONFDIR}/mysql_objects-space.sql + else + /usr/bin/mysql -u root -p ${DSPAM_MySQL_DB} < ${CONFDIR}/mysql_objects-speed.sql + fi + + if use virtual-users ; then + einfo "Creating DSPAM MySQL database for virtual-users users" + /usr/bin/mysql -u root -p ${DSPAM_MySQL_DB} < ${CONFDIR}/mysql_virtual_users.sql + fi + + einfo "Creating DSPAM MySQL user \"${DSPAM_MySQL_USER}\"" + /usr/bin/mysql -u root -p -e "GRANT SELECT,INSERT,UPDATE,DELETE ON ${DSPAM_MySQL_DB}.* TO ${DSPAM_MySQL_USER}@localhost IDENTIFIED BY '${DSPAM_MySQL_PWD}';FLUSH PRIVILEGES;" -D mysql + elif use postgres ; then + DSPAM_DB_DATA=( $(sed "s:^[\t ]*$:###:gI" "${ROOT}${CONFDIR}/pgsql.data") ) + for DB_DATA_INDEX in $(seq 0 $((${#DSPAM_DB_DATA[@]} - 1))); do + [[ "${DSPAM_DB_DATA[$DB_DATA_INDEX]}" = "###" ]] && DSPAM_DB_DATA[$DB_DATA_INDEX]="" + done + DSPAM_PgSQL_USER="${DSPAM_DB_DATA[2]}" + DSPAM_PgSQL_PWD="${DSPAM_DB_DATA[3]}" + DSPAM_PgSQL_DB="${DSPAM_DB_DATA[4]}" + + ewarn "When prompted for a password, please enter your PgSQL postgres password" + ewarn + + einfo "Creating DSPAM PostgreSQL database \"${DSPAM_PgSQL_DB}\" and user \"${DSPAM_PgSQL_USER}\"" + /usr/bin/psql -h localhost -d template1 -U postgres -c "CREATE USER ${DSPAM_PgSQL_USER} WITH PASSWORD '${DSPAM_PgSQL_PWD}' NOCREATEDB NOCREATEUSER; CREATE DATABASE ${DSPAM_PgSQL_DB}; GRANT ALL PRIVILEGES ON DATABASE ${DSPAM_PgSQL_DB} TO ${DSPAM_PgSQL_USER}; GRANT ALL PRIVILEGES ON SCHEMA public TO ${DSPAM_PgSQL_USER}; UPDATE pg_database SET datdba=(SELECT usesysid FROM pg_shadow WHERE usename='${DSPAM_PgSQL_USER}') WHERE datname='${DSPAM_PgSQL_DB}';" + + einfo "Creating DSPAM PostgreSQL tables" + PGUSER=${DSPAM_PgSQL_USER} PGPASSWORD=${DSPAM_PgSQL_PWD} /usr/bin/psql -d ${DSPAM_PgSQL_DB} -U ${DSPAM_PgSQL_USER} -f ${CONFDIR}/pgsql_objects.sql 1>/dev/null 2>&1 + + if use virtual-users ; then + einfo "Creating DSPAM PostgreSQL database for virtual-users users" + PGUSER=${DSPAM_PgSQL_USER} PGPASSWORD=${DSPAM_PgSQL_PWD} /usr/bin/psql -d ${DSPAM_PgSQL_DB} -U ${DSPAM_PgSQL_USER} -f ${CONFDIR}/pgsql_virtual_users.sql 1>/dev/null 2>&1 + fi + elif use oci8 ; then + einfo "We have not enought Oracle knowledge to configure Oracle" + einfo "automatically. If you know how, please post a message in" + einfo "Gentoo Bugzilla." + einfo + einfo "You need manually to create the Oracle user for DSPAM and" + einfo "the necessary database." + einfo "But the DSPAM configuration file dspam.conf and oracle.data" + einfo "was already configured with the necessary information to" + einfo "access the database." + einfo "Please read your dspam.conf, oracle.data and the README for" + einfo "more info on how to setup DSPAM with Oracle." + einfo "objects for each user upon first use of DSPAM by that user." + fi + +} diff --git a/mail-filter/dspam/dspam-3.6.6.ebuild b/mail-filter/dspam/dspam-3.6.6.ebuild new file mode 100644 index 000000000000..25219bf9c1bd --- /dev/null +++ b/mail-filter/dspam/dspam-3.6.6.ebuild @@ -0,0 +1,488 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/mail-filter/dspam/dspam-3.6.6.ebuild,v 1.1 2006/05/29 16:04:00 st_lim Exp $ + +inherit eutils + +DESCRIPTION="A statistical-algorithmic hybrid anti-spam filter" +SRC_URI="http://dspam.nuclearelephant.com/sources/${P}.tar.gz + http://dspam.nuclearelephant.com/sources/extras/dspam_sa_trainer.tar.gz" +HOMEPAGE="http://dspam.nuclearelephant.com/" +LICENSE="GPL-2" + +IUSE="berkdb clamav cyrus daemon debug large-domain ldap logrotate mysql oci8 postgres procmail sqlite sqlite3 virtual-users user-homedirs" + +DEPEND="berkdb? ( >=sys-libs/db-4.0 ) + clamav? ( >=app-antivirus/clamav-0.86 ) + ldap? ( >=net-nds/openldap-2.2 ) + daemon? ( || (mysql? ( >=dev-db/mysql-3.23 )) (postgres? (>=dev-db/postgresql-7.4.3 )) ) + sqlite? ( <dev-db/sqlite-3 ) + sqlite3? ( =dev-db/sqlite-3* )" + +RDEPEND="${DEPEND} + sys-process/cronbase + cyrus? ( net-mail/cyrus-imapd ) + logrotate? ( app-admin/logrotate ) + procmail? ( mail-filter/procmail )" + +KEYWORDS="~x86 ~ppc ~alpha ~amd64" +SLOT="0" + +# some FHS-like structure +HOMEDIR="/var/spool/dspam" +CONFDIR="/etc/mail/dspam" +LOGDIR="/var/log/dspam" + +pkg_setup() { + local multiple_dbs="0" + local supported_dbs="berkdb mysql postgres oci8 sqlite sqlite3" + for foo in ${supported_dbs}; do + if use ${foo}; then + let multiple_dbs="((multiple_dbs + 1 ))" + einfo " ${foo} database support in your USE flags." + fi + done + + if [ "${multiple_dbs}" -ge "2" ]; then + echo + ewarn "You have multiple database backends active in your USE flags." + ewarn "Will default to MySQL as your dspam database backend." + ewarn "If you want to build with another database backend; hit Control-C now." + ewarn "Change your USE flag -mysql and emerge again." + echo + has_version ">=sys-apps/portage-2.0.50" && ( + einfo "It would be best practice to add the set of USE flags that you use for this" + einfo "package to the file: /etc/portage/package.use. Example:" + einfo "\`echo \"mail-filter/dspam -mysql postgres -oci8 -sqlite -sqlite3\" >> /etc/portage/package.use\`" + einfo "to build dspam with a PostgreSQL database as your dspam backend." + ) + elif [ "${multiple_dbs}" -eq "0" ]; then + echo + ewarn "You did not select any SQL based database backend." + ewarn "DSPAM will use self-contained Hash driver for storing data." + ewarn "If you don't want that, then enable one of the following" + ewarn "USE flags: ${supported_dbs}" + fi + + if use daemon && has_version ">sys-kernel/linux-headers-2.6"; then + einfo "To use the new DSPAM daemon mode, you need to emerge" + einfo ">sys-kernel/linux-headers-2.6 and rebuild glibc to support NPTL" + fi + + if use daemon && ! use mysql && ! use postgres ; then + echo + ewarn "To use the new DSPAM daemon mode, you need to emerge either MySQL or PostgreSQL" + fi + + if use virtual-users && use user-homedirs ; then + ewarn "If the users are virtual, then they probably should not have home directories." + fi + + if use user-homedirs ; then + ewarn "WARNING: dspam-web will not work with user-homedirs. Disable this USE flag" + ewarn "if you intend on using dspam-web." + fi + + id dspam 2>/dev/null || enewgroup dspam 26 + id dspam 2>/dev/null || enewuser dspam 26 /bin/bash ${HOMEDIR} dspam +} + +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-home=${HOMEDIR}" + myconf="${myconf} --sysconfdir=${CONFDIR}" + use user-homedirs && myconf="${myconf} --enable-homedir" + use clamav && myconf="${myconf} --enable-clamav" + use ldap && myconf="${myconf} --enable-ldap" + + if use cyrus; then + myconf="${myconf} --with-delivery-agent=/usr/lib/cyrus/deliver" + elif use procmail; then + myconf="${myconf} --with-delivery-agent=/usr/bin/procmail" + fi + + # 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 --enable-bnr-debug" + + if use daemon && has_version ">sys-kernel/linux-headers-2.6"; then + myconf="${myconf} --enable-daemon" + fi + + # select storage driver + if use sqlite ; then + myconf="${myconf} --with-storage-driver=sqlite_drv" + myconf="${myconf} --enable-virtual-users" + elif use sqlite3 ; then + myconf="${myconf} --with-storage-driver=sqlite3_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" + + use virtual-users && myconf="${myconf} --enable-virtual-users" + 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" + + use virtual-users && myconf="${myconf} --enable-virtual-users" + 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 berkdb ; then + myconf="${myconf} --with-storage-driver=libdb4_drv" + else + myconf="${myconf} --with-storage-driver=hash_drv" + fi + + econf ${myconf} || die + emake || die +} + +src_install () { + + # Fix issues with older dspam configuration + CONFIG_PROTECT="${CONFIG_PROTECT} ${HOMEDIR} ${CONFDIR} /var/run/dspam" + CONFIG_PROTECT_MASK="${CONFIG_PROTECTMASK/${HOMEDIR}/}" + CONFIG_PROTECT_MASK="${CONFIG_PROTECTMASK/${CONFDIR}/}" + + # open up perms on $HOMEDIR + diropts -m0775 -o dspam -g dspam + dodir ${HOMEDIR} + keepdir ${HOMEDIR} + + # keeps dspam data in $CONFDIR + diropts -m0775 -o dspam -g dspam + dodir ${CONFDIR} + keepdir ${CONFDIR} + + # create logdir + diropts -m0775 -o dspam -g dspam + dodir ${LOGDIR} + keepdir ${LOGDIR} + + # make install + make DESTDIR=${D} install || die + chmod o+s ${D}/usr/bin/dspam + chmod o+s ${D}/usr/bin/dspam_stats + + # documentation + dodoc CHANGELOG LICENSE README* RELEASE.NOTES UPGRADING + dodoc ${DISTDIR}/dspam_sa_trainer.tar.gz + docinto doc + dodoc doc/*.txt + docinto gentoo + dodoc ${FILESDIR}/README.postfix ${FILESDIR}/README.qmail + doman man/dspam* + dodoc ${DISTDIR}/dspam_sa_trainer.tar.gz + + # build some initial configuration data + [ ! -f ${CONFDIR}/dspam.conf ] \ + && cp src/dspam.conf ${T}/dspam.conf + + if use daemon; then + if has_version ">sys-kernel/linux-headers-2.6"; then + # keeps dspam socket for daemon in /var/run/dspam + diropts -m0775 -o dspam -g dspam + dodir /var/run/dspam + keepdir /var/run/dspam + + # We use sockets for the daemon instead of tcp port 24 + sed -e 's:^#*\(ServerDomainSocketPath[\t ]\{1,\}\).*:\1\"/var/run/dspam/dspam.sock\":gI' \ + -e 's:^#*\(ServerPID[\t ]\{1,\}\).*:\1/var/run/dspam/dspam.pid:gI' \ + -i ${T}/dspam.conf + + # dspam init script + exeinto /etc/init.d + exeopts -m0755 -o root -g root + newexe ${FILESDIR}/dspam.rc dspam + fi + fi + + # generate random password + local PASSWORD="${RANDOM}${RANDOM}${RANDOM}${RANDOM}" + + # database related configuration and scripts + if use sqlite; then + insinto ${CONFDIR} + insopts -m644 -o dspam -g dspam + newins src/tools.sqlite_drv/purge-2.sql sqlite_purge.sql + elif use sqlite3; then + insinto ${CONFDIR} + insopts -m644 -o dspam -g dspam + newins src/tools.sqlite_drv/purge-3.sql sqlite3_purge.sql + elif use mysql; then + # Use existing configuration if possible + if [[ -f ${ROOT}${CONFDIR}/mysql.data ]]; then + DSPAM_DB_DATA=( $(sed "s:^[\t ]*$:###:gI" "${ROOT}${CONFDIR}/mysql.data") ) + for DB_DATA_INDEX in $(seq 0 $((${#DSPAM_DB_DATA[@]} - 1))); do + [[ "${DSPAM_DB_DATA[$DB_DATA_INDEX]}" = "###" ]] && DSPAM_DB_DATA[$DB_DATA_INDEX]="" + done + else + DSPAM_DB_DATA[0]="/var/run/mysqld/mysqld.sock" + DSPAM_DB_DATA[1]="" + DSPAM_DB_DATA[2]="dspam" + DSPAM_DB_DATA[3]="${PASSWORD}" + DSPAM_DB_DATA[4]="dspam" + DSPAM_DB_DATA[5]="true" + fi + + # Modify configuration and create mysql.data file + sed -e "s:^#*\(MySQLServer[\t ]\{1,\}\).*:\1${DSPAM_DB_DATA[0]}:gI" \ + -e "s:^#*\(MySQLPort[\t ]\{1,\}\).*:\1${DSPAM_DB_DATA[1]}:gI" \ + -e "s:^#*\(MySQLUser[\t ]\{1,\}\).*:\1${DSPAM_DB_DATA[2]}:gI" \ + -e "s:^#*\(MySQLPass[\t ]\{1,\}\).*:\1${DSPAM_DB_DATA[3]}:gI" \ + -e "s:^#*\(MySQLDb[\t ]\{1,\}\).*:\1${DSPAM_DB_DATA[4]}:gI" \ + -e "s:^#*\(MySQLCompress[\t ]\{1,\}\).*:\1${DSPAM_DB_DATA[5]}:gI" \ + -i ${T}/dspam.conf + for DB_DATA_INDEX in $(seq 0 $((${#DSPAM_DB_DATA[@]} - 1))); do + echo "${DSPAM_DB_DATA[$DB_DATA_INDEX]}" >> ${T}/mysql.data + done + insinto ${CONFDIR} + insopts -m644 -o dspam -g dspam + doins ${T}/mysql.data + newins src/tools.mysql_drv/mysql_objects-space.sql mysql_objects-space.sql + newins src/tools.mysql_drv/mysql_objects-speed.sql mysql_objects-speed.sql + newins src/tools.mysql_drv/mysql_objects-4.1.sql mysql_objects-4.1.sql + newins src/tools.mysql_drv/virtual_users.sql mysql_virtual_users.sql + newins src/tools.mysql_drv/purge.sql mysql_purge.sql + newins src/tools.mysql_drv/purge-4.1.sql mysql_purge-4.1.sql + + elif use postgres ; then + # Use existing configuration if possible + if [ -f ${ROOT}${CONFDIR}/pgsql.data ]; then + DSPAM_DB_DATA=( $(cat "${ROOT}${CONFDIR}/pgsql.data") ) + for DB_DATA_INDEX in $(seq 0 $((${#DSPAM_DB_DATA[@]} - 1))); do + [[ "${DSPAM_DB_DATA[$DB_DATA_INDEX]}" = "###" ]] && DSPAM_DB_DATA[$DB_DATA_INDEX]="" + done + else + DSPAM_DB_DATA[0]="127.0.0.1" + DSPAM_DB_DATA[1]="5432" + DSPAM_DB_DATA[2]="dspam" + DSPAM_DB_DATA[3]="${PASSWORD}" + DSPAM_DB_DATA[4]="dspam" + fi + + # Modify configuration and create pgsql.data file + sed -e "s:^#*\(PgSQLServer[\t ]\{1,\}\).*:\1${DSPAM_DB_DATA[0]}:gI" \ + -e "s:^#*\(PgSQLPort[\t ]\{1,\}\).*:\1${DSPAM_DB_DATA[1]}:gI" \ + -e "s:^#*\(PgSQLUser[\t ]\{1,\}\).*:\1${DSPAM_DB_DATA[2]}:gI" \ + -e "s:^#*\(PgSQLPass[\t ]\{1,\}\).*:\1${DSPAM_DB_DATA[3]}:gI" \ + -e "s:^#*\(PgSQLDb[\t ]\{1,\}\).*:\1${DSPAM_DB_DATA[4]}:gI" \ + -e "s:^#*\(PgSQLConnectionCache[\t ]*.\):\1:gI" \ + -i ${T}/dspam.conf + for DB_DATA_INDEX in $(seq 0 $((${#DSPAM_DB_DATA[@]} - 1))); do + echo "${DSPAM_DB_DATA[$DB_DATA_INDEX]}" >> ${T}/pgsql.data + done + + insinto ${CONFDIR} + insopts -m644 -o dspam -g dspam + doins ${T}/pgsql.data + newins src/tools.pgsql_drv/pgsql_objects.sql pgsql_objects.sql + newins src/tools.pgsql_drv/virtual_users.sql pgsql_virtual_users.sql + newins src/tools.pgsql_drv/purge.sql pgsql_purge.sql + + elif use oci8 ; then + # Use existing configuration if possible + if [ -f ${ROOT}${CONFDIR}/oracle.data ]; then + DSPAM_DB_DATA=( $(cat "${ROOT}${CONFDIR}/oracle.data") ) + for DB_DATA_INDEX in $(seq 0 $((${#DSPAM_DB_DATA[@]} - 1))); do + [[ "${DSPAM_DB_DATA[$DB_DATA_INDEX]}" = "###" ]] && DSPAM_DB_DATA[$DB_DATA_INDEX]="" + done + else + DSPAM_DB_DATA[0]="(DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=127.0.0.1)(PORT=1521))(CONNECT_DATA=(SID=PROD)))" + DSPAM_DB_DATA[1]="dspam" + DSPAM_DB_DATA[2]="${PASSWORD}" + DSPAM_DB_DATA[3]="dspam" + fi + + # Modify configuration and create oracle.data file + sed -e "s:^#*\(OraServer[\t ]\{1,\}\).*:\1${DSPAM_DB_DATA[0]}:gI" \ + -e "s:^\(OraUser[\t ]\{1,\}\).*:\1${DSPAM_DB_DATA[1]}:gI" \ + -e "s:^\(OraPass[\t ]\{1,\}\).*:\1${DSPAM_DB_DATA[2]}:gI" \ + -e "s:^\(OraSchema[\t ]\{1,\}\).*:\1${DSPAM_DB_DATA[3]}:gI"\ + -i ${T}/dspam.conf + for DB_DATA_INDEX in $(seq 0 $((${#DSPAM_DB_DATA[@]} - 1))); do + echo "${DSPAM_DB_DATA[$DB_DATA_INDEX]}" >> ${T}/oracle.data + done + + insinto ${CONFDIR} + insopts -m644 -o dspam -g dspam + doins ${T}/oracle.data + newins src/tools.ora_drv/oral_objects.sql ora_objects.sql + newins src/tools.ora_drv/virtual_users.sql ora_virtual_users.sql + newins src/tools.ora_drv/purge.sql ora_purge.sql + fi + + sed -e "s:^\(Purge.*\):###\1:g" \ + -e "s:^#\(Purge.*\):\1:g" \ + -e "s:^###\(Purge.*\):#\1:g" \ + -i ${T}/dspam.conf + insinto ${CONFDIR} + insopts -m644 -o dspam -g dspam + doins ${T}/dspam.conf + + # installs the notification messages + # -> The documentation is wrong! The files need to be in ./txt + diropts -m0775 -o dspam -g dspam + dodir ${HOMEDIR}/txt + keepdir ${HOMEDIR}/txt + insinto ${HOMEDIR}/txt + insopts -m644 -o dspam -g dspam + doins ${S}/txt/*.txt + + # Create the opt-in / opt-out directories + diropts -m0775 -o dspam -g dspam + dodir ${HOMEDIR}/opt-in + keepdir ${HOMEDIR}/opt-in + dodir ${HOMEDIR}/opt-out + keepdir ${HOMEDIR}/opt-out + + # logrotation scripts + diropts -m0755 -o dspam -g dspam + dodir /etc/logrotate.d + keepdir /etc/logrotate.d + insinto /etc/logrotate.d + insopts -m0644 -o dspam -g dspam + newins ${FILESDIR}/logrotate.dspam dspam + + # dspam cron job + diropts -m0755 -o dspam -g dspam + dodir /etc/cron.daily + keepdir /etc/cron.daily + exeinto /etc/cron.daily + exeopts -m0755 -o dspam -g dspam + doexe ${FILESDIR}/dspam.cron + + # dspam enviroment + echo -ne "CONFIG_PROTECT=\"${CONFDIR} /var/run/dspam\"\n\n" > ${T}/40dspam + doenvd ${T}/40dspam || die +} + +pkg_postinst() { + env-update + if use mysql || use postgres || use oci8; then + echo + einfo "To setup DSPAM to run out-of-the-box on your system with a MySQL," + einfo "PostgreSQL or Oracle database, run:" + einfo "emerge --config =${PF}" + fi + + if has_version ">dev-db/postgresql-8.0"; then + echo + einfo "Before executing the configuration command mentioned above you have" + einfo "to execute the following command:" + einfo "createlang plpgsql -U postgres dspam" + fi + + if use daemon; then + if has_version ">sys-kernel/linux-headers-2.6"; then + einfo "If you want to run DSPAM in the new daemon mode remember" + einfo "to make the DSPAM daemon start during boot:" + einfo " rc-update add dspam default" + fi + fi + if use exim ; then + echo + einfo "To use dspam in conjunction with your exim system, you should read the README" + fi +} + +pkg_config () { + if use sqlite ; then + einfo "sqlite_drv will automatically create the necessary database" + elif use mysql ; then + DSPAM_DB_DATA=( $(sed "s:^[\t ]*$:###:gI" "${ROOT}${CONFDIR}/mysql.data") ) + for DB_DATA_INDEX in $(seq 0 $((${#DSPAM_DB_DATA[@]} - 1))); do + [[ "${DSPAM_DB_DATA[$DB_DATA_INDEX]}" = "###" ]] && DSPAM_DB_DATA[$DB_DATA_INDEX]="" + done + DSPAM_MySQL_USER="${DSPAM_DB_DATA[2]}" + DSPAM_MySQL_PWD="${DSPAM_DB_DATA[3]}" + DSPAM_MySQL_DB="${DSPAM_DB_DATA[4]}" + + ewarn "When prompted for a password, please enter your MySQL root password" + ewarn + + einfo "Creating DSPAM MySQL database \"${DSPAM_MySQL_DB}\"" + /usr/bin/mysqladmin -u root -p create ${DSPAM_MySQL_DB} + + einfo "Creating DSPAM MySQL tables for data objects" + einfo " Please select what kind of object database you like to use." + einfo " [1] Space optimized database" + einfo " [2] Speed optimized database" + einfo + while true + do + read -n 1 -s -p " Press 1 or 2 on the keyboard to select database" DSPAM_MySQL_DB_Type + [[ "${DSPAM_MySQL_DB_Type}" == "1" || "${DSPAM_MySQL_DB_Type}" == "2" ]] && echo && break + done + + if [ "${DSPAM_MySQL_DB_Type}" == "1" ] + then + /usr/bin/mysql -u root -p ${DSPAM_MySQL_DB} < ${CONFDIR}/mysql_objects-space.sql + else + /usr/bin/mysql -u root -p ${DSPAM_MySQL_DB} < ${CONFDIR}/mysql_objects-speed.sql + fi + + if use virtual-users ; then + einfo "Creating DSPAM MySQL database for virtual-users users" + /usr/bin/mysql -u root -p ${DSPAM_MySQL_DB} < ${CONFDIR}/mysql_virtual_users.sql + fi + + einfo "Creating DSPAM MySQL user \"${DSPAM_MySQL_USER}\"" + /usr/bin/mysql -u root -p -e "GRANT SELECT,INSERT,UPDATE,DELETE ON ${DSPAM_MySQL_DB}.* TO ${DSPAM_MySQL_USER}@localhost IDENTIFIED BY '${DSPAM_MySQL_PWD}';FLUSH PRIVILEGES;" -D mysql + elif use postgres ; then + DSPAM_DB_DATA=( $(sed "s:^[\t ]*$:###:gI" "${ROOT}${CONFDIR}/pgsql.data") ) + for DB_DATA_INDEX in $(seq 0 $((${#DSPAM_DB_DATA[@]} - 1))); do + [[ "${DSPAM_DB_DATA[$DB_DATA_INDEX]}" = "###" ]] && DSPAM_DB_DATA[$DB_DATA_INDEX]="" + done + DSPAM_PgSQL_USER="${DSPAM_DB_DATA[2]}" + DSPAM_PgSQL_PWD="${DSPAM_DB_DATA[3]}" + DSPAM_PgSQL_DB="${DSPAM_DB_DATA[4]}" + + ewarn "When prompted for a password, please enter your PgSQL postgres password" + ewarn + + einfo "Creating DSPAM PostgreSQL database \"${DSPAM_PgSQL_DB}\" and user \"${DSPAM_PgSQL_USER}\"" + /usr/bin/psql -h localhost -d template1 -U postgres -c "CREATE USER ${DSPAM_PgSQL_USER} WITH PASSWORD '${DSPAM_PgSQL_PWD}' NOCREATEDB NOCREATEUSER; CREATE DATABASE ${DSPAM_PgSQL_DB}; GRANT ALL PRIVILEGES ON DATABASE ${DSPAM_PgSQL_DB} TO ${DSPAM_PgSQL_USER}; GRANT ALL PRIVILEGES ON SCHEMA public TO ${DSPAM_PgSQL_USER}; UPDATE pg_database SET datdba=(SELECT usesysid FROM pg_shadow WHERE usename='${DSPAM_PgSQL_USER}') WHERE datname='${DSPAM_PgSQL_DB}';" + + einfo "Creating DSPAM PostgreSQL tables" + PGUSER=${DSPAM_PgSQL_USER} PGPASSWORD=${DSPAM_PgSQL_PWD} /usr/bin/psql -d ${DSPAM_PgSQL_DB} -U ${DSPAM_PgSQL_USER} -f ${CONFDIR}/pgsql_objects.sql 1>/dev/null 2>&1 + + if use virtual-users ; then + einfo "Creating DSPAM PostgreSQL database for virtual-users users" + PGUSER=${DSPAM_PgSQL_USER} PGPASSWORD=${DSPAM_PgSQL_PWD} /usr/bin/psql -d ${DSPAM_PgSQL_DB} -U ${DSPAM_PgSQL_USER} -f ${CONFDIR}/pgsql_virtual_users.sql 1>/dev/null 2>&1 + fi + elif use oci8 ; then + einfo "We have not enought Oracle knowledge to configure Oracle" + einfo "automatically. If you know how, please post a message in" + einfo "Gentoo Bugzilla." + einfo + einfo "You need manually to create the Oracle user for DSPAM and" + einfo "the necessary database." + einfo "But the DSPAM configuration file dspam.conf and oracle.data" + einfo "was already configured with the necessary information to" + einfo "access the database." + einfo "Please read your dspam.conf, oracle.data and the README for" + einfo "more info on how to setup DSPAM with Oracle." + einfo "objects for each user upon first use of DSPAM by that user." + fi + +} diff --git a/mail-filter/dspam/files/digest-dspam-3.4.9 b/mail-filter/dspam/files/digest-dspam-3.4.9 index 5fef1fed4b8b..a00a9c2bd108 100644 --- a/mail-filter/dspam/files/digest-dspam-3.4.9 +++ b/mail-filter/dspam/files/digest-dspam-3.4.9 @@ -1,2 +1,4 @@ MD5 ef7ceba47e63edb02a59be3c36cf0f6f dspam-3.4.9.tar.gz 701069 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/mail-filter/dspam/files/digest-dspam-3.6.0 b/mail-filter/dspam/files/digest-dspam-3.6.0 index b8336e809380..38ecbd8bd659 100644 --- a/mail-filter/dspam/files/digest-dspam-3.6.0 +++ b/mail-filter/dspam/files/digest-dspam-3.6.0 @@ -1,2 +1,4 @@ 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/mail-filter/dspam/files/digest-dspam-3.6.1 b/mail-filter/dspam/files/digest-dspam-3.6.1 index 5fb43c4d30da..a64e4f90c90c 100644 --- a/mail-filter/dspam/files/digest-dspam-3.6.1 +++ b/mail-filter/dspam/files/digest-dspam-3.6.1 @@ -1,2 +1,4 @@ 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/mail-filter/dspam/files/digest-dspam-3.6.2 b/mail-filter/dspam/files/digest-dspam-3.6.2 index a40125cd817a..2c3963b23d15 100644 --- a/mail-filter/dspam/files/digest-dspam-3.6.2 +++ b/mail-filter/dspam/files/digest-dspam-3.6.2 @@ -1,2 +1,4 @@ MD5 cde38b1fe37daf531475251e95253033 dspam-3.6.2.tar.gz 740001 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/mail-filter/dspam/files/digest-dspam-3.6.3 b/mail-filter/dspam/files/digest-dspam-3.6.3 index 9f83483736ce..75f25c05c720 100644 --- a/mail-filter/dspam/files/digest-dspam-3.6.3 +++ b/mail-filter/dspam/files/digest-dspam-3.6.3 @@ -1,2 +1,4 @@ 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 diff --git a/mail-filter/dspam/files/digest-dspam-3.6.5 b/mail-filter/dspam/files/digest-dspam-3.6.5 new file mode 100644 index 000000000000..bede4e86d744 --- /dev/null +++ b/mail-filter/dspam/files/digest-dspam-3.6.5 @@ -0,0 +1,6 @@ +MD5 da4f0e00633bff49d71fde418caaf14b dspam-3.6.5.tar.gz 747196 +RMD160 363217410de515f15baaa0a864ee23617ae8f6c2 dspam-3.6.5.tar.gz 747196 +SHA256 d8033773840f51cad27466b018e26c5232990f576108af79f6aa910bc2556fda dspam-3.6.5.tar.gz 747196 +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/mail-filter/dspam/files/digest-dspam-3.6.6 b/mail-filter/dspam/files/digest-dspam-3.6.6 new file mode 100644 index 000000000000..1819391b8d3b --- /dev/null +++ b/mail-filter/dspam/files/digest-dspam-3.6.6 @@ -0,0 +1,6 @@ +MD5 72dbf9d802ac3645c93b715c81cc9f50 dspam-3.6.6.tar.gz 725502 +RMD160 2416908398e7e8e6a180e97dbebd4f9aee6088d7 dspam-3.6.6.tar.gz 725502 +SHA256 af9b9429ee3b69c5d1fe8e8891f21c8640ca572f6244a794835646301ce84e91 dspam-3.6.6.tar.gz 725502 +MD5 8ffe9d41e6104a4c6d19067528193145 dspam_sa_trainer.tar.gz 1230 +RMD160 c3d0fca7169d23ecf9d44c850ee255b42d97d818 dspam_sa_trainer.tar.gz 1230 +SHA256 8fb6b1ebe592acf00a028737ef8e174544af166768b987d29048b2319bc5a215 dspam_sa_trainer.tar.gz 1230 |