simscan is a powerful qmail content scanner. perhaps this ebuild will fit into the mail-filter category?
Created attachment 57376 [details] simscan-1.1.ebuild
If you make an error in the ebuild, attach a new one and mark the previous attachment as obsolete. It is not necessary to close a bug as invalid and open a new one b/c of an error in an ebuild... Thanks. ;-)
Created attachment 62075 [details, diff] Modifications to the simscan ebuild This ebuild didn't "just work" for me, so I hacked on it until it did. Here is the diff file.
is there any chance for this ebuild to reach portage, or should a new ebuild be made?
*** Bug 137448 has been marked as a duplicate of this bug. ***
Created attachment 89703 [details] simscan-1.1.ebuild Hi, I upload my ebuild of simscan because the initial version founded in this bug create somes "problems" for me : -it use append-flags, i use -Wl,-z,now on the simscan setuid executable only (not all executables -my ebuild provide use flag to "personnalize" the ./configure command, in order to be able to select spam checking virus checking, attach filtering, ... -the initial ebuild, generate some notices/warning about strip, and enewuser (shell), mine not. -as the initial ebuild i had provided a pkg-prerm, but i removed it because in re-emerge case, simscan users/files was deleted but not have to. -and few things i don't remember. Best regards,
Created attachment 89705 [details] simscan-1.1.ebuild
Hi, This is now in the sunrise overlay. You can find it at: http://gentoo-sunrise.org/svn/sunrise/net-mail/simscan/simscan-1.1.ebuild Best regards,
Created attachment 89934 [details] Simscan-1.2 ebuild
Created attachment 89935 [details] simscan confd
Elgi, your ebuild make reference to a package which is not in stable status. Do you want i put it in sunrise and masked package ?
Created attachment 100154 [details, diff] qmail-queue modified patch Hi, the simscan package can introduce the "qmail-queue-custom-error.patch" in the mail-mta/qmail ebuild. The patch in simscan archive, anyway, is not suitable for the gentoo build of qmail. I've corrected the patch to work with with the gentoo ebuild (must be modified gentoo ebuild too).
Created attachment 107408 [details, diff] qmail-queue-custom-error.patch file to patch against mail-mta/netqmail-1.05-r4 Here is how I used this patch: Saved it to /usr/local/src/netqmail-1.05/patches/ Then emerged netqmail with the following command: QMAIL_PATCH_DIR="/usr/local/src/netqmail-1.05/patches" emerge =mail-mta/netqmail-1.05-r4 -av
Sorry, I posted the wrong file. I'll repost. (In reply to comment #14) > Created an attachment (id=107408) [edit] > qmail-queue-custom-error.patch file to patch against mail-mta/netqmail-1.05-r4 > > Here is how I used this patch: > Saved it to /usr/local/src/netqmail-1.05/patches/ > Then emerged netqmail with the following command: > QMAIL_PATCH_DIR="/usr/local/src/netqmail-1.05/patches" emerge > =mail-mta/netqmail-1.05-r4 -av >
Created attachment 107409 [details, diff] qmail-queue-custom-error.patch
I'm adding a new ebuild because the current build is missing: - adding the clamav user to the simscan group (as stated in the readme) - bypassing the problem where the simscan user is not already present in the system (the configure make a check about this stuff because the simscan user can be modified: anyway, the ebuild does not permit this and the verify is useless, evenbecause the ebuild will create the user after the compile process). Attached are: simscan-configurenouser-1.1.patch, simscan-1.1.ebuild (stable) and simscan-configurenouser-1.3.1.patch, simscan-1.3.1.ebuild (unstable)
Created attachment 115019 [details] New simscan-1.1.ebuild (please use this ebuild instead the old one)
Created attachment 115021 [details] Ebuild for version 1.3.1
Created attachment 115023 [details, diff] Patch for nocheck the user (version 1.1)
Created attachment 115024 [details, diff] Patch for nocheck the user (version 1.3.1)
Created attachment 116128 [details] New simscan-1.1.ebuild (please use this ebuild instead the old one) Fixed: - clamav now does not use daily.cvd - updated simscan directory permissions - updated clamav groups - simscan dir is not removed, even if empty, when unmerged - updated to run "/var/qmail/simscanmk -g" only if custom-smtp-reject keyword is used
Created attachment 116130 [details] New simscan-1.1.ebuild (please use this ebuild instead the old one) Sorry, reuploaded due to wrong upload :)
simscan-1.3.1 in cvs, thanks.