Hi, Using qmail-1.03-r16 and like it very much, but wanna try something with less patches (easier to change/configure) and have a choice of new patches to apply. So made a minimal netqmail-1.05 configuration (according to it's home page). This initial ebuild works till the install stage (using ebuild tool), had to disable pkg_setup(),pkg_config(),pkg_preinst() and pkg_postinst() as they could mess up my running system. Later will make a chroot partition to test it fully on another place (have a working qmail here). Also must do some cleanup (PV,PVR etc stuff in src_install) There are some comments in the ebuild (will attach it here). Thanks for the splendid qmail.ebuild (used it quite 99%). Rumen Reproducible: Always Steps to Reproduce: 1. 2. 3.
Created attachment 68843 [details] netqmail-1.05.ebuild
Hi, Did some additional cleanup, removed quite all (lets hope) unneeded staff etc. Still some error with one of config files while installing in sandbox. For most things see comments inside the ebuild. Made an archive of my overlay dir, and will attach it here. Thanks. Rumen
Created attachment 68914 [details] netqmail-1.05 overlay archive
Hi again, Think i finished with my initial intension - to make a basic netqmail-1.05 with self-included & recommended (smtp-auth & viruscan) patches.As in netqmail docs. Had to change the viruscan patch (very little and in a safe way i think) in order to use "epatch" (skip the error). After that apply the fixshupp patch. Also included 'qmailctl' script as it's safe and quite usefull, changed one part though - "/etc.tcp.smtp" becomes "/etc/tcprules.d/tcp.qmail-smtp" to follow Gentoo's changes in ucspi-tcp. For any additional info see the comments in the ebuild. Note: forgot the remove some previous comments about disabling two patches. PS: attach the new tarball. Thanks.Rumen
Created attachment 69316 [details] netqmail-1.05.tar.gz
Hi, Still more cleanup + one error corrected (missing conf-smtpd file). Fixed Nelson's viruscan.patch, which gave one reject while patching. Did it by simply removing the last part of the patch, in which only 1 line was added and it applied OK. Renamed it including "-gentoo" and put it in FILESDIR. Another change - in line #112 changed 500 -> 254 as GCC gave an error while compiling (with a warning that value/500 can't be greater than 255). This one works/compiles on qmail-1.03-r16 though. NO idea why. Attaching the next (hopefully last) basic version. If this one works, wish to add some more functionality - new patches + USE-flags, but there often exists more than one (sometimes 3-4 patches for a function) so which one to include, difficult choice. Attachment follows. Thanks. Rumen
Created attachment 69434 [details] netqmail-1.05.tar.gz overlay
Please make it AMD64 mask so i can test it Thank's
Hi, No need to, netqmail is already in Portage, maybe still in ~x86 (testing). Will close this Bug as it's not needed any more (the ebuild in Portage is far better ;) Thanks.Rumen