--- /usr/portage/mail-filter/qmail-scanner/files/qmail-scanner.conf 1969-12-31 16:00:00.000000000 -0800 +++ /usr/portage/mail-filter/qmail-scanner/files/qmail-scanner.conf 2005-02-26 09:59:32.000000000 -0800 @@ -0,0 +1,9 @@ +# this file controls what gets passed to ./configure when building qmail-scanner +# for options see http://qmail-scanner.sourceforge.net/configure-options.php + +QS_CONF="--domain localhost \ + --batch \ + --log-details yes \ + --mime-unpacker ripmime \ + --skip-setuid-test \ +" --- /usr/portage/mail-filter/qmail-scanner/qmail-scanner-1.25.ebuild 2005-02-17 17:11:15.000000000 -0800 +++ /usr/portage/mail-filter/qmail-scanner/qmail-scanner-1.25.ebuild 2005-02-26 11:00:50.000000000 -0800 @@ -58,14 +58,27 @@ src_compile () { + + if [ -f "/etc/conf.d/qmail-scanner" ]; then + source /etc/conf.d/qmail-scanner + ewarn "" + ewarn "Using the following configure options" + ewarn ${QS_CONF} ${myconf} + ewarn "" + else + source ${FILESDIR}/qmail-scanner.conf + ewarn "" + ewarn "Using the ebuild configure options, if you want to specify your own" + ewarn "edit /etc/conf.d/qmail-scanner and re-emerge qmail-scanner." + ewarn "" + ewarn ${QS_CONF} ${myconf} + ewarn "" + fi + - --domain localhost \ - --batch \ - --log-details yes \ - --mime-unpacker "ripmime" \ - --skip-setuid-test \ + ${QS_CONF} \ @@ -118,6 +131,9 @@ + insinto /etc/conf.d + newins ${FILESDIR}/qmail-scanner.conf qmail-scanner +