summaryrefslogtreecommitdiff
path: root/mail-filter
diff options
context:
space:
mode:
authorroot <root@alpha.trunkmasters.com>2026-06-04 05:35:26 -0500
committerroot <root@alpha.trunkmasters.com>2026-06-04 05:35:26 -0500
commitf716a9fe6455d39eef01e718aae68dae61c19704 (patch)
tree0c52bbae1c242fbc296bd650fcd1167685f81492 /mail-filter
parent3f9cf298e89cd5037b982abba06091224ee76daf (diff)
downloadbaldeagleos-repo-f716a9fe6455d39eef01e718aae68dae61c19704.tar.gz
baldeagleos-repo-f716a9fe6455d39eef01e718aae68dae61c19704.tar.xz
baldeagleos-repo-f716a9fe6455d39eef01e718aae68dae61c19704.zip
Adding metadata
Diffstat (limited to 'mail-filter')
-rw-r--r--mail-filter/MailScanner/MailScanner-4.84.5.2.ebuild327
-rw-r--r--mail-filter/MailScanner/Manifest1
-rw-r--r--mail-filter/MailScanner/files/confd.mailscanner4
-rw-r--r--mail-filter/MailScanner/files/initd.mailscanner48
-rw-r--r--mail-filter/MailScanner/metadata.xml13
-rw-r--r--mail-filter/amavisd-milter/Manifest1
-rw-r--r--mail-filter/amavisd-milter/amavisd-milter-1.7.2-r1.ebuild25
-rw-r--r--mail-filter/amavisd-milter/files/amavisd-milter.confd14
-rw-r--r--mail-filter/amavisd-milter/files/amavisd-milter.initd-r219
-rw-r--r--mail-filter/amavisd-milter/metadata.xml8
-rw-r--r--mail-filter/amavisd-new/Manifest2
-rw-r--r--mail-filter/amavisd-new/amavisd-new-2.13.1-r1.ebuild276
-rw-r--r--mail-filter/amavisd-new/amavisd-new-2.14.0-r1.ebuild278
-rw-r--r--mail-filter/amavisd-new/files/amavisd-new-2.14.0-xz-test.patch28
-rw-r--r--mail-filter/amavisd-new/files/amavisd-snmp-subagent.initd25
-rw-r--r--mail-filter/amavisd-new/files/amavisd.initd-r242
-rw-r--r--mail-filter/amavisd-new/files/amavisd.service-r121
-rw-r--r--mail-filter/amavisd-new/metadata.xml16
-rw-r--r--mail-filter/bmf/Manifest1
-rw-r--r--mail-filter/bmf/bmf-0.9.4-r4.ebuild55
-rw-r--r--mail-filter/bmf/files/bmf-0.9.4_QA.patch19
-rw-r--r--mail-filter/bmf/metadata.xml8
-rw-r--r--mail-filter/bogofilter/Manifest1
-rw-r--r--mail-filter/bogofilter/bogofilter-1.2.5-r1.ebuild129
-rw-r--r--mail-filter/bogofilter/metadata.xml16
-rw-r--r--mail-filter/courier-pythonfilter/Manifest2
-rw-r--r--mail-filter/courier-pythonfilter/courier-pythonfilter-3.0.4.ebuild17
-rw-r--r--mail-filter/courier-pythonfilter/courier-pythonfilter-3.0.6-r1.ebuild29
-rw-r--r--mail-filter/courier-pythonfilter/courier-pythonfilter-3.0.6.ebuild17
-rw-r--r--mail-filter/courier-pythonfilter/metadata.xml10
-rw-r--r--mail-filter/couriersrs/Manifest1
-rw-r--r--mail-filter/couriersrs/couriersrs-0.1.2-r1.ebuild26
-rw-r--r--mail-filter/couriersrs/files/couriersrs-0.1.2-automake-fixes.diff36
-rw-r--r--mail-filter/couriersrs/metadata.xml10
-rw-r--r--mail-filter/dcc/Manifest1
-rw-r--r--mail-filter/dcc/dcc-2.3.168-r1.ebuild144
-rw-r--r--mail-filter/dcc/files/dcc-1.3.158-c2x.patch21
-rw-r--r--mail-filter/dcc/files/dcc-1.3.158-clang16.patch30
-rw-r--r--mail-filter/dcc/files/dcc-2.3.168-no-compress-man.patch11
-rw-r--r--mail-filter/dcc/files/dcc.confd14
-rw-r--r--mail-filter/dcc/files/dcc.initd-1.3.154102
-rw-r--r--mail-filter/dcc/files/dccifd.service34
-rw-r--r--mail-filter/dcc/metadata.xml15
-rw-r--r--mail-filter/dkimproxy/Manifest1
-rw-r--r--mail-filter/dkimproxy/dkimproxy-1.4.1.ebuild25
-rw-r--r--mail-filter/dkimproxy/files/dkimproxy.in.initd19
-rw-r--r--mail-filter/dkimproxy/files/dkimproxy.out.initd19
-rw-r--r--mail-filter/dkimproxy/metadata.xml11
-rw-r--r--mail-filter/exim-geoip/Manifest1
-rw-r--r--mail-filter/exim-geoip/exim-geoip-0.1-r1.ebuild31
-rw-r--r--mail-filter/exim-geoip/metadata.xml13
-rw-r--r--mail-filter/exim-p0f/Manifest1
-rw-r--r--mail-filter/exim-p0f/exim-p0f-0.1-r1.ebuild31
-rw-r--r--mail-filter/exim-p0f/metadata.xml13
-rw-r--r--mail-filter/imapfilter/Manifest2
-rw-r--r--mail-filter/imapfilter/files/imapfilter-2.7.5-libressl.patch26
-rw-r--r--mail-filter/imapfilter/imapfilter-2.8.3.ebuild52
-rw-r--r--mail-filter/imapfilter/imapfilter-2.8.5.ebuild52
-rw-r--r--mail-filter/imapfilter/metadata.xml12
-rw-r--r--mail-filter/libmilter/Manifest4
-rw-r--r--mail-filter/libmilter/files/gentoo.config.m45
-rw-r--r--mail-filter/libmilter/files/libmilter-1.0.2_p3-c23-bool.patch19
-rw-r--r--mail-filter/libmilter/files/libmilter-1.0.2_p4-systemd-socket-activation.patch76
-rw-r--r--mail-filter/libmilter/files/libmilter-musl-disable-cdefs.patch11
-rw-r--r--mail-filter/libmilter/files/libmilter-musl-stack-size.patch42
-rw-r--r--mail-filter/libmilter/files/libmilter-sharedlib.patch55
-rw-r--r--mail-filter/libmilter/files/sendmail-8.16.1-build-system.patch158
-rw-r--r--mail-filter/libmilter/libmilter-1.0.2_p4-r1.ebuild145
-rw-r--r--mail-filter/libmilter/libmilter-1.0.2_p4.ebuild135
-rw-r--r--mail-filter/libmilter/libmilter-1.0.2_p5.ebuild144
-rw-r--r--mail-filter/libmilter/metadata.xml15
-rw-r--r--mail-filter/libopensmtpd/Manifest2
-rw-r--r--mail-filter/libopensmtpd/libopensmtpd-0.8.ebuild30
-rw-r--r--mail-filter/libopensmtpd/libopensmtpd-1.0.ebuild30
-rw-r--r--mail-filter/libopensmtpd/metadata.xml8
-rw-r--r--mail-filter/libsieve/Manifest1
-rw-r--r--mail-filter/libsieve/libsieve-2.2.7.ebuild33
-rw-r--r--mail-filter/libsieve/metadata.xml14
-rw-r--r--mail-filter/libspf2/Manifest1
-rw-r--r--mail-filter/libspf2/files/libspf2-1.2.11-integer-underflow.patch26
-rw-r--r--mail-filter/libspf2/files/libspf2-1.2.11-memset-include-string-h.patch12
-rw-r--r--mail-filter/libspf2/files/libspf2-1.2.11-musl.patch30
-rw-r--r--mail-filter/libspf2/files/libspf2-1.2.11-undefined-dn_.patch147
-rw-r--r--mail-filter/libspf2/libspf2-1.2.11-r1.ebuild51
-rw-r--r--mail-filter/libspf2/libspf2-1.2.11.ebuild50
-rw-r--r--mail-filter/libspf2/metadata.xml17
-rw-r--r--mail-filter/libsrs2/Manifest1
-rw-r--r--mail-filter/libsrs2/files/libsrs2-1.0.18-parallel-make.diff12
-rw-r--r--mail-filter/libsrs2/libsrs2-1.0.18-r1.ebuild40
-rw-r--r--mail-filter/libsrs2/metadata.xml14
-rw-r--r--mail-filter/maildrop/Manifest3
-rw-r--r--mail-filter/maildrop/files/maildrop-3.1.6-test.patch54
-rw-r--r--mail-filter/maildrop/files/maildrop-3.1.7-testsuite.patch68
-rw-r--r--mail-filter/maildrop/files/maildrop-3.1.7-valgrind.patch31
-rw-r--r--mail-filter/maildrop/files/maildrop-3.2.1-reformime.patch20
-rw-r--r--mail-filter/maildrop/files/maildrop-3.2.1-testsuite.patch97
-rw-r--r--mail-filter/maildrop/files/maildrop-3.2.1-valgrind.patch20
-rw-r--r--mail-filter/maildrop/files/maildroprc3
-rw-r--r--mail-filter/maildrop/maildrop-3.1.8-r1.ebuild151
-rw-r--r--mail-filter/maildrop/maildrop-3.2.1-r1.ebuild152
-rw-r--r--mail-filter/maildrop/maildrop-3.3.0.ebuild151
-rw-r--r--mail-filter/maildrop/metadata.xml17
-rw-r--r--mail-filter/mailfilter/Manifest2
-rw-r--r--mail-filter/mailfilter/files/rcfile.example1127
-rw-r--r--mail-filter/mailfilter/files/rcfile.example2133
-rw-r--r--mail-filter/mailfilter/mailfilter-0.8.8.ebuild34
-rw-r--r--mail-filter/mailfilter/mailfilter-0.8.9.ebuild34
-rw-r--r--mail-filter/mailfilter/metadata.xml10
-rw-r--r--mail-filter/mapson/Manifest1
-rw-r--r--mail-filter/mapson/files/mapson-3.3-respect-AR.patch12
-rw-r--r--mail-filter/mapson/mapson-3.3.1.ebuild53
-rw-r--r--mail-filter/mapson/metadata.xml8
-rw-r--r--mail-filter/metadata.xml40
-rw-r--r--mail-filter/milter-regex/Manifest1
-rw-r--r--mail-filter/milter-regex/files/milter-regex-2.6-gentoo.patch38
-rw-r--r--mail-filter/milter-regex/files/milter-regex-2.7-implicit-func-decl.patch10
-rw-r--r--mail-filter/milter-regex/files/milter-regex-conf-2.616
-rw-r--r--mail-filter/milter-regex/files/milter-regex-init31
-rw-r--r--mail-filter/milter-regex/metadata.xml13
-rw-r--r--mail-filter/milter-regex/milter-regex-2.7-r3.ebuild47
-rw-r--r--mail-filter/mimedefang/Manifest2
-rw-r--r--mail-filter/mimedefang/files/mimedefang-2.72-ldflags.patch38
-rw-r--r--mail-filter/mimedefang/files/mimedefang-tests.patch11
-rw-r--r--mail-filter/mimedefang/files/mimedefang-tests2.patch21
-rw-r--r--mail-filter/mimedefang/files/mimedefang-vendor.patch30
-rw-r--r--mail-filter/mimedefang/files/mimedefang.conf160
-rw-r--r--mail-filter/mimedefang/files/mimedefang.init63
-rw-r--r--mail-filter/mimedefang/metadata.xml22
-rw-r--r--mail-filter/mimedefang/mimedefang-2.84-r2.ebuild78
-rw-r--r--mail-filter/mimedefang/mimedefang-3.1.ebuild79
-rw-r--r--mail-filter/normalizemime/Manifest1
-rw-r--r--mail-filter/normalizemime/metadata.xml5
-rw-r--r--mail-filter/normalizemime/normalizemime-1.21.ebuild28
-rw-r--r--mail-filter/opendmarc/Manifest2
-rw-r--r--mail-filter/opendmarc/files/opendmarc-1.4.1.1-CVE-2021-34555.patch87
-rw-r--r--mail-filter/opendmarc/files/opendmarc-1.4.1.1-arc-seal-crash.patch38
-rw-r--r--mail-filter/opendmarc/files/opendmarc-1.4.1.1-underlinking.patch17
-rw-r--r--mail-filter/opendmarc/files/opendmarc.confd3
-rw-r--r--mail-filter/opendmarc/files/opendmarc.initd54
-rw-r--r--mail-filter/opendmarc/files/opendmarc.service19
-rw-r--r--mail-filter/opendmarc/metadata.xml16
-rw-r--r--mail-filter/opendmarc/opendmarc-1.4.1.1-r5.ebuild70
-rw-r--r--mail-filter/opendmarc/opendmarc-1.4.1.1-r6.ebuild78
-rw-r--r--mail-filter/opendmarc/opendmarc-1.4.2.ebuild77
-rw-r--r--mail-filter/opensmtpd-filter-dkimsign/Manifest1
-rw-r--r--mail-filter/opensmtpd-filter-dkimsign/metadata.xml8
-rw-r--r--mail-filter/opensmtpd-filter-dkimsign/opensmtpd-filter-dkimsign-0.6-r3.ebuild34
-rw-r--r--mail-filter/opensmtpd-filter-rspamd/Manifest2
-rw-r--r--mail-filter/opensmtpd-filter-rspamd/metadata.xml11
-rw-r--r--mail-filter/opensmtpd-filter-rspamd/opensmtpd-filter-rspamd-0.1.8.ebuild30
-rw-r--r--mail-filter/policyd-weight/Manifest2
-rw-r--r--mail-filter/policyd-weight/files/policyd-weight.init.d-r231
-rw-r--r--mail-filter/policyd-weight/files/policyd-weight.tmpfile1
-rw-r--r--mail-filter/policyd-weight/metadata.xml15
-rw-r--r--mail-filter/policyd-weight/policyd-weight-0.1.15.2-r3.ebuild56
-rw-r--r--mail-filter/policyd/Manifest1
-rw-r--r--mail-filter/policyd/files/policyd-cleanup.cron2
-rw-r--r--mail-filter/policyd/files/policyd-makefile.patch39
-rw-r--r--mail-filter/policyd/files/policyd-post182.patch52
-rw-r--r--mail-filter/policyd/files/policyd.confd2
-rw-r--r--mail-filter/policyd/files/policyd.rc21
-rw-r--r--mail-filter/policyd/metadata.xml8
-rw-r--r--mail-filter/policyd/policyd-1.82-r4.ebuild82
-rw-r--r--mail-filter/popfile/Manifest1
-rw-r--r--mail-filter/popfile/files/popfile33
-rw-r--r--mail-filter/popfile/metadata.xml10
-rw-r--r--mail-filter/popfile/popfile-1.1.3-r2.ebuild54
-rw-r--r--mail-filter/postfix-mta-sts-resolver/Manifest1
-rw-r--r--mail-filter/postfix-mta-sts-resolver/files/mtasts-confd10
-rw-r--r--mail-filter/postfix-mta-sts-resolver/files/mtasts-config36
-rw-r--r--mail-filter/postfix-mta-sts-resolver/files/mtasts-initd18
-rw-r--r--mail-filter/postfix-mta-sts-resolver/metadata.xml12
-rw-r--r--mail-filter/postfix-mta-sts-resolver/postfix-mta-sts-resolver-1.4.0.ebuild43
-rw-r--r--mail-filter/postforward/Manifest1
-rw-r--r--mail-filter/postforward/files/postforward-1.1.1-apply-sendmail-path.patch11
-rw-r--r--mail-filter/postforward/metadata.xml17
-rw-r--r--mail-filter/postforward/postforward-1.1.1-r1.ebuild43
-rw-r--r--mail-filter/postfwd/Manifest2
-rw-r--r--mail-filter/postfwd/files/postfwd.conf.318
-rw-r--r--mail-filter/postfwd/files/postfwd.init.3-r111
-rw-r--r--mail-filter/postfwd/files/postfwd.service.311
-rw-r--r--mail-filter/postfwd/metadata.xml23
-rw-r--r--mail-filter/postfwd/postfwd-2.02-r1.ebuild83
-rw-r--r--mail-filter/postfwd/postfwd-2.03.ebuild85
-rw-r--r--mail-filter/postgrey/Manifest2
-rw-r--r--mail-filter/postgrey/files/postgrey-1.34-r3.rc.new100
-rw-r--r--mail-filter/postgrey/files/postgrey.conf.new55
-rw-r--r--mail-filter/postgrey/files/postgrey.service17
-rw-r--r--mail-filter/postgrey/metadata.xml14
-rw-r--r--mail-filter/postgrey/postgrey-1.37_p20220122.ebuild78
-rw-r--r--mail-filter/postgrey/postgrey-1.37_p20230714.ebuild78
-rw-r--r--mail-filter/postsrsd/Manifest2
-rw-r--r--mail-filter/postsrsd/files/postsrsd-2.0.11-sysconfdir.patch11
-rw-r--r--mail-filter/postsrsd/files/postsrsd-2.0.11.confd6
-rw-r--r--mail-filter/postsrsd/files/postsrsd-2.0.11.initd14
-rw-r--r--mail-filter/postsrsd/files/postsrsd.init-r231
-rw-r--r--mail-filter/postsrsd/metadata.xml18
-rw-r--r--mail-filter/postsrsd/postsrsd-1.12.ebuild40
-rw-r--r--mail-filter/postsrsd/postsrsd-2.0.11-r6.ebuild117
-rw-r--r--mail-filter/procmail/Manifest1
-rw-r--r--mail-filter/procmail/files/procmail-3.24-gentoo-prefix.patch168
-rw-r--r--mail-filter/procmail/files/procmail-3.24-lazy-bindings.patch18
-rw-r--r--mail-filter/procmail/files/procmail-3.24-maildir.patch16
-rw-r--r--mail-filter/procmail/files/procmail-3.24-modern-c.patch255
-rw-r--r--mail-filter/procmail/metadata.xml8
-rw-r--r--mail-filter/procmail/procmail-3.24-r1.ebuild119
-rw-r--r--mail-filter/pyzor/Manifest1
-rw-r--r--mail-filter/pyzor/metadata.xml27
-rw-r--r--mail-filter/pyzor/pyzor-1.1.2.ebuild66
-rw-r--r--mail-filter/razor/Manifest1
-rw-r--r--mail-filter/razor/files/razor-2.85-cosmetic-pv-fix.patch22
-rw-r--r--mail-filter/razor/files/razor-2.85-makefile-quoting-fix.patch15
-rw-r--r--mail-filter/razor/files/razor-2.85-use-sha-not-sha1.patch119
-rw-r--r--mail-filter/razor/metadata.xml18
-rw-r--r--mail-filter/razor/razor-2.85-r5.ebuild88
-rw-r--r--mail-filter/rblcheck/Manifest1
-rw-r--r--mail-filter/rblcheck/files/rblcheck-1.5-autoconf.patch69
-rw-r--r--mail-filter/rblcheck/metadata.xml8
-rw-r--r--mail-filter/rblcheck/rblcheck-1.5-r3.ebuild32
-rw-r--r--mail-filter/rspamd/Manifest2
-rw-r--r--mail-filter/rspamd/files/rspamd-3.12-cmake-lua-version.patch64
-rw-r--r--mail-filter/rspamd/files/rspamd-3.12-unbundle-lua.patch70
-rw-r--r--mail-filter/rspamd/files/rspamd-3.12-unbundle-snowball.patch27
-rw-r--r--mail-filter/rspamd/files/rspamd-3.14.1-unbundle-lua.patch70
-rw-r--r--mail-filter/rspamd/files/rspamd-r1.logrotate16
-rw-r--r--mail-filter/rspamd/files/rspamd-r7.init55
-rw-r--r--mail-filter/rspamd/files/rspamd.conf26
-rw-r--r--mail-filter/rspamd/files/rspamd.tmpfile1
-rw-r--r--mail-filter/rspamd/metadata.xml26
-rw-r--r--mail-filter/rspamd/rspamd-4.0.0.ebuild144
-rw-r--r--mail-filter/rspamd/rspamd-4.0.1.ebuild144
-rw-r--r--mail-filter/scmail/Manifest1
-rw-r--r--mail-filter/scmail/files/scmail-doc-encoding.patch28
-rw-r--r--mail-filter/scmail/files/scmail-gauche-0.9.10.patch22
-rw-r--r--mail-filter/scmail/files/scmail-gauche-0.9.patch35
-rw-r--r--mail-filter/scmail/files/scmail-parallel-make.patch19
-rw-r--r--mail-filter/scmail/files/scmail-undefined-reference.patch51
-rw-r--r--mail-filter/scmail/metadata.xml7
-rw-r--r--mail-filter/scmail/scmail-1.3.ebuild44
-rw-r--r--mail-filter/sieve-connect/Manifest1
-rw-r--r--mail-filter/sieve-connect/metadata.xml49
-rw-r--r--mail-filter/sieve-connect/sieve-connect-0.90.ebuild32
-rw-r--r--mail-filter/spamassassin-botnet/Manifest1
-rw-r--r--mail-filter/spamassassin-botnet/metadata.xml15
-rw-r--r--mail-filter/spamassassin-botnet/spamassassin-botnet-0.8-r1.ebuild47
-rw-r--r--mail-filter/spamassassin/Manifest2
-rw-r--r--mail-filter/spamassassin/files/3.4.1-spamd.conf-r130
-rw-r--r--mail-filter/spamassassin/files/3.4.1-spamd.init-r338
-rw-r--r--mail-filter/spamassassin/files/geoip.cf70
-rw-r--r--mail-filter/spamassassin/files/mention-geoip.cf-in-init.pre.patch11
-rw-r--r--mail-filter/spamassassin/files/secrets.cf14
-rw-r--r--mail-filter/spamassassin/files/spamassassin.service-r410
-rw-r--r--mail-filter/spamassassin/files/spamassassin.service.conf-r22
-rw-r--r--mail-filter/spamassassin/files/update-spamassassin-rules-r1.cron41
-rw-r--r--mail-filter/spamassassin/metadata.xml24
-rw-r--r--mail-filter/spamassassin/spamassassin-4.0.1-r1.ebuild319
-rw-r--r--mail-filter/spamassassin/spamassassin-4.0.2.ebuild319
-rw-r--r--mail-filter/spampd/Manifest1
-rw-r--r--mail-filter/spampd/files/conf15
-rw-r--r--mail-filter/spampd/files/init23
-rw-r--r--mail-filter/spampd/files/spampd-2.61-no-pid-file.patch11
-rw-r--r--mail-filter/spampd/files/spampd.service11
-rw-r--r--mail-filter/spampd/files/spampd.service.conf5
-rw-r--r--mail-filter/spampd/metadata.xml8
-rw-r--r--mail-filter/spampd/spampd-2.61.ebuild45
-rw-r--r--mail-filter/spamprobe/Manifest1
-rw-r--r--mail-filter/spamprobe/files/spamprobe-1.4b-gcc43.patch150
-rw-r--r--mail-filter/spamprobe/files/spamprobe-1.4d+db-5.0.patch13
-rw-r--r--mail-filter/spamprobe/files/spamprobe-1.4d-gcc11-const-comp.patch13
-rw-r--r--mail-filter/spamprobe/files/spamprobe-1.4d-gcc47.patch28
-rw-r--r--mail-filter/spamprobe/files/spamprobe-1.4d-giflib5.patch27
-rw-r--r--mail-filter/spamprobe/files/spamprobe-1.4d-libpng14.patch23
-rw-r--r--mail-filter/spamprobe/metadata.xml8
-rw-r--r--mail-filter/spamprobe/spamprobe-1.4d-r3.ebuild50
-rw-r--r--mail-filter/spf-engine/Manifest1
-rw-r--r--mail-filter/spf-engine/metadata.xml11
-rw-r--r--mail-filter/spf-engine/spf-engine-3.1.0-r1.ebuild74
-rw-r--r--mail-filter/sqlgrey/Manifest1
-rw-r--r--mail-filter/sqlgrey/files/sqlgrey-1.8.0-init-openrc.patch7
-rw-r--r--mail-filter/sqlgrey/files/sqlgrey.service22
-rw-r--r--mail-filter/sqlgrey/metadata.xml16
-rw-r--r--mail-filter/sqlgrey/sqlgrey-1.8.0.ebuild59
282 files changed, 0 insertions, 10966 deletions
diff --git a/mail-filter/MailScanner/MailScanner-4.84.5.2.ebuild b/mail-filter/MailScanner/MailScanner-4.84.5.2.ebuild
deleted file mode 100644
index f7d840c8624b..000000000000
--- a/mail-filter/MailScanner/MailScanner-4.84.5.2.ebuild
+++ /dev/null
@@ -1,327 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-MY_PV=$(ver_cut 1-3)
-MY_PVR=$(ver_rs 3 '-')
-
-DESCRIPTION="Free Anti-Virus and Anti-Spam Filter"
-HOMEPAGE="https://www.mailscanner.info/"
-SRC_URI="https://www.mailscanner.info/files/4/tar/${PN}-install-${MY_PVR}.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="clamav doc exim postfix spamassassin"
-
-DEPEND="dev-lang/perl"
-RDEPEND="${DEPEND}
- dev-perl/Archive-Zip
- virtual/perl-IO-Compress
- dev-perl/Convert-BinHex
- dev-perl/Convert-TNEF
- dev-perl/DBD-SQLite
- dev-perl/DBI
- dev-perl/Filesys-Df
- dev-perl/HTML-Parser
- dev-perl/HTML-Tagset
- dev-perl/IO-stringy
- dev-perl/MIME-tools
- dev-perl/MailTools
- dev-perl/Net-CIDR
- dev-perl/Net-DNS
- dev-perl/OLE-StorageLite
- dev-perl/Sys-Hostname-Long
- dev-perl/TimeDate
- net-mail/tnef
- dev-perl/Sys-SigAction
- virtual/perl-File-Spec
- virtual/perl-File-Temp
- virtual/perl-Getopt-Long
- virtual/perl-Sys-Syslog
- virtual/perl-MIME-Base64
- postfix? ( mail-mta/postfix )
- exim? ( !postfix? ( mail-mta/exim ) )
- !postfix? ( !exim? ( mail-mta/sendmail ) )
- clamav? ( app-antivirus/clamav )
- spamassassin? ( mail-filter/spamassassin )"
-
-S="${WORKDIR}/${PN}-${MY_PVR}"
-
-src_unpack() {
- default
- unpack ./${PN}-install-${MY_PV}/perl-tar/${PN}-${MY_PVR}.tar.gz
-}
-
-src_prepare() {
- default
-
- # setup MTA
- if use postfix ; then
- RUNASUSER='postfix'
- RUNASGROUP='postfix'
- INQUEUE='/var/spool/postfix.in/deferred'
- OUTQUEUE='/var/spool/postfix/incoming'
- MTA='postfix'
- SENDMAIL='/usr/lib/sendmail'
- SENDMAIL2='/usr/lib/sendmail'
- elif use exim ; then
- RUNASUSER='mail'
- RUNASGROUP='mail'
- INQUEUE='/var/spool/exim.in/input'
- OUTQUEUE='/var/spool/exim/input'
- MTA='exim'
- SENDMAIL='/usr/sbin/exim -oMr MailScanner'
- SENDMAIL2='/usr/sbin/exim -C /etc/exim/exim_out.conf -oMr MailScanner'
- else
- # use sendmail as default, but we should add more as needed
- # RUNASUSER='mail'
- # RUNASGROUP='mail'
- INQUEUE='/var/spool/mqueue.in'
- OUTQUEUE='/var/spool/mqueue'
- MTA='sendmail'
- SENDMAIL='/usr/lib/sendmail'
- SENDMAIL2='/usr/lib/sendmail'
- fi
-
- # setup virus scanner(s)
- VIRUS_SCANNERS=""
- use clamav && VIRUS_SCANNERS="clamav ${VIRUS_SCANNERS}"
-
- if [[ "${VIRUS_SCANNERS}" == "" ]]; then
- VIRUS_SCANNERS="none"
- VIRUS_SCANNING="no"
- else
- VIRUS_SCANNING="yes"
- fi
-
- sed -i \
- -e "s/^\(Virus Scanning[ \t]*=\).*/\1 ${VIRUS_SCANNING}/" \
- -e "s/^\(Virus Scanners[ \t]*=\).*/\1 ${VIRUS_SCANNERS}/" \
- etc/MailScanner.conf || die
-
- # setup spamassassin
- if use spamassassin ; then
- sed -i \
- -e "s/^\(Use SpamAssassin[ \t]*=\).*$/\1 yes/" \
- etc/MailScanner.conf || die
- else
- sed -i \
- -e "s/^\(Use SpamAssassin[ \t]*=\).*$/\1 no/" \
- etc/MailScanner.conf || die
- fi
-
- # update bin files
- sed -i \
- -e "s#msbindir=/opt/MailScanner/bin#msbindir=/usr/sbin#g" \
- -e "s#config=/opt/MailScanner/etc/MailScanner.conf#config=/etc/MailScanner/MailScanner.conf#g" \
- bin/check_mailscanner || die
- for each in update_virus_scanners update_phishing_sites update_bad_phishing_sites ; do
- sed -i \
- -e "s#/opt/MailScanner/etc#/etc/MailScanner#g" \
- bin/${each} || die
- done
- sed -i \
- -e "s#/etc/sysconfig/MailScanner#/etc/conf.d/MailScanner#g" \
- bin/update_spamassassin || die
- sed -i \
- -e "s#/opt/MailScanner/etc#/etc/MailScanner#g" \
- -e "s#/opt/MailScanner/lib#/usr/lib/MailScanner#g" \
- bin/MailScanner || die
-
- # update cron files
- sed -i \
- -e "s#/opt/MailScanner/bin/check_mailscanner#/usr/sbin/check_MailScanner#g" \
- bin/cron/check_MailScanner.cron || die
- for cronfile in update_virus_scanners.cron update_{,bad_}phishing_sites.cron; do
- sed -i \
- -e "s#/etc/sysconfig/MailScanner#/etc/conf.d/mailscanner#g" \
- -e "s#/opt/MailScanner/bin#/usr/sbin#g" \
- bin/cron/${cronfile} || die
- done
-
- # Determine some things that may need to be changed in conf file
- # (need to arrive at sensible replacement for yoursite)
- YOURSITE=`dnsdomainname | sed -e "s/\./-/g"`
- BASEBIN="/usr/sbin"
-
- # ClamAV requires some specific changes to MailScanner.conf
- # when mailscanner is running as root (i.e. sendmail)
- if use clamav ; then
- if [[ "${MTA}" == "sendmail" ]] ; then
- WORKGRP="clamav"
- WORKPERM="0640"
- else
- WORKGRP=""
- WORKPERM="0600"
- fi
- else
- WORKGRP=""
- WORKPERM="0600"
- fi
-
- # update conf files
- sed -i \
- -e "s#/opt/MailScanner/etc#/etc/MailScanner#g" \
- -e "s#/opt/MailScanner/bin#$BASEBIN#g" \
- -e "s#/opt/MailScanner/lib#/usr/lib/MailScanner#g" \
- -e "s#^\(Run As User[ \t]*=\).*#\1 $RUNASUSER#" \
- -e "s#^\(Run As Group[ \t]*=\).*#\1 $RUNASGROUP#" \
- -e "s#^\(Incoming Queue Dir[ \t]*=\).*#\1 $INQUEUE#" \
- -e "s#^\(Outgoing Queue Dir[ \t]*=\).*#\1 $OUTQUEUE#" \
- -e "s#^\(MTA[ \t]*=\).*#\1 $MTA#" \
- -e "s/^#\(TNEF.*internal\)$/\1/" \
- -e "s/^\(TNEF.*0000\)$/#\1/" \
- -e "s#^\(PID file[ \t]=\).*#\1 /var/run/mailscanner.pid#" \
- -e "s#^\(%org-name%\)[ \t]*=.*#\1 = ${YOURSITE}#" \
- -e "s#^\(Sendmail[ \t]*=\).*#\1 ${SENDMAIL}#" \
- -e "s#^\(Sendmail2[ \t]*=\).*#\1 ${SENDMAIL2}#" \
- -e "s#^\(Incoming Work Group[ \t]*=\).*#\1 ${WORKGRP}#" \
- -e "s#^\(Incoming Work Permissions[ \t]*=\).*#\1 ${WORKPERM}#" \
- etc/MailScanner.conf || die
-
- # update spam.assassin.prefs.conf
- sed -i -e "s#YOURDOMAIN-COM#${YOURSITE}#" \
- etc/spam.assassin.prefs.conf || die
-
- # net-mail/clamav net-mail/f-prot package compatibility
- sed -i \
- -e "s#/opt/MailScanner/lib#/usr/lib/MailScanner#" \
- -e 's#^\(clamav\t.*/usr\)/local$#\1#' \
- -e 's#^\(f-prot.*\)/usr/local/f-prot$#\1/opt/f-prot#' \
- etc/virus.scanners.conf || die
-
- # update lib files
- sed -i \
- -e "s#/opt/MailScanner/bin#$BASEBIN#g" \
- -e "s#/opt/MailScanner/etc#/etc/MailScanner#g" \
- -e "s#/opt/MailScanner/lib#/usr/lib/MailScanner#g" \
- lib/MailScanner/ConfigDefs.pl || die
- sed -i \
- -e "s#/opt/MailScanner/bin#$BASEBIN#g" \
- -e "s#/opt/MailScanner/etc#/etc/MailScanner#g" \
- -e "s#/opt/MailScanner/lib#/usr/lib/MailScanner#g" \
- bin/MailScanner || die
- sed -i \
- -e "s#/opt/MailScanner/bin#$BASEBIN#g" \
- -e "s#/opt/MailScanner/etc#/etc/MailScanner#g" \
- -e "s#/opt/MailScanner/lib#/usr/lib/MailScanner#g" \
- bin/update_virus_scanners || die
- sed -i \
- -e "s#/opt/MailScanner/bin#$BASEBIN#g" \
- -e "s#/opt/MailScanner/etc#/etc/MailScanner#g" \
- -e "s#/opt/MailScanner/lib#/usr/lib/MailScanner#g" \
- bin/mailscanner_create_locks || die
- sed -i \
- -e "s#/etc/MailScanner#/etc/MailScanner#g" \
- lib/MailScanner/CustomConfig.pm || die
-
- # finally, change MailScanner.conf into MailScanner.conf.sample
- cp "${S}/etc/MailScanner.conf" \
- "${S}/etc/MailScanner.conf.${MY_PV}" || die
- mv "${S}/etc/MailScanner.conf" \
- "${S}/etc/MailScanner.conf.sample" || die
-}
-
-src_install() {
- dosbin bin/MailScanner
- newsbin bin/check_mailscanner check_MailScanner
- dosbin bin/d2mbox bin/df2mbox
- dosbin bin/update_virus_scanners
- dosbin bin/upgrade_MailScanner_conf
- dosbin bin/mailscanner_create_locks
- dosbin bin/Quick.Peek
- dosbin bin/update_bad_phishing_sites bin/update_phishing_sites
- newsbin bin/Sophos.install.linux Sophos.install
-
- insinto /etc/MailScanner/conf.d
- doins etc/conf.d/*
-
- insinto /etc/MailScanner
- doins etc/*.conf
- doins etc/mailscanner.conf.with.mcp
- doins etc/MailScanner.conf.${MY_PV}
- doins etc/MailScanner.conf.sample
-
- insinto /etc/MailScanner/rules
- doins etc/rules/*
- insinto /etc/MailScanner/mcp
- doins etc/mcp/*
-
- insinto /etc/MailScanner
- doins -r etc/reports
-
- insinto /usr/$(get_libdir)/MailScanner
- doins lib/*.prf
-
- exeinto /usr/$(get_libdir)/MailScanner
- doexe lib/*-wrapper
- doexe lib/*-autoupdate
- doexe lib/*-autoupdate.old
- doexe lib/*.pm
-
- exeinto /usr/$(get_libdir)/MailScanner/MailScanner
- doexe lib/MailScanner/*.pm
- doexe lib/MailScanner/*.pl
-
- exeinto /usr/$(get_libdir)/MailScanner/MailScanner/CustomFunctions
- doexe lib/MailScanner/CustomFunctions/MyExample.pm
-
- newinitd "${FILESDIR}"/initd.mailscanner MailScanner
- newconfd "${FILESDIR}"/confd.mailscanner MailScanner
-
- #Set up cron jobs
- exeinto /etc/cron.hourly
- newexe bin/cron/check_MailScanner.cron check_MailScanner
- for cronfile in update_{virus_scanners,{bad_,}phishing_sites}; do
- newexe bin/cron/${cronfile}.cron ${cronfile}
- done
-
- exeinto /etc/cron.daily
- newexe bin/cron/clean.quarantine.cron clean.quarantine
-
- dodoc README MailScanner.conf.index.html
-
- keepdir /var/spool/MailScanner/incoming
- keepdir /var/spool/MailScanner/quarantine
- keepdir /var/spool/MailScanner/spamassassin
- keepdir /var/spool/MailScanner/archive
- keepdir /usr/var
-
- if use postfix ; then
- fowners -R postfix:postfix /var/spool/MailScanner/
- elif use exim ; then
- fowners -R mail:mail /var/spool/MailScanner/
- else
- keepdir /var/spool/mqueue.in
- fi
- if use spamassassin; then
- dosym ../../MailScanner/spam.assassin.prefs.conf \
- /etc/mail/spamassassin/mailscanner.cf
- fi
-}
-
-pkg_postinst() {
- if use postfix; then
- elog "Note that postfix 2.4 now supports HOLD of messages"
- elog "and reinjection without second postfix instance"
- elog "Inbound path is now ${ROOT}/var/spool/postfix/hold"
- elog
- elog "See http://mailscanner.info/postfix.html for details"
- fi
-
- if [[ -f "/etc/MailScanner/MailScanner.conf" ]]; then
- ebegin "Upgrading the MailScanner.conf file"
- cp /etc/MailScanner/MailScanner.conf \
- /etc/MailScanner/MailScanner.conf.pre_upgrade.${MY_PV} &&
- /usr/sbin/upgrade_MailScanner_conf \
- /etc/MailScanner/MailScanner.conf.pre_upgrade.${MY_PV} \
- /etc/MailScanner/MailScanner.conf.${MY_PV} \
- > /etc/MailScanner/MailScanner.conf 2> /dev/null
- eend $?
- else
- cp /etc/MailScanner/MailScanner.conf.sample \
- /etc/MailScanner/MailScanner.conf
- fi
-}
diff --git a/mail-filter/MailScanner/Manifest b/mail-filter/MailScanner/Manifest
deleted file mode 100644
index 3b48dea3dd17..000000000000
--- a/mail-filter/MailScanner/Manifest
+++ /dev/null
@@ -1 +0,0 @@
-DIST MailScanner-install-4.84.5-2.tar.gz 9510489 BLAKE2B 7bfdb0ba9fbd38281328e66fab9512b6dcc596d92fb18186df950d26c451bff0a8fa5345df7849e60e0040e6559754ef9e2099c17425ed4a6465071e0fb610dd SHA512 d9d082e29ddb6eae4f30069298507805a7674c264bf8edad3db3322fa0f2c2ad4539c0c2213c6fcbee11b7c57a36218c1d24243077358bac98e7ae07f7ee506f
diff --git a/mail-filter/MailScanner/files/confd.mailscanner b/mail-filter/MailScanner/files/confd.mailscanner
deleted file mode 100644
index 144d0d478fc8..000000000000
--- a/mail-filter/MailScanner/files/confd.mailscanner
+++ /dev/null
@@ -1,4 +0,0 @@
-#
-
-UPDATEMAXDELAY=600 # Maximum delay before running cron job to avoid server peaks
-RESTART_DELAY=10 # time to wait before restarting mailscanner
diff --git a/mail-filter/MailScanner/files/initd.mailscanner b/mail-filter/MailScanner/files/initd.mailscanner
deleted file mode 100644
index 8d33c8ddc2d4..000000000000
--- a/mail-filter/MailScanner/files/initd.mailscanner
+++ /dev/null
@@ -1,48 +0,0 @@
-#!/sbin/openrc-run
-
-opts="${opts} reload"
-
-depend() {
- need net mta
- use logger dns
-}
-
-start() {
- ebegin "Starting MailScanner"
- #/usr/sbin/check_MailScanner >/dev/null
- start-stop-daemon --start --pidfile /var/run/${SVCNAME}.pid \
- --exec /usr/sbin/MailScanner -- /etc/MailScanner/MailScanner.conf ${OPT} > /var/run/${SVCNAME}.pid
- eend $?
-
- RETVAL=$?
- [ ${RETVAL} -eq 0 ] && touch /var/lock/subsys/MailScanner
- [ ${RETVAL} -eq 0 ] && rm -f /var/lock/subsys/MailScanner.off
- eend ${RETVAL}
-}
-
-stop() {
- ebegin "Stopping MailScanner"
- start-stop-daemon --stop --quiet --pidfile /var/run/${SVCNAME}.pid
- RETVAL=$?
- [ ${RETVAL} -eq 0 ] && rm -f /var/lock/subsys/MailScanner
- [ ${RETVAL} -eq 0 ] && touch /var/lock/subsys/MailScanner.off
- eend ${RETVAL}
-}
-
-reload() {
- ebegin "Reloading MailScanner workers:"
- pid=`pidof -x MailScanner`
- if [ -n "$pid" ] ;
- then
- /bin/kill -HUP $pid
- eend $?
- else
- eend 1
- fi
-}
-
-restart() {
- svc_stop
- sleep ${RESTART_DELAY}
- svc_start
-}
diff --git a/mail-filter/MailScanner/metadata.xml b/mail-filter/MailScanner/metadata.xml
deleted file mode 100644
index d5cb8c3c2644..000000000000
--- a/mail-filter/MailScanner/metadata.xml
+++ /dev/null
@@ -1,13 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
- <maintainer type="person">
- <email>patrick@gentoo.org</email>
- <name>Patrick Lauer</name>
- </maintainer>
- <use>
- <flag name="exim">Set <pkg>mail-mta/exim</pkg> to used MTA</flag>
- <flag name="postfix">Set <pkg>mail-mta/postfix</pkg> to used MTA</flag>
- <flag name="spamassassin">Enable usage of <pkg>mail-filter/spamassassin</pkg> for spam protection</flag>
- </use>
-</pkgmetadata>
diff --git a/mail-filter/amavisd-milter/Manifest b/mail-filter/amavisd-milter/Manifest
deleted file mode 100644
index f66f5a78c387..000000000000
--- a/mail-filter/amavisd-milter/Manifest
+++ /dev/null
@@ -1 +0,0 @@
-DIST amavisd-milter-1.7.2.tar.gz 191224 BLAKE2B 82865acacec1004e611bbafd940d5721660b0daa1af1aea742d4176c613ce2af0e4bde523d0363b97e3f361270641acda477797eab9e8df9feb266c80ef6009c SHA512 639a5a4f92131f9b8d004255819e36dedd529ec95f8290663c6ea5860dbbce049a822ba0e68158228716778265009b93024e9102defdf9250d4e889157008181
diff --git a/mail-filter/amavisd-milter/amavisd-milter-1.7.2-r1.ebuild b/mail-filter/amavisd-milter/amavisd-milter-1.7.2-r1.ebuild
deleted file mode 100644
index fa8078129f5b..000000000000
--- a/mail-filter/amavisd-milter/amavisd-milter-1.7.2-r1.ebuild
+++ /dev/null
@@ -1,25 +0,0 @@
-# Copyright 1999-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI="8"
-
-DESCRIPTION="sendmail milter for amavisd-new"
-HOMEPAGE="https://github.com/prehor/amavisd-milter/"
-SRC_URI="https://github.com/prehor/${PN}/releases/download/${PV}/${P}.tar.gz"
-
-LICENSE="BSD"
-SLOT="0"
-KEYWORDS="amd64 x86"
-
-DEPEND="mail-filter/libmilter:="
-RDEPEND="${DEPEND}
- mail-filter/amavisd-new"
-
-DOCS=( AMAVISD-MILTER.md CHANGES INSTALL )
-
-src_install() {
- default
-
- newinitd "${FILESDIR}/amavisd-milter.initd-r2" amavisd-milter
- newconfd "${FILESDIR}/amavisd-milter.confd" amavisd-milter
-}
diff --git a/mail-filter/amavisd-milter/files/amavisd-milter.confd b/mail-filter/amavisd-milter/files/amavisd-milter.confd
deleted file mode 100644
index f2b0736851af..000000000000
--- a/mail-filter/amavisd-milter/files/amavisd-milter.confd
+++ /dev/null
@@ -1,14 +0,0 @@
-# /etc/conf.d/amavisd-milter
-# Check amavisd-milter man page for more options.
-
-# Unix domain socket locations
-SOCKET="/var/amavis/amavisd-milter.sock"
-AM_SOCKET="/var/amavis/amavisd.sock"
-
-# Working directory
-AM_TMP="/var/amavis/tmp"
-
-# Pid file location
-PIDFILE="/var/amavis/amavisd-milter.pid"
-
-DOPTIONS="-s $SOCKET -p $PIDFILE -S $AM_SOCKET -w $AM_TMP"
diff --git a/mail-filter/amavisd-milter/files/amavisd-milter.initd-r2 b/mail-filter/amavisd-milter/files/amavisd-milter.initd-r2
deleted file mode 100644
index bcd27759103b..000000000000
--- a/mail-filter/amavisd-milter/files/amavisd-milter.initd-r2
+++ /dev/null
@@ -1,19 +0,0 @@
-#!/sbin/openrc-run
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-name="amavisd-milter"
-command="/usr/sbin/${name}"
-command_args="${DOPTIONS}"
-command_user="amavis"
-pidfile="${PIDFILE}"
-
-depend() {
- use logger dns amavisd sendmail
-}
-
-start_pre() {
- # needed to avoid potential mi_stop errors
- [ "${RC_CMD}" = "restart" ] && sleep 4
- :
-}
diff --git a/mail-filter/amavisd-milter/metadata.xml b/mail-filter/amavisd-milter/metadata.xml
deleted file mode 100644
index f353ae51ac29..000000000000
--- a/mail-filter/amavisd-milter/metadata.xml
+++ /dev/null
@@ -1,8 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
- <!-- maintainer-needed -->
- <upstream>
- <remote-id type="github">prehor/amavisd-milter</remote-id>
- </upstream>
-</pkgmetadata>
diff --git a/mail-filter/amavisd-new/Manifest b/mail-filter/amavisd-new/Manifest
deleted file mode 100644
index 3c0e8886f077..000000000000
--- a/mail-filter/amavisd-new/Manifest
+++ /dev/null
@@ -1,2 +0,0 @@
-DIST amavis-v2.13.1.tar.bz2 893595 BLAKE2B 1fc24a450c2c93e39ea0f6eb2cff3e9a0c2aa2b0ce8bb8a0c9cfb744b76d12c0bd9a0549e493cfa555278e95b81ef8f18238ea63920c39aa0dd0c5c1b3dda543 SHA512 90a67fa246a2446a4fb3733f10cdb21e25f6f2aea4293a3880606e57cfa1b4c568e1670ec2a43f1d38fdf13d8eab8d22e3e293f86f594968e194dc2c8a5ae992
-DIST amavis-v2.14.0.tar.bz2 898335 BLAKE2B 5704fc9ac04141616dc62253cf3c5ceed980723c6bfad8201f8944b27394713dc346febafecf2b07e9ba718cb538e5b1a6092a8a3dbca2185a6b01b4db9aad71 SHA512 49303d86947d7ae258c6def8cf9892ff062fd054b4bc6451b1670426a5d767782ed7febd350237d36d4b62db408cbb993b6b4522eb595ead77faafb07012fe58
diff --git a/mail-filter/amavisd-new/amavisd-new-2.13.1-r1.ebuild b/mail-filter/amavisd-new/amavisd-new-2.13.1-r1.ebuild
deleted file mode 100644
index 1e6b1088ba00..000000000000
--- a/mail-filter/amavisd-new/amavisd-new-2.13.1-r1.ebuild
+++ /dev/null
@@ -1,276 +0,0 @@
-# Copyright 1999-2026 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit systemd perl-module
-
-DESCRIPTION="High-performance interface between the MTA and content checkers"
-HOMEPAGE="https://gitlab.com/amavis/amavis"
-SRC_URI="https://gitlab.com/amavis/amavis/-/archive/v${PV}/amavis-v${PV}.tar.bz2"
-S="${WORKDIR}/amavis-v${PV}"
-
-LICENSE="GPL-2 BSD-2"
-SLOT="0"
-KEYWORDS="amd64 ~arm64 ppc x86"
-
-IUSE="clamav dkim ldap mysql postgres razor rspamd rspamd-https selinux snmp spamassassin test"
-RESTRICT="!test? ( test )"
-REQUIRED_USE="test? ( spamassassin )"
-
-MY_RSPAMD_DEPEND="
- dev-perl/HTTP-Message
- dev-perl/JSON
- dev-perl/LWP-UserAgent-Determined
-"
-DEPEND="acct-user/amavis"
-RDEPEND="
- ${DEPEND}
- app-arch/arc
- app-arch/bzip2
- app-arch/cabextract
- app-alternatives/cpio
- app-arch/gzip
- app-arch/lha
- app-arch/lrzip
- app-arch/lzop
- || (
- >=app-arch/7zip-24.09[symlink(+)]
- app-arch/p7zip
- )
- app-arch/pax
- app-arch/arj
- app-arch/unrar
- app-arch/xz-utils
- app-arch/zoo
- dev-lang/perl:*
- dev-perl/Archive-Zip
- dev-perl/BerkeleyDB
- dev-perl/Convert-BinHex
- dev-perl/File-LibMagic
- dev-perl/IO-Socket-SSL
- dev-perl/IO-stringy
- >=dev-perl/Mail-DKIM-0.31
- >=dev-perl/MailTools-1.58
- >=dev-perl/MIME-tools-5.415
- dev-perl/Net-LibIDN2
- >=dev-perl/Net-Server-0.91
- dev-perl/Net-SSLeay
- dev-perl/Unix-Syslog
- net-mail/ripole
- net-mail/tnef
- >=sys-apps/coreutils-5.0-r3
- >=sys-libs/db-4.4.20
- virtual/mta
- clamav? ( app-antivirus/clamav )
- ldap? ( >=dev-perl/perl-ldap-0.33 )
- mysql? ( dev-perl/DBD-mysql )
- postgres? ( dev-perl/DBD-Pg )
- razor? ( mail-filter/razor )
- rspamd? ( ${MY_RSPAMD_DEPEND} )
- rspamd-https? (
- ${MY_RSPAMD_DEPEND}
- dev-perl/LWP-Protocol-https
- dev-perl/Net-SSLeay
- )
- selinux? ( sec-policy/selinux-amavis )
- snmp? ( net-analyzer/net-snmp[perl] )
- spamassassin? (
- mail-filter/spamassassin
- dev-perl/Image-Info
- )
-"
-BDEPEND="
- ${RDEPEND}
- dev-perl/Dist-Zilla
- test? (
- dev-perl/File-Slurp
- dev-perl/Test-Class
- dev-perl/DBI
- dev-perl/perl-ldap
- dev-perl/NetAddr-IP
- dev-perl/Test-Most
- )
-"
-
-AMAVIS_ROOT="/var/lib/amavishome"
-
-dzil_to_distdir() {
- local dzil_root dest has_missing modname dzil_version
- dzil_root="$1"
- dest="$2"
-
- cd "${dzil_root}" || die "Can't enter workdir '${dzil_root}'";
-
- dzil_version="$(dzil version)" || die "Error invoking 'dzil version'"
- einfo "Generating CPAN dist with ${dzil_version}"
-
- has_missing=""
-
- einfo "Checking dzil authordeps"
- while IFS= read -d $'\n' -r modname; do
- if [[ -z "${has_missing}" ]]; then
- has_missing=1
- eerror "'dzil authordeps' indicates missing build dependencies"
- eerror "These will prevent building, please report a bug"
- eerror "Missing:"
- fi
- S= eerror " ${modname}"
- done < <(dzil authordeps --missing --versions)
-
- [[ -z "${has_missing}" ]] || die "Satisfy all missing authordeps first"
-
- einfo "Checking dzil build deps"
- while IFS= read -d $'\n' -r modname; do
- if [[ -z "${has_missing}" ]]; then
- has_missing=1
- ewarn "'dzil listdeps' indicates missing build dependencies"
- ewarn "These may prevent building, please report a bug if they do"
- ewarn "Missing:"
- fi
- ewarn " ${modname}"
- done < <(dzil listdeps --missing --versions --author)
-
- einfo "Generating release"
- dzil build --notgz --in "${dest}" || die "Unable to build CPAN dist in '${dest}'"
-}
-
-src_prepare() {
- # perl-module doesn't account for this being a directory
- mv README_FILES READ_FILES || die
-
- # We need to fix the daemon_user and daemon_group in amavis-mc even
- # though we're going to run it in the foreground, because it calls
- # "drop_priv" unconditionally and will crash if its user/group
- # doesn't exist.
- sed -i \
- -e '/daemon/s/vscan/amavis/' \
- -e "s:'/var/virusmails':\"\$MYHOME/quarantine\":" \
- "${S}/conf/amavisd.conf" "${S}/bin/amavis-mc" || die "missing conf file"
-
- if ! use dkim ; then
- sed -i -e '/enable_dkim/s/1/0/' "${S}/conf/amavisd.conf" \
- || die "missing conf file - dkim"
- fi
-
- if ! use spamassassin ; then
- sed -i -e \
- "/^#[[:space:]]*@bypass_spam_checks_maps[[:space:]]*=[[:space:]]*(1)/s/^#//" \
- "${S}/conf/amavisd.conf" || die "missing conf file - sa"
- fi
-
- # needs ZMQ::LibZMQ3 which only suports net-libs/zeromq-3*,
- # long since removed from tree
- perl_rm_files t/Amavis/ZMQTest.t
- sed -e '/^ZMQ::LibZMQ3 =/d' \
- -i dist.ini || die "Can't patch dist.ini"
-
- rm bin/{amavis-services,amavis-mc,amavisd-snmp-subagent-zmq}
-
- if ! use snmp ; then
- rm bin/amavisd-snmp-subagent
- fi
-
- eapply_user
-
- # prevent distdir-in-distdir
- mv "${S}" "${T}" || die
- dzil_to_distdir "${T}/amavis-v${PV}" "${S}"
-
- perl-module_src_prepare
-}
-
-src_test() {
- # TODO: xz test fails
- rm t/Amavis/UnpackersTest.t || die
-
- prove -lr t || die
-}
-
-src_install() {
- perl-module_src_install
- mkdir "${ED}"/usr/sbin
- mv "${ED}"/usr/bin/amavisd "${ED}"/usr/sbin/amavisd || die
- mv "${ED}"/usr/bin/amavisd-agent "${ED}"/usr/sbin/amavisd-agent || die
- mv "${ED}"/usr/bin/amavisd-nanny "${ED}"/usr/sbin/amavisd-nanny || die
- mv "${ED}"/usr/bin/amavisd-release "${ED}"/usr/sbin/amavisd-release || die
- mv "${ED}"/usr/bin/amavisd-signer "${ED}"/usr/sbin/amavisd-signer || die
- mv "${ED}"/usr/bin/amavisd-status "${ED}"/usr/sbin/amavisd-status || die
- dobin contrib/p0f-analyzer.pl
-
- if use snmp ; then
- mv "${ED}"/usr/bin/amavisd-snmp-subagent "${ED}"/usr/sbin/amavisd-snmp-subagent || die
- newinitd "${FILESDIR}/amavisd-snmp-subagent.initd" \
- amavisd-snmp-subagent
- dodoc AMAVIS-MIB.txt
- fi
-
- perl_fix_packlist
-
- if use ldap ; then
- insinto /etc/openldap/schema
- newins contrib/LDAP.schema "${PN}.schema"
- fi
-
- # The config file should be root:amavis so that the amavis user can
- # read (only) it after dropping privileges. And of course he should
- # own everything in his home directory.
- insinto /etc
- insopts -m0640 -g amavis
- doins conf/amavisd.conf
-
- # Implementation detail? Keepdir calls dodir under the hood.
- diropts -o amavis -g amavis
- keepdir "${AMAVIS_ROOT}"/{,db,quarantine,tmp,var}
-
- # BEWARE:
- #
- # Anything below this line is using the mangled insopts/diropts from
- # above!
- #
-
- newinitd "${FILESDIR}/amavisd.initd-r2" amavisd
-
- systemd_newunit "${FILESDIR}/amavisd.service-r1" amavisd.service
-
- dodoc AAAREADME.first RELEASE_NOTES TODO \
- conf/amavisd.conf-default conf/amavisd-custom.conf \
- conf/amavisd-docker.conf
-
- docinto README_FILES
- dodoc READ_FILES/README*
- dodoc -r READ_FILES/*.{html,css}
- docinto README_FILES/images
- dodoc READ_FILES/images/*.png
- docinto README_FILES/images/callouts
- dodoc READ_FILES/images/callouts/*.png
-
- docinto test-messages
- dodoc t/messages/README
- dodoc t/messages/sample.tar.gz.compl
-}
-
-pkg_preinst() {
- # TODO: the following is done as root, but should probably be done
- # as the amavis user.
- if use razor ; then
- if [[ ! -d "${ROOT}${AMAVIS_ROOT}/.razor" ]] ; then
- elog "Setting up initial razor config files..."
-
- razor-admin -create -home="${D}/${AMAVIS_ROOT}/.razor"
- sed -i -e "s:debuglevel\([ ]*\)= .:debuglevel\1= 0:g" \
- "${D}/${AMAVIS_ROOT}/.razor/razor-agent.conf" || die
- fi
- fi
-}
-
-pkg_postinst() {
- local d="/var/amavis"
- if [[ -d ${d} ]]; then
- elog "Existing data found. Please make sure to manually copy it to amavis' new"
- elog "home directory by executing the following command as root from a shell:"
- elog
- elog " cp -a ${d}/* ${d}/.??* ${AMAVIS_ROOT}/ && rm -r ${d}"
- elog
- fi
-}
diff --git a/mail-filter/amavisd-new/amavisd-new-2.14.0-r1.ebuild b/mail-filter/amavisd-new/amavisd-new-2.14.0-r1.ebuild
deleted file mode 100644
index a6ee86d13ab0..000000000000
--- a/mail-filter/amavisd-new/amavisd-new-2.14.0-r1.ebuild
+++ /dev/null
@@ -1,278 +0,0 @@
-# Copyright 1999-2026 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit systemd perl-module
-
-DESCRIPTION="High-performance interface between the MTA and content checkers"
-HOMEPAGE="https://gitlab.com/amavis/amavis"
-SRC_URI="https://gitlab.com/amavis/amavis/-/archive/v${PV}/amavis-v${PV}.tar.bz2"
-S="${WORKDIR}/amavis-v${PV}"
-
-LICENSE="GPL-2 BSD-2"
-SLOT="0"
-KEYWORDS="~amd64 ~ppc ~ppc64 ~sparc ~x86"
-
-IUSE="clamav dkim ldap mysql postgres razor rspamd rspamd-https selinux snmp spamassassin test"
-RESTRICT="!test? ( test )"
-REQUIRED_USE="test? ( spamassassin )"
-
-MY_RSPAMD_DEPEND="
- dev-perl/HTTP-Message
- dev-perl/JSON
- dev-perl/LWP-UserAgent-Determined
-"
-DEPEND="acct-user/amavis"
-RDEPEND="
- ${DEPEND}
- app-arch/arc
- app-arch/bzip2
- app-arch/cabextract
- app-alternatives/cpio
- app-arch/gzip
- app-arch/lha
- app-arch/lrzip
- app-arch/lzop
- || (
- >=app-arch/7zip-24.09[symlink(+)]
- app-arch/p7zip
- )
- app-arch/pax
- app-arch/arj
- app-arch/unrar
- app-arch/xz-utils
- app-arch/zoo
- dev-lang/perl:*
- dev-perl/Archive-Zip
- dev-perl/BerkeleyDB
- dev-perl/Convert-BinHex
- dev-perl/File-LibMagic
- dev-perl/IO-Socket-SSL
- dev-perl/IO-stringy
- >=dev-perl/Mail-DKIM-0.31
- >=dev-perl/MailTools-1.58
- >=dev-perl/MIME-tools-5.415
- dev-perl/Net-LibIDN2
- >=dev-perl/Net-Server-0.91
- dev-perl/Net-SSLeay
- dev-perl/Unix-Syslog
- net-mail/ripole
- net-mail/tnef
- >=sys-apps/coreutils-5.0-r3
- >=sys-libs/db-4.4.20
- virtual/mta
- clamav? ( app-antivirus/clamav )
- ldap? ( >=dev-perl/perl-ldap-0.33 )
- mysql? ( dev-perl/DBD-mysql )
- postgres? ( dev-perl/DBD-Pg )
- razor? ( mail-filter/razor )
- rspamd? ( ${MY_RSPAMD_DEPEND} )
- rspamd-https? (
- ${MY_RSPAMD_DEPEND}
- dev-perl/LWP-Protocol-https
- dev-perl/Net-SSLeay
- )
- selinux? ( sec-policy/selinux-amavis )
- snmp? ( net-analyzer/net-snmp[perl] )
- spamassassin? (
- mail-filter/spamassassin
- dev-perl/Image-Info
- )
-"
-BDEPEND="
- ${RDEPEND}
- dev-perl/Dist-Zilla
- test? (
- dev-perl/File-Slurp
- dev-perl/Test-Class
- dev-perl/DBI
- dev-perl/perl-ldap
- dev-perl/NetAddr-IP
- dev-perl/Set-Scalar
- dev-perl/Test-MockModule
- dev-perl/Test-Most
- )
-"
-
-PATCHES=(
- "${FILESDIR}"/${PN}-2.14.0-xz-test.patch
-)
-
-AMAVIS_ROOT="/var/lib/amavishome"
-
-dzil_to_distdir() {
- local dzil_root dest has_missing modname dzil_version
- dzil_root="$1"
- dest="$2"
-
- cd "${dzil_root}" || die "Can't enter workdir '${dzil_root}'";
-
- dzil_version="$(dzil version)" || die "Error invoking 'dzil version'"
- einfo "Generating CPAN dist with ${dzil_version}"
-
- has_missing=""
-
- einfo "Checking dzil authordeps"
- while IFS= read -d $'\n' -r modname; do
- if [[ -z "${has_missing}" ]]; then
- has_missing=1
- eerror "'dzil authordeps' indicates missing build dependencies"
- eerror "These will prevent building, please report a bug"
- eerror "Missing:"
- fi
- S= eerror " ${modname}"
- done < <(dzil authordeps --missing --versions)
-
- [[ -z "${has_missing}" ]] || die "Satisfy all missing authordeps first"
-
- einfo "Checking dzil build deps"
- while IFS= read -d $'\n' -r modname; do
- if [[ -z "${has_missing}" ]]; then
- has_missing=1
- ewarn "'dzil listdeps' indicates missing build dependencies"
- ewarn "These may prevent building, please report a bug if they do"
- ewarn "Missing:"
- fi
- ewarn " ${modname}"
- done < <(dzil listdeps --missing --versions --author)
-
- einfo "Generating release"
- dzil build --notgz --in "${dest}" || die "Unable to build CPAN dist in '${dest}'"
-}
-
-src_prepare() {
- # perl-module doesn't account for this being a directory
- mv README_FILES READ_FILES || die
-
- # We need to fix the daemon_user and daemon_group in amavis-mc even
- # though we're going to run it in the foreground, because it calls
- # "drop_priv" unconditionally and will crash if its user/group
- # doesn't exist.
- sed -i \
- -e '/daemon/s/vscan/amavis/' \
- -e "s:'/var/virusmails':\"\$MYHOME/quarantine\":" \
- "${S}/conf/amavisd.conf" "${S}/bin/amavis-mc" || die "missing conf file"
-
- if ! use dkim ; then
- sed -i -e '/enable_dkim/s/1/0/' "${S}/conf/amavisd.conf" \
- || die "missing conf file - dkim"
- fi
-
- if ! use spamassassin ; then
- sed -i -e \
- "/^#[[:space:]]*@bypass_spam_checks_maps[[:space:]]*=[[:space:]]*(1)/s/^#//" \
- "${S}/conf/amavisd.conf" || die "missing conf file - sa"
- fi
-
- # needs ZMQ::LibZMQ3 which only suports net-libs/zeromq-3*,
- # long since removed from tree
- perl_rm_files t/Amavis/ZMQTest.t
- sed -e '/^ZMQ::LibZMQ3 =/d' \
- -i dist.ini || die "Can't patch dist.ini"
-
- rm bin/{amavis-services,amavis-mc,amavisd-snmp-subagent-zmq}
-
- if ! use snmp ; then
- rm bin/amavisd-snmp-subagent
- fi
-
- perl-module_src_prepare
-
- # prevent distdir-in-distdir
- mv "${S}" "${T}" || die
- dzil_to_distdir "${T}/amavis-v${PV}" "${S}"
-}
-
-src_test() {
- unset XZ_DEFAULTS XZ_OPT
- prove -lr t || die
-}
-
-src_install() {
- perl-module_src_install
- mkdir "${ED}"/usr/sbin
- mv "${ED}"/usr/bin/amavisd "${ED}"/usr/sbin/amavisd || die
- mv "${ED}"/usr/bin/amavisd-agent "${ED}"/usr/sbin/amavisd-agent || die
- mv "${ED}"/usr/bin/amavisd-nanny "${ED}"/usr/sbin/amavisd-nanny || die
- mv "${ED}"/usr/bin/amavisd-release "${ED}"/usr/sbin/amavisd-release || die
- mv "${ED}"/usr/bin/amavisd-signer "${ED}"/usr/sbin/amavisd-signer || die
- mv "${ED}"/usr/bin/amavisd-status "${ED}"/usr/sbin/amavisd-status || die
- dobin contrib/p0f-analyzer.pl
-
- if use snmp ; then
- mv "${ED}"/usr/bin/amavisd-snmp-subagent "${ED}"/usr/sbin/amavisd-snmp-subagent || die
- newinitd "${FILESDIR}/amavisd-snmp-subagent.initd" \
- amavisd-snmp-subagent
- dodoc AMAVIS-MIB.txt
- fi
-
- perl_fix_packlist
-
- if use ldap ; then
- insinto /etc/openldap/schema
- newins contrib/LDAP.schema "${PN}.schema"
- fi
-
- # The config file should be root:amavis so that the amavis user can
- # read (only) it after dropping privileges. And of course he should
- # own everything in his home directory.
- insinto /etc
- insopts -m0640 -g amavis
- doins conf/amavisd.conf
-
- # Implementation detail? Keepdir calls dodir under the hood.
- diropts -o amavis -g amavis
- keepdir "${AMAVIS_ROOT}"/{,db,quarantine,tmp,var}
-
- # BEWARE:
- #
- # Anything below this line is using the mangled insopts/diropts from
- # above!
- #
-
- newinitd "${FILESDIR}/amavisd.initd-r2" amavisd
-
- systemd_newunit "${FILESDIR}/amavisd.service-r1" amavisd.service
-
- dodoc AAAREADME.first RELEASE_NOTES TODO \
- conf/amavisd.conf-default conf/amavisd-custom.conf \
- conf/amavisd-docker.conf
-
- docinto README_FILES
- dodoc READ_FILES/README*
- dodoc -r READ_FILES/*.{html,css}
- docinto README_FILES/images
- dodoc READ_FILES/images/*.png
- docinto README_FILES/images/callouts
- dodoc READ_FILES/images/callouts/*.png
-
- docinto test-messages
- dodoc t/messages/README
- dodoc t/messages/sample.tar.gz.compl
-}
-
-pkg_preinst() {
- # TODO: the following is done as root, but should probably be done
- # as the amavis user.
- if use razor ; then
- if [[ ! -d "${ROOT}${AMAVIS_ROOT}/.razor" ]] ; then
- elog "Setting up initial razor config files..."
-
- razor-admin -create -home="${D}/${AMAVIS_ROOT}/.razor"
- sed -i -e "s:debuglevel\([ ]*\)= .:debuglevel\1= 0:g" \
- "${D}/${AMAVIS_ROOT}/.razor/razor-agent.conf" || die
- fi
- fi
-}
-
-pkg_postinst() {
- local d="/var/amavis"
- if [[ -d ${d} ]]; then
- elog "Existing data found. Please make sure to manually copy it to amavis' new"
- elog "home directory by executing the following command as root from a shell:"
- elog
- elog " cp -a ${d}/* ${d}/.??* ${AMAVIS_ROOT}/ && rm -r ${d}"
- elog
- fi
-}
diff --git a/mail-filter/amavisd-new/files/amavisd-new-2.14.0-xz-test.patch b/mail-filter/amavisd-new/files/amavisd-new-2.14.0-xz-test.patch
deleted file mode 100644
index db29c8f4898e..000000000000
--- a/mail-filter/amavisd-new/files/amavisd-new-2.14.0-xz-test.patch
+++ /dev/null
@@ -1,28 +0,0 @@
-https://gitlab.com/amavis/amavis/-/commit/eb8c27eebe6bd7f64ca16a63fdd3c52d8c77c857
-
-From eb8c27eebe6bd7f64ca16a63fdd3c52d8c77c857 Mon Sep 17 00:00:00 2001
-From: Juliano Guidini <jguidini@gmail.com>
-Date: Mon, 29 Sep 2025 15:09:33 +0000
-Subject: [PATCH] Solve test errors
-
----
- t/Amavis/UnpackersTest.pm | 2 +-
- 2 files changed, 2 insertions(+), 2 deletions(-)
-
-diff --git a/t/Amavis/UnpackersTest.pm b/t/Amavis/UnpackersTest.pm
-index 34e12d2..69a056d 100644
---- a/t/Amavis/UnpackersTest.pm
-+++ b/t/Amavis/UnpackersTest.pm
-@@ -90,7 +90,7 @@ sub xz : Tests(3) {
- skip ('xz not found', 1) unless $xz;
- skip ('file not found', 1) unless $Amavis::Conf::file;
-
-- local $ENV{PATH} = '';
-+ local $ENV{PATH} = '/';
- my $tempdir = File::Temp->newdir('test-directory-tmp-XXXXX', CLEANUP => 1, TMPDIR => 1);
- mkdir (my $partsdir = File::Spec->join($tempdir->dirname, 'parts'));
-
---
-GitLab
-
-
diff --git a/mail-filter/amavisd-new/files/amavisd-snmp-subagent.initd b/mail-filter/amavisd-new/files/amavisd-snmp-subagent.initd
deleted file mode 100644
index 84784b619e2b..000000000000
--- a/mail-filter/amavisd-new/files/amavisd-snmp-subagent.initd
+++ /dev/null
@@ -1,25 +0,0 @@
-#!/sbin/openrc-run
-# Copyright 1999-2018 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-command="/usr/sbin/amavisd-snmp-subagent"
-pidfile="/run/${RC_SVCNAME}.pid"
-
-# The RELEASE_NOTES say "it is safe to run it as root, although
-# perhaps not necessary." I'm not in a position to test, but I bet
-# it's safe to run this as amavis:amavis. Since the program itself
-# doesn't have the ability to drop privileges, we'd have to let OpenRC
-# do that; and in that case, the easiest way to deal with the PID file
-# is to let OpenRC handle that, too.
-#
-# Thus as a means of future-proofing, we run $command in the
-# foreground, and let OpenRC background it and write a PID file. So
-# if somebody wants to try command_user="amavis:amavis" here, it might
-# just work.
-command_args="-f"
-command_background="true"
-
-depend() {
- use logger
- before amavisd-new snmpd
-}
diff --git a/mail-filter/amavisd-new/files/amavisd.initd-r2 b/mail-filter/amavisd-new/files/amavisd.initd-r2
deleted file mode 100644
index 2e58bf9b7a93..000000000000
--- a/mail-filter/amavisd-new/files/amavisd.initd-r2
+++ /dev/null
@@ -1,42 +0,0 @@
-#!/sbin/openrc-run
-# Copyright 1999-2018 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-extra_started_commands="reload"
-command="/usr/sbin/${RC_SVCNAME}"
-pidfile="/run/${RC_SVCNAME}.pid"
-
-# Why run in the foreground? Typically amavisd will drop privileges
-# and then write its own PID file in its home directory. This is fine
-# so long as you use e.g. "amavisd stop" to stop the daemon. But, we
-# want to use start-stop-daemon to do it. And start-stop-daemon will
-# send a signal *as root* to the PID contained in the PID file. So, we
-# don't want to rely on a PID file that's controlled by a non-root
-# user.
-#
-# As a workaround, we run amavisd in the foreground, and let
-# start-stop-daemon push it into the background with its own PID
-# file. We don't pass "-P" via command_args below because we don't
-# want amavisd to try (and fail) to create that PID file. This does
-# mean that you can't run "amavisd stop" or "amavisd reload" directly;
-# sorry!
-command_args="foreground"
-command_background="true"
-
-# The amavisd daemon provides its own "stop" and "reload" functions,
-# but if you read into the source, they just do what start-stop-daemon
-# is going to do anyway. The "stop" command for amavisd will send a
-# SIGTERM immediately, and then a SIGKILL after 60 seconds. So, we do
-# that too. The "reload" command sends a SIGHUP; see reload() below.
-retry="SIGTERM/15 SIGKILL/60"
-
-depend() {
- use net logger antivirus snmpd
- before mta
-}
-
-reload() {
- ebegin "Reloading ${RC_SVCNAME}"
- start-stop-daemon --signal HUP --pidfile "${pidfile}"
- eend $?
-}
diff --git a/mail-filter/amavisd-new/files/amavisd.service-r1 b/mail-filter/amavisd-new/files/amavisd.service-r1
deleted file mode 100644
index 038712853551..000000000000
--- a/mail-filter/amavisd-new/files/amavisd.service-r1
+++ /dev/null
@@ -1,21 +0,0 @@
-[Unit]
-Description=Amavisd Daemon
-Before=postfix.service
-After=clamd.service
-After=network.target
-
-[Service]
-User=amavis
-Group=amavis
-ExecStart=/usr/sbin/amavisd -c /etc/amavisd.conf foreground
-ExecReload=/usr/sbin/amavisd -c /etc/amavisd.conf reload
-PrivateTmp=true
-CapabilityBoundingSet=
-ProtectSystem=full
-NoNewPrivileges=true
-PrivateDevices=true
-ProtectHome=true
-MemoryDenyWriteExecute=true
-
-[Install]
-WantedBy=multi-user.target
diff --git a/mail-filter/amavisd-new/metadata.xml b/mail-filter/amavisd-new/metadata.xml
deleted file mode 100644
index 4d9f403a357a..000000000000
--- a/mail-filter/amavisd-new/metadata.xml
+++ /dev/null
@@ -1,16 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
- <!-- maintainer-needed -->
- <use>
- <flag name="dkim">Add DomainKeys Identified Mail support</flag>
- <flag name="razor">Add support for <pkg>mail-filter/razor</pkg></flag>
- <flag name="rspamd">Add support for <pkg>mail-filter/rspamd</pkg> extension (HTTP only)</flag>
- <flag name="rspamd-https">Add support for <pkg>mail-filter/rspamd</pkg> extension (both HTTP and HTTPS)</flag>
- <flag name="spamassassin">Add support for <pkg>mail-filter/spamassassin</pkg></flag>
- </use>
- <upstream>
- <bugs-to>https://gitlab.com/amavis/amavis/-/issues</bugs-to>
- <remote-id type="gitlab">amavis/amavis</remote-id>
- </upstream>
-</pkgmetadata>
diff --git a/mail-filter/bmf/Manifest b/mail-filter/bmf/Manifest
deleted file mode 100644
index 36dd5a2eaea3..000000000000
--- a/mail-filter/bmf/Manifest
+++ /dev/null
@@ -1 +0,0 @@
-DIST bmf-0.9.4.tar.gz 36740 BLAKE2B f3bb262006e4e3e9db98f7df9b7160d8e3feeb0c3aa2b0564a65d5a302fb7b8894fd55d947828989dac488c605fcc153a9f18f840f63718cd12f374c0eb4fe2e SHA512 efbc7edd08ac9abd5a56fa8a00d0011363582e50dda309526b2114906f7d9a9795539df62d4db99457903a2277980bde02d24c97c2ec087d2af84df691cdb9f4
diff --git a/mail-filter/bmf/bmf-0.9.4-r4.ebuild b/mail-filter/bmf/bmf-0.9.4-r4.ebuild
deleted file mode 100644
index 280dcc5fd4e0..000000000000
--- a/mail-filter/bmf/bmf-0.9.4-r4.ebuild
+++ /dev/null
@@ -1,55 +0,0 @@
-# Copyright 1999-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit toolchain-funcs
-
-DESCRIPTION="Fast and small Bayesian spam filter"
-HOMEPAGE="https://sourceforge.net/projects/bmf/"
-SRC_URI="https://downloads.sourceforge.net/bmf/${P}.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="amd64 ~ppc x86"
-IUSE="mysql berkdb"
-
-DEPEND="
- mysql? ( dev-db/mysql-connector-c:0= )
- berkdb? ( >=sys-libs/db-3.2.9:= )"
-RDEPEND="${DEPEND}"
-
-PATCHES=( "${FILESDIR}/${P}_QA.patch" )
-
-src_prepare() {
- # respect CFLAGS/LDFLAGS/CC
- sed -i \
- -e '/D_LINUX/s/CFLAGS="$CCDBG/CFLAGS+=" $CCDBG/' \
- -e 's/LDFLAGS="$LDDBG/LDFLAGS+=" $LDDBG/' \
- -e "s/CC=gcc/CC=$(tc-getCC)/" \
- "${S}/configure" || die
-
- # include mysql headers
- sed -i -e '/HAVE_MYSQL/s/HAVE_MYSQL/HAVE_MYSQL `mysql_config --include`/' \
- "${S}/configure" || die
-
- # We don't need to be root to run install
- sed -i -e 's/install: checkroot bmf/install: bmf/' Makefile.in || die
-
- default
-}
-
-src_configure() {
- # this is not an autotools script
- ./configure \
- $(use_with mysql) \
- $(use_with berkdb libdb) || die
-}
-
-pkg_postinst() {
- elog
- elog "Important: Remember to train bmf before you start using it."
- elog "See the README file for further instructions on training and using bmf"
- elog "with procmail."
- elog
-}
diff --git a/mail-filter/bmf/files/bmf-0.9.4_QA.patch b/mail-filter/bmf/files/bmf-0.9.4_QA.patch
deleted file mode 100644
index f9728fbba984..000000000000
--- a/mail-filter/bmf/files/bmf-0.9.4_QA.patch
+++ /dev/null
@@ -1,19 +0,0 @@
---- a/dbh.c 2002-10-14 07:09:51.000000000 +0000
-+++ b/dbh.c 2012-02-24 10:52:07.000000000 +0000
-@@ -60,12 +60,16 @@
- case db_text:
- pdb = (dbh_t*)dbtext_db_open( dbhost, dbname, dbuser, dbpass );
- break;
-+#ifdef HAVE_LIBDB
- case db_db:
- pdb = (dbh_t*)dbdb_db_open( dbhost, dbname, dbuser, dbpass );
- break;
-+#endif
-+#ifdef HAVE_MYSQL
- case db_mysql:
- pdb = (dbh_t*) dbmysql_db_open( dbhost, dbname, dbuser, dbpass );
- break;
-+#endif
- default:
- assert(false);
- }
diff --git a/mail-filter/bmf/metadata.xml b/mail-filter/bmf/metadata.xml
deleted file mode 100644
index fa9e39f4b11b..000000000000
--- a/mail-filter/bmf/metadata.xml
+++ /dev/null
@@ -1,8 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
- <!-- maintainer-needed -->
- <upstream>
- <remote-id type="sourceforge">bmf</remote-id>
- </upstream>
-</pkgmetadata>
diff --git a/mail-filter/bogofilter/Manifest b/mail-filter/bogofilter/Manifest
deleted file mode 100644
index e1b22449d116..000000000000
--- a/mail-filter/bogofilter/Manifest
+++ /dev/null
@@ -1 +0,0 @@
-DIST bogofilter-1.2.5.tar.xz 801240 BLAKE2B 90fc5f0ab258ada722ca2fb79d17279b621eb089f646eade2ab41b78c44deea7f3fd8f219053e09ce5b4c64f5fc81f43a17c20b84261b22d5529c06106e80b3c SHA512 3a7280485cfe5802dd3e9721c153f88ccf28bff7a6a24590e985e860d1f1e0ddea7bde8a8e5ad1ff643e94c9fd7b26b2a5ed5a9fb991cee3fd5b0ce67ce9abfe
diff --git a/mail-filter/bogofilter/bogofilter-1.2.5-r1.ebuild b/mail-filter/bogofilter/bogofilter-1.2.5-r1.ebuild
deleted file mode 100644
index bf4840672d5b..000000000000
--- a/mail-filter/bogofilter/bogofilter-1.2.5-r1.ebuild
+++ /dev/null
@@ -1,129 +0,0 @@
-# Copyright 1999-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit autotools db-use flag-o-matic toolchain-funcs
-
-DESCRIPTION="Bayesian spam filter designed with fast algorithms, and tuned for speed"
-HOMEPAGE="https://bogofilter.sourceforge.io/"
-SRC_URI="https://downloads.sourceforge.net/${PN}/${P}.tar.xz"
-
-LICENSE="GPL-3+"
-SLOT="0"
-KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ppc ppc64 ~riscv ~sparc x86"
-IUSE="berkdb +sqlite tokyocabinet"
-
-# pax needed for bf_tar
-DEPEND="
- app-arch/pax
- sci-libs/gsl:=
- virtual/libiconv
- berkdb? ( >=sys-libs/db-3.2:* )
- !berkdb? (
- sqlite? ( >=dev-db/sqlite-3.6.22 )
- !sqlite? (
- tokyocabinet? ( dev-db/tokyocabinet )
- !tokyocabinet? ( >=sys-libs/db-3.2:* )
- )
- )
-"
-RDEPEND="${DEPEND}"
-
-pkg_setup() {
- has_version mail-filter/bogofilter || return 0
- if ( use berkdb && ! has_version 'mail-filter/bogofilter[berkdb]' ) || \
- ( ! use berkdb && has_version 'mail-filter/bogofilter[berkdb]' ) || \
- ( use sqlite && ! has_version 'mail-filter/bogofilter[sqlite]' ) || \
- ( ! use sqlite && has_version 'mail-filter/bogofilter[sqlite]' ) || \
- ( has_version '>=mail-filter/bogofilter-1.2.1-r1' && \
- ( use tokyocabinet && ! has_version 'mail-filter/bogofilter[tokyocabinet]' ) || \
- ( ! use tokyocabinet && has_version 'mail-filter/bogofilter[tokyocabinet]' )
- ) ; then
- ewarn
- ewarn "If you want to switch the database backend, you must dump the wordlist"
- ewarn "with the current version (old use flags) and load it with the new version!"
- ewarn
- fi
-}
-
-src_prepare() {
- default
-
- # bug 445918
- sed -i -e 's/ -ggdb//' configure.ac || die
-
- # bug 421747
- chmod +x src/tests/t.{ctype,leakfind,lexer.qpcr,lexer.eoh,message_id,queue_id} || die
-
- # bug 654990
- sed -i -e 's/t.bulkmode//' \
- -e 's/t.dump.load//' \
- -e 's/t.nonascii.replace//' \
- src/tests/Makefile.am || die
-
- eautoreconf
-}
-
-src_configure() {
- local myconf="" berkdb=true
- myconf="--without-included-gsl"
-
- # determine backend: berkdb *is* default
- if use berkdb && use sqlite ; then
- elog "Both useflags berkdb and sqlite are in USE:"
- elog "Using berkdb as database backend."
- elif use berkdb && use tokyocabinet ; then
- elog "Both useflags berkdb and tokyocabinet are in USE:"
- elog "Using berkdb as database backend."
- elif use sqlite && use tokyocabinet ; then
- elog "Both useflags sqlite and tokyocabinet are in USE:"
- elog "Using sqlite as database backend."
- myconf="${myconf} --with-database=sqlite"
- berkdb=false
- elif use sqlite ; then
- myconf="${myconf} --with-database=sqlite"
- berkdb=false
- elif use tokyocabinet ; then
- myconf="${myconf} --with-database=tokyocabinet"
- berkdb=false
- elif ! use berkdb ; then
- elog "Neither berkdb nor sqlite nor tokyocabinet are in USE:"
- elog "Using berkdb as database backend."
- fi
-
- # Include the right berkdb headers for FreeBSD
- if ${berkdb} ; then
- append-cppflags "-I$(db_includedir)"
- fi
-
- econf ${myconf}
-}
-
-src_test() {
- emake -C src/ check
-}
-
-src_install() {
- emake DESTDIR="${D}" install
-
- exeinto /usr/share/${PN}/contrib
- doexe contrib/{bogofilter-qfe,parmtest,randomtrain}.sh \
- contrib/{bfproxy,bogominitrain,mime.get.rfc822,printmaildir}.pl \
- contrib/{spamitarium,stripsearch}.pl
-
- insinto /usr/share/${PN}/contrib
- doins contrib/{README.*,dot-qmail-bogofilter-default} \
- contrib/{bogogrep.c,bogo.R,bogofilter-milter.pl,*.example} \
- contrib/vm-bogofilter.el \
- contrib/{trainbogo,scramble}.sh
-
- dodoc AUTHORS NEWS README RELEASE.NOTES* TODO GETTING.STARTED \
- doc/integrating-with-* doc/README.{db,sqlite}
-
- dodoc -r doc/*.html
-
- dodir /usr/share/doc/${PF}/samples
- mv "${D}"/etc/bogofilter.cf.example "${D}"/usr/share/doc/${PF}/samples/ || die
- rmdir "${D}"/etc || die
-}
diff --git a/mail-filter/bogofilter/metadata.xml b/mail-filter/bogofilter/metadata.xml
deleted file mode 100644
index d2c940b84c62..000000000000
--- a/mail-filter/bogofilter/metadata.xml
+++ /dev/null
@@ -1,16 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
- <!-- maintainer-needed -->
- <longdescription>
- Bogofilter is a mail filter that classifies mail as spam or ham (non-spam)
- by a statistical analysis of the message's header and content (body). The
- program is able to learn from the user's classifications and corrections.
- </longdescription>
- <use>
- <flag name="tokyocabinet">Enable Tokyo Cabinet database support</flag>
- </use>
- <upstream>
- <remote-id type="sourceforge">bogofilter</remote-id>
- </upstream>
-</pkgmetadata>
diff --git a/mail-filter/courier-pythonfilter/Manifest b/mail-filter/courier-pythonfilter/Manifest
deleted file mode 100644
index d757bd31d35c..000000000000
--- a/mail-filter/courier-pythonfilter/Manifest
+++ /dev/null
@@ -1,2 +0,0 @@
-DIST courier-pythonfilter-3.0.4.tar.gz 63336 BLAKE2B 0a002b68a1828d20258f7671bd91bded3960e1b60cb00ec80ca43fcb783729509c18b2603fbc044649b2514a6911b71b369c0525c87a47719b5328dfd78dcea2 SHA512 00b08b607ed6c613a5a010855c34580d0ea22e11e6ca9d5f2a9806c9f1f9cce15d32b66822433c29e23b71b955da18fe63bf78fb6240e6e6f026a27f52c2d86c
-DIST courier-pythonfilter-3.0.6.tar.gz 63899 BLAKE2B 8a7e437849abf4f2273c2ae9f117ba30683b74d9dabb6487ce2d0db0868b593da00ae2af2021c3a88ae4155b3d4f63c1b2b0a82bf836244a52a215f9025424e7 SHA512 7d25e6d466351cf987ed71eb9fee8396b87deffbe5a16be17ae94d806a0d9fe8330f243880388d87e7eef3c99fc2a073de94204540c8838995357d5799506ca3
diff --git a/mail-filter/courier-pythonfilter/courier-pythonfilter-3.0.4.ebuild b/mail-filter/courier-pythonfilter/courier-pythonfilter-3.0.4.ebuild
deleted file mode 100644
index ba61057c3290..000000000000
--- a/mail-filter/courier-pythonfilter/courier-pythonfilter-3.0.4.ebuild
+++ /dev/null
@@ -1,17 +0,0 @@
-# Copyright 1999-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-PYTHON_COMPAT=( python3_{13..14} )
-PYPI_NO_NORMALIZE=1
-DISTUTILS_USE_PEP517=setuptools
-inherit distutils-r1 pypi
-
-DESCRIPTION="Python filtering architecture for the Courier MTA"
-HOMEPAGE="https://pypi.org/project/courier-pythonfilter/"
-
-LICENSE="GPL-3"
-SLOT="0"
-KEYWORDS="amd64"
-
-DEPEND="mail-mta/courier"
diff --git a/mail-filter/courier-pythonfilter/courier-pythonfilter-3.0.6-r1.ebuild b/mail-filter/courier-pythonfilter/courier-pythonfilter-3.0.6-r1.ebuild
deleted file mode 100644
index cb3cea2ac315..000000000000
--- a/mail-filter/courier-pythonfilter/courier-pythonfilter-3.0.6-r1.ebuild
+++ /dev/null
@@ -1,29 +0,0 @@
-# Copyright 1999-2026 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-PYTHON_COMPAT=( python3_{13..14} )
-PYPI_NO_NORMALIZE=1
-DISTUTILS_USE_PEP517=setuptools
-inherit distutils-r1 pypi
-
-DESCRIPTION="Python filtering architecture for the Courier MTA"
-HOMEPAGE="https://pypi.org/project/courier-pythonfilter/"
-
-LICENSE="GPL-3"
-SLOT="0"
-KEYWORDS="amd64"
-
-DEPEND="mail-mta/courier"
-
-python_install() {
- distutils-r1_python_install
- rm -rf "${D}$(python_get_sitedir)/etc" || die
-}
-
-python_install_all() {
- distutils-r1_python_install_all
-
- insinto /etc
- doins pythonfilter.conf pythonfilter-modules.conf
-}
diff --git a/mail-filter/courier-pythonfilter/courier-pythonfilter-3.0.6.ebuild b/mail-filter/courier-pythonfilter/courier-pythonfilter-3.0.6.ebuild
deleted file mode 100644
index 8e94e37b533d..000000000000
--- a/mail-filter/courier-pythonfilter/courier-pythonfilter-3.0.6.ebuild
+++ /dev/null
@@ -1,17 +0,0 @@
-# Copyright 1999-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-PYTHON_COMPAT=( python3_{13..14} )
-PYPI_NO_NORMALIZE=1
-DISTUTILS_USE_PEP517=setuptools
-inherit distutils-r1 pypi
-
-DESCRIPTION="Python filtering architecture for the Courier MTA"
-HOMEPAGE="https://pypi.org/project/courier-pythonfilter/"
-
-LICENSE="GPL-3"
-SLOT="0"
-KEYWORDS="~amd64"
-
-DEPEND="mail-mta/courier"
diff --git a/mail-filter/courier-pythonfilter/metadata.xml b/mail-filter/courier-pythonfilter/metadata.xml
deleted file mode 100644
index 8e06c411005a..000000000000
--- a/mail-filter/courier-pythonfilter/metadata.xml
+++ /dev/null
@@ -1,10 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
- <maintainer type="person">
- <email>hanno@gentoo.org</email>
- </maintainer>
- <upstream>
- <remote-id type="pypi">courier-pythonfilter</remote-id>
- </upstream>
-</pkgmetadata>
diff --git a/mail-filter/couriersrs/Manifest b/mail-filter/couriersrs/Manifest
deleted file mode 100644
index 7997a53729ab..000000000000
--- a/mail-filter/couriersrs/Manifest
+++ /dev/null
@@ -1 +0,0 @@
-DIST couriersrs-0.1.2.tar.gz 521868 BLAKE2B 5895bd6711b6090b43d8b3b6c3b268012ab9ce4619bb30cc6f9b4c35ac63533ee107d6cf068aa2937225ef0372ce8a3cbd8a1a9fc599c33ed2c9884edb85d816 SHA512 e2749bac3374935753ae7cc3d7ef2920b63445dece1206c4c7877005837360f0a6ec6753bfd4b1d736a4eb948a54bf5a7799bc85fc27dd987abd901180545df4
diff --git a/mail-filter/couriersrs/couriersrs-0.1.2-r1.ebuild b/mail-filter/couriersrs/couriersrs-0.1.2-r1.ebuild
deleted file mode 100644
index 704f22591f33..000000000000
--- a/mail-filter/couriersrs/couriersrs-0.1.2-r1.ebuild
+++ /dev/null
@@ -1,26 +0,0 @@
-# Copyright 1999-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit autotools
-
-DESCRIPTION="SRS (Sender Rewriting Scheme) wrapper for the courier MTA"
-HOMEPAGE="https://couriersrs.com/"
-SRC_URI="https://github.com/mawis/courier-srs/releases/download/${PV}/${P}.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="amd64 ~x86"
-
-DEPEND="dev-libs/popt
- mail-filter/libsrs2"
-RDEPEND="${DEPEND}"
-
-PATCHES=( "${FILESDIR}/${P}-automake-fixes.diff" )
-
-src_prepare() {
- default
- rm m4/*.m4 || die "rm failed!"
- AT_M4DIR="m4" eautoreconf
-}
diff --git a/mail-filter/couriersrs/files/couriersrs-0.1.2-automake-fixes.diff b/mail-filter/couriersrs/files/couriersrs-0.1.2-automake-fixes.diff
deleted file mode 100644
index 153e5d92c995..000000000000
--- a/mail-filter/couriersrs/files/couriersrs-0.1.2-automake-fixes.diff
+++ /dev/null
@@ -1,36 +0,0 @@
---- couriersrs-0.1.2/configure.ac.1 2009-10-11 19:20:07.000000000 +0200
-+++ couriersrs-0.1.2/configure.ac 2009-10-11 19:30:35.000000000 +0200
-@@ -16,7 +16,7 @@
- AM_ICONV
-
- AM_GNU_GETTEXT
--AM_GNU_GETTEXT_VERSION(0.14.1)
-+AM_GNU_GETTEXT_VERSION(0.15)
- ALL_LINGUAS=""
-
- AC_DISABLE_STATIC
-diff -Naur couriersrs-0.1.1/intl/Makefile.in couriersrs-0.1.1-x/intl/Makefile.in
---- couriersrs-0.1.1/intl/Makefile.in 2007-03-15 20:59:02.000000000 +0100
-+++ couriersrs-0.1.1-x/intl/Makefile.in 2009-09-19 23:36:54.000000000 +0200
-@@ -39,8 +39,7 @@
-
- INSTALL = @INSTALL@
- INSTALL_DATA = @INSTALL_DATA@
--MKINSTALLDIRS = @MKINSTALLDIRS@
--mkinstalldirs = $(SHELL) $(MKINSTALLDIRS)
-+mkinstalldirs = @mkdir_p@
-
- l = @INTL_LIBTOOL_SUFFIX_PREFIX@
-
---- couriersrs-0.1.1/po/Makefile.in.in 2007-03-15 20:59:04.000000000 +0100
-+++ couriersrs-0.1.1-x/po/Makefile.in.in 2009-09-19 23:36:00.000000000 +0200
-@@ -28,8 +28,7 @@
-
- INSTALL = @INSTALL@
- INSTALL_DATA = @INSTALL_DATA@
--MKINSTALLDIRS = @MKINSTALLDIRS@
--mkinstalldirs = $(SHELL) $(MKINSTALLDIRS)
-+mkinstalldirs = @mkdir_p@
-
- GMSGFMT = @GMSGFMT@
- MSGFMT = @MSGFMT@
diff --git a/mail-filter/couriersrs/metadata.xml b/mail-filter/couriersrs/metadata.xml
deleted file mode 100644
index 708c32eddea6..000000000000
--- a/mail-filter/couriersrs/metadata.xml
+++ /dev/null
@@ -1,10 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
- <maintainer type="person">
- <email>hanno@gentoo.org</email>
- </maintainer>
- <upstream>
- <remote-id type="github">mawis/courier-srs</remote-id>
- </upstream>
-</pkgmetadata>
diff --git a/mail-filter/dcc/Manifest b/mail-filter/dcc/Manifest
deleted file mode 100644
index 4722a3e2c81f..000000000000
--- a/mail-filter/dcc/Manifest
+++ /dev/null
@@ -1 +0,0 @@
-DIST dcc-2.3.168.tar.Z 1608203 BLAKE2B d0dac4ee233fede16b4904524126cff4f127e59177d11624acf850861b9f267718efab974edafbd4521bcf78a2c3d626876c23c0af3cc108cd131c197dbc9945 SHA512 52a9671ba355a2d3e82246c3b5cf3875148d48bd314371d9e608643a59922becdf024b880e4bd37f6e36aa50830110600960ffa7a3ddd69ed7239bfc0578f141
diff --git a/mail-filter/dcc/dcc-2.3.168-r1.ebuild b/mail-filter/dcc/dcc-2.3.168-r1.ebuild
deleted file mode 100644
index 4d00d2cf49c9..000000000000
--- a/mail-filter/dcc/dcc-2.3.168-r1.ebuild
+++ /dev/null
@@ -1,144 +0,0 @@
-# Copyright 1999-2025 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit edo systemd toolchain-funcs
-
-DESCRIPTION="Distributed Checksum Clearinghouse"
-HOMEPAGE="https://www.rhyolite.com/dcc/"
-SRC_URI="https://www.rhyolite.com/dcc/source/old/${P}.tar.Z"
-
-LICENSE="DCC GPL-2"
-SLOT="0"
-KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ppc ppc64 ~sparc x86"
-IUSE="cgi ipv6 rrdtool milter"
-
-RDEPEND="
- dev-lang/perl
- || (
- net-ftp/ftp
- net-misc/curl
- net-misc/wget
- www-client/fetch
- )
- milter? ( mail-filter/libmilter:= )
- rrdtool? ( net-analyzer/rrdtool )
-"
-DEPEND="${RDEPEND}"
-
-dcc_cgibin=var/www/localhost/cgi-bin/dcc
-dcc_homedir=var/lib/dcc
-dcc_libexec=usr/sbin
-dcc_man=usr/share/man
-dcc_rundir=var/run/dcc
-
-PATCHES=(
- "${FILESDIR}"/${PN}-1.3.158-clang16.patch
- "${FILESDIR}"/${PN}-1.3.158-c2x.patch
- "${FILESDIR}"/${PN}-2.3.168-no-compress-man.patch
-)
-
-src_configure() {
- tc-export CC AR RANLIB
-
- local myconf=(
- --bindir="${EPREFIX}"/usr/bin
- --homedir="${EPREFIX}"/${dcc_homedir}
- --libexecdir="${EPREFIX}"/${dcc_libexec}
- --mandir="${EPREFIX}"/usr/share/man
- --enable-dccifd
- --enable-server
- --with-DDC-MD5
- --with-installroot="${D}"
- --with-rundir="${EPREFIX}"/${dcc_rundir}
- --with-uid=root
- --with-updatedcc_pfile="${EPREFIX}"/${dcc_homedir}/updatecc.pfile
- --with-db-memory=64
- --with-max-db-mem=128
- --with-max-log-size=0
- --with-make-cmd=${MAKE:-make}
- $(use_enable ipv6 IPv6)
- $(use_enable milter dccm)
- $(use_with cgi cgibin ${dcc_cgibin})
- $(use_with milter sendmail)
- )
-
- einfo "Using config: ${myconf[@]}"
-
- # This is NOT a normal configure script.
- edo ./configure "${myconf[@]}"
-}
-
-moveconf() {
- local i
- for i in $@; do
- mv "${ED}/${dcc_homedir}/${i}" "${ED}"/etc/dcc || die
- dosym ../../../etc/dcc/"${i}" "${dcc_homedir}/${i}"
- done
-}
-
-src_install() {
- # stolen from the RPM .spec and modified for gentoo
- export MANOWN=root
- export MANGRP=$(id -g -n root)
- export BINOWN="${MANOWN}"
- export BINGRP="${MANGRP}"
- export DCC_PROTO_HOMEDIR="${ED}/${dcc_homedir}"
- export DCC_CGIBINDIR="${ED}/${dcc_cgibin}"
- export DCC_SUID="${BINOWN}"
- export DCC_OWN="${BINOWN}"
- export DCC_GRP="${BINGRP}"
-
- dodir /etc/cron.daily "${dcc_homedir}" /usr/bin /usr/sbin /usr/share/man/man{0,8} /etc/dcc
- if use cgi ; then
- dodir "${dcc_cgibin}"
- fi
- keepdir /var/log/dcc
-
- emake install
-
- # branding and setting reasonable defaults
- sed -e "s/BRAND=\$/BRAND='Gentoo ${PF}'/;" \
- -e "s/GREY_ENABLE=\$/GREY_ENABLE=off/;" \
- -e "s/DCCM_LOG_AT=5\$/DCCM_LOG_AT=50/;" \
- -e "s,DCCM_LOGDIR=\"log\"\$,DCCM_LOGDIR=\"/var/log/dcc\",;" \
- -e "s/DCCM_ARGS=\$/DCCM_ARGS='-SHELO -Smail_host -SSender -SList-ID'/;" \
- -e "s/DCCIFD_ARGS=\$/DCCIFD_ARGS=\"\$DCCM_ARGS\"/;" \
- -e 's/DCCIFD_ENABLE=off/DCCIFD_ENABLE=on/' \
- -e 's/DBCLEAN_LOGDAYS=14/DBCLEAN_LOGDAYS=1/' \
- -i "${ED}/${dcc_homedir}/dcc_conf" || die
-
- if use milter ; then
- # enable milter
- sed -i -e "s:^[\t #]*\(DCCM_ENABLE[\t ]*=[\t ]*\).*:\1on:g" \
- "${ED}/${dcc_homedir}"/dcc_conf || die
- fi
-
- # provide cronjob
- mv "${ED}"/usr/sbin/cron-dccd "${ED}"/etc/cron.daily/dccd || die "mv failed"
-
- # clean up
- mv "${ED}"/usr/sbin/logger "${ED}"/usr/sbin/logger-dcc || die "mv failed"
-
- if ! use rrdtool; then
- # remove rrdtool interface scripts
- rm "${ED}"/usr/sbin/dcc-stats-{collect,graph,init} || die "Failed to clean up rrdtool scripts"
- fi
-
- # clean up
- rm "${ED}"/usr/sbin/{rcDCC,updatedcc} || die
-
- # place configuration files into /etc instead of /var/dcc
- moveconf dcc_conf flod grey_flod grey_whitelist ids map map.txt whiteclnt whitecommon whitelist
-
- newinitd "${FILESDIR}"/dcc.initd-1.3.154 dcc
- newconfd "${FILESDIR}"/dcc.confd dcc
-
- rmdir "${ED}"/"${dcc_homedir}"/log || die
-
- dodoc CHANGES
- doman *.{0,8}
-
- systemd_dounit "${FILESDIR}/dccifd.service"
-}
diff --git a/mail-filter/dcc/files/dcc-1.3.158-c2x.patch b/mail-filter/dcc/files/dcc-1.3.158-c2x.patch
deleted file mode 100644
index 79b70f300f8f..000000000000
--- a/mail-filter/dcc/files/dcc-1.3.158-c2x.patch
+++ /dev/null
@@ -1,21 +0,0 @@
-This is the only K&R-style functions in the source, incompatible with C2x.
---- a/dcclib/inet_ntop.c
-+++ b/dcclib/inet_ntop.c
-@@ -88,7 +88,3 @@
- */
--static const char *
--inet_ntop4(src, dst, size)
-- const u_char *src;
-- char *dst;
-- size_t size;
-+static const char *inet_ntop4(const u_char *src, char *dst, size_t size)
- {
-@@ -115,7 +111,3 @@
- */
--static const char *
--inet_ntop6(src, dst, size)
-- const u_char *src;
-- char *dst;
-- size_t size;
-+static const char *inet_ntop6(const u_char *src, char *dst, size_t size)
- {
diff --git a/mail-filter/dcc/files/dcc-1.3.158-clang16.patch b/mail-filter/dcc/files/dcc-1.3.158-clang16.patch
deleted file mode 100644
index adf518944408..000000000000
--- a/mail-filter/dcc/files/dcc-1.3.158-clang16.patch
+++ /dev/null
@@ -1,30 +0,0 @@
-configure.ac is missing, so need to edit this manually
-
-https://bugs.gentoo.org/870646
---- a/configure
-+++ b/configure
-@@ -796,3 +796,3 @@
-
--main(){return(0);}
-+int main(void){return(0);}
- EOF
-@@ -1100,3 +1100,3 @@
- #include "confdefs.h"
--main()
-+int main(void)
- {exit(sizeof(void*)==8 ? 0 : sizeof(void*));}
-@@ -1463,3 +1463,3 @@
- #include <sys/types.h>
--main()
-+int main(void)
- {
-@@ -3330,3 +3330,3 @@
- #define min(a,b) ((a) < (b) ? (a) : (b))
--main()
-+int main(void)
- {
-@@ -3596,3 +3596,3 @@
- #include "include/dcc_paths.h"
--main()
-+int main(void)
- {
diff --git a/mail-filter/dcc/files/dcc-2.3.168-no-compress-man.patch b/mail-filter/dcc/files/dcc-2.3.168-no-compress-man.patch
deleted file mode 100644
index 84bc27414cc5..000000000000
--- a/mail-filter/dcc/files/dcc-2.3.168-no-compress-man.patch
+++ /dev/null
@@ -1,11 +0,0 @@
---- a/configure
-+++ b/configure
-@@ -1933,7 +1933,7 @@ case "$TARGET_SYS" in
- Linux)
- # default to /usr/local/man/man8 and use roff files
- mancat=man
-- MANX='$(MANGZ)'
-+ MANX='$(MAN0)'
- ;;
- OpenBSD)
- # default to /usr/local/man/cat8 and .0 names
diff --git a/mail-filter/dcc/files/dcc.confd b/mail-filter/dcc/files/dcc.confd
deleted file mode 100644
index a6e556827dbd..000000000000
--- a/mail-filter/dcc/files/dcc.confd
+++ /dev/null
@@ -1,14 +0,0 @@
-# Config file for /etc/init.d/dcc
-
-# Start server or DCC daemon
-START_DCC_DCCD="yes"
-
-# Start DCC greylisting
-START_DCC_GREY="yes"
-
-# Start milter interface
-START_DCC_DCCM="yes"
-
-# Start general Perl and MTA interface
-# and Postfix before-queue filter
-START_DCC_DCCIF="yes"
diff --git a/mail-filter/dcc/files/dcc.initd-1.3.154 b/mail-filter/dcc/files/dcc.initd-1.3.154
deleted file mode 100644
index e7d63b24604e..000000000000
--- a/mail-filter/dcc/files/dcc.initd-1.3.154
+++ /dev/null
@@ -1,102 +0,0 @@
-#!/sbin/openrc-run
-# Copyright 1999-2013 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-depend() {
- use logger
- need net
- before mta
-}
-
-checkconfig() {
- if [ ! -f "/etc/dcc/dcc_conf" ]; then
- eerror "You need a DCC configuration in /etc/dcc/dcc_conf"
- return 1
- fi
- for i in DCCD_ENABLE GREY_ENABLE DCCM_ENABLE DCCM_ARGS DCCIFD_ENABLE DCC_LIBEXEC DCC_RUNDIR \
- SOCKET_USER SOCKET_GROUP SOCKET_MODE; do
- read -r ${i} <<-EOF
- $( grep ^[[:space:]]*${i} /etc/dcc/dcc_conf | sed s/.*=// )
- EOF
- done
- DCC_RUNDIR="${DCC_RUNDIR:-/var/run/dcc}"
- if [ ! -d "${DCC_RUNDIR}" ]; then
- checkpath -q -d -o root:root -m 0755 "${DCC_RUNDIR}" || return 1
- fi
-}
-
-start() {
- checkconfig || return 1
- local atleastone="${DCCD_ENABLE}${GREY_ENABLE}${DCCM_ENABLE}${DCCIFD_ENABLE}"
- atleastone=$( echo ${atleastone} | tr -d 'off' )
- if [ -z "${atleastone}" ]; then
- eend 1 "At least one service should be 'on' in /etc/dcc/dcc_conf"
- return 1
- fi
-
- if [ "${DCCD_ENABLE}" = "on" ] && [ -x "${DCC_LIBEXEC}/start-dccd" ]; then
- ebegin "Starting dccd"
- ${DCC_LIBEXEC}/start-dccd >/dev/null 2>&1
- eend ${?}
- fi
-
- if [ "${GREY_ENABLE}" = "on" ] && [ -x "${DCC_LIBEXEC}/start-grey" ]; then
- ebegin "Starting grey"
- ${DCC_LIBEXEC}/start-grey >/dev/null 2>&1
- eend ${?}
- fi
-
- if [ "${DCCM_ENABLE}" = "on" ] && [ -x "${DCC_LIBEXEC}/start-dccm" ]; then
- ebegin "Starting dccm"
- ${DCC_LIBEXEC}/start-dccm >/dev/null 2>&1
- eend ${?}
- if !(echo ${DCCM_ARGS}|grep -q "^\-p\|[[:space:]]\-p"); then
- local dccmtimeout=0
- while [ ${dccmtimeout} -le 20 ] ; do
- if [ -S "${DCC_RUNDIR}/dccm" ] || [ -r "${DCC_RUNDIR}/dccm" ]; then
- break
- else
- sleep 1
- dccmtimeout=$(($dccmtimeout + 1))
- fi
- done
- chown ${SOCKET_USER:-milter}:${SOCKET_GROUP:-milter} ${DCC_RUNDIR}/dccm 1>/dev/null 2>&1
- chmod ${SOCKET_MODE:-664} ${DCC_RUNDIR}/dccm 1>/dev/null 2>&1
- fi
- sed -i -e "s:^\-::" ${DCC_RUNDIR}/dccm.pid 1>/dev/null 2>&1 || return 1
- fi
-
- if [ "${DCCIFD_ENABLE}" = "on" ] && [ -x "${DCC_LIBEXEC}/start-dccifd" ]; then
- ebegin "Starting dccif"
- ${DCC_LIBEXEC}/start-dccifd >/dev/null 2>&1
- eend ${?}
- fi
-}
-
-stop() {
- checkconfig || return 1
-
- if [ -r "${DCC_RUNDIR}/dccifd.pid" ]; then
- ebegin "Stopping dccif"
- kill -s 15 $(cat ${DCC_RUNDIR}/dccifd.pid) 2>/dev/null
- eend ${?}
- fi
-
- if [ -r "${DCC_RUNDIR}/dccm.pid" ]; then
- ebegin "Stopping dccm"
- kill -s 15 $(cat ${DCC_RUNDIR}/dccm.pid) 2>/dev/null
- eend ${?}
- fi
-
- if (pidof dccd >/dev/null 2>&1) && [ -x "${DCC_LIBEXEC}/stop-dccd" ]; then
- ebegin "Stopping dccd"
- ${DCC_LIBEXEC}/stop-dccd >/dev/null 2>&1
- eend ${?}
- fi
-
- if (pidof dccd >/dev/null 2>&1) && [ -x "${DCC_LIBEXEC}/stop-dccd" ]; then
- ebegin "Stopping grey"
- ${DCC_LIBEXEC}/stop-dccd -G >/dev/null 2>&1
- eend ${?}
- fi
-}
diff --git a/mail-filter/dcc/files/dccifd.service b/mail-filter/dcc/files/dccifd.service
deleted file mode 100644
index 4055a752f933..000000000000
--- a/mail-filter/dcc/files/dccifd.service
+++ /dev/null
@@ -1,34 +0,0 @@
-[Unit]
-Description=DCC (Distributed Checksum Clearinghouses) interface daemon
-
-[Service]
-Type=forking
-PermissionsStartOnly=true
-RuntimeDirectory=dcc
-ConfigurationDirectory=dcc
-LogsDirectory=dcc
-StateDirectory=dcc
-ExecStart=/usr/sbin/dccifd
-
-#DCC writes pid file with "-" at the beginning which confuses systemd
-#PIDFile=/run/dcc/dccifd.pid
-
-# Hardening
-ProtectSystem=strict
-PrivateDevices=true
-ProtectKernelModules=true
-ProtectKernelLogs=true
-RestrictRealtime=true
-ProtectKernelTunables=true
-ProtectControlGroups=true
-ProtectHome=true
-ProtectHostname=true
-ProtectClock=true
-PrivateTmp=true
-SystemCallArchitectures=native
-MemoryDenyWriteExecute=true
-NoNewPrivileges=true
-
-[Install]
-WantedBy=multi-user.target
-
diff --git a/mail-filter/dcc/metadata.xml b/mail-filter/dcc/metadata.xml
deleted file mode 100644
index d694695270e8..000000000000
--- a/mail-filter/dcc/metadata.xml
+++ /dev/null
@@ -1,15 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
-<maintainer type="person">
- <email>robbat2@gentoo.org</email>
-</maintainer>
-<maintainer type="person">
- <email>candrews@gentoo.org</email>
- <name>Craig Andrews</name>
-</maintainer>
-<use>
- <flag name="rrdtool">Enable <pkg>net-analyzer/rrdtool</pkg> interface
- scripts</flag>
-</use>
-</pkgmetadata>
diff --git a/mail-filter/dkimproxy/Manifest b/mail-filter/dkimproxy/Manifest
deleted file mode 100644
index af497b1d7645..000000000000
--- a/mail-filter/dkimproxy/Manifest
+++ /dev/null
@@ -1 +0,0 @@
-DIST dkimproxy-1.4.1.tar.gz 109040 BLAKE2B ced9f75c7fd126e85f947aeec69b7dbb2d2dab7be080b187e7e69d1fc1f538145a2499763418e7d7518e9394edc35ece1525c7083ec71149cb2c0701191fac84 SHA512 ad5ac961ea25cdd7ccc763521d1fa5e143ef93056ca4bdace1d0d8f564ab85cb128b4c97ace310bcbf9e4d49430dd5baf1e9f836f5a44a4b3f1e7498ebc352b6
diff --git a/mail-filter/dkimproxy/dkimproxy-1.4.1.ebuild b/mail-filter/dkimproxy/dkimproxy-1.4.1.ebuild
deleted file mode 100644
index 896d308885d8..000000000000
--- a/mail-filter/dkimproxy/dkimproxy-1.4.1.ebuild
+++ /dev/null
@@ -1,25 +0,0 @@
-# Copyright 1999-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-DESCRIPTION="An SMTP proxy server for adding DKIM headers"
-HOMEPAGE="http://dkimproxy.sourceforge.net"
-SRC_URI="https://downloads.sourceforge.net/${PN}/${P}.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="amd64 x86"
-IUSE=""
-
-DEPEND="dev-perl/Mail-DKIM
- >=dev-perl/Net-Server-2.7.0
- dev-perl/Error
- dev-perl/MIME-tools"
-RDEPEND="${DEPEND}"
-
-src_install() {
- default
- newinitd "${FILESDIR}"/dkimproxy.in.initd dkimproxy.in
- newinitd "${FILESDIR}"/dkimproxy.out.initd dkimproxy.out
-}
diff --git a/mail-filter/dkimproxy/files/dkimproxy.in.initd b/mail-filter/dkimproxy/files/dkimproxy.in.initd
deleted file mode 100644
index 83e8408f7cf4..000000000000
--- a/mail-filter/dkimproxy/files/dkimproxy.in.initd
+++ /dev/null
@@ -1,19 +0,0 @@
-#!/sbin/openrc-run
-# Copyright 1999-2013 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-depend() {
- need net
-}
-
-start() {
- ebegin "Starting dkimproxy.in"
- start-stop-daemon --start --exec /usr/bin/dkimproxy.in --pidfile /var/run/dkimproxy.in.pid -- --conf_file /etc/dkimproxy_in.conf --daemonize --group=nobody --user=nobody --pidfile=/var/run/dkimproxy.in.pid
- eend $?
-}
-
-stop() {
- ebegin "Stopping dkimproxy.in"
- start-stop-daemon --stop --exec /usr/bin/dkimproxy.in --pidfile /var/run/dkimproxy.in.pid
- eend $?
-}
diff --git a/mail-filter/dkimproxy/files/dkimproxy.out.initd b/mail-filter/dkimproxy/files/dkimproxy.out.initd
deleted file mode 100644
index e889e2018601..000000000000
--- a/mail-filter/dkimproxy/files/dkimproxy.out.initd
+++ /dev/null
@@ -1,19 +0,0 @@
-#!/sbin/openrc-run
-# Copyright 1999-2013 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-depend() {
- need net
-}
-
-start() {
- ebegin "Starting dkimproxy.out"
- start-stop-daemon --start --exec /usr/bin/dkimproxy.out --pidfile /var/run/dkimproxy.out.pid -- --conf_file /etc/dkimproxy_out.conf --daemonize --group=nobody --user=nobody --pidfile=/var/run/dkimproxy.out.pid
- eend $?
-}
-
-stop() {
- ebegin "Stopping dkimproxy.out"
- start-stop-daemon --stop --exec /usr/bin/dkimproxy.out --pidfile /var/run/dkimproxy.out.pid
- eend $?
-}
diff --git a/mail-filter/dkimproxy/metadata.xml b/mail-filter/dkimproxy/metadata.xml
deleted file mode 100644
index 3ff328fd2254..000000000000
--- a/mail-filter/dkimproxy/metadata.xml
+++ /dev/null
@@ -1,11 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
- <maintainer type="person">
- <email>zx2c4@gentoo.org</email>
- <name>Jason A. Donenfeld</name>
- </maintainer>
- <upstream>
- <remote-id type="sourceforge">dkimproxy</remote-id>
- </upstream>
-</pkgmetadata>
diff --git a/mail-filter/exim-geoip/Manifest b/mail-filter/exim-geoip/Manifest
deleted file mode 100644
index e254e6370bde..000000000000
--- a/mail-filter/exim-geoip/Manifest
+++ /dev/null
@@ -1 +0,0 @@
-DIST exim-geoipv6-dlfunc-0.1.tar.gz 306380 BLAKE2B ce51841c988f41e5dff9c545852985e94ed4ddcad7d4575d0001d39a67266ad1083b4bed8c49fafa8ac742e2c8d1a12f78585b29f5887ceecdd37c862bef8c7f SHA512 ab10cf8ccd89772c1b925115d45cbd429f9ad577b4b951b120162516f0702331b8f8cca780d4aa1714435a907deed52f50acb06e9be888136a1745834d73215e
diff --git a/mail-filter/exim-geoip/exim-geoip-0.1-r1.ebuild b/mail-filter/exim-geoip/exim-geoip-0.1-r1.ebuild
deleted file mode 100644
index 194427736d92..000000000000
--- a/mail-filter/exim-geoip/exim-geoip-0.1-r1.ebuild
+++ /dev/null
@@ -1,31 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit flag-o-matic
-
-DESCRIPTION="This is an IPv4 and IPv6 capable GeoIP dlfunc library for Exim"
-HOMEPAGE="https://dist.epipe.com/exim/"
-SRC_URI="https://dist.epipe.com/exim/exim-geoipv6-dlfunc-${PV}.tar.gz"
-
-LICENSE="LGPL-2.1"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE=""
-
-DEPEND="dev-libs/geoip
- mail-mta/exim[dlfunc]"
-RDEPEND="${DEPEND}"
-
-S="${WORKDIR}/exim-geoipv6-dlfunc-${PV}"
-
-src_configure() {
- append-cppflags "-I/usr/include/exim -DDLFUNC_IMPL"
- econf
-}
-
-src_install() {
- default
- find "${D}" -name '*.la' -delete || die "Failed to prune libtool files"
-}
diff --git a/mail-filter/exim-geoip/metadata.xml b/mail-filter/exim-geoip/metadata.xml
deleted file mode 100644
index 61c39363f643..000000000000
--- a/mail-filter/exim-geoip/metadata.xml
+++ /dev/null
@@ -1,13 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
- <maintainer type="person">
- <email>grobian@gentoo.org</email>
- </maintainer>
- <longdescription lang="en">This is an IPv6 capable GeoIP dlfunc library for
- Exim. It implements an interface between Exim access control lists and
- MaxMind's GeoIP/GeoLite database. This can be useful for greylisting
- or scoring IP addresses of SMTP senders according to the country code
- of the sender's IP address.
- </longdescription>
-</pkgmetadata>
diff --git a/mail-filter/exim-p0f/Manifest b/mail-filter/exim-p0f/Manifest
deleted file mode 100644
index a9e404bd677f..000000000000
--- a/mail-filter/exim-p0f/Manifest
+++ /dev/null
@@ -1 +0,0 @@
-DIST exim-p0f3-dlfunc-0.1.tar.gz 307851 BLAKE2B 73bb80220ed65fadb17079b1e566664b51bea95ee12636296054b4bc8e3902d518ab1e63511d49c14f56e5ccb257ac10987fe8fd399c6e33c2f733a94f8f71df SHA512 9f913ba303bb42f6599ed044bb65954f993c2964d84ea0ff4e01e515c35ac7b58118fa6a304cba984499136438ad8f65bfe8c08e22c3be2d4c95f2950ab380b2
diff --git a/mail-filter/exim-p0f/exim-p0f-0.1-r1.ebuild b/mail-filter/exim-p0f/exim-p0f-0.1-r1.ebuild
deleted file mode 100644
index 7c203487939e..000000000000
--- a/mail-filter/exim-p0f/exim-p0f-0.1-r1.ebuild
+++ /dev/null
@@ -1,31 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit flag-o-matic
-
-DESCRIPTION="This is p0f version 3 dlfunc library for Exim"
-HOMEPAGE="https://dist.epipe.com/exim/"
-SRC_URI="https://dist.epipe.com/exim/exim-p0f3-dlfunc-${PV}.tar.gz"
-
-LICENSE="LGPL-2.1"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE=""
-
-DEPEND="mail-mta/exim[dlfunc]"
-RDEPEND=">=net-analyzer/p0f-3.05_beta
- ${DEPEND}"
-
-S="${WORKDIR}/exim-p0f3-dlfunc-${PV}"
-
-src_configure() {
- append-cppflags "-I/usr/include/exim -DDLFUNC_IMPL"
- econf
-}
-
-src_install() {
- default
- find "${D}" -name '*.la' -delete || die "Failed to prune libtool files"
-}
diff --git a/mail-filter/exim-p0f/metadata.xml b/mail-filter/exim-p0f/metadata.xml
deleted file mode 100644
index 789ee79465b3..000000000000
--- a/mail-filter/exim-p0f/metadata.xml
+++ /dev/null
@@ -1,13 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
- <maintainer type="person">
- <email>grobian@gentoo.org</email>
- </maintainer>
- <longdescription lang="en">This is p0f version 3 dlfunc library for Exim.
- It implements an interface between Exim access control lists and the
- p0f daemon which does passive OS fingerprinting. This can be useful
- for greylisting or scoring IP addresses of SMTP senders according to
- sender's operating system. This dlfunc supports IPv6.
- </longdescription>
-</pkgmetadata>
diff --git a/mail-filter/imapfilter/Manifest b/mail-filter/imapfilter/Manifest
deleted file mode 100644
index f18f7b40896c..000000000000
--- a/mail-filter/imapfilter/Manifest
+++ /dev/null
@@ -1,2 +0,0 @@
-DIST imapfilter-2.8.3.tar.gz 58724 BLAKE2B e423519a24a95c9898e77d065430f02fb2c1820a959e479b605ef291529c7f30c7a24d44c9f74240ce949ea4bd503d87323c596279248c310b6f7204d2098fa3 SHA512 e7827958acc3a04b66a3a17545b67f64f635329b576a5e8443898bb3869cd6f19df52ad85281a09e578b1c15f2346c2ab85bf688ee702bf6c8d0a74fe6a20a10
-DIST imapfilter-2.8.5.tar.gz 59433 BLAKE2B d52b3220d34c5bb65b48cbc545488decb2dd04bcc0cc6c43c1f20c4350f1a7df4a956a5b04c63d9db8e03dde32ce7aa329d80856f8494f0856431d2a8531d63d SHA512 683de17c3f795c11c7a02fcf899523352aae062c8e55376a2a53aa0f0e6e330a4b199e433005e58eaf1778abfa23bdfc9ba15c0e055540e9524c568b6f8b4347
diff --git a/mail-filter/imapfilter/files/imapfilter-2.7.5-libressl.patch b/mail-filter/imapfilter/files/imapfilter-2.7.5-libressl.patch
deleted file mode 100644
index fb665f852710..000000000000
--- a/mail-filter/imapfilter/files/imapfilter-2.7.5-libressl.patch
+++ /dev/null
@@ -1,26 +0,0 @@
-From 9a1132d8c8616b67156d49bea89d567ed31d42d6 Mon Sep 17 00:00:00 2001
-From: Stefan Strogin <steils@gentoo.org>
-Date: Wed, 30 Dec 2020 06:48:40 +0300
-Subject: [PATCH] Fix build with LibreSSL
-
-Signed-off-by: Stefan Strogin <steils@gentoo.org>
----
- src/socket.c | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/src/socket.c b/src/socket.c
-index aa2ef4f..fa75de4 100644
---- a/src/socket.c
-+++ b/src/socket.c
-@@ -143,7 +143,7 @@ open_secure_connection(session *ssn)
- goto fail;
-
- if (get_option_boolean("hostnames")) {
--#if OPENSSL_VERSION_NUMBER >= 0x10100000L
-+#if OPENSSL_VERSION_NUMBER >= 0x10100000L && !defined(LIBRESSL_VERSION_NUMBER)
- SSL_set_hostflags(ssn->sslconn,
- X509_CHECK_FLAG_NO_PARTIAL_WILDCARDS);
- if (!SSL_set1_host(ssn->sslconn, ssn->server)) {
---
-2.30.0
-
diff --git a/mail-filter/imapfilter/imapfilter-2.8.3.ebuild b/mail-filter/imapfilter/imapfilter-2.8.3.ebuild
deleted file mode 100644
index bbee25b6e59d..000000000000
--- a/mail-filter/imapfilter/imapfilter-2.8.3.ebuild
+++ /dev/null
@@ -1,52 +0,0 @@
-# Copyright 2022-2025 Liguros Authors
-# Distributed under the terms of the GNU General Public License v2
-EAPI=8
-
-LUA_COMPAT=( lua5-{1,3,4} luajit )
-
-inherit lua-single toolchain-funcs
-
-DESCRIPTION="An IMAP mail filtering utility"
-HOMEPAGE="https://github.com/lefcha/imapfilter"
-SRC_URI="https://github.com/lefcha/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
-
-LICENSE="MIT"
-SLOT="0"
-KEYWORDS="~amd64 ~ppc ~x86"
-
-IUSE=""
-
-REQUIRED_USE="${LUA_REQUIRED_USE}"
-
-RDEPEND="
- dev-libs/openssl:0=
-
- dev-libs/libpcre
- ${LUA_DEPS}"
-DEPEND="${RDEPEND}"
-
-DOCS="AUTHORS NEWS README samples/*"
-
-PATCHES=( "${FILESDIR}"/${PN}-2.7.5-libressl.patch )
-
-src_prepare() {
- default
- sed -i -e "/^PREFIX/s:/usr/local:${EPREFIX}/usr:" \
- -e "/^MANDIR/s:man:share/man:" \
- -e "/^CFLAGS/s:CFLAGS =:CFLAGS +=:" \
- -e "/^CFLAGS/s/-O//" \
- src/Makefile || die
-}
-
-src_compile() {
- emake \
- CC="$(tc-getCC)" \
- LDFLAGS="${LDFLAGS}" \
- INCDIRS=$(lua_get_CFLAGS) \
- LIBLUA=$(lua_get_LIBS)
-}
-
-src_install() {
- default
- doman doc/imapfilter.1 doc/imapfilter_config.5
-}
diff --git a/mail-filter/imapfilter/imapfilter-2.8.5.ebuild b/mail-filter/imapfilter/imapfilter-2.8.5.ebuild
deleted file mode 100644
index 131fcfa85464..000000000000
--- a/mail-filter/imapfilter/imapfilter-2.8.5.ebuild
+++ /dev/null
@@ -1,52 +0,0 @@
-# Copyright 2022-2026 Liguros Authors
-# Distributed under the terms of the GNU General Public License v2
-EAPI=8
-
-LUA_COMPAT=( lua5-{1,3,4} luajit )
-
-inherit lua-single toolchain-funcs
-
-DESCRIPTION="An IMAP mail filtering utility"
-HOMEPAGE="https://github.com/lefcha/imapfilter"
-SRC_URI="https://github.com/lefcha/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
-
-LICENSE="MIT"
-SLOT="0"
-KEYWORDS="~amd64 ~ppc ~x86"
-
-IUSE=""
-
-REQUIRED_USE="${LUA_REQUIRED_USE}"
-
-RDEPEND="
- dev-libs/openssl:0=
-
- dev-libs/libpcre
- ${LUA_DEPS}"
-DEPEND="${RDEPEND}"
-
-DOCS="AUTHORS NEWS README samples/*"
-
-PATCHES=( "${FILESDIR}"/${PN}-2.7.5-libressl.patch )
-
-src_prepare() {
- default
- sed -i -e "/^PREFIX/s:/usr/local:${EPREFIX}/usr:" \
- -e "/^MANDIR/s:man:share/man:" \
- -e "/^CFLAGS/s:CFLAGS =:CFLAGS +=:" \
- -e "/^CFLAGS/s/-O//" \
- src/Makefile || die
-}
-
-src_compile() {
- emake \
- CC="$(tc-getCC)" \
- LDFLAGS="${LDFLAGS}" \
- INCDIRS=$(lua_get_CFLAGS) \
- LIBLUA=$(lua_get_LIBS)
-}
-
-src_install() {
- default
- doman doc/imapfilter.1 doc/imapfilter_config.5
-}
diff --git a/mail-filter/imapfilter/metadata.xml b/mail-filter/imapfilter/metadata.xml
deleted file mode 100644
index 11cfcf848e1c..000000000000
--- a/mail-filter/imapfilter/metadata.xml
+++ /dev/null
@@ -1,12 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "https://liguros.gitlab.io/dtd/metadata.dtd">
-<pkgmetadata>
- <maintainer type="project">
- <email>dev@liguros.net</email>
- <name>Development</name>
- </maintainer>
- <upstream>
- <remote-id type="cpe">cpe:/a:imapfilter_project:imapfilter</remote-id>
- </upstream>
- <origin>ports</origin>
-</pkgmetadata> \ No newline at end of file
diff --git a/mail-filter/libmilter/Manifest b/mail-filter/libmilter/Manifest
deleted file mode 100644
index 493d582327b7..000000000000
--- a/mail-filter/libmilter/Manifest
+++ /dev/null
@@ -1,4 +0,0 @@
-DIST sendmail.8.18.1.tar.gz 2401566 BLAKE2B 3afa36073fd611c7fdb43ef0ab9f02d5fb8ae388e9471bdc7275c6c9dcee0a654f46ddef505b70e978cb1b818b0da375250678e501676d8bace534d59ee40d90 SHA512 9ce713b44439d4de6faa9e3cdfa2226b44b4fbeb352a5f81584c062570e9472da244158287e489aabe258d28fe54ca4964565c7b0adc7e1763d212be42f98061
-DIST sendmail.8.18.1.tar.gz.sig 543 BLAKE2B f5f8ffaee2b4380babb033257aa30a3ade3686f3ae3dc4ced3beb25698c1917489e05456cf6b3cfcf3f0a8a1725ac42a6ce1db317939f944012e994672f6c22d SHA512 a1b3fc2278061c220ca36b954e333867a187b52c32ecd10793a12c1c90c0466bc3f1e6f76ca3aeaaf02e14f71f8cef418f5291557461b61509ed255c55c6ef47
-DIST sendmail.8.18.2.tar.gz 2372458 BLAKE2B a291006fd498d61b8fe19eb02cdeb92f83cef68b5c3db0c8b6479edb8e4722ed2d2ae03cf39553c0631224a1dfa00754cf4ea32bb7bc762ad8152ccaebe606dc SHA512 55515220ea84db4b56b8154efbf21aeb7161943c92bd63527cfc20169ea566e299cc289f0a6e160dc5637f656bdc451707003750d4b42a7894d40f35f51f6040
-DIST sendmail.8.18.2.tar.gz.sig 543 BLAKE2B 6c397ada6b93de4608d11bc09d58c687819f333161865129d70d5dd3fc35124fda3f5c8d2533a10b8a327804feb261b4abd3506bb9a8ede686cc0b3f159203c5 SHA512 4e531f89e5e10dba7d3c66c8c5378aadeb139ec9d2f6ac6568f272adea4d1515c1ba858bb34585e0d52ac070185052e901d58bd677ef59a5cc733b4f60fb827f
diff --git a/mail-filter/libmilter/files/gentoo.config.m4 b/mail-filter/libmilter/files/gentoo.config.m4
deleted file mode 100644
index 5e1b55faa580..000000000000
--- a/mail-filter/libmilter/files/gentoo.config.m4
+++ /dev/null
@@ -1,5 +0,0 @@
-define(`confOPTIMIZE', `@@CFLAGS@@')
-define(`confLDOPTS', `@@LDFLAGS@@')
-define(`confCC', `@@CC@@')
-define(`confENVDEF', `@@ENVDEF@@')
-define(`confCCOPTS_SO', `-fPIC')
diff --git a/mail-filter/libmilter/files/libmilter-1.0.2_p3-c23-bool.patch b/mail-filter/libmilter/files/libmilter-1.0.2_p3-c23-bool.patch
deleted file mode 100644
index 639967e83910..000000000000
--- a/mail-filter/libmilter/files/libmilter-1.0.2_p3-c23-bool.patch
+++ /dev/null
@@ -1,19 +0,0 @@
-Building mail-filter/opendkim without this patch would fail because
-mfapi.h doesn't include libmilter's own config header which defines
-SM_CONF_STDBOOL_H.
-
-We certainly only care about >= C99 compilers so we can just always
-take that path.
-
-https://bugs.gentoo.org/944138
---- a/include/libmilter/mfapi.h
-+++ b/include/libmilter/mfapi.h
-@@ -89,7 +89,7 @@ typedef int sfsistat;
- # endif
- #endif /* __P */
-
--#if SM_CONF_STDBOOL_H
-+#if 1 /* SM_CONF_STDBOOL_H */
- # include <stdbool.h>
- #else /* SM_CONF_STDBOOL_H */
- # ifndef __cplusplus
diff --git a/mail-filter/libmilter/files/libmilter-1.0.2_p4-systemd-socket-activation.patch b/mail-filter/libmilter/files/libmilter-1.0.2_p4-systemd-socket-activation.patch
deleted file mode 100644
index 0014cb4a66fd..000000000000
--- a/mail-filter/libmilter/files/libmilter-1.0.2_p4-systemd-socket-activation.patch
+++ /dev/null
@@ -1,76 +0,0 @@
-Description: systemd-like socket activation support for libmilter
-Author: Mikhail Gusarov <dottedmag@debian.org>
---- a/libmilter/docs/smfi_setconn.html
-+++ b/libmilter/docs/smfi_setconn.html
-@@ -44,6 +44,7 @@ Set the socket through which this filter
- <LI><CODE>{unix|local}:/path/to/file</CODE> -- A named pipe.
- <LI><CODE>inet:port@{hostname|ip-address}</CODE> -- An IPV4 socket.
- <LI><CODE>inet6:port@{hostname|ip-address}</CODE> -- An IPV6 socket.
-+ <LI><CODE>fd:number</CODE> -- Pre-opened file descriptor.
- </UL>
- </TD></TR>
- </TABLE>
---- a/libmilter/listener.c
-+++ b/libmilter/listener.c
-@@ -197,6 +197,11 @@ mi_milteropen(conn, backlog, rmsocket, n
- L_socksize = sizeof addr.sin6;
- }
- #endif /* NETINET6 */
-+ else if (strcasecmp(p, "fd") == 0)
-+ {
-+ addr.sa.sa_family = AF_UNSPEC;
-+ L_socksize = sizeof (_SOCK_ADDR);
-+ }
- else
- {
- smi_log(SMI_LOG_ERR, "%s: unknown socket type %s",
-@@ -443,7 +448,21 @@ mi_milteropen(conn, backlog, rmsocket, n
- }
- #endif /* NETINET || NETINET6 */
-
-- sock = socket(addr.sa.sa_family, SOCK_STREAM, 0);
-+ if (addr.sa.sa_family == AF_UNSPEC)
-+ {
-+ char *end;
-+ sock = strtol(colon, &end, 10);
-+ if (*end != '\0' || sock < 0)
-+ {
-+ smi_log(SMI_LOG_ERR, "%s: expected positive integer as fd, got %s", name, colon);
-+ return INVALID_SOCKET;
-+ }
-+ }
-+ else
-+ {
-+ sock = socket(addr.sa.sa_family, SOCK_STREAM, 0);
-+ }
-+
- if (!ValidSocket(sock))
- {
- smi_log(SMI_LOG_ERR,
-@@ -466,6 +485,7 @@ mi_milteropen(conn, backlog, rmsocket, n
- #if NETUNIX
- addr.sa.sa_family != AF_UNIX &&
- #endif
-+ addr.sa.sa_family != AF_UNSPEC &&
- setsockopt(sock, SOL_SOCKET, SO_REUSEADDR, (void *) &sockopt,
- sizeof(sockopt)) == -1)
- {
-@@ -511,7 +531,8 @@ mi_milteropen(conn, backlog, rmsocket, n
- }
- #endif /* NETUNIX */
-
-- if (bind(sock, &addr.sa, L_socksize) < 0)
-+ if (addr.sa.sa_family != AF_UNSPEC &&
-+ bind(sock, &addr.sa, L_socksize) < 0)
- {
- smi_log(SMI_LOG_ERR,
- "%s: Unable to bind to port %s: %s",
-@@ -818,7 +839,7 @@ mi_listener(conn, dbg, smfi, timeout, ba
- #ifdef BSD4_4_SOCKADDR
- cliaddr.sa.sa_len == 0 ||
- #endif
-- cliaddr.sa.sa_family != L_family))
-+ (L_family != AF_UNSPEC && cliaddr.sa.sa_family != L_family)))
- {
- (void) closesocket(connfd);
- connfd = INVALID_SOCKET;
diff --git a/mail-filter/libmilter/files/libmilter-musl-disable-cdefs.patch b/mail-filter/libmilter/files/libmilter-musl-disable-cdefs.patch
deleted file mode 100644
index 6dc4ac63105e..000000000000
--- a/mail-filter/libmilter/files/libmilter-musl-disable-cdefs.patch
+++ /dev/null
@@ -1,11 +0,0 @@
---- a/include/sm/os/sm_os_linux.h 2020-06-09 11:57:46.789786561 +0200
-+++ b/include/sm/os/sm_os_linux.h 2020-06-09 11:57:49.174781812 +0200
-@@ -33,7 +33,7 @@
- # endif /* LINUX_VERSION_CODE */
- #endif /* SM_CONF_SHM */
-
--#define SM_CONF_SYS_CDEFS_H 1
-+#define SM_CONF_SYS_CDEFS_H 0
- #ifndef SM_CONF_SEM
- # define SM_CONF_SEM 2
- #endif /* SM_CONF_SEM */
diff --git a/mail-filter/libmilter/files/libmilter-musl-stack-size.patch b/mail-filter/libmilter/files/libmilter-musl-stack-size.patch
deleted file mode 100644
index 9993adfece34..000000000000
--- a/mail-filter/libmilter/files/libmilter-musl-stack-size.patch
+++ /dev/null
@@ -1,42 +0,0 @@
-Set default pthread stack size to 256 KB
-
-This patch tries to fix various crashes for applications depending on libmilter
-by setting the stack size for pthreads to 256 KB. The default stack size for
-musl libc is set to 80 KB whereas glibc has it set to 8 MB. This causes problems
-when a large amount of memory is allocated on the stack.
-
-For example, opendkim allocates blocks of 64 KB multiple times, which causes
-libmilter (and therefore opendkim) to crash. For now, a stack size of 256 KB
-looks sufficient and makes opendkim stop crashing.
-
-Fixes https://bugs.alpinelinux.org/issues/6360
-
---- a/libmilter/libmilter.h
-+++ b/libmilter/libmilter.h
-@@ -127,10 +127,10 @@
- # define MI_SOCK_READ(s, b, l) read(s, b, l)
- # define MI_SOCK_READ_FAIL(x) ((x) < 0)
- # define MI_SOCK_WRITE(s, b, l) write(s, b, l)
--
--# define thread_create(ptid,wr,arg) pthread_create(ptid, NULL, wr, arg)
- # define sthread_get_id() pthread_self()
-
-+extern int thread_create(pthread_t *ptid, void *(*wr) (void *), void *arg);
-+
- typedef pthread_mutex_t smutex_t;
- # define smutex_init(mp) (pthread_mutex_init(mp, NULL) == 0)
- # define smutex_destroy(mp) (pthread_mutex_destroy(mp) == 0)
---- a/libmilter/main.c
-+++ b/libmilter/main.c
-@@ -16,6 +16,12 @@
- #include <fcntl.h>
- #include <sys/stat.h>
-
-+int thread_create(pthread_t *ptid, void *(*wr) (void *), void *arg) {
-+ pthread_attr_t attr;
-+ pthread_attr_init(&attr);
-+ pthread_attr_setstacksize(&attr,256*1024);
-+ return pthread_create(ptid, &attr, wr, arg);
-+}
-
- static smfiDesc_ptr smfi = NULL;
diff --git a/mail-filter/libmilter/files/libmilter-sharedlib.patch b/mail-filter/libmilter/files/libmilter-sharedlib.patch
deleted file mode 100644
index 43ec78612190..000000000000
--- a/mail-filter/libmilter/files/libmilter-sharedlib.patch
+++ /dev/null
@@ -1,55 +0,0 @@
-diff -Nru sendmail-8.14.3.orig/devtools/M4/UNIX/milterlibrary.m4 sendmail-8.14.3/devtools/M4/UNIX/milterlibrary.m4
---- sendmail-8.14.3.orig/devtools/M4/UNIX/milterlibrary.m4 1970-01-01 01:00:00.000000000 +0100
-+++ sendmail-8.14.3/devtools/M4/UNIX/milterlibrary.m4 2009-08-22 21:51:10.000000000 +0200
-@@ -0,0 +1,39 @@
-+divert(-1)
-+#
-+# Copyright (c) 1999-2001 Sendmail, Inc. and its suppliers.
-+# All rights reserved.
-+#
-+# By using this file, you agree to the terms and conditions set
-+# forth in the LICENSE file which can be found at the top level of
-+# the sendmail distribution.
-+#
-+#
-+# Definitions for Makefile construction for sendmail
-+#
-+divert(0)dnl
-+include(confBUILDTOOLSDIR`/M4/'bldM4_TYPE_DIR`/links.m4')dnl
-+bldLIST_PUSH_ITEM(`bldC_PRODUCTS', bldCURRENT_PRODUCT)dnl
-+bldPUSH_TARGET(bldCURRENT_PRODUCT`.so' bldCURRENT_PRODUCT`.a')dnl
-+bldPUSH_INSTALL_TARGET(`install-'bldCURRENT_PRODUCT)dnl
-+bldPUSH_CLEAN_TARGET(bldCURRENT_PRODUCT`-clean')dnl
-+
-+include(confBUILDTOOLSDIR`/M4/'bldM4_TYPE_DIR`/defines.m4')
-+divert(bldTARGETS_SECTION)
-+bldCURRENT_PRODUCT.so: ${BEFORE} ${bldCURRENT_PRODUCT`OBJS'}
-+ ${CCLINK} ${LDOPTS_SO} -o bldCURRENT_PRODUCT.so -Wl,confSONAME,bldCURRENT_PRODUCT.so.${MILTER_SOVER} ${bldCURRENT_PRODUCT`OBJS'} -lc ${LIBS}
-+bldCURRENT_PRODUCT.a: ${BEFORE} ${bldCURRENT_PRODUCT`OBJS'}
-+ ${AR} ${AROPTS} bldCURRENT_PRODUCT.a ${bldCURRENT_PRODUCT`OBJS'}
-+ ${RANLIB} ${RANLIBOPTS} bldCURRENT_PRODUCT.a
-+ifdef(`bldLINK_SOURCES', `bldMAKE_SOURCE_LINKS(bldLINK_SOURCES)')
-+
-+install-`'bldCURRENT_PRODUCT: bldCURRENT_PRODUCT.so bldCURRENT_PRODUCT.a
-+ifdef(`bldINSTALLABLE', ` ifdef(`confMKDIR', `if [ ! -d "${DESTDIR}${bldINSTALL_DIR`'LIBDIR}" ]; then confMKDIR -p "${DESTDIR}${bldINSTALL_DIR`'LIBDIR}"; else :; fi ')
-+ ${INSTALL} -c -o ${LIBOWN} -g ${LIBGRP} -m ${UBINMODE} bldCURRENT_PRODUCT.so "${DESTDIR}${LIBDIR}/bldCURRENT_PRODUCT.so.${MILTER_SOVER}"
-+ ${LN} ${LNOPTS} bldCURRENT_PRODUCT.so.${MILTER_SOVER} "${DESTDIR}${LIBDIR}/bldCURRENT_PRODUCT.so"
-+ ${INSTALL} -c -o ${LIBOWN} -g ${LIBGRP} -m ${LIBMODE} bldCURRENT_PRODUCT.a "${DESTDIR}${LIBDIR}"')
-+
-+bldCURRENT_PRODUCT-clean:
-+ rm -f ${OBJS} bldCURRENT_PRODUCT.so bldCURRENT_PRODUCT.a ${MANPAGES}
-+
-+divert(0)
-+COPTS+= confCCOPTS_SO
-diff -Nru sendmail-8.14.3.orig/libmilter/Makefile.m4 sendmail-8.14.3/libmilter/Makefile.m4
---- sendmail-8.14.3.orig/libmilter/Makefile.m4 2008-04-08 07:23:44.000000000 +0200
-+++ sendmail-8.14.3/libmilter/Makefile.m4 2009-08-22 21:53:35.000000000 +0200
-@@ -9,7 +9,7 @@
- SMSRCDIR=ifdef(`confSMSRCDIR', `confSMSRCDIR', `${SRCDIR}/sendmail')
- PREPENDDEF(`confINCDIRS', `-I${SMSRCDIR} ')
-
--bldPRODUCT_START(`library', `libmilter')
-+bldPRODUCT_START(`milterlibrary', `libmilter')
- define(`bldINSTALLABLE', `true')
- define(`LIBMILTER_EXTRAS', `errstring.c strl.c')
- APPENDDEF(`confENVDEF', `-DNOT_SENDMAIL -Dsm_snprintf=snprintf')
diff --git a/mail-filter/libmilter/files/sendmail-8.16.1-build-system.patch b/mail-filter/libmilter/files/sendmail-8.16.1-build-system.patch
deleted file mode 100644
index c317a4e854fb..000000000000
--- a/mail-filter/libmilter/files/sendmail-8.16.1-build-system.patch
+++ /dev/null
@@ -1,158 +0,0 @@
-diff -Nru sendmail-8.14.3.orig/cf/cf/Makefile sendmail-8.14.3/cf/cf/Makefile
---- sendmail-8.14.3.orig/cf/cf/Makefile 2005-06-14 04:16:34.000000000 +0200
-+++ sendmail-8.14.3/cf/cf/Makefile 2009-09-20 10:55:50.000000000 +0200
-@@ -80,10 +80,10 @@
- install-cf: install-sendmail-cf install-submit-cf
-
- install-sendmail-cf: $(CF).cf
-- $(INSTALL) -c -o $(CFOWN) -g $(CFGRP) -m $(CFMODE) $(CF).cf ${DESTDIR}$(MAILDIR)/sendmail.cf
-+ $(INSTALL) -c -o $(CFOWN) -g $(CFGRP) -m $(CFMODE) $(CF).cf "${DESTDIR}$(MAILDIR)/sendmail.cf"
-
- install-submit-cf: $(SUBMIT).cf
-- $(INSTALL) -c -o $(CFOWN) -g $(CFGRP) -m $(CFMODE) $(SUBMIT).cf ${DESTDIR}$(MAILDIR)/submit.cf
-+ $(INSTALL) -c -o $(CFOWN) -g $(CFGRP) -m $(CFMODE) $(SUBMIT).cf "${DESTDIR}$(MAILDIR)/submit.cf"
-
- depend:
-
-diff -Nru sendmail-8.14.6.orig/devtools/M4/UNIX/defines.m4 sendmail-8.14.6/devtools/M4/UNIX/defines.m4
---- sendmail-8.14.6.orig/devtools/M4/UNIX/defines.m4 2012-01-21 00:07:08.000000000 +0000
-+++ sendmail-8.14.6/devtools/M4/UNIX/defines.m4 2012-12-27 08:13:15.792214375 +0000
-@@ -26,7 +26,7 @@
- CCLINK = ifdef(`confCCLINK', `confCCLINK', `confCC')
- # Linker for libraries
- LD= ifdef(`confLD', `confLD', `confCC')
--LDOPTS= ifdef(`confLDOPTS', `confLDOPTS') ifdef(`confMT', ifdef(`confMTLDOPTS', `confMTLDOPTS', `'), `')
-+LDOPTS= ifdef(`confLDOPTS', `confLDOPTS')
- LDOPTS_SO= ${LDOPTS} ifdef(`confLDOPTS_SO', `confLDOPTS_SO', `-shared')
-
- # Shell
-@@ -71,7 +71,7 @@
- LIBADD= ifdef(`conf_'bldCURRENT_PRD`_LIBS', `conf_'bldCURRENT_PRD`_LIBS')
-
- # libraries required on your system
--LIBS= ${LIBADD} ifdef(`confLIBS', `confLIBS') ifdef(`conf_'bldCURRENT_PRD`_LIB_POST', `conf_'bldCURRENT_PRD`_LIB_POST')
-+LIBS= ${LIBADD} ifdef(`confLIBS', `confLIBS') ifdef(`conf_'bldCURRENT_PRD`_LIB_POST', `conf_'bldCURRENT_PRD`_LIB_POST') ifdef(`confMT', ifdef(`confMTLDOPTS', `confMTLDOPTS', `'), `')
-
- # location of sendmail binary (usually /usr/sbin or /usr/lib)
- BINDIR= ifdef(`confMBINDIR', `confMBINDIR', `/usr/sbin')
-diff -Nru sendmail-8.14.3.orig/devtools/M4/UNIX/executable.m4 sendmail-8.14.3/devtools/M4/UNIX/executable.m4
---- sendmail-8.14.3.orig/devtools/M4/UNIX/executable.m4 2006-10-06 07:44:44.000000000 +0200
-+++ sendmail-8.14.3/devtools/M4/UNIX/executable.m4 2009-09-20 10:50:36.000000000 +0200
-@@ -30,12 +30,12 @@
-
- ifdef(`bldNO_INSTALL', ,
- `install-`'bldCURRENT_PRODUCT: bldCURRENT_PRODUCT ifdef(`bldTARGET_INST_DEP', `bldTARGET_INST_DEP')
-- ifdef(`confMKDIR', `if [ ! -d ${DESTDIR}${bldINSTALL_DIR`'BINDIR} ]; then confMKDIR -p ${DESTDIR}${bldINSTALL_DIR`'BINDIR}; else :; fi ')
-- ${INSTALL} -c -o ${bldBIN_TYPE`'BINOWN} -g ${bldBIN_TYPE`'BINGRP} -m ${bldBIN_TYPE`'BINMODE} bldCURRENT_PRODUCT ${DESTDIR}${bldINSTALL_DIR`'BINDIR}
-+ ifdef(`confMKDIR', `if [ ! -d "${DESTDIR}${bldINSTALL_DIR`'BINDIR}" ]; then confMKDIR -p "${DESTDIR}${bldINSTALL_DIR`'BINDIR}"; else :; fi ')
-+ ${INSTALL} -c -o ${bldBIN_TYPE`'BINOWN} -g ${bldBIN_TYPE`'BINGRP} -m ${bldBIN_TYPE`'BINMODE} bldCURRENT_PRODUCT "${DESTDIR}${bldINSTALL_DIR`'BINDIR}"
- ifdef(`bldTARGET_LINKS', `bldMAKE_TARGET_LINKS(${bldINSTALL_DIR`'BINDIR}/bldCURRENT_PRODUCT, ${bldCURRENT_PRODUCT`'TARGET_LINKS})')')
-
- strip-`'bldCURRENT_PRODUCT: bldCURRENT_PRODUCT
-- ${STRIP} ${STRIPOPTS} ${DESTDIR}${bldINSTALL_DIR`'BINDIR}`'/bldCURRENT_PRODUCT
-+ ${STRIP} ${STRIPOPTS} "${DESTDIR}${bldINSTALL_DIR`'BINDIR}`'/bldCURRENT_PRODUCT"
-
- bldCURRENT_PRODUCT-clean:
- rm -f ${OBJS} bldCURRENT_PRODUCT ${MANPAGES}
-diff -Nru sendmail-8.14.3.orig/devtools/M4/UNIX/library.m4 sendmail-8.14.3/devtools/M4/UNIX/library.m4
---- sendmail-8.14.3.orig/devtools/M4/UNIX/library.m4 2006-09-06 00:56:53.000000000 +0200
-+++ sendmail-8.14.3/devtools/M4/UNIX/library.m4 2009-09-20 10:50:36.000000000 +0200
-@@ -27,8 +27,8 @@
- ifdef(`bldLINK_SOURCES', `bldMAKE_SOURCE_LINKS(bldLINK_SOURCES)')
-
- install-`'bldCURRENT_PRODUCT: bldCURRENT_PRODUCT.a
--ifdef(`bldINSTALLABLE', ` ifdef(`confMKDIR', `if [ ! -d ${DESTDIR}${bldINSTALL_DIR`'LIBDIR} ]; then confMKDIR -p ${DESTDIR}${bldINSTALL_DIR`'LIBDIR}; else :; fi ')
-- ${INSTALL} -c -o ${LIBOWN} -g ${LIBGRP} -m ${LIBMODE} bldCURRENT_PRODUCT.a ${DESTDIR}${LIBDIR}')
-+ifdef(`bldINSTALLABLE', ` ifdef(`confMKDIR', `if [ ! -d "${DESTDIR}${LIBDIR}" ]; then confMKDIR -p "${DESTDIR}${LIBDIR}"; else :; fi ')
-+ ${INSTALL} -c -o ${LIBOWN} -g ${LIBGRP} -m ${LIBMODE} bldCURRENT_PRODUCT.a "${DESTDIR}${LIBDIR}"')
-
- bldCURRENT_PRODUCT-clean:
- rm -f ${OBJS} bldCURRENT_PRODUCT.a ${MANPAGES}
---- sendmail-8.14.6.orig/devtools/M4/UNIX/manpage.m4 2012-01-21 00:07:08.000000000 +0000
-+++ sendmail-8.14.6/devtools/M4/UNIX/manpage.m4 2012-12-27 08:28:52.617502447 +0000
-@@ -68,11 +68,11 @@
- ifdef(`confNO_MAN_INSTALL', `divert(-1)', `dnl')
- define(`bldMAN_INSTALL_CMD',
- `ifdef(`confDONT_INSTALL_CATMAN', `dnl',
--` ifdef(`confMKDIR', `if [ ! -d ${DESTDIR}${MAN'bldGET_MAN_SOURCE_NUM($1)`SRC} ]; then confMKDIR -p ${DESTDIR}${MAN'bldGET_MAN_SOURCE_NUM($1)`SRC}; else :; fi ')
-- ${INSTALL} -c -o ${MANOWN} -g ${MANGRP} -m ${MANMODE} bldGET_MAN_BASE_NAME($1).`${MAN'bldGET_MAN_SOURCE_NUM($1)`SRC}' `${DESTDIR}${MAN'bldGET_MAN_SOURCE_NUM($1)}/bldGET_MAN_BASE_NAME($1)`.${MAN'bldGET_MAN_SOURCE_NUM($1)`EXT}'')
-+` ifdef(`confMKDIR', `if [ ! -d "`${DESTDIR}${MAN'bldGET_MAN_SOURCE_NUM($1)}" ]; then confMKDIR -p "`${DESTDIR}${MAN'bldGET_MAN_SOURCE_NUM($1)}"; else :; fi ')
-+ ${INSTALL} -c -o ${MANOWN} -g ${MANGRP} -m ${MANMODE} bldGET_MAN_BASE_NAME($1).`${MAN'bldGET_MAN_SOURCE_NUM($1)`SRC}' "`${DESTDIR}${MAN'bldGET_MAN_SOURCE_NUM($1)}/bldGET_MAN_BASE_NAME($1)`.${MAN'bldGET_MAN_SOURCE_NUM($1)`EXT}''")
- ifdef(`confINSTALL_RAWMAN',
--` ifdef(`confMKDIR', `if [ ! -d ${DESTDIR}${MAN'bldGET_MAN_SOURCE_NUM($1)`MAN} ]; then confMKDIR -p ${DESTDIR}${MAN'bldGET_MAN_SOURCE_NUM($1)`MAN}; else :; fi ')
-- ${INSTALL} -c -o ${MANOWN} -g ${MANGRP} -m ${MANMODE} bldGET_MAN_BASE_NAME($1).bldGET_MAN_SOURCE_NUM($1) `${DESTDIR}${MAN'bldGET_MAN_SOURCE_NUM($1)`MAN}'/bldGET_MAN_BASE_NAME($1)`.${MAN'bldGET_MAN_SOURCE_NUM($1)`EXT}'', `dnl')'
-+` ifdef(`confMKDIR', `if [ ! -d "`${DESTDIR}${MAN'bldGET_MAN_SOURCE_NUM($1)`MAN}'" ]; then confMKDIR -p "`${DESTDIR}${MAN'bldGET_MAN_SOURCE_NUM($1)`MAN}'"; else :; fi ')
-+ ${INSTALL} -c -o ${MANOWN} -g ${MANGRP} -m ${MANMODE} bldGET_MAN_BASE_NAME($1).bldGET_MAN_SOURCE_NUM($1) "`${DESTDIR}${MAN'bldGET_MAN_SOURCE_NUM($1)`MAN}'/bldGET_MAN_BASE_NAME($1)`.${MAN'bldGET_MAN_SOURCE_NUM($1)`EXT}''", `dnl')'
- )dnl
- bldFOREACH(`bldMAN_INSTALL_CMD(', `bldMAN_PAGES')
- ifdef(`confNO_MAN_INSTALL', `divert(0)', `dnl')
-diff -Nru sendmail-8.14.3.orig/libmilter/Makefile.m4 sendmail-8.14.3/libmilter/Makefile.m4
---- sendmail-8.14.3.orig/libmilter/Makefile.m4 2008-04-08 07:23:44.000000000 +0200
-+++ sendmail-8.14.3/libmilter/Makefile.m4 2009-09-20 10:50:36.000000000 +0200
-@@ -32,9 +32,9 @@
- MFAPI= ${SRCDIR}/inc`'lude/libmilter/mfapi.h
- MFDEF= ${SRCDIR}/inc`'lude/libmilter/mfdef.h
- install-mfapi: ${MFAPI}
-- if [ ! -d ${DESTDIR}${INCLUDEDIR}/libmilter ]; then mkdir -p ${DESTDIR}${INCLUDEDIR}/libmilter; else :; fi
-- ${INSTALL} -c -o ${INCOWN} -g ${INCGRP} -m ${INCMODE} ${MFAPI} ${DESTDIR}${INCLUDEDIR}/libmilter/mfapi.h
-- ${INSTALL} -c -o ${INCOWN} -g ${INCGRP} -m ${INCMODE} ${MFDEF} ${DESTDIR}${INCLUDEDIR}/libmilter/mfdef.h
-+ if [ ! -d "${DESTDIR}${INCLUDEDIR}/libmilter" ]; then mkdir -p "${DESTDIR}${INCLUDEDIR}/libmilter"; else :; fi
-+ ${INSTALL} -c -o ${INCOWN} -g ${INCGRP} -m ${INCMODE} ${MFAPI} "${DESTDIR}${INCLUDEDIR}/libmilter/mfapi.h"
-+ ${INSTALL} -c -o ${INCOWN} -g ${INCGRP} -m ${INCMODE} ${MFDEF} "${DESTDIR}${INCLUDEDIR}/libmilter/mfdef.h"
- divert(0)
-
- bldFINISH
-diff -Nru sendmail-8.14.3.orig/mail.local/Makefile.m4 sendmail-8.14.3/mail.local/Makefile.m4
---- sendmail-8.14.3.orig/mail.local/Makefile.m4 2006-06-28 23:08:02.000000000 +0200
-+++ sendmail-8.14.3/mail.local/Makefile.m4 2009-09-20 10:56:24.000000000 +0200
-@@ -30,7 +30,7 @@
- force-install: install-mail.local ifdef(`confNO_MAN_BUILD',, `install-docs')
-
- install-mail.local: mail.local
-- ${INSTALL} -c -o ${UBINOWN} -g ${UBINGRP} -m ${UBINMODE} mail.local ${DESTDIR}${EBINDIR}
-+ ${INSTALL} -c -o ${UBINOWN} -g ${UBINGRP} -m ${UBINMODE} mail.local "${DESTDIR}${EBINDIR}"
- divert
-
- bldFINISH
-diff -Nru sendmail-8.14.3.orig/rmail/Makefile.m4 sendmail-8.14.3/rmail/Makefile.m4
---- sendmail-8.14.3.orig/rmail/Makefile.m4 2006-06-28 23:08:04.000000000 +0200
-+++ sendmail-8.14.3/rmail/Makefile.m4 2009-09-20 10:55:29.000000000 +0200
-@@ -31,7 +31,7 @@
- force-install: install-rmail ifdef(`confNO_MAN_BUILD',, `install-docs')
-
- install-rmail: rmail
-- ${INSTALL} -c -o ${UBINOWN} -g ${UBINGRP} -m ${UBINMODE} rmail ${DESTDIR}${UBINDIR}
-+ ${INSTALL} -c -o ${UBINOWN} -g ${UBINGRP} -m ${UBINMODE} rmail "${DESTDIR}${UBINDIR}"
- divert
-
- bldFINISH
-
---- a/sendmail/Makefile.m4 2020-08-10 23:14:23.209900406 -0400
-+++ b/sendmail/Makefile.m4 2020-08-10 23:23:51.272863753 -0400
-@@ -43,21 +43,21 @@
- statistics:
- ${CP} /dev/null statistics
-
--${DESTDIR}/etc/mail/submit.cf:
-+${DESTDIR}/etc/mail/submit.cf:
- @echo "Please read INSTALL if anything fails while installing the binary."
- @echo "${DESTDIR}/etc/mail/submit.cf will be installed now."
- cd ${SRCDIR}/cf/cf && make install-submit-cf
-
- MSPQ=ifdef(`confMSP_QUEUE_DIR', `confMSP_QUEUE_DIR', `/var/spool/clientmqueue')
-
--${DESTDIR}${MSPQ}:
-+${DESTDIR}${MSPQ}:
- @echo "Please read INSTALL if anything fails while installing the binary."
- @echo "You must have set up a new user ${MSPQOWN} and a new group ${GBINGRP}"
- @echo "as explained in sendmail/SECURITY."
-- mkdir -p ${DESTDIR}${MSPQ}
-- chown ${MSPQOWN} ${DESTDIR}${MSPQ}
-- chgrp ${GBINGRP} ${DESTDIR}${MSPQ}
-- chmod 0770 ${DESTDIR}${MSPQ}
-+ mkdir -p "${DESTDIR}${MSPQ}"
-+ chown ${MSPQOWN} "${DESTDIR}${MSPQ}"
-+ chgrp ${GBINGRP} "${DESTDIR}${MSPQ}"
-+ chmod 0770 "${DESTDIR}${MSPQ}"
-
- divert(0)
diff --git a/mail-filter/libmilter/libmilter-1.0.2_p4-r1.ebuild b/mail-filter/libmilter/libmilter-1.0.2_p4-r1.ebuild
deleted file mode 100644
index 789627aa26f6..000000000000
--- a/mail-filter/libmilter/libmilter-1.0.2_p4-r1.ebuild
+++ /dev/null
@@ -1,145 +0,0 @@
-# Copyright 1999-2025 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-# Note: please bump this together with mail-mta/sendmail and app-shells/smrsh
-
-VERIFY_SIG_OPENPGP_KEY_PATH="/usr/share/openpgp-keys/sendmail.asc"
-inherit toolchain-funcs verify-sig
-
-# This library is part of sendmail, but it does not share the version number with it.
-# In order to find the right libmilter version number, check SMFI_VERSION definition
-# that can be found in ${S}/include/libmilter/mfapi.h (see also SM_LM_VRS_* defines).
-# For example, version 1.0.1 has a SMFI_VERSION of 0x01000001.
-#
-# See check in src_prepare too.
-SENDMAIL_VER=8.18.1
-
-DESCRIPTION="The Sendmail Filter API (Milter)"
-HOMEPAGE="https://www.proofpoint.com/us/products/email-protection/open-source-email-solution"
-if [[ -n $(ver_cut 4 ${SENDMAIL_VER}) ]] ; then
- # Snapshots have an extra version component (e.g. 8.17.1 vs 8.17.1.9)
- SRC_URI="
- https://ftp.sendmail.org/snapshots/sendmail.${SENDMAIL_VER}.tar.gz
- verify-sig? ( https://ftp.sendmail.org/snapshots/sendmail.${SENDMAIL_VER}.tar.gz.sig )
- "
-fi
-SRC_URI+="
- https://ftp.sendmail.org/sendmail.${SENDMAIL_VER}.tar.gz
- verify-sig? ( https://ftp.sendmail.org/sendmail.${SENDMAIL_VER}.tar.gz.sig )
-"
-SRC_URI+="
- https://ftp.sendmail.org/past-releases/sendmail.${SENDMAIL_VER}.tar.gz
- verify-sig? ( https://ftp.sendmail.org/past-releases/sendmail.${SENDMAIL_VER}.tar.gz.sig )
-"
-S="${WORKDIR}/sendmail-${SENDMAIL_VER}"
-
-LICENSE="Sendmail"
-# We increment _pN when a new sendmail tarball comes out and change the actual
-# "main version" (1.0.2 at time of writing) when the version
-# of libmilter included in the tarball changes.
-# We used to use $(ver_cut 1-3) here (assuming ABI stability between sendmail
-# versions) but that doesn't seem to apply for sendmail snapshots.
-SLOT="0/${PV}"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
-IUSE="poll"
-
-BDEPEND="
- sys-devel/m4
- verify-sig? ( ~sec-keys/openpgp-keys-sendmail-20250220 )
-"
-
-# build system patch copied from sendmail ebuild
-PATCHES=(
- "${FILESDIR}"/sendmail-8.16.1-build-system.patch
- "${FILESDIR}"/${PN}-sharedlib.patch
- "${FILESDIR}"/${PN}-1.0.2_p3-c23-bool.patch
- "${FILESDIR}"/${PN}-1.0.2_p4-systemd-socket-activation.patch
-)
-
-src_prepare() {
- default
-
- extract_version_from_source() {
- # Extract "# define SMFI_VERSION 0x01000002" from include/libmilter/mfapi.h
- local actual_libmilter_ver=$(grep -o -E -m 1 "0[xX][0-9a-fA-F]+" include/libmilter/mfapi.h)
-
- # SM_LM_VRS_MAJOR(v) (((v) & 0x7f000000) >> 24)
- local actual_libmilter_ver_major=$(((actual_libmilter_ver & 0x7f000000) >> 24))
-
- # SM_LM_VRS_MINOR(v) (((v) & 0x007fff00) >> 8)
- local actual_libmilter_ver_minor=$(((actual_libmilter_ver & 0x007fff00) >> 8))
-
- # SM_LM_VRS_PLVL(v) ((v) & 0x0000007f)
- local actual_libmilter_ver_plvl=$((actual_libmilter_ver & 0x0000007f))
-
- einfo "Extracted version (hex): ${actual_libmilter_ver}"
- einfo "Extracted version (major): ${actual_libmilter_ver_major}"
- einfo "Extracted version (minor): ${actual_libmilter_ver_minor}"
- einfo "Extracted version (plvl): ${actual_libmilter_ver_plvl}"
- einfo "Extracted version (final): ${actual_libmilter_ver_major}.${actual_libmilter_ver_minor}.${actual_libmilter_ver_plvl}"
-
- echo ${actual_libmilter_ver_major}.${actual_libmilter_ver_minor}.${actual_libmilter_ver_plvl}
- }
-
- local actual_libmilter_ver_final=$(extract_version_from_source)
- if [[ $(ver_cut 1-3) != ${actual_libmilter_ver_final} ]] ; then
- eerror "Ebuild version ${PV} does not match detected version ${actual_libmilter_ver_final}!"
- eerror "Expected version: $(ver_cut 1-3)"
- eerror "Detected version: ${actual_libmilter_ver_final}"
- die "Package version ${PV} appears to be incorrect. Please check the source or rename the ebuild."
- fi
-
- local ENVDEF="-DNETUNIX -DNETINET -DNETINET6 -DHAS_GETHOSTBYNAME2=1"
- use poll && ENVDEF+=" -DSM_CONF_POLL=1"
-
- if use elibc_musl; then
- ENVDEF+=" -DNEEDSGETIPNODE"
- eapply "${FILESDIR}"/${PN}-musl-stack-size.patch
- eapply "${FILESDIR}"/${PN}-musl-disable-cdefs.patch
- fi
-
- sed -e "s|@@CC@@|$(tc-getCC)|" \
- -e "s|@@CFLAGS@@|${CFLAGS}|" \
- -e "s|@@ENVDEF@@|${ENVDEF}|" \
- -e "s|@@LDFLAGS@@|${LDFLAGS}|" \
- "${FILESDIR}"/gentoo.config.m4 > devtools/Site/site.config.m4 \
- || die "failed to generate site.config.m4"
-}
-
-src_compile() {
- emake -j1 -C libmilter AR="$(tc-getAR)" MILTER_SOVER=${PV}
-}
-
-src_install() {
- dodir /usr/$(get_libdir)
-
- local emakeargs=(
- DESTDIR="${D}" LIBDIR="/usr/$(get_libdir)"
- MANROOT=/usr/share/man/man
- SBINOWN=root SBINGRP=0 UBINOWN=root UBINGRP=0
- LIBOWN=root LIBGRP=0 GBINOWN=root GBINGRP=0
- MANOWN=root MANGRP=0 INCOWN=root INCGRP=0
- MSPQOWN=root CFOWN=root CFGRP=0
- MILTER_SOVER="$(ver_cut 1-3)"
- )
- emake -C obj.*/libmilter "${emakeargs[@]}" install
-
- dodoc libmilter/README
-
- docinto html
- dodoc -r libmilter/docs/.
-
- if [[ ${PV} != $(ver_cut 1-3) ]] ; then
- # Move the .so file to the more specific name so it becomes a chain like
- # .so -> .so.1.0.2 -> .so.1.0.2_p2, otherwise ldconfig can get confused
- # (bug #864563).
- #
- # See comment above ${SLOT} definition above.
- mv "${ED}"/usr/$(get_libdir)/"${PN}.so.$(ver_cut 1-3)" "${ED}"/usr/$(get_libdir)/${PN}.so.${PV}
- dosym ${PN}.so.${PV} /usr/$(get_libdir)/${PN}.so.$(ver_cut 1-3)
- fi
-
- find "${ED}" -name '*.a' -delete || die
-}
diff --git a/mail-filter/libmilter/libmilter-1.0.2_p4.ebuild b/mail-filter/libmilter/libmilter-1.0.2_p4.ebuild
deleted file mode 100644
index 280aa56514b2..000000000000
--- a/mail-filter/libmilter/libmilter-1.0.2_p4.ebuild
+++ /dev/null
@@ -1,135 +0,0 @@
-# Copyright 1999-2025 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-# Note: please bump this together with mail-mta/sendmail and app-shells/smrsh
-
-inherit toolchain-funcs
-
-# This library is part of sendmail, but it does not share the version number with it.
-# In order to find the right libmilter version number, check SMFI_VERSION definition
-# that can be found in ${S}/include/libmilter/mfapi.h (see also SM_LM_VRS_* defines).
-# For example, version 1.0.1 has a SMFI_VERSION of 0x01000001.
-#
-# See check in src_prepare too.
-SENDMAIL_VER=8.18.1
-
-DESCRIPTION="The Sendmail Filter API (Milter)"
-HOMEPAGE="https://www.proofpoint.com/us/products/email-protection/open-source-email-solution"
-if [[ -n $(ver_cut 4 ${SENDMAIL_VER}) ]] ; then
- # Snapshots have an extra version component (e.g. 8.17.1 vs 8.17.1.9)
- SRC_URI="https://ftp.sendmail.org/snapshots/sendmail.${SENDMAIL_VER}.tar.gz"
-fi
-SRC_URI+=" https://ftp.sendmail.org/sendmail.${SENDMAIL_VER}.tar.gz"
-SRC_URI+=" https://ftp.sendmail.org/past-releases/sendmail.${SENDMAIL_VER}.tar.gz"
-S="${WORKDIR}/sendmail-${SENDMAIL_VER}"
-
-LICENSE="Sendmail"
-# We increment _pN when a new sendmail tarball comes out and change the actual
-# "main version" (1.0.2 at time of writing) when the version
-# of libmilter included in the tarball changes.
-# We used to use $(ver_cut 1-3) here (assuming ABI stability between sendmail
-# versions) but that doesn't seem to apply for sendmail snapshots.
-SLOT="0/${PV}"
-KEYWORDS="~alpha amd64 arm arm64 ~hppa ~mips ppc ppc64 ~riscv ~s390 ~sparc x86"
-IUSE="ipv6 poll"
-
-RDEPEND="!<mail-mta/sendmail-8.16.1"
-BDEPEND="sys-devel/m4"
-
-# build system patch copied from sendmail ebuild
-PATCHES=(
- "${FILESDIR}"/sendmail-8.16.1-build-system.patch
- "${FILESDIR}"/${PN}-sharedlib.patch
- "${FILESDIR}"/${PN}-1.0.2_p3-c23-bool.patch
-)
-
-src_prepare() {
- default
-
- extract_version_from_source() {
- # Extract "# define SMFI_VERSION 0x01000002" from include/libmilter/mfapi.h
- local actual_libmilter_ver=$(grep -o -E -m 1 "0[xX][0-9a-fA-F]+" include/libmilter/mfapi.h)
-
- # SM_LM_VRS_MAJOR(v) (((v) & 0x7f000000) >> 24)
- local actual_libmilter_ver_major=$(((actual_libmilter_ver & 0x7f000000) >> 24))
-
- # SM_LM_VRS_MINOR(v) (((v) & 0x007fff00) >> 8)
- local actual_libmilter_ver_minor=$(((actual_libmilter_ver & 0x007fff00) >> 8))
-
- # SM_LM_VRS_PLVL(v) ((v) & 0x0000007f)
- local actual_libmilter_ver_plvl=$((actual_libmilter_ver & 0x0000007f))
-
- einfo "Extracted version (hex): ${actual_libmilter_ver}"
- einfo "Extracted version (major): ${actual_libmilter_ver_major}"
- einfo "Extracted version (minor): ${actual_libmilter_ver_minor}"
- einfo "Extracted version (plvl): ${actual_libmilter_ver_plvl}"
- einfo "Extracted version (final): ${actual_libmilter_ver_major}.${actual_libmilter_ver_minor}.${actual_libmilter_ver_plvl}"
-
- echo ${actual_libmilter_ver_major}.${actual_libmilter_ver_minor}.${actual_libmilter_ver_plvl}
- }
-
- local actual_libmilter_ver_final=$(extract_version_from_source)
- if [[ $(ver_cut 1-3) != ${actual_libmilter_ver_final} ]] ; then
- eerror "Ebuild version ${PV} does not match detected version ${actual_libmilter_ver_final}!"
- eerror "Expected version: $(ver_cut 1-3)"
- eerror "Detected version: ${actual_libmilter_ver_final}"
- die "Package version ${PV} appears to be incorrect. Please check the source or rename the ebuild."
- fi
-
- local ENVDEF="-DNETUNIX -DNETINET -DHAS_GETHOSTBYNAME2=1"
-
- use ipv6 && ENVDEF+=" -DNETINET6"
- use poll && ENVDEF+=" -DSM_CONF_POLL=1"
-
- if use elibc_musl; then
- use ipv6 && ENVDEF+=" -DNEEDSGETIPNODE"
-
- eapply "${FILESDIR}"/${PN}-musl-stack-size.patch
- eapply "${FILESDIR}"/${PN}-musl-disable-cdefs.patch
- fi
-
- sed -e "s|@@CC@@|$(tc-getCC)|" \
- -e "s|@@CFLAGS@@|${CFLAGS}|" \
- -e "s|@@ENVDEF@@|${ENVDEF}|" \
- -e "s|@@LDFLAGS@@|${LDFLAGS}|" \
- "${FILESDIR}"/gentoo.config.m4 > devtools/Site/site.config.m4 \
- || die "failed to generate site.config.m4"
-}
-
-src_compile() {
- emake -j1 -C libmilter AR="$(tc-getAR)" MILTER_SOVER=${PV}
-}
-
-src_install() {
- dodir /usr/$(get_libdir)
-
- local emakeargs=(
- DESTDIR="${D}" LIBDIR="/usr/$(get_libdir)"
- MANROOT=/usr/share/man/man
- SBINOWN=root SBINGRP=0 UBINOWN=root UBINGRP=0
- LIBOWN=root LIBGRP=0 GBINOWN=root GBINGRP=0
- MANOWN=root MANGRP=0 INCOWN=root INCGRP=0
- MSPQOWN=root CFOWN=root CFGRP=0
- MILTER_SOVER="$(ver_cut 1-3)"
- )
- emake -C obj.*/libmilter "${emakeargs[@]}" install
-
- dodoc libmilter/README
-
- docinto html
- dodoc -r libmilter/docs/.
-
- if [[ ${PV} != $(ver_cut 1-3) ]] ; then
- # Move the .so file to the more specific name so it becomes a chain like
- # .so -> .so.1.0.2 -> .so.1.0.2_p2, otherwise ldconfig can get confused
- # (bug #864563).
- #
- # See comment above ${SLOT} definition above.
- mv "${ED}"/usr/$(get_libdir)/"${PN}.so.$(ver_cut 1-3)" "${ED}"/usr/$(get_libdir)/${PN}.so.${PV}
- dosym ${PN}.so.${PV} /usr/$(get_libdir)/${PN}.so.$(ver_cut 1-3)
- fi
-
- find "${ED}" -name '*.a' -delete || die
-}
diff --git a/mail-filter/libmilter/libmilter-1.0.2_p5.ebuild b/mail-filter/libmilter/libmilter-1.0.2_p5.ebuild
deleted file mode 100644
index 34f58ebc7514..000000000000
--- a/mail-filter/libmilter/libmilter-1.0.2_p5.ebuild
+++ /dev/null
@@ -1,144 +0,0 @@
-# Copyright 1999-2026 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-# Note: please bump this together with mail-mta/sendmail and app-shells/smrsh
-
-VERIFY_SIG_OPENPGP_KEY_PATH="/usr/share/openpgp-keys/sendmail.asc"
-inherit toolchain-funcs verify-sig
-
-# This library is part of sendmail, but it does not share the version number with it.
-# In order to find the right libmilter version number, check SMFI_VERSION definition
-# that can be found in ${S}/include/libmilter/mfapi.h (see also SM_LM_VRS_* defines).
-# For example, version 1.0.1 has a SMFI_VERSION of 0x01000001.
-#
-# See check in src_prepare too.
-SENDMAIL_VER=8.18.2
-
-DESCRIPTION="The Sendmail Filter API (Milter)"
-HOMEPAGE="https://www.proofpoint.com/us/products/email-protection/open-source-email-solution"
-if [[ -n $(ver_cut 4 ${SENDMAIL_VER}) ]] ; then
- # Snapshots have an extra version component (e.g. 8.17.1 vs 8.17.1.9)
- SRC_URI="
- https://ftp.sendmail.org/snapshots/sendmail.${SENDMAIL_VER}.tar.gz
- verify-sig? ( https://ftp.sendmail.org/snapshots/sendmail.${SENDMAIL_VER}.tar.gz.sig )
- "
-fi
-SRC_URI+="
- https://ftp.sendmail.org/sendmail.${SENDMAIL_VER}.tar.gz
- verify-sig? ( https://ftp.sendmail.org/sendmail.${SENDMAIL_VER}.tar.gz.sig )
-"
-SRC_URI+="
- https://ftp.sendmail.org/past-releases/sendmail.${SENDMAIL_VER}.tar.gz
- verify-sig? ( https://ftp.sendmail.org/past-releases/sendmail.${SENDMAIL_VER}.tar.gz.sig )
-"
-S="${WORKDIR}/sendmail-${SENDMAIL_VER}"
-
-LICENSE="Sendmail"
-# We increment _pN when a new sendmail tarball comes out and change the actual
-# "main version" (1.0.2 at time of writing) when the version
-# of libmilter included in the tarball changes.
-# We used to use $(ver_cut 1-3) here (assuming ABI stability between sendmail
-# versions) but that doesn't seem to apply for sendmail snapshots.
-SLOT="0/${PV}"
-KEYWORDS="~alpha amd64 arm arm64 ~hppa ~mips ppc ppc64 ~riscv ~s390 ~sparc x86"
-IUSE="poll"
-
-BDEPEND="
- sys-devel/m4
- verify-sig? ( ~sec-keys/openpgp-keys-sendmail-20250220 )
-"
-
-# build system patch copied from sendmail ebuild
-PATCHES=(
- "${FILESDIR}"/sendmail-8.16.1-build-system.patch
- "${FILESDIR}"/${PN}-sharedlib.patch
- "${FILESDIR}"/${PN}-1.0.2_p4-systemd-socket-activation.patch
-)
-
-src_prepare() {
- default
-
- extract_version_from_source() {
- # Extract "# define SMFI_VERSION 0x01000002" from include/libmilter/mfapi.h
- local actual_libmilter_ver=$(grep -o -E -m 1 "0[xX][0-9a-fA-F]+" include/libmilter/mfapi.h)
-
- # SM_LM_VRS_MAJOR(v) (((v) & 0x7f000000) >> 24)
- local actual_libmilter_ver_major=$(((actual_libmilter_ver & 0x7f000000) >> 24))
-
- # SM_LM_VRS_MINOR(v) (((v) & 0x007fff00) >> 8)
- local actual_libmilter_ver_minor=$(((actual_libmilter_ver & 0x007fff00) >> 8))
-
- # SM_LM_VRS_PLVL(v) ((v) & 0x0000007f)
- local actual_libmilter_ver_plvl=$((actual_libmilter_ver & 0x0000007f))
-
- einfo "Extracted version (hex): ${actual_libmilter_ver}"
- einfo "Extracted version (major): ${actual_libmilter_ver_major}"
- einfo "Extracted version (minor): ${actual_libmilter_ver_minor}"
- einfo "Extracted version (plvl): ${actual_libmilter_ver_plvl}"
- einfo "Extracted version (final): ${actual_libmilter_ver_major}.${actual_libmilter_ver_minor}.${actual_libmilter_ver_plvl}"
-
- echo ${actual_libmilter_ver_major}.${actual_libmilter_ver_minor}.${actual_libmilter_ver_plvl}
- }
-
- local actual_libmilter_ver_final=$(extract_version_from_source)
- if [[ $(ver_cut 1-3) != ${actual_libmilter_ver_final} ]] ; then
- eerror "Ebuild version ${PV} does not match detected version ${actual_libmilter_ver_final}!"
- eerror "Expected version: $(ver_cut 1-3)"
- eerror "Detected version: ${actual_libmilter_ver_final}"
- die "Package version ${PV} appears to be incorrect. Please check the source or rename the ebuild."
- fi
-
- local ENVDEF="-DNETUNIX -DNETINET -DNETINET6 -DHAS_GETHOSTBYNAME2=1"
- use poll && ENVDEF+=" -DSM_CONF_POLL=1"
-
- if use elibc_musl; then
- ENVDEF+=" -DNEEDSGETIPNODE"
- eapply "${FILESDIR}"/${PN}-musl-stack-size.patch
- eapply "${FILESDIR}"/${PN}-musl-disable-cdefs.patch
- fi
-
- sed -e "s|@@CC@@|$(tc-getCC)|" \
- -e "s|@@CFLAGS@@|${CFLAGS}|" \
- -e "s|@@ENVDEF@@|${ENVDEF}|" \
- -e "s|@@LDFLAGS@@|${LDFLAGS}|" \
- "${FILESDIR}"/gentoo.config.m4 > devtools/Site/site.config.m4 \
- || die "failed to generate site.config.m4"
-}
-
-src_compile() {
- emake -j1 -C libmilter AR="$(tc-getAR)" MILTER_SOVER=${PV}
-}
-
-src_install() {
- dodir /usr/$(get_libdir)
-
- local emakeargs=(
- DESTDIR="${D}" LIBDIR="/usr/$(get_libdir)"
- MANROOT=/usr/share/man/man
- SBINOWN=root SBINGRP=0 UBINOWN=root UBINGRP=0
- LIBOWN=root LIBGRP=0 GBINOWN=root GBINGRP=0
- MANOWN=root MANGRP=0 INCOWN=root INCGRP=0
- MSPQOWN=root CFOWN=root CFGRP=0
- MILTER_SOVER="$(ver_cut 1-3)"
- )
- emake -C obj.*/libmilter "${emakeargs[@]}" install
-
- dodoc libmilter/README
-
- docinto html
- dodoc -r libmilter/docs/.
-
- if [[ ${PV} != $(ver_cut 1-3) ]] ; then
- # Move the .so file to the more specific name so it becomes a chain like
- # .so -> .so.1.0.2 -> .so.1.0.2_p2, otherwise ldconfig can get confused
- # (bug #864563).
- #
- # See comment above ${SLOT} definition above.
- mv "${ED}"/usr/$(get_libdir)/"${PN}.so.$(ver_cut 1-3)" "${ED}"/usr/$(get_libdir)/${PN}.so.${PV}
- dosym ${PN}.so.${PV} /usr/$(get_libdir)/${PN}.so.$(ver_cut 1-3)
- fi
-
- find "${ED}" -name '*.a' -delete || die
-}
diff --git a/mail-filter/libmilter/metadata.xml b/mail-filter/libmilter/metadata.xml
deleted file mode 100644
index a44708ab09ea..000000000000
--- a/mail-filter/libmilter/metadata.xml
+++ /dev/null
@@ -1,15 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
- <maintainer type="person" proxied="yes">
- <email>cfuga@cfuga.mx</email>
- <name>Cristian Othón Martínez Vera</name>
- </maintainer>
- <maintainer type="project" proxied="proxy">
- <email>proxy-maint@gentoo.org</email>
- <name>Proxy Maintainers</name>
- </maintainer>
- <use>
- <flag name="poll">Use poll instead of select</flag>
- </use>
-</pkgmetadata>
diff --git a/mail-filter/libopensmtpd/Manifest b/mail-filter/libopensmtpd/Manifest
deleted file mode 100644
index d3cf2ad09ef0..000000000000
--- a/mail-filter/libopensmtpd/Manifest
+++ /dev/null
@@ -1,2 +0,0 @@
-DIST libopensmtpd-0.8.tar.gz 35776 BLAKE2B 59df66f65d3d8aca300fd0cfb4cbdad8314bb3329c55eddaf0d368f4926353c1ad35db77122327f82714fd8eae512d12ce624b8d5a1725b5963b36b4486f410e SHA512 788465c3aea4690d5f578b7898c2408f00231a5774a8a2b3aef41f8adda21efe239dc09bcd7a7fc97cb0306f946a9e93fda58bce624f7c78e19e330f29842744
-DIST libopensmtpd-1.0.tar.gz 34758 BLAKE2B a354ad2b9047a7e3d7848cf16cd6b3cae02320fa8defc273c8dd8a7729c34c2ab81b89660fa9253c770ba2ecdf1323a30bc81418e39593f28dba43c5ef516c98 SHA512 e42bfcc6ec5c8b54c397c7b8e7200cfb515ac3c1e4f47634b68bebb7600c15c84a47c9d2d89ea6c987ab506fe26e12f29e6c665ccd326ea9f21462760f5a4d18
diff --git a/mail-filter/libopensmtpd/libopensmtpd-0.8.ebuild b/mail-filter/libopensmtpd/libopensmtpd-0.8.ebuild
deleted file mode 100644
index 75f57aa7bd33..000000000000
--- a/mail-filter/libopensmtpd/libopensmtpd-0.8.ebuild
+++ /dev/null
@@ -1,30 +0,0 @@
-# Copyright 2024-2025 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit toolchain-funcs
-
-DESCRIPTION="Library for creating OpenSMTPD filters"
-HOMEPAGE="https://src.imperialat.at/?action=summary&path=libopensmtpd.git"
-SRC_URI="https://src.imperialat.at/releases/${P}.tar.gz"
-
-LICENSE="BSD"
-SLOT="0"
-KEYWORDS="~amd64"
-
-DEPEND="dev-libs/libevent"
-RDEPEND="${DEPEND}"
-
-src_prepare() {
- mv -f Makefile.gnu Makefile
- eapply_user
-}
-
-src_compile() {
- emake CC="$(tc-getCC)" MANFORMAT="man"
-}
-
-src_install() {
- emake DESTDIR="${D}" LIBDIR="/usr/$(get_libdir)" MANFORMAT="man" install
-}
diff --git a/mail-filter/libopensmtpd/libopensmtpd-1.0.ebuild b/mail-filter/libopensmtpd/libopensmtpd-1.0.ebuild
deleted file mode 100644
index 75f57aa7bd33..000000000000
--- a/mail-filter/libopensmtpd/libopensmtpd-1.0.ebuild
+++ /dev/null
@@ -1,30 +0,0 @@
-# Copyright 2024-2025 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit toolchain-funcs
-
-DESCRIPTION="Library for creating OpenSMTPD filters"
-HOMEPAGE="https://src.imperialat.at/?action=summary&path=libopensmtpd.git"
-SRC_URI="https://src.imperialat.at/releases/${P}.tar.gz"
-
-LICENSE="BSD"
-SLOT="0"
-KEYWORDS="~amd64"
-
-DEPEND="dev-libs/libevent"
-RDEPEND="${DEPEND}"
-
-src_prepare() {
- mv -f Makefile.gnu Makefile
- eapply_user
-}
-
-src_compile() {
- emake CC="$(tc-getCC)" MANFORMAT="man"
-}
-
-src_install() {
- emake DESTDIR="${D}" LIBDIR="/usr/$(get_libdir)" MANFORMAT="man" install
-}
diff --git a/mail-filter/libopensmtpd/metadata.xml b/mail-filter/libopensmtpd/metadata.xml
deleted file mode 100644
index 9b163b333228..000000000000
--- a/mail-filter/libopensmtpd/metadata.xml
+++ /dev/null
@@ -1,8 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
- <maintainer type="person">
- <email>cedk@gentoo.org</email>
- <name>Cédric Krier</name>
- </maintainer>
-</pkgmetadata>
diff --git a/mail-filter/libsieve/Manifest b/mail-filter/libsieve/Manifest
deleted file mode 100644
index 127673c9bec5..000000000000
--- a/mail-filter/libsieve/Manifest
+++ /dev/null
@@ -1 +0,0 @@
-DIST libsieve-2.2.7.tar.gz 569646 BLAKE2B 2dbfc152110936b5a385af4169a3a2c36a95d241db63153fca94357cb7a8009de2712340185480a13714e8c3c7fc0a648de1d7ce6c1dbbb9ae116dcd3f685ca7 SHA512 e943a76009f3de41274d7100a8b995fe66a91ec92c1c22236ab765cb449add42b38402cc8e161a1b9870dcdd6abc05d9fb5d99d9230c6814896fb0647afe0796
diff --git a/mail-filter/libsieve/libsieve-2.2.7.ebuild b/mail-filter/libsieve/libsieve-2.2.7.ebuild
deleted file mode 100644
index ebb021ff6753..000000000000
--- a/mail-filter/libsieve/libsieve-2.2.7.ebuild
+++ /dev/null
@@ -1,33 +0,0 @@
-# Copyright 1999-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit autotools
-
-DESCRIPTION="A library for parsing, sorting and filtering your mail"
-SRC_URI="https://downloads.sourceforge.net/${PN}/${P}.tar.gz"
-HOMEPAGE="http://libsieve.sourceforge.net/"
-
-SLOT="0"
-LICENSE="MIT LGPL-2.1"
-KEYWORDS="~alpha amd64 ~ppc ~sparc x86"
-
-RDEPEND="!<net-mail/mailutils-2.1"
-
-S=${WORKDIR}/${P}/src
-
-src_prepare() {
- default
- mv configure.{in,ac} || die
- eautoreconf
-}
-
-src_configure() {
- econf --disable-static
-}
-
-src_install() {
- default
- find "${ED}" -name '*.la' -delete || die
-}
diff --git a/mail-filter/libsieve/metadata.xml b/mail-filter/libsieve/metadata.xml
deleted file mode 100644
index 68a592db41fa..000000000000
--- a/mail-filter/libsieve/metadata.xml
+++ /dev/null
@@ -1,14 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
- <!-- maintainer-needed -->
- <longdescription lang="en">
- libSieve provides a library to interpret Sieve scripts, and to execute those
- scripts over a given set of messages. The return codes from the libSieve
- functions let your program know how to handle the message, and then it's up to
- you to make it so.
- </longdescription>
- <upstream>
- <remote-id type="sourceforge">libsieve</remote-id>
- </upstream>
-</pkgmetadata>
diff --git a/mail-filter/libspf2/Manifest b/mail-filter/libspf2/Manifest
deleted file mode 100644
index cb8b0ec80d15..000000000000
--- a/mail-filter/libspf2/Manifest
+++ /dev/null
@@ -1 +0,0 @@
-DIST libspf2-1.2.11.tar.gz 565497 BLAKE2B 4000e15204c962ef438cc8bcf6411f4f965e1451e356923e2764d5a1209cbc9153a38e1d83d25c8b4b26646bfb306ec49b71d273fdbabe200b78ac2694c05a4f SHA512 ad7bea800ad6ec8d00a7f8f381b59d9ba074fb6c5932d8babcb05ab5ca59defb78445dd7bd89767e5c272b6c6638c8000c8c525c560d1803c35712f0ff86fa9b
diff --git a/mail-filter/libspf2/files/libspf2-1.2.11-integer-underflow.patch b/mail-filter/libspf2/files/libspf2-1.2.11-integer-underflow.patch
deleted file mode 100644
index fabfd6ceacfd..000000000000
--- a/mail-filter/libspf2/files/libspf2-1.2.11-integer-underflow.patch
+++ /dev/null
@@ -1,26 +0,0 @@
-From d14abff4b544cfc53a8b5ef54cbc2353866b5081 Mon Sep 17 00:00:00 2001
-From: Simon Arlott <sa.me.uk>
-Date: Sat, 30 Sep 2023 12:18:51 +0100
-Subject: [PATCH] Fix integer underflow
-
----
- src/libspf2/spf_compile.c | 6 +++++-
- 1 file changed, 5 insertions(+), 1 deletion(-)
-
-diff --git a/src/libspf2/spf_compile.c b/src/libspf2/spf_compile.c
-index b08ffe2..d401028 100644
---- a/src/libspf2/spf_compile.c
-+++ b/src/libspf2/spf_compile.c
-@@ -455,7 +455,11 @@ SPF_c_parse_var(SPF_response_t *spf_response, SPF_data_var_t *data,
- /* Magic numbers for x/Nc in gdb. */ \
- data->ds.__unused0 = 0xba; data->ds.__unused1 = 0xbe; \
- dst = SPF_data_str( data ); \
-- ds_avail = _avail - sizeof(SPF_data_t); \
-+ if ((_avail) < sizeof(SPF_data_t)) \
-+ return SPF_response_add_error_ptr(spf_response, \
-+ SPF_E_BIG_STRING, NULL, src, \
-+ "Out of memory for string literal");\
-+ ds_avail = (_avail) - sizeof(SPF_data_t); \
- ds_len = 0; \
- } while(0)
-
diff --git a/mail-filter/libspf2/files/libspf2-1.2.11-memset-include-string-h.patch b/mail-filter/libspf2/files/libspf2-1.2.11-memset-include-string-h.patch
deleted file mode 100644
index 5b5a77298305..000000000000
--- a/mail-filter/libspf2/files/libspf2-1.2.11-memset-include-string-h.patch
+++ /dev/null
@@ -1,12 +0,0 @@
-grobian@gentoo.org: include string.h so memset is declared
-
---- a/src/libspf2/spf_utils.c
-+++ b/src/libspf2/spf_utils.c
-@@ -19,6 +19,7 @@
- #ifdef STDC_HEADERS
- # include <stdlib.h> /* malloc / free */
- # include <ctype.h> /* isupper / tolower */
-+# include <string.h> /* memset */
- #endif
-
- #ifdef HAVE_MEMORY_H
diff --git a/mail-filter/libspf2/files/libspf2-1.2.11-musl.patch b/mail-filter/libspf2/files/libspf2-1.2.11-musl.patch
deleted file mode 100644
index 9867dc0d1b4f..000000000000
--- a/mail-filter/libspf2/files/libspf2-1.2.11-musl.patch
+++ /dev/null
@@ -1,30 +0,0 @@
-assorted fixes for musl
-
---- a/src/include/spf_dns.h
-+++ a/src/include/spf_dns.h
-@@ -99,11 +99,13 @@
- */
-
- #if !defined(HAVE_NETDB_H) && !defined(_WIN32)
--#define NETDB_SUCCESS 0
- #define HOST_NOT_FOUND 1 /**< NXDOMAIN (authoritative answer)*/
- #define TRY_AGAIN 2 /**< SERVFAIL (no authoritative answer)*/
- #define NO_RECOVERY 3 /**< invalid/unimplmeneted query */
- #define NO_DATA 4 /**< host found, but no RR of req type*/
-+#endif
-+#ifndef NETDB_SUCCESS
-+#define NETDB_SUCCESS 0
- #endif
- typedef int SPF_dns_stat_t;
-
---- a/src/libspf2/spf_dns_resolv.c
-+++ b/src/libspf2/spf_dns_resolv.c
-@@ -606,7 +606,7 @@ SPF_dns_resolv_free(SPF_dns_server_t *spf_dns_server)
- {
- SPF_ASSERT_NOTNULL(spf_dns_server);
-
--#if ! HAVE_DECL_RES_NINIT
-+#if ! HAVE_DECL_RES_NINIT && HAVE_RES_CLOSE
- res_close();
- #endif
-
diff --git a/mail-filter/libspf2/files/libspf2-1.2.11-undefined-dn_.patch b/mail-filter/libspf2/files/libspf2-1.2.11-undefined-dn_.patch
deleted file mode 100644
index 7815d3a07ca2..000000000000
--- a/mail-filter/libspf2/files/libspf2-1.2.11-undefined-dn_.patch
+++ /dev/null
@@ -1,147 +0,0 @@
-From 808b584d22106828aaaa3f2a52b1d076b6e66040 Mon Sep 17 00:00:00 2001
-From: Natanael Copa <ncopa@alpinelinux.org>
-Date: Thu, 11 Sep 2014 08:09:34 +0000
-Subject: [PATCH] provide dn_skipname
-
-Modified for Gentoo to include dn_expand fix
-keep dn_expand available, for musl and glibc-2.34
-also added declaration fix for dn_expand for glibc because we
-cannot include resolv.h, which defines it
-
----
- configure.ac | 2 +-
- src/libreplace/__dn_skipname.c | 87 ++++++++++++++++++++++++++++++++++++++++++
- 2 files changed, 88 insertions(+), 1 deletion(-)
- create mode 100644 src/libreplace/__dn_skipname.c
-
-diff --git a/configure.ac b/configure.ac
-index 63e398c..739da3b 100644
---- a/configure.ac
-+++ b/configure.ac
-@@ -269,6 +269,7 @@
- #endif
- ]])
-
-+AC_CHECK_FUNCS([dn_expand])
- AC_CHECK_FUNCS([ftruncate gethostname memmove memset socket])
- AC_CHECK_FUNCS([strchr strcspn strdup strerror])
- AC_CHECK_FUNCS([strcasecmp strncasecmp strspn strtoul])
-@@ -274,7 +274,7 @@
- AC_CHECK_FUNCS([gethostbyname inet_ntoa select strrchr strstr strtol])
-
- AC_REPLACE_FUNCS([getopt_long_only strncasecmp])
--AC_REPLACE_FUNCS([__ns_initparse __ns_name_uncompress __ns_msg_getflag])
-+AC_REPLACE_FUNCS([__ns_initparse __ns_name_uncompress __ns_msg_getflag __dn_skipname])
- dnl Magnus Holmgren says this avoids linking a private function
- AC_LIBOBJ([__ns_get16])
-
-diff --git a/src/libreplace/__dn_skipname.c b/src/libreplace/__dn_skipname.c
-new file mode 100644
-index 0000000..88d48b5
---- /dev/null
-+++ b/src/libreplace/__dn_skipname.c
-@@ -0,0 +1,87 @@
-+/* taken from OpenBSD source */
-+/*
-+ * ++Copyright++ 1985, 1993
-+ * -
-+ * Copyright (c) 1985, 1993
-+ * The Regents of the University of California. All rights reserved.
-+ *
-+ * Redistribution and use in source and binary forms, with or without
-+ * modification, are permitted provided that the following conditions
-+ * are met:
-+ * 1. Redistributions of source code must retain the above copyright
-+ * notice, this list of conditions and the following disclaimer.
-+ * 2. Redistributions in binary form must reproduce the above copyright
-+ * notice, this list of conditions and the following disclaimer in the
-+ * documentation and/or other materials provided with the distribution.
-+ * 3. Neither the name of the University nor the names of its contributors
-+ * may be used to endorse or promote products derived from this software
-+ * without specific prior written permission.
-+ *
-+ * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
-+ * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
-+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
-+ * ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
-+ * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
-+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
-+ * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
-+ * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
-+ * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
-+ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
-+ * SUCH DAMAGE.
-+ * -
-+ * Portions Copyright (c) 1993 by Digital Equipment Corporation.
-+ *
-+ * Permission to use, copy, modify, and distribute this software for any
-+ * purpose with or without fee is hereby granted, provided that the above
-+ * copyright notice and this permission notice appear in all copies, and that
-+ * the name of Digital Equipment Corporation not be used in advertising or
-+ * publicity pertaining to distribution of the document or software without
-+ * specific, written prior permission.
-+ *
-+ * THE SOFTWARE IS PROVIDED "AS IS" AND DIGITAL EQUIPMENT CORP. DISCLAIMS ALL
-+ * WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES
-+ * OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL DIGITAL EQUIPMENT
-+ * CORPORATION BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL
-+ * DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR
-+ * PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS
-+ * ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS
-+ * SOFTWARE.
-+ * -
-+ * --Copyright--
-+ */
-+
-+/*
-+ * Skip over a compressed domain name. Return the size or -1.
-+ */
-+#include <sys/types.h>
-+#include <resolv.h>
-+
-+int
-+__dn_skipname(const u_char *comp_dn, const u_char *eom)
-+{
-+ const u_char *cp;
-+ int n;
-+
-+ cp = comp_dn;
-+ while (cp < eom && (n = *cp++)) {
-+ /*
-+ * check for indirection
-+ */
-+ switch (n & INDIR_MASK) {
-+ case 0: /* normal case, n == len */
-+ cp += n;
-+ continue;
-+ case INDIR_MASK: /* indirection */
-+ cp++;
-+ break;
-+ default: /* illegal type */
-+ return (-1);
-+ }
-+ break;
-+ }
-+ if (cp > eom)
-+ return (-1);
-+ return (cp - comp_dn);
-+}
-+
-+
---
-2.1.0
-
---- a/src/libreplace/arpa_nameser.h
-+++ b/src/libreplace/arpa_nameser.h
-@@ -59,7 +59,10 @@
- # define __P(x) x
- #endif
-
-+#if defined(HAVE_DN_EXPAND)
-+int dn_expand __P((const u_char *, const u_char *, const u_char *, char *, int));
-+#endif
--#if defined( HAVE_ARPA_NAMESER_H ) && defined( HAVE_NS_TYPE )
-+#if !defined(HAVE_DN_EXPAND) && defined( HAVE_ARPA_NAMESER_H ) && defined( HAVE_NS_TYPE )
- #define dn_expand __dn_expand
- int dn_expand __P((const u_char *, const u_char *, const u_char *,
- char *, int));
diff --git a/mail-filter/libspf2/libspf2-1.2.11-r1.ebuild b/mail-filter/libspf2/libspf2-1.2.11-r1.ebuild
deleted file mode 100644
index b215671557ff..000000000000
--- a/mail-filter/libspf2/libspf2-1.2.11-r1.ebuild
+++ /dev/null
@@ -1,51 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit autotools
-
-GHASH=4915c308d57ff3abac9fb241f09c4bed2ab54815 # 1.2.11
-DESCRIPTION="implementation of Sender Policy Framework (SPF)"
-HOMEPAGE="https://www.libspf2.net/"
-SRC_URI="https://github.com/shevek/${PN}/archive/${GHASH}.tar.gz -> ${P}.tar.gz"
-
-LICENSE="|| ( LGPL-2.1 BSD-2 )"
-SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~sparc ~x86"
-
-PATCHES=(
- "${FILESDIR}"/${PN}-1.2.11-memset-include-string-h.patch
- "${FILESDIR}"/${PN}-1.2.11-undefined-dn_.patch
- "${FILESDIR}"/${PN}-1.2.11-musl.patch
- "${FILESDIR}"/${PN}-1.2.11-integer-underflow.patch
-)
-
-S=${WORKDIR}/${PN}-${GHASH}
-
-src_prepare() {
- default
-
- sed -i -e '/bin_PROGRAMS/s/spfquery_static//' src/spfquery/Makefile.am \
- -e '/bin_PROGRAMS/s/spftest_static//' src/spftest/Makefile.am \
- -e '/bin_PROGRAMS/s/spfd_static//' src/spfd/Makefile.am \
- -e '/bin_PROGRAMS/s/spf_example_static//' src/spf_example/Makefile.am \
- || die
-
- sed -i 's/AM_CONFIG_HEADER/AC_CONFIG_HEADERS/' configure.ac || die
-
- sed -i -e '/AX_WITH_PERL/d' configure.ac || die # bug 885055
-
- eautoreconf
-}
-
-src_configure() {
- econf --disable-static
-}
-
-src_install() {
- emake DESTDIR="${D}" install
- dodoc README TODO INSTALL
-
- find "${ED}" -name '*.la' -delete || die
-}
diff --git a/mail-filter/libspf2/libspf2-1.2.11.ebuild b/mail-filter/libspf2/libspf2-1.2.11.ebuild
deleted file mode 100644
index 3f2085c5738a..000000000000
--- a/mail-filter/libspf2/libspf2-1.2.11.ebuild
+++ /dev/null
@@ -1,50 +0,0 @@
-# Copyright 1999-2025 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit autotools
-
-GHASH=4915c308d57ff3abac9fb241f09c4bed2ab54815 # 1.2.11
-DESCRIPTION="implementation of Sender Policy Framework (SPF)"
-HOMEPAGE="https://www.libspf2.net/"
-SRC_URI="https://github.com/shevek/${PN}/archive/${GHASH}.tar.gz -> ${P}.tar.gz"
-
-LICENSE="|| ( LGPL-2.1 BSD-2 )"
-SLOT="0"
-KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ppc ppc64 ~sparc x86"
-
-PATCHES=(
- "${FILESDIR}"/${PN}-1.2.11-memset-include-string-h.patch
- "${FILESDIR}"/${PN}-1.2.11-undefined-dn_.patch
- "${FILESDIR}"/${PN}-1.2.11-musl.patch
-)
-
-S=${WORKDIR}/${PN}-${GHASH}
-
-src_prepare() {
- default
-
- sed -i -e '/bin_PROGRAMS/s/spfquery_static//' src/spfquery/Makefile.am \
- -e '/bin_PROGRAMS/s/spftest_static//' src/spftest/Makefile.am \
- -e '/bin_PROGRAMS/s/spfd_static//' src/spfd/Makefile.am \
- -e '/bin_PROGRAMS/s/spf_example_static//' src/spf_example/Makefile.am \
- || die
-
- sed -i 's/AM_CONFIG_HEADER/AC_CONFIG_HEADERS/' configure.ac || die
-
- sed -i -e '/AX_WITH_PERL/d' configure.ac || die # bug 885055
-
- eautoreconf
-}
-
-src_configure() {
- econf --disable-static
-}
-
-src_install() {
- emake DESTDIR="${D}" install
- dodoc README TODO INSTALL
-
- find "${ED}" -name '*.la' -delete || die
-}
diff --git a/mail-filter/libspf2/metadata.xml b/mail-filter/libspf2/metadata.xml
deleted file mode 100644
index 9b90a0b200cb..000000000000
--- a/mail-filter/libspf2/metadata.xml
+++ /dev/null
@@ -1,17 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
- <maintainer type="person">
- <email>grobian@gentoo.org</email>
- </maintainer>
- <longdescription>
- libspf2 implements the Sender Policy Framework, a part of the
- SPF/SRS protocol pair.
- libspf2 is a library which allows email systems such as
- Sendmail, Postfix, Exim, Zmailer and MS Exchange to
- check SPF records and make sure that the email is authorized by
- the domain name that it is coming from. This prevents email
- forgery, commonly used by spammers, scammers and email
- viruses/worms.
- </longdescription>
-</pkgmetadata>
diff --git a/mail-filter/libsrs2/Manifest b/mail-filter/libsrs2/Manifest
deleted file mode 100644
index acf029093896..000000000000
--- a/mail-filter/libsrs2/Manifest
+++ /dev/null
@@ -1 +0,0 @@
-DIST libsrs2-1.0.18.tar.gz 295748 BLAKE2B c4572ec58b474f47d34e127db7ce142ba6e715fb7f987801ae55a26628b5e2535b645b8209b6f5b106150b7999d2757e6b7bb64ee556d4b1c52df73144081626 SHA512 b9c189caa227487e90566f65430345f09a3d545fc286a3eb0c445aee3a74905c1a9248ce78b36a7cfb6a2936f6cd1efbe99ba7b8df49a613a81c6435396f5422
diff --git a/mail-filter/libsrs2/files/libsrs2-1.0.18-parallel-make.diff b/mail-filter/libsrs2/files/libsrs2-1.0.18-parallel-make.diff
deleted file mode 100644
index 9447bb2c4954..000000000000
--- a/mail-filter/libsrs2/files/libsrs2-1.0.18-parallel-make.diff
+++ /dev/null
@@ -1,12 +0,0 @@
---- a/libsrs2/Makefile.am 2004-06-10 11:33:28.000000000 +0200
-+++ b/libsrs2/Makefile.am 2009-09-29 16:08:29.000000000 +0200
-@@ -3,9 +3,6 @@
- include_HEADERS = srs2.h
- noinst_HEADERS = win32.h
-
--lib_LIBRARIES = libsrs2.a
--libsrs2_a_SOURCES = srs2.c sha1.c
--
- lib_LTLIBRARIES = libsrs2.la
- libsrs2_la_LDFLAGS = -version-info 0:0:0
- libsrs2_la_SOURCES = srs2.c sha1.c
diff --git a/mail-filter/libsrs2/libsrs2-1.0.18-r1.ebuild b/mail-filter/libsrs2/libsrs2-1.0.18-r1.ebuild
deleted file mode 100644
index 0ef4838f7bbd..000000000000
--- a/mail-filter/libsrs2/libsrs2-1.0.18-r1.ebuild
+++ /dev/null
@@ -1,40 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit autotools
-
-DESCRIPTION="libsrs2 is the next generation Sender Rewriting Scheme library"
-HOMEPAGE="https://www.libsrs2.org/"
-SRC_URI="https://www.libsrs2.org/srs/${P}.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="amd64 ppc x86"
-IUSE="static-libs"
-
-DEPEND="
- !dev-perl/Mail-SRS
- !mail-filter/libsrs_alt
-"
-RDEPEND="${DEPEND}"
-
-PATCHES=(
- "${FILESDIR}/${P}-parallel-make.diff"
-)
-
-src_prepare() {
- default
- eautoreconf
-}
-
-src_configure() {
- econf \
- $(use_enable static-libs static)
-}
-
-src_install() {
- default
- use static-libs || find "${ED}" -name '*.la' -delete
-}
diff --git a/mail-filter/libsrs2/metadata.xml b/mail-filter/libsrs2/metadata.xml
deleted file mode 100644
index 2609d95052ea..000000000000
--- a/mail-filter/libsrs2/metadata.xml
+++ /dev/null
@@ -1,14 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
-<!-- maintainer-needed -->
-<longdescription>
- libsrs2 is the next generation SRS library from the original designer of
- SRS. It implements the Sender Rewriting Scheme, a part of the SPF/SRS
- protocol pair. Libsrs2 has been written from an entirely clean codebase with
- compliance, speed and versatility in mind. It is platform independent and
- has no external dependencies. It is thread-safe and heap-safe, and is
- suitable for large scale applications and embedded systems and can operate
- without many standard system facilities.
-</longdescription>
-</pkgmetadata>
diff --git a/mail-filter/maildrop/Manifest b/mail-filter/maildrop/Manifest
deleted file mode 100644
index 4570283eaf52..000000000000
--- a/mail-filter/maildrop/Manifest
+++ /dev/null
@@ -1,3 +0,0 @@
-DIST maildrop-3.1.8.tar.bz2 2156016 BLAKE2B 640a5dc17f0cc238f8260acf8188bd625501bccda7a23e9c154fedece8ee42087106e27cafee5fbbaa7c09560d796e68548c6d2826e6fe4c9e1b330f2b971511 SHA512 0ee8e36cc5464cbbbef60721da19de7a12b9aa4737e40039c421ee14494c53f87146d50d1b8ae64186d8330121d54a62092435cadb51c3dede31658ff5104eb8
-DIST maildrop-3.2.1.tar.bz2 2392200 BLAKE2B 5f61a7ba2e2abc0b059770a9ae2111b070978a3b70301c4a6a5ca8382b664aa28e88bce03abd054542c90592a449b3dea88f8c60bef4b0a6f445039ff57d713e SHA512 3a7bdeaf1feb0b8d5c70a08ab6de4634ab4b819659c28e7c782ef00d5e61d43ce6b42176065a09e0da2ebbc68e084dd46bfa48fe1c0ac0cada3ff3adc5fd2d37
-DIST maildrop-3.3.0.tar.bz2 2444154 BLAKE2B c5f6ea208c6a302ddd1a35291fc7c64ad0537781399899ce4050afb34d1500a73e31f2bdc370bca139ac9d1e517676d02169947a51be006d3ef9e8880e839efd SHA512 f248599ead99589dc3d1455ffd1c5bb4bad647f6aa29ac230597ab9e492366b18ba65592541d39fcf9dff3fa2e3c10b143468d91450b3b7e0f2f9ba36999196f
diff --git a/mail-filter/maildrop/files/maildrop-3.1.6-test.patch b/mail-filter/maildrop/files/maildrop-3.1.6-test.patch
deleted file mode 100644
index 8b9d6d3e441c..000000000000
--- a/mail-filter/maildrop/files/maildrop-3.1.6-test.patch
+++ /dev/null
@@ -1,54 +0,0 @@
---- a/libs/maildrop/testsuite.in 2024-02-19 20:41:35.888525818 +0100
-+++ b/libs/maildrop/testsuite.in 2024-02-19 20:42:11.215101211 +0100
-@@ -131,7 +131,6 @@
- SENDMAIL='./testsuite.chk'
- to "! nobody@example.com"
- EOF
--echo "Subject: test-forward" | $VALGRIND ./maildrop testsuite.recipe
-
- rm -rf testsuite.maildir
- cat >testsuite.recipe <<EOF
-@@ -151,8 +151,6 @@
- UMASK='022'
- to "| cat >testsuite.maildir2"
- EOF
--echo "Subject: testsuite.maildir2" | $VALGRIND ./maildrop testsuite.recipe
--cat testsuite.maildir2
- rm -f testsuite.maildir2
-
- cat <<EOF >testsuite.recipe
---- a/libs/maildrop/testsuite.txt.idn 2024-02-19 20:50:55.607599959 +0100
-+++ b/libs/maildrop/testsuite.txt.idn 2024-02-19 20:51:03.904494616 +0100
-@@ -1,5 +1,3 @@
--Parameters: -f nobody@example.com
--Subject: test-forward
- Subject: msg1
-
-
-@@ -5,7 +5,6 @@
-
- -rw-------
- -rw-r--r--
--Subject: testsuite.maildir2
- Yes1
- Yes2
- Four: 4
-@@ -785,8 +785,8 @@
- VERBOSE=9
- ./testsuite.recipe(1): f="x"
- maildrop: Filtering through `echo ' '; echo Yes; echo ' '`
--./testsuite.recipe(2): f="Yes"
--./testsuite.recipe(3): g="yYeszYes"
-+./testsuite.recipe(2): f=""
-+./testsuite.recipe(3): g="yz"
- ./testsuite.recipe(4): g="\+"
- +
- ./testsuite.recipe(6): Evaluating IF condition.
-@@ -1020,6 +1020,7 @@
- ./testsuite.recipe(27): Operation on: 5 and 5 - less than, result is 0
- ./testsuite.recipe(27): While condition evaluated, result=0
- maildrop: Executing system command exit 0
-+This account is currently not available.
- alpha
- BETA
- ./testsuite.recipe(35): unset i
diff --git a/mail-filter/maildrop/files/maildrop-3.1.7-testsuite.patch b/mail-filter/maildrop/files/maildrop-3.1.7-testsuite.patch
deleted file mode 100644
index 5f6b6605ecd5..000000000000
--- a/mail-filter/maildrop/files/maildrop-3.1.7-testsuite.patch
+++ /dev/null
@@ -1,68 +0,0 @@
-Force en_US locale for certain tests.
-
---- maildrop-3.0.0/libs/maildrop/Makefile.am
-+++ maildrop-3.0.0/libs/maildrop/Makefile.am
-@@ -71,12 +71,14 @@
- maildrop.lsm testsuite.txt.idn testsuite2
-
- check-am: testsuite
-+if HAS_EN_US
- VALGRIND="`which valgrind 2>/dev/null`"; export VALGRIND; \
- @SHELL@ ./testsuite >testsuite.diff || exit 1; \
- sed '/^Message envelope sender/d' <testsuite.diff | \
- diff -U 3 - $(srcdir)/testsuite.txt.idn || exit 1; \
- rm -f testsuite.diff
- VALGRIND="`which valgrind 2>/dev/null`"; export VALGRIND; @SHELL@ $(srcdir)/testsuite2
-+endif
-
- noinst_DATA=maildrop.html maildrop.1 maildropfilter.html maildropfilter.7 \
- maildropgdbm.html maildropgdbm.7
---- maildrop-3.0.0/libs/maildrop/configure.ac
-+++ maildrop-3.0.0/libs/maildrop/configure.ac
-@@ -201,6 +201,15 @@
- AC_DEFINE_UNQUOTED(MAXLONGSIZE, $MAXLONGSIZE,
- [ Maximum character size of a long ])
-
-+dnl check for en_US locale
-+check_en_US() {
-+ locale -a | grep en_US.utf8 > /dev/null
-+ return $?
-+}
-+AC_MSG_CHECKING([for en_US.utf8])
-+AM_CONDITIONAL([HAS_EN_US], [check_en_US])
-+AM_COND_IF([HAS_EN_US],[AC_MSG_RESULT([yes])],[AC_MSG_RESULT([not found])])
-+
- dnl Checks for library functions.
-
- AC_FUNC_CLOSEDIR_VOID
---- maildrop-3.0.0/libs/rfc2045/Makefile.am
-+++ maildrop-3.0.0/libs/rfc2045/Makefile.am
-@@ -84,7 +84,10 @@
- endif
-
- check-am:
-+if HAS_EN_US
- @SHELL@ $(srcdir)/testsuite | cmp -s - $(srcdir)/$(TESTSUITE)
- @SHELL@ $(srcdir)/testsuitemm | cmp -s - $(srcdir)/testsuitemm.txt
- @SHELL@ $(srcdir)/testrfc3676parsersuite | diff -U 3 $(srcdir)/testrfc3676parsersuite.txt -
- ./testrfc6533parser
-+endif
-+
---- maildrop-3.0.0/libs/rfc2045/configure.ac
-+++ maildrop-3.0.0/libs/rfc2045/configure.ac
-@@ -62,6 +62,15 @@
- AC_CHECK_FUNC(strncasecmp,,CFLAGS="$CFLAGS -Dstrncasecmp=strnicmp")
- AC_CHECK_FUNC(strcasecmp,,CFLAGS="$CFLAGS -Dstrcasecmp=stricmp")
-
-+dnl check for en_US locale
-+check_en_US() {
-+ locale -a | grep en_US.utf8 > /dev/null
-+ return $?
-+}
-+AC_MSG_CHECKING([for en_US.utf8])
-+AM_CONDITIONAL([HAS_EN_US], [check_en_US])
-+AM_COND_IF([HAS_EN_US],[AC_MSG_RESULT([yes])],[AC_MSG_RESULT([not found])])
-+
- AC_ARG_WITH(package, [], package="$withval",
- [
- package="$PACKAGE"
diff --git a/mail-filter/maildrop/files/maildrop-3.1.7-valgrind.patch b/mail-filter/maildrop/files/maildrop-3.1.7-valgrind.patch
deleted file mode 100644
index d0056625576c..000000000000
--- a/mail-filter/maildrop/files/maildrop-3.1.7-valgrind.patch
+++ /dev/null
@@ -1,31 +0,0 @@
---- a/libs/maildrop/Makefile.am 2024-02-18 06:43:15.291095955 +0100
-+++ b/libs/maildrop/Makefile.am 2024-02-18 06:43:37.317830695 +0100
-@@ -77,7 +77,7 @@
- sed '/^Message envelope sender/d' <testsuite.diff | \
- diff -U 3 - $(srcdir)/testsuite.txt.idn || exit 1; \
- rm -f testsuite.diff
-- VALGRIND="`which valgrind 2>/dev/null`"; export VALGRIND; @SHELL@ $(srcdir)/testsuite2
-+ VALGRIND=""; export VALGRIND; @SHELL@ $(srcdir)/testsuite2
- endif
-
- noinst_DATA=maildrop.html maildrop.1 maildropfilter.html maildropfilter.7 \
---- a/libs/maildir/Makefile.am 2024-02-18 06:48:31.305134721 +0100
-+++ b/libs/maildir/Makefile.am 2024-02-18 06:49:56.223057434 +0100
-@@ -152,17 +152,11 @@
- test "@PCRE_LDFLAGS@" != "" || exit 0 ; @SHELL@ $(srcdir)/testsuite2 2>&1 | cmp - $(srcdir)/testsuite2.txt
- LC_ALL=C; export LC_ALL; ./maildirkwtest | cmp -s - $(srcdir)/maildirkwtest.txt
- LC_ALL=C; export LC_ALL; ./maildiraclttest
-- VALGRIND="`which valgrind 2>/dev/null`"; test "$$VALGRIND" != "" || exit 0; \
-- LC_ALL=C; export LC_ALL; valgrind --tool=memcheck --leak-check=yes --error-exitcode=1 ./maildiraclttest
-- VALGRIND="`which valgrind 2>/dev/null`"; test "$$VALGRIND" != "" || exit 0; \
-- LC_ALL=C; export LC_ALL; valgrind --tool=memcheck --leak-check=yes --error-exitcode=1 ./maildirkwtest
- ./testmaildirsearch iso-8859-1 needle haystack; test $$? = 2 && exit 0; exit 1
- ./testmaildirsearch iso-8859-1 nEEdle needlE
- ./testmaildirsearch iso-8859-1 "abra cadAbra" "abra cadabra"
- ./testmaildirsearch iso-8859-1 " abra cadAbra " " abra cadabra"
- ./testmaildirsearch iso-8859-1 " abra cadAbra " " abra cadabra "
-- VALGRIND="`which valgrind 2>/dev/null`"; test "$$VALGRIND" != "" || exit 0; \
-- LC_ALL=C; export LC_ALL; export VALGRIND="@SHELL@ $(srcdir)/testsuitevalgrind"; rm -f confmdtesterror; @SHELL@ $(srcdir)/testsuite 2>&1 | tee testsuite.out; test ! -f confmdtesterror
- rm -rf testsuite.out
-
- if HAVE_SGML
diff --git a/mail-filter/maildrop/files/maildrop-3.2.1-reformime.patch b/mail-filter/maildrop/files/maildrop-3.2.1-reformime.patch
deleted file mode 100644
index 6dda726207ac..000000000000
--- a/mail-filter/maildrop/files/maildrop-3.2.1-reformime.patch
+++ /dev/null
@@ -1,20 +0,0 @@
---- a/libs/rfc2045/reformime.C
-+++ b/libs/rfc2045/reformime.C
-@@ -342,14 +342,15 @@ std::string get_suitable_filename(const rfc2045::entity &message,
- filename.begin()+2); /* Skip over ./ */
- }
-
-- filename.insert(filename.begin(), pfix.begin(), pfix.end());
--
- for (char &c:filename)
- {
- unsigned char d=c;
- if (!isalnum(d) && d != '.' && d != '-' && d != '=')
- c='_';
- }
-+
-+ filename.insert(filename.begin(), pfix.begin(), pfix.end());
-+
- if (pfix.size() == 0)
- {
- std::fstream tty{"/dev/tty"};
diff --git a/mail-filter/maildrop/files/maildrop-3.2.1-testsuite.patch b/mail-filter/maildrop/files/maildrop-3.2.1-testsuite.patch
deleted file mode 100644
index 14720e44b78e..000000000000
--- a/mail-filter/maildrop/files/maildrop-3.2.1-testsuite.patch
+++ /dev/null
@@ -1,97 +0,0 @@
-Force en_US locale for certain tests.
-
---- a/libs/maildrop/Makefile.am
-+++ b/libs/maildrop/Makefile.am
-@@ -82,17 +82,22 @@
- $(MAKE) run-testsuite-mailbot-old
-
- run-testsuite: testsuite
-+if HAS_EN_US
- VALGRIND="`which valgrind 2>/dev/null`"; export VALGRIND; \
- @SHELL@ ./testsuite >testsuite.diff || exit 1; \
- sed '/^Message envelope sender/d' <testsuite.diff | \
- diff -U 3 $(srcdir)/testsuite.txt.idn - || exit 1; \
- rm -f testsuite.diff
-+endif
-
- run-testsuite2:
-+if HAS_EN_US
-- VALGRIND="`which valgrind 2>/dev/null`"; export VALGRIND; \
-+ VALGRIND=""; export VALGRIND; \
- @SHELL@ $(srcdir)/testsuite2
-+endif
-
- run-testsuite-mailbot: testsuite.mailbot
-+if HAS_EN_US
- VALGRIND="`which valgrind 2>/dev/null`"; export VALGRIND; \
- VALGRIND_EXTRA_OPTS="--leak-check=full"; \
- export VALGRIND_EXTRA_OPTS; \
-@@ -101,14 +106,17 @@
- @SHELL@ $(srcdir)/testsuite.mailbot >testsuite.diff
- diff -U 3 $(srcdir)/testsuite.mailbot.txt testsuite.diff
- rm -f mailbot.tst testsuite.diff
-+endif
-
- run-testsuite-mailbot-old: testsuite.mailbot
-+if HAS_EN_US
- VALGRIND="`which valgrind 2>/dev/null`"; export VALGRIND; \
- rm -f ./mailbot.tst; \
- ln -s mailbot-old mailbot.tst; \
- @SHELL@ $(srcdir)/testsuite.mailbot >testsuite.diff
- diff -U 3 $(srcdir)/testsuite.mailbot.txt testsuite.diff
- rm -f mailbot.tst testsuite.diff
-+endif
-
- noinst_DATA=maildrop.html maildrop.1 maildropfilter.html maildropfilter.7 \
- maildropgdbm.html maildropgdbm.7
---- maildrop-3.0.0/libs/maildrop/configure.ac
-+++ maildrop-3.0.0/libs/maildrop/configure.ac
-@@ -202,6 +202,15 @@
- AC_DEFINE_UNQUOTED(MAXLONGSIZE, $MAXLONGSIZE,
- [ Maximum character size of a long ])
-
-+dnl check for en_US locale
-+check_en_US() {
-+ locale -a | grep en_US.utf8 > /dev/null
-+ return $?
-+}
-+AC_MSG_CHECKING([for en_US.utf8])
-+AM_CONDITIONAL([HAS_EN_US], [check_en_US])
-+AM_COND_IF([HAS_EN_US],[AC_MSG_RESULT([yes])],[AC_MSG_RESULT([not found])])
-+
- dnl Checks for library functions.
-
- AC_FUNC_CLOSEDIR_VOID
---- a/libs/rfc2045/Makefile.am
-+++ b/libs/rfc2045/Makefile.am
-@@ -97,6 +97,7 @@
- endif
-
- check-am:
-+if HAS_EN_US
- @SHELL@ $(srcdir)/testsuite | diff -U 3 $(srcdir)/testsuite.txt.idn -
- @SHELL@ $(srcdir)/testsuitemm | diff -U 3 $(srcdir)/testsuitemm.txt -
- @SHELL@ $(srcdir)/testrfc3676parsersuite | diff -U 3 $(srcdir)/testrfc3676parsersuite.txt -
-@@ -107,3 +108,4 @@
- valgrind --tool=memcheck --leak-check=yes --error-exitcode=1 ./testrfc6533parser ; \
- valgrind --tool=memcheck --leak-check=yes --error-exitcode=1 ./testsuitecpp ; \
- valgrind --tool=memcheck --leak-check=yes --error-exitcode=1 ./testsuitecpp2
-+endif
---- maildrop-3.0.0/libs/rfc2045/configure.ac
-+++ maildrop-3.0.0/libs/rfc2045/configure.ac
-@@ -60,6 +60,15 @@
- dnl Checks for library functions.
- AC_CHECK_FUNCS(setlocale)
-
-+dnl check for en_US locale
-+check_en_US() {
-+ locale -a | grep en_US.utf8 > /dev/null
-+ return $?
-+}
-+AC_MSG_CHECKING([for en_US.utf8])
-+AM_CONDITIONAL([HAS_EN_US], [check_en_US])
-+AM_COND_IF([HAS_EN_US],[AC_MSG_RESULT([yes])],[AC_MSG_RESULT([not found])])
-+
- AC_ARG_WITH(package, [], package="$withval",
- [
- package="$PACKAGE"
diff --git a/mail-filter/maildrop/files/maildrop-3.2.1-valgrind.patch b/mail-filter/maildrop/files/maildrop-3.2.1-valgrind.patch
deleted file mode 100644
index dece426901bc..000000000000
--- a/mail-filter/maildrop/files/maildrop-3.2.1-valgrind.patch
+++ /dev/null
@@ -1,20 +0,0 @@
---- a/libs/maildir/Makefile.am 2024-02-18 06:48:31.305134721 +0100
-+++ b/libs/maildir/Makefile.am 2024-02-18 06:49:56.223057434 +0100
-@@ -152,17 +152,11 @@
- test "@PCRE_LDFLAGS@" != "" || exit 0 ; @SHELL@ $(srcdir)/testsuite2 2>&1 | cmp - $(srcdir)/testsuite2.txt
- LC_ALL=C; export LC_ALL; ./maildirkwtest | cmp -s - $(srcdir)/maildirkwtest.txt
- LC_ALL=C; export LC_ALL; ./maildiraclttest
-- VALGRIND="`which valgrind 2>/dev/null`"; test "$$VALGRIND" != "" || exit 0; \
-- LC_ALL=C; export LC_ALL; valgrind --tool=memcheck --leak-check=yes --error-exitcode=1 ./maildiraclttest
-- VALGRIND="`which valgrind 2>/dev/null`"; test "$$VALGRIND" != "" || exit 0; \
-- LC_ALL=C; export LC_ALL; valgrind --tool=memcheck --leak-check=yes --error-exitcode=1 ./maildirkwtest
- ./testmaildirsearch iso-8859-1 needle haystack; test $$? = 2 && exit 0; exit 1
- ./testmaildirsearch iso-8859-1 nEEdle needlE
- ./testmaildirsearch iso-8859-1 "abra cadAbra" "abra cadabra"
- ./testmaildirsearch iso-8859-1 " abra cadAbra " " abra cadabra"
- ./testmaildirsearch iso-8859-1 " abra cadAbra " " abra cadabra "
-- VALGRIND="`which valgrind 2>/dev/null`"; test "$$VALGRIND" != "" || exit 0; \
-- LC_ALL=C; export LC_ALL; export VALGRIND="@SHELL@ $(srcdir)/testsuitevalgrind"; rm -f confmdtesterror; @SHELL@ $(srcdir)/testsuite 2>&1 | tee testsuite.out; test ! -f confmdtesterror
- rm -rf testsuite.out
-
- if HAVE_SGML
diff --git a/mail-filter/maildrop/files/maildroprc b/mail-filter/maildrop/files/maildroprc
deleted file mode 100644
index 0b72d5526687..000000000000
--- a/mail-filter/maildrop/files/maildroprc
+++ /dev/null
@@ -1,3 +0,0 @@
-# Global maildrop filter file
-
-#DEFAULT="$HOME/.maildir/"
diff --git a/mail-filter/maildrop/maildrop-3.1.8-r1.ebuild b/mail-filter/maildrop/maildrop-3.1.8-r1.ebuild
deleted file mode 100644
index a501c39bdf3d..000000000000
--- a/mail-filter/maildrop/maildrop-3.1.8-r1.ebuild
+++ /dev/null
@@ -1,151 +0,0 @@
-# Copyright 1999-2026 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-inherit flag-o-matic autotools
-
-DESCRIPTION="Mail delivery agent/filter"
-[[ -z ${PV/?.?/} ]] && SRC_URI="https://downloads.sourceforge.net/courier/${P}.tar.bz2"
-[[ -z ${PV/?.?.?/} ]] && SRC_URI="https://downloads.sourceforge.net/courier/${P}.tar.bz2"
-[[ -z ${SRC_URI} ]] && SRC_URI="https://www.courier-mta.org/beta/${PN}/${P%%_pre}.tar.bz2"
-HOMEPAGE="https://www.courier-mta.org/maildrop/"
-
-S=${WORKDIR}/${P%%_pre}
-
-LICENSE="GPL-3"
-SLOT="0"
-KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ppc ppc64 ~s390 ~sparc x86"
-IUSE="berkdb debug dovecot gdbm ldap mysql postgres static-libs authlib +tools trashquota"
-
-RESTRICT="test" # No more working
-
-CDEPEND="!mail-mta/courier
- net-mail/mailbase
- dev-libs/libpcre2
- net-dns/libidn2:=
- <net-libs/courier-unicode-2.4:=
- gdbm? ( sys-libs/gdbm:= )
- mysql? ( net-libs/courier-authlib )
- postgres? ( net-libs/courier-authlib )
- ldap? ( net-libs/courier-authlib )
- authlib? ( net-libs/courier-authlib )
- !gdbm? (
- berkdb? ( sys-libs/db:= )
- )
- tools? (
- !mail-mta/netqmail
- !<net-mail/courier-imap-5.2.6
- net-mail/courier-common[gdbm?,berkdb?]
- )"
-DEPEND="${CDEPEND}"
-RDEPEND="${CDEPEND}
- dev-lang/perl
- dovecot? ( net-mail/dovecot )"
-BDEPEND="virtual/pkgconfig"
-
-REQUIRED_USE="
- mysql? ( authlib )
- postgres? ( authlib )
- ldap? ( authlib )"
-
-PATCHES=(
- "${FILESDIR}"/${PN}-3.1.7-testsuite.patch
- "${FILESDIR}"/${PN}-3.1.7-valgrind.patch
- "${FILESDIR}"/${PN}-3.1.6-test.patch
-)
-
-src_prepare() {
- # Prefer gdbm over berkdb
- if use gdbm ; then
- use berkdb && elog "Both gdbm and berkdb selected. Using gdbm."
- fi
-
- # no need to error out if no default - it will be given to econf anyway
- sed -i -e \
- 's~AC_MSG_ERROR(Cannot determine default mailbox)~SPOOLDIR="./.maildir"~' \
- "${S}"/libs/maildrop/configure.ac || die "sed failed"
-
- default
- eautoreconf
-}
-
-src_configure() {
- local myeconfargs=(
- --with-devel
- --disable-tempdir
- --enable-syslog=1
- --enable-use-flock=1
- --enable-use-dotlock=1
- --enable-restrict-trusted=1
- --enable-maildrop-uid=root
- --enable-maildrop-gid=mail
- --enable-sendmail=/usr/sbin/sendmail
- --cache-file="${S}"/configuring.cache
- $(use_enable static-libs static)
- $(use_enable dovecot dovecotauth)
- $(use_with trashquota)
- )
-
- local mytrustedusers="apache dspam root mail fetchmail"
- mytrustedusers+=" daemon postmaster qmaild mmdf vmail alias"
- myeconfargs+=( --enable-trusted-users="${mytrustedusers}" )
-
- # These flags make maildrop cry
- replace-flags -Os -O2
- filter-flags -fomit-frame-pointer
-
- if use gdbm ; then
- myeconfargs+=( --with-db=gdbm )
- elif use berkdb ; then
- myeconfargs+=( --with-db=db )
- else
- myeconfargs+=( --without-db )
- fi
-
- if ! use mysql && ! use postgres && ! use ldap && ! use authlib ; then
- myeconfargs+=( --disable-authlib )
- fi
-
- # default mailbox is $HOME/.maildir for Gentoo
- maildrop_cv_SYS_INSTALL_MBOXDIR="./.maildir" econf "${myeconfargs[@]}"
-}
-
-src_install() {
- default
-
- if use authlib ; then
- fperms 4755 /usr/bin/maildrop
- fi
-
- # Moved to courier-common
- rm "${D}"/usr/bin/deliverquota || die
- rm "${D}"/usr/bin/maildirkw || die
- if use gdbm; then
- rm "${D}"/usr/bin/makedat || die
- rm "${D}"/usr/bin/makedatprog || die
- fi
- rm "${D}"/usr/share/man/man1/maildirkw.1 || die
- rm "${D}"/usr/share/man/man1/makedat.1 || die
- rm "${D}"/usr/share/man/man8/deliverquota.8 || die
-
- dodoc AUTHORS ChangeLog INSTALL NEWS README \
- README.postfix README.dovecotauth UPGRADE \
- maildroptips.txt
- docinto maildir
- dodoc libs/maildir/AUTHORS libs/maildir/INSTALL \
- libs/maildir/README*.txt libs/maildir/*.html
-
- # bugs 61116, 639124
- if ! use tools ; then
- for tool in "maildirmake" "maildirwatch"; do
- rm "${D}/usr/bin/${tool}" || die
- rm "${D}/usr/share/man/man"[0-9]"/${tool}."[0-9] || die
- done
- rm "${D}/usr/share/man/man5/maildir.5" || die
- fi
-
- insinto /etc
- doins "${FILESDIR}"/maildroprc
-
- use static-libs || find "${D}"/usr/lib* -name '*.la' -delete
-}
diff --git a/mail-filter/maildrop/maildrop-3.2.1-r1.ebuild b/mail-filter/maildrop/maildrop-3.2.1-r1.ebuild
deleted file mode 100644
index 77afc9d266b0..000000000000
--- a/mail-filter/maildrop/maildrop-3.2.1-r1.ebuild
+++ /dev/null
@@ -1,152 +0,0 @@
-# Copyright 1999-2025 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-inherit flag-o-matic autotools
-
-DESCRIPTION="Mail delivery agent/filter"
-[[ -z ${PV/?.?/} ]] && SRC_URI="https://downloads.sourceforge.net/courier/${P}.tar.bz2"
-[[ -z ${PV/?.?.?/} ]] && SRC_URI="https://downloads.sourceforge.net/courier/${P}.tar.bz2"
-[[ -z ${SRC_URI} ]] && SRC_URI="https://www.courier-mta.org/beta/${PN}/${P%%_pre}.tar.bz2"
-HOMEPAGE="https://www.courier-mta.org/maildrop/"
-
-S=${WORKDIR}/${P%%_pre}
-
-LICENSE="GPL-3"
-SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~s390 ~sparc ~x86"
-IUSE="berkdb debug dovecot gdbm ldap mysql postgres static-libs authlib +tools trashquota"
-
-RESTRICT="test" # No more working
-
-CDEPEND="!mail-mta/courier
- net-mail/mailbase
- dev-libs/libpcre2
- net-dns/libidn2:=
- >=net-libs/courier-unicode-2.4.0:=
- gdbm? ( sys-libs/gdbm:= )
- mysql? ( net-libs/courier-authlib )
- postgres? ( net-libs/courier-authlib )
- ldap? ( net-libs/courier-authlib )
- authlib? ( net-libs/courier-authlib )
- !gdbm? (
- berkdb? ( sys-libs/db:= )
- )
- tools? (
- !mail-mta/netqmail
- !<net-mail/courier-imap-5.2.6
- net-mail/courier-common[gdbm?,berkdb?]
- )"
-DEPEND="${CDEPEND}"
-RDEPEND="${CDEPEND}
- dev-lang/perl
- dovecot? ( net-mail/dovecot )"
-BDEPEND="virtual/pkgconfig"
-
-REQUIRED_USE="
- mysql? ( authlib )
- postgres? ( authlib )
- ldap? ( authlib )"
-
-PATCHES=(
- "${FILESDIR}"/${P}-reformime.patch
- "${FILESDIR}"/${P}-testsuite.patch
- "${FILESDIR}"/${P}-valgrind.patch
- "${FILESDIR}"/${PN}-3.1.6-test.patch
-)
-
-src_prepare() {
- # Prefer gdbm over berkdb
- if use gdbm ; then
- use berkdb && elog "Both gdbm and berkdb selected. Using gdbm."
- fi
-
- # no need to error out if no default - it will be given to econf anyway
- sed -i -e \
- 's~AC_MSG_ERROR(Cannot determine default mailbox)~SPOOLDIR="./.maildir"~' \
- "${S}"/libs/maildrop/configure.ac || die "sed failed"
-
- default
- eautoreconf
-}
-
-src_configure() {
- local myeconfargs=(
- --with-devel
- --disable-tempdir
- --enable-syslog=1
- --enable-use-flock=1
- --enable-use-dotlock=1
- --enable-restrict-trusted=1
- --enable-maildrop-uid=root
- --enable-maildrop-gid=mail
- --enable-sendmail=/usr/sbin/sendmail
- --cache-file="${S}"/configuring.cache
- $(use_enable static-libs static)
- $(use_enable dovecot dovecotauth)
- $(use_with trashquota)
- )
-
- local mytrustedusers="apache dspam root mail fetchmail"
- mytrustedusers+=" daemon postmaster qmaild mmdf vmail alias"
- myeconfargs+=( --enable-trusted-users="${mytrustedusers}" )
-
- # These flags make maildrop cry
- replace-flags -Os -O2
- filter-flags -fomit-frame-pointer
-
- if use gdbm ; then
- myeconfargs+=( --with-db=gdbm )
- elif use berkdb ; then
- myeconfargs+=( --with-db=db )
- else
- myeconfargs+=( --without-db )
- fi
-
- if ! use mysql && ! use postgres && ! use ldap && ! use authlib ; then
- myeconfargs+=( --disable-authlib )
- fi
-
- # default mailbox is $HOME/.maildir for Gentoo
- maildrop_cv_SYS_INSTALL_MBOXDIR="./.maildir" econf "${myeconfargs[@]}"
-}
-
-src_install() {
- default
-
- if use authlib ; then
- fperms 4755 /usr/bin/maildrop
- fi
-
- # Moved to courier-common
- rm "${D}"/usr/bin/deliverquota || die
- rm "${D}"/usr/bin/maildirkw || die
- if use gdbm; then
- rm "${D}"/usr/bin/makedat || die
- rm "${D}"/usr/bin/makedatprog || die
- fi
- rm "${D}"/usr/share/man/man1/maildirkw.1 || die
- rm "${D}"/usr/share/man/man1/makedat.1 || die
- rm "${D}"/usr/share/man/man8/deliverquota.8 || die
-
- dodoc AUTHORS ChangeLog INSTALL NEWS README \
- README.postfix README.dovecotauth UPGRADE \
- maildroptips.txt
- docinto maildir
- dodoc libs/maildir/AUTHORS libs/maildir/INSTALL \
- libs/maildir/README*.txt libs/maildir/*.html
-
- # bugs 61116, 639124
- if ! use tools ; then
- for tool in "maildirmake" "maildirwatch"; do
- rm "${D}/usr/bin/${tool}" || die
- rm "${D}/usr/share/man/man"[0-9]"/${tool}."[0-9] || die
- done
- rm "${D}/usr/share/man/man5/maildir.5" || die
- fi
-
- insinto /etc
- doins "${FILESDIR}"/maildroprc
-
- use static-libs || find "${D}"/usr/lib* -name '*.la' -delete
-}
diff --git a/mail-filter/maildrop/maildrop-3.3.0.ebuild b/mail-filter/maildrop/maildrop-3.3.0.ebuild
deleted file mode 100644
index 009c346334da..000000000000
--- a/mail-filter/maildrop/maildrop-3.3.0.ebuild
+++ /dev/null
@@ -1,151 +0,0 @@
-# Copyright 1999-2026 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-inherit flag-o-matic autotools
-
-DESCRIPTION="Mail delivery agent/filter"
-[[ -z ${PV/?.?/} ]] && SRC_URI="https://downloads.sourceforge.net/courier/${P}.tar.bz2"
-[[ -z ${PV/?.?.?/} ]] && SRC_URI="https://downloads.sourceforge.net/courier/${P}.tar.bz2"
-[[ -z ${SRC_URI} ]] && SRC_URI="https://www.courier-mta.org/beta/${PN}/${P%%_pre}.tar.bz2"
-HOMEPAGE="https://www.courier-mta.org/maildrop/"
-
-S=${WORKDIR}/${P%%_pre}
-
-LICENSE="GPL-3"
-SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~s390 ~sparc ~x86"
-IUSE="berkdb debug dovecot gdbm ldap mysql postgres static-libs authlib +tools trashquota"
-
-RESTRICT="test" # No more working
-
-CDEPEND="!mail-mta/courier
- net-mail/mailbase
- dev-libs/libpcre2
- net-dns/libidn2:=
- >=net-libs/courier-unicode-2.4.0:=
- gdbm? ( sys-libs/gdbm:= )
- mysql? ( net-libs/courier-authlib )
- postgres? ( net-libs/courier-authlib )
- ldap? ( net-libs/courier-authlib )
- authlib? ( net-libs/courier-authlib )
- !gdbm? (
- berkdb? ( sys-libs/db:= )
- )
- tools? (
- !mail-mta/netqmail
- !<net-mail/courier-imap-5.2.6
- net-mail/courier-common[gdbm?,berkdb?]
- )"
-DEPEND="${CDEPEND}"
-RDEPEND="${CDEPEND}
- dev-lang/perl
- dovecot? ( net-mail/dovecot )"
-BDEPEND="virtual/pkgconfig"
-
-REQUIRED_USE="
- mysql? ( authlib )
- postgres? ( authlib )
- ldap? ( authlib )"
-
-PATCHES=(
- "${FILESDIR}"/${PN}-3.2.1-testsuite.patch
- "${FILESDIR}"/${PN}-3.2.1-valgrind.patch
- "${FILESDIR}"/${PN}-3.1.6-test.patch
-)
-
-src_prepare() {
- # Prefer gdbm over berkdb
- if use gdbm ; then
- use berkdb && elog "Both gdbm and berkdb selected. Using gdbm."
- fi
-
- # no need to error out if no default - it will be given to econf anyway
- sed -i -e \
- 's~AC_MSG_ERROR(Cannot determine default mailbox)~SPOOLDIR="./.maildir"~' \
- "${S}"/libs/maildrop/configure.ac || die "sed failed"
-
- default
- eautoreconf
-}
-
-src_configure() {
- local myeconfargs=(
- --with-devel
- --disable-tempdir
- --enable-syslog=1
- --enable-use-flock=1
- --enable-use-dotlock=1
- --enable-restrict-trusted=1
- --enable-maildrop-uid=root
- --enable-maildrop-gid=mail
- --enable-sendmail=/usr/sbin/sendmail
- --cache-file="${S}"/configuring.cache
- $(use_enable static-libs static)
- $(use_enable dovecot dovecotauth)
- $(use_with trashquota)
- )
-
- local mytrustedusers="apache dspam root mail fetchmail"
- mytrustedusers+=" daemon postmaster qmaild mmdf vmail alias"
- myeconfargs+=( --enable-trusted-users="${mytrustedusers}" )
-
- # These flags make maildrop cry
- replace-flags -Os -O2
- filter-flags -fomit-frame-pointer
-
- if use gdbm ; then
- myeconfargs+=( --with-db=gdbm )
- elif use berkdb ; then
- myeconfargs+=( --with-db=db )
- else
- myeconfargs+=( --without-db )
- fi
-
- if ! use mysql && ! use postgres && ! use ldap && ! use authlib ; then
- myeconfargs+=( --disable-authlib )
- fi
-
- # default mailbox is $HOME/.maildir for Gentoo
- maildrop_cv_SYS_INSTALL_MBOXDIR="./.maildir" econf "${myeconfargs[@]}"
-}
-
-src_install() {
- default
-
- if use authlib ; then
- fperms 4755 /usr/bin/maildrop
- fi
-
- # Moved to courier-common
- rm "${D}"/usr/bin/deliverquota || die
- rm "${D}"/usr/bin/maildirkw || die
- if use gdbm; then
- rm "${D}"/usr/bin/makedat || die
- rm "${D}"/usr/bin/makedatprog || die
- fi
- rm "${D}"/usr/share/man/man1/maildirkw.1 || die
- rm "${D}"/usr/share/man/man1/makedat.1 || die
- rm "${D}"/usr/share/man/man8/deliverquota.8 || die
-
- dodoc AUTHORS ChangeLog INSTALL NEWS README \
- README.postfix README.dovecotauth UPGRADE \
- maildroptips.txt
- docinto maildir
- dodoc libs/maildir/AUTHORS libs/maildir/INSTALL \
- libs/maildir/README*.txt libs/maildir/*.html
-
- # bugs 61116, 639124
- if ! use tools ; then
- for tool in "maildirmake" "maildirwatch"; do
- rm "${D}/usr/bin/${tool}" || die
- rm "${D}/usr/share/man/man"[0-9]"/${tool}."[0-9] || die
- done
- rm "${D}/usr/share/man/man5/maildir.5" || die
- fi
-
- insinto /etc
- doins "${FILESDIR}"/maildroprc
-
- use static-libs || find "${D}"/usr/lib* -name '*.la' -delete
-}
diff --git a/mail-filter/maildrop/metadata.xml b/mail-filter/maildrop/metadata.xml
deleted file mode 100644
index 9e9b118b676d..000000000000
--- a/mail-filter/maildrop/metadata.xml
+++ /dev/null
@@ -1,17 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
- <maintainer type="person">
- <email>tupone@gentoo.org</email>
- <name>Tupone Alfredo</name>
- </maintainer>
- <use>
- <flag name="authlib">Add courier-authlib support</flag>
- <flag name="dovecot">Add dovecot authentication support</flag>
- <flag name="tools">Install maildirmake and deliverquota tools</flag>
- <flag name="trashquota">Count deleted messages as part of the maildir quota</flag>
- </use>
- <upstream>
- <remote-id type="sourceforge">courier</remote-id>
- </upstream>
-</pkgmetadata>
diff --git a/mail-filter/mailfilter/Manifest b/mail-filter/mailfilter/Manifest
deleted file mode 100644
index 21747ed3a6a5..000000000000
--- a/mail-filter/mailfilter/Manifest
+++ /dev/null
@@ -1,2 +0,0 @@
-DIST mailfilter-0.8.8.tar.gz 146199 BLAKE2B 6a7724162a7ba74ecc94cde01481e005a753242b35b99e746531b699f51e06ccf0d8fbe7937207cbc3ec4ee3e8672adbd7214c399deb0091d0a8476797a69d9c SHA512 64a768326ec04f34689a34efa359254cd5fac5decde093a8e9e94ef359063c0b2215e5818a35a38357211ef540b43a9f55a86c069927b206b4577bf6b49450e9
-DIST mailfilter-0.8.9.tar.gz 146416 BLAKE2B d17a84f7ffb2ff1d7bfd1cbb39cf061fa2491908bc5c4c2b2380982d6dd0ee33004b85b1ed809c1f7492db2442aeaee3d60d90780eb6a839d7705459e8f57550 SHA512 f88f446376266a94f1660bcd505f2c255d0124837460179891ce95546d66c5268fead1f875185c9e4f7297f8466047a2b739fb833494bd503e2c641700617597
diff --git a/mail-filter/mailfilter/files/rcfile.example1 b/mail-filter/mailfilter/files/rcfile.example1
deleted file mode 100644
index 85d3a519cf02..000000000000
--- a/mail-filter/mailfilter/files/rcfile.example1
+++ /dev/null
@@ -1,127 +0,0 @@
-# -----------------------------------------------------------
-# Example rcfile from the INSTALL document
-# -----------------------------------------------------------
-
-
-# -----------------------------------------------------------
-# Logile path (be sure you have write permission in this
-# directory; you MUST specify a logfile)
-
-LOGFILE = "$HOME/logs/mailfilter.log"
-
-
-# -----------------------------------------------------------
-# Level of verbosity
-#
-# 0 Silent, show nothing at all
-# 1 Only show errors
-# 2 Only show "Deleted..." messages and errors
-# 3 Default; Show "Deleted..." messages, errors
-# and "Examining..." messages
-# 4 Like (3), except this also shows the current
-# account's username
-# 5 Like (4), except this also shows which filter
-# matched which string of an e-mail header
-# 6 Debugging mode; prints almost everything
-
-VERBOSE = 3
-
-
-# -----------------------------------------------------------
-# Server list (Do not change the order of the fields!!)
-# Note: Port 110 is usually the port APOP and POP3 servers use,
-# port 995 is required if (say) POP3/SSL is specified.
-
-SERVER = "pop.server.com"
-USER = "username"
-PASS = "password"
-PROTOCOL = "pop3"
-PORT = 110
-
-SERVER = "pop.secondserver.com"
-USER = "anotherusername"
-PASS = "anotherusername"
-PROTOCOL = "pop3/ssl"
-PORT = 995
-
-
-# -----------------------------------------------------------
-# Do you want case sensitive e-mail filters? { yes | no }
-
-REG_CASE = "no"
-
-
-# -----------------------------------------------------------
-# Sets the type of Regular Expression used { extended | basic }
-#
-# (The default is 'basic', don't change unless you know what you
-# are doing. Extended REs are more complex to set up.)
-
-REG_TYPE = "basic"
-
-
-# -----------------------------------------------------------
-# Maximum e-mail size in bytes that should not be exceeded.
-
-MAXSIZE_DENY = 1000000
-
-
-# -----------------------------------------------------------
-# Set maximum line length of any field in the message header
-
-MAXLENGTH = 998
-
-
-# ----------------------------------------------------------
-# Filter rules for detecting spam (each rule must be placed
-# in a separate line)
-
-# These filters detect certain unpleasant e-mail subjects:
-DENY = "^Subject:.*Get penis enlargement"
-DENY = "^Subject:.*WIN MONEY"
-
-# This one filters mail from a certain person:
-DENY = "^From:.*spammer@any_spam_organisation\.com"
-
-# This one filters mail from everyone at a certain organisation:
-DENY = "^From:.*@any_provider_that_spams\.org"
-
-# We don't want any of those 'LEGAL' messages either
-# while stuff with 'legal' in the subject still interests us:
-DENY_CASE = "^Subject:.*LEGAL"
-
-
-# -----------------------------------------------------------
-# Normalises the subject strings before parsing, e.g.
-# ',L.E-G,A.L; ,C.A-B`L`E, +.B-O`X` ;D`E`S,C;R,A.MB;L,E.R-]'
-# becomes 'LEGAL CABLE BOX DESCRAMBLER' which can be filtered.
-#
-# If NORMAL is switched on, Mailfilter tries to apply filters
-# to both the normalised and the original subject.
-
-NORMAL = "yes"
-
-
-# -----------------------------------------------------------
-# The maximum e-mail size in bytes that messages from friends
-# should not exceed. Set this to 0 if all your friends (ALLOW)
-# can send messages as long as they want.
-
-MAXSIZE_ALLOW = 0
-
-
-# ----------------------------------------------------------
-# Set list of friends that always pass, if they do not
-# exceed the message length of MAXSIZE_ALLOW
-
-# This rule allows all mail from a friend who was unlucky enough
-# to have signed up with a spam organisation. With DENY we
-# block everyone else from that domain though! See above!
-ALLOW = "^From:.*a_friend_with_account@any_provider_that_spams.org"
-
-# Of course we allow e-mail from anyone who has something to say about
-# mailfilter:
-ALLOW = "^Subject:.*mailfilter"
-
-# We also let our girlfriend send any e-mail she wants:
-ALLOW = "^From:.*my_girlfriend@any_provider\.com"
diff --git a/mail-filter/mailfilter/files/rcfile.example2 b/mail-filter/mailfilter/files/rcfile.example2
deleted file mode 100644
index d4fab0f01a4c..000000000000
--- a/mail-filter/mailfilter/files/rcfile.example2
+++ /dev/null
@@ -1,133 +0,0 @@
-# -----------------------------------------------------------
-# Example rcfile from the INSTALL document
-# Example configuration based upon the INSTALL document, but
-# showing some advanced features such as 'Negative Filters',
-# extended Regular Expressions, etc.
-# -----------------------------------------------------------
-
-
-# -----------------------------------------------------------
-# Logile path (be sure you have write permission in this
-# directory; you MUST specify a logfile)
-
-LOGFILE = "$HOME/logs/mailfilter.log"
-
-
-# -----------------------------------------------------------
-# Level of verbosity
-#
-# 0 Silent, show nothing at all
-# 1 Only show errors
-# 2 Only show "Deleted..." messages and errors
-# 3 Default; Show "Deleted..." messages, errors
-# and "Examining..." messages
-# 4 Like (3), except this also shows the current
-# account's username
-# 5 Like (4), except this also shows which filter
-# matched which string of an e-mail header
-# 6 Debugging mode; prints almost everything
-
-VERBOSE = 4
-
-
-# -----------------------------------------------------------
-# Server list (Do not change the order of the fields!!)
-# Note: Port 110 is usually the port APOP and POP3 servers use,
-# port 995 is required if (say) POP3/SSL is specified.
-
-SERVER = "pop.server.com"
-USER = "username"
-PASS = "password"
-PROTOCOL = "pop3"
-PORT = 110
-
-SERVER = "pop.secondserver.com"
-USER = "anotherusername"
-PASS = "anotherusername"
-PROTOCOL = "pop3/ssl"
-PORT = 995
-
-
-# -----------------------------------------------------------
-# Do you want case sensitive e-mail filters? { yes | no }
-
-REG_CASE = "no"
-
-
-# -----------------------------------------------------------
-# Sets the type of Regular Expression used { extended | basic }
-#
-# (The default is 'basic', don't change unless you know what you
-# are doing. Extended REs are more complex to set up.)
-
-# We want some additional smartness in our rules. That's why only
-# extended Regular Expressions work for this sample set-up.
-REG_TYPE = "extended"
-
-
-# -----------------------------------------------------------
-# Maximum e-mail size in bytes that should not be exceeded.
-
-# Accept only 250 KBytes message size. Friends can send more though.
-# (See MAXSIZE_ALLOW for further information.)
-MAXSIZE_DENY = 250000
-
-
-# -----------------------------------------------------------
-# Set maximum line length of any field in the message header
-
-MAXLENGTH = 998
-
-
-# This one filters mail from a certain person.
-# (We need the back slash before the '.com' since we are using
-# extended Regular Expressions.)
-DENY="^From:.*spammer@any_spam_organisation\.com"
-
-# This one filters mail from everyone at a certain organisation:
-DENY = "^From:.*@any_provider_that_spams\.org"
-
-# We don't want any of those 'LEGAL' messages either
-# while stuff with 'legal' in the subject still interests us:
-DENY_CASE = "^Subject:.*LEGAL"
-
-# This one demonstrates the use of 'Negative Filters' and the
-# logical OR '|' in Regular Expressions.
-# (Again, the example works only with extended Regular Expressions.)
-# Kill everything not directly addressed to own account:
-DENY<>"(^To|^Cc):(.*username@server\.com|.*anotherusername@secondserver\.com)"
-
-# -----------------------------------------------------------
-# Normalises the subject strings before parsing, e.g.
-# ',L.E-G,A.L; ,C.A-B`L`E, +.B-O`X` ;D`E`S,C;R,A.MB;L,E.R-]'
-# becomes 'LEGAL CABLE BOX DESCRAMBLER' which can be filtered.
-#
-# If NORMAL is switched on, Mailfilter tries to apply filters
-# to both the normalised and the original subject.
-
-NORMAL = "yes"
-
-
-# -----------------------------------------------------------
-# The maximum e-mail size in bytes that messages from friends
-# should not exceed. Set this to 0 if all your friends (ALLOW)
-# can send messages as long as they want.
-
-MAXSIZE_ALLOW = 0
-
-
-# ----------------------------------------------------------
-# Set list of friends that always pass, if they do not
-# exceed the message length of MAXSIZE_ALLOW
-
-# This rule allows all mail from a friend who was unlucky enough
-# to have signed up with a spam organisation. With DENY we
-# block everyone else from that domain though! See above!
-ALLOW = "^From:.*a_friend_with_account@any_provider_that_spams\.org"
-
-# Of course we allow e-mail from anyone who has something to say about
-# mailfilter:
-ALLOW = "^Subject:.*mailfilter"
-
-# We also let our girlfriend send any e-mail she wants:
-ALLOW = "^From:.*my_girlfriend@any_provider\.com"
diff --git a/mail-filter/mailfilter/mailfilter-0.8.8.ebuild b/mail-filter/mailfilter/mailfilter-0.8.8.ebuild
deleted file mode 100644
index ae699981b1bd..000000000000
--- a/mail-filter/mailfilter/mailfilter-0.8.8.ebuild
+++ /dev/null
@@ -1,34 +0,0 @@
-# Copyright 2021-2022 Liguros Authors
-# Distributed under the terms of the GNU General Public License v2
-EAPI=8
-
-DESCRIPTION="Mailfilter is a utility to get rid of unwanted spam mails"
-HOMEPAGE="https://sourceforge.net/projects/mailfilter/"
-SRC_URI="https://github.com/nondeterministic/${PN}/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="amd64 ppc sparc x86"
-IUSE=" +ssl"
-
-DEPEND="sys-devel/flex
- ssl? (
-
- dev-libs/openssl:0=
-)"
-
-RDEPEND=""
-
-src_prepare() {
- ${S}/autogen.sh
- default
-}
-
-src_configure() {
- econf $(use_with ssl openssl)
-}
-
-src_install() {
- default
- dodoc INSTALL doc/FAQ "${FILESDIR}"/rcfile.example{1,2}
-}
diff --git a/mail-filter/mailfilter/mailfilter-0.8.9.ebuild b/mail-filter/mailfilter/mailfilter-0.8.9.ebuild
deleted file mode 100644
index ae699981b1bd..000000000000
--- a/mail-filter/mailfilter/mailfilter-0.8.9.ebuild
+++ /dev/null
@@ -1,34 +0,0 @@
-# Copyright 2021-2022 Liguros Authors
-# Distributed under the terms of the GNU General Public License v2
-EAPI=8
-
-DESCRIPTION="Mailfilter is a utility to get rid of unwanted spam mails"
-HOMEPAGE="https://sourceforge.net/projects/mailfilter/"
-SRC_URI="https://github.com/nondeterministic/${PN}/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="amd64 ppc sparc x86"
-IUSE=" +ssl"
-
-DEPEND="sys-devel/flex
- ssl? (
-
- dev-libs/openssl:0=
-)"
-
-RDEPEND=""
-
-src_prepare() {
- ${S}/autogen.sh
- default
-}
-
-src_configure() {
- econf $(use_with ssl openssl)
-}
-
-src_install() {
- default
- dodoc INSTALL doc/FAQ "${FILESDIR}"/rcfile.example{1,2}
-}
diff --git a/mail-filter/mailfilter/metadata.xml b/mail-filter/mailfilter/metadata.xml
deleted file mode 100644
index 36acccda7221..000000000000
--- a/mail-filter/mailfilter/metadata.xml
+++ /dev/null
@@ -1,10 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "https://liguros.gitlab.io/dtd/metadata.dtd">
-<pkgmetadata>
- <maintainer type="project">
- <email>dev@liguros.net</email>
- <name>Development</name>
- </maintainer>
-
- <origin>ports</origin>
-</pkgmetadata> \ No newline at end of file
diff --git a/mail-filter/mapson/Manifest b/mail-filter/mapson/Manifest
deleted file mode 100644
index b2e1eed7cafb..000000000000
--- a/mail-filter/mapson/Manifest
+++ /dev/null
@@ -1 +0,0 @@
-DIST mapson-3.3.1.tar.gz 553101 BLAKE2B 5100029e4b650b63cf868de48d9c709ac9fa8dcf773adb9ab70061756604116d69a20421d96ca769e19047efbe806cfc63432269cc83133f7f7f54f71b627d45 SHA512 07ecfdd2f9857a8b3818d065e4c342fda5089b77074ea153f9a380fe655716a214ff06f79eebe768b2470724e11a6ee819c1e457a47670c07537d6fd226dc1db
diff --git a/mail-filter/mapson/files/mapson-3.3-respect-AR.patch b/mail-filter/mapson/files/mapson-3.3-respect-AR.patch
deleted file mode 100644
index 7a5ecaae5d3f..000000000000
--- a/mail-filter/mapson/files/mapson-3.3-respect-AR.patch
+++ /dev/null
@@ -1,12 +0,0 @@
-diff --git a/configure.ac b/configure.ac
-index 8dc1878..3967624 100644
---- a/configure.ac
-+++ b/configure.ac
-@@ -25,6 +25,7 @@ AM_PROG_CC_C_O
- AC_PROG_CXX
- AC_PROG_RANLIB
- gl_INIT
-+AM_PROG_AR
-
- dnl Does the system have a working <getopt.h> include and
- dnl getopt_long() function?
diff --git a/mail-filter/mapson/mapson-3.3.1.ebuild b/mail-filter/mapson/mapson-3.3.1.ebuild
deleted file mode 100644
index 2dff71fa38e7..000000000000
--- a/mail-filter/mapson/mapson-3.3.1.ebuild
+++ /dev/null
@@ -1,53 +0,0 @@
-# Copyright 1999-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit autotools
-
-DESCRIPTION="A challenge/response-based white-list spam filter"
-HOMEPAGE="http://mapson.sourceforge.net/"
-SRC_URI="https://downloads.sourceforge.net/mapson/${P}.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="amd64 ppc x86"
-IUSE="debug"
-
-RDEPEND="
- acct-user/mail
- virtual/mta
-"
-DEPEND="${RDEPEND}"
-
-PATCHES=(
- "${FILESDIR}"/${PN}-3.3-respect-AR.patch
-)
-
-src_prepare() {
- default
- eautoreconf
-}
-
-src_configure() {
- econf $(use_with debug)
-}
-
-src_install() {
- emake DESTDIR="${ED}" install
-
- dodoc AUTHORS INSTALL NEWS README
- doman doc/mapson.1
-
- docinto html
- dodoc doc/mapson.html
-
- insinto /etc/mapson
- newins sample-config mapson.config
-
- insinto /usr/share/mapson
- newins sample-challenge-template challenge-template
-
- rm -f "${ED}"/etc/sample-config || die
- rm -f "${ED}"/usr/share/{mapson.html,sample-challenge-template} || die
-}
diff --git a/mail-filter/mapson/metadata.xml b/mail-filter/mapson/metadata.xml
deleted file mode 100644
index f9c6f8d56d4e..000000000000
--- a/mail-filter/mapson/metadata.xml
+++ /dev/null
@@ -1,8 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
- <!-- maintainer-needed -->
- <upstream>
- <remote-id type="sourceforge">mapson</remote-id>
- </upstream>
-</pkgmetadata>
diff --git a/mail-filter/metadata.xml b/mail-filter/metadata.xml
deleted file mode 100644
index 5797bf844071..000000000000
--- a/mail-filter/metadata.xml
+++ /dev/null
@@ -1,40 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE catmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
-<catmetadata>
- <longdescription lang="en">
- The mail-filter category contains email filtering software.
- </longdescription>
- <longdescription lang="de">
- Die Kategorie mail-filter enthält Programme zur Filterung von
- Emails.
- </longdescription>
- <longdescription lang="es">
- La categoría mail-filter contiene programas para filtrar correo
- electrónico.
- </longdescription>
- <longdescription lang="ja">
- mail-filter カテゴリーにはメールフィルタリング・ソフトウェアが
- 含まれています。
- </longdescription>
- <longdescription lang="nl">
- De mail-filter categorie bevat filtersoftware voor e-mail.
- </longdescription>
- <longdescription lang="sk">
- Kategória mail-filter obsahuje nástroje na filtrovanie elektronických
- správ.
- </longdescription>
- <longdescription lang="vi">
- Nhóm mail-filter chứa các phần mềm lọc email.
- </longdescription>
- <longdescription lang="it">
- La categoria mail-filter contiene programmi per il filtraggio della
- posta elettronica.
- </longdescription>
- <longdescription lang="pt">
- A categoria mail-filter contém programas para a filtragem do
- correio eletrônico.
- </longdescription>
- <longdescription lang="pl">
- Kategoria mail-filter zawiera oprogramowanie służące do filtrowania poczty.
- </longdescription>
-</catmetadata>
diff --git a/mail-filter/milter-regex/Manifest b/mail-filter/milter-regex/Manifest
deleted file mode 100644
index 974737811f16..000000000000
--- a/mail-filter/milter-regex/Manifest
+++ /dev/null
@@ -1 +0,0 @@
-DIST milter-regex-2.7.tar.gz 20579 BLAKE2B e48c5747537d439372d8f473d9b39e337501c24b46d52e13f727b32ee29bb58f266e45ecabad01937f5e56a4a773659daf34d12c6728b6700679b04a2cb595d0 SHA512 d698a7c35768846bcc87a31167cf9a5c41c99d8fa3f3cb5c231e100a7e149d9bca6fc689ece805bd80688787b6d3fa0d9ace49592e1d6c53a25fc2086ebf9962
diff --git a/mail-filter/milter-regex/files/milter-regex-2.6-gentoo.patch b/mail-filter/milter-regex/files/milter-regex-2.6-gentoo.patch
deleted file mode 100644
index 14efd964f843..000000000000
--- a/mail-filter/milter-regex/files/milter-regex-2.6-gentoo.patch
+++ /dev/null
@@ -1,38 +0,0 @@
---- a/Makefile.linux 2011-07-16 16:51:34.000000000 +0300
-+++ a/Makefile.linux 2012-08-05 18:15:30.906378968 +0300
-@@ -6,28 +6,27 @@
- # see milter-regex.init for an init script for RedHat/Fedora
- # (contributed by admin@2ka.mipt.ru)
-
--CFLAGS= -g
--LDFLAGS= -L/usr/lib/libmilter -lmilter -lpthread
-+LIBS= -lmilter -lpthread
-
- all: milter-regex milter-regex.cat8
-
- milter-regex: milter-regex.o eval.o strlcat.o strlcpy.o y.tab.o
-- gcc -o milter-regex milter-regex.o eval.o strlcat.o strlcpy.o y.tab.o $(LDFLAGS)
-+ $(CC) $(LDFLAGS) -o milter-regex milter-regex.o eval.o strlcat.o strlcpy.o y.tab.o $(LIBS)
-
- milter-regex.o: milter-regex.c eval.h
-- gcc $(CFLAGS) -c milter-regex.c
-+ $(CC) $(CFLAGS) -c milter-regex.c
-
- eval.o: eval.c eval.h
-- gcc $(CFLAGS) -c eval.c
-+ $(CC) $(CFLAGS) -c eval.c
-
- strlcat.o: strlcat.c
-- gcc $(CFLAGS) -c strlcat.c
-+ $(CC) $(CFLAGS) -c strlcat.c
-
- strlcpy.o: strlcpy.c
-- gcc $(CFLAGS) -c strlcpy.c
-+ $(CC) $(CFLAGS) -c strlcpy.c
-
- y.tab.o: y.tab.c
-- gcc $(CFLAGS) -c y.tab.c
-+ $(CC) $(CFLAGS) -c y.tab.c
-
- y.tab.c: parse.y
- yacc -d parse.y
diff --git a/mail-filter/milter-regex/files/milter-regex-2.7-implicit-func-decl.patch b/mail-filter/milter-regex/files/milter-regex-2.7-implicit-func-decl.patch
deleted file mode 100644
index c2edaa8e0b8f..000000000000
--- a/mail-filter/milter-regex/files/milter-regex-2.7-implicit-func-decl.patch
+++ /dev/null
@@ -1,10 +0,0 @@
-https://bugs.gentoo.org/871366
---- a/eval.h
-+++ b/eval.h
-@@ -107,4 +107,6 @@ struct action *eval_end(struct ruleset *, int *, int, int);
- void eval_clear(struct ruleset *, int *, int);
- void free_ruleset(struct ruleset *);
-
-+int yylex(void);
-+
- #endif
diff --git a/mail-filter/milter-regex/files/milter-regex-conf-2.6 b/mail-filter/milter-regex/files/milter-regex-conf-2.6
deleted file mode 100644
index 716b20327427..000000000000
--- a/mail-filter/milter-regex/files/milter-regex-conf-2.6
+++ /dev/null
@@ -1,16 +0,0 @@
-# Config file.
-MR_CONF="/etc/milter-regex.conf"
-
-# Process and socket owner, socket group, socket permissions. Make
-# sure to allow your MTA to write to the socket by specifying an
-# appropriate group.
-MR_USER="milter"
-MR_GROUP="milter"
-MR_PERM="0660"
-
-MR_RUNDIR="/run/milter-regex"
-MR_SOCKET="${MR_RUNDIR}/socket"
-
-# Additional options for logging etc. Do not attempt to overwrite any
-# of the options already defined in /etc/init.d/milter-regex.
-MR_OPTS=""
diff --git a/mail-filter/milter-regex/files/milter-regex-init b/mail-filter/milter-regex/files/milter-regex-init
deleted file mode 100644
index d20b6fa8a30c..000000000000
--- a/mail-filter/milter-regex/files/milter-regex-init
+++ /dev/null
@@ -1,31 +0,0 @@
-#!/sbin/openrc-run
-# Copyright 1999-2019 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-pidfile="/run/${RC_SVCNAME}.pid"
-command="/usr/bin/milter-regex"
-command_args="-c ${MR_CONF} -r ${pidfile} -u ${MR_USER} -p ${MR_SOCKET} -P ${MR_PERM} -U ${MR_USER} -G ${MR_GROUP} ${MR_OPTS}"
-extra_commands="configtest"
-description_configtest="Test configuration file correctness."
-
-depend() {
- before mta
-}
-
-configtest() {
- ebegin "Checking configuration file ${MR_CONF}"
- ${command} -d -t -c "${MR_CONF}" || eend "Configuration errors found"
-}
-
-start_pre() {
- if [ "${RC_CMD}" != "restart" ]; then
- configtest || return 1
- checkpath --directory --mode 0755 --owner ${MR_USER}:${MR_GROUP} ${MR_RUNDIR}
- fi
-}
-
-stop_pre() {
- if [ "${RC_CMD}" = "restart" ]; then
- configtest || return 1
- fi
-}
diff --git a/mail-filter/milter-regex/metadata.xml b/mail-filter/milter-regex/metadata.xml
deleted file mode 100644
index 1da5338f4763..000000000000
--- a/mail-filter/milter-regex/metadata.xml
+++ /dev/null
@@ -1,13 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
- <!-- maintainer-needed -->
- <longdescription>
- milter-regex is a very simple milter-based plugin that rejects or
- discards messages matching regular expressions. It doesn't add much
- processing overhead, so even a busy mail server can afford to run it.
- </longdescription>
- <upstream>
- <doc>https://www.benzedrine.ch/milter-regex.html</doc>
- </upstream>
-</pkgmetadata>
diff --git a/mail-filter/milter-regex/milter-regex-2.7-r3.ebuild b/mail-filter/milter-regex/milter-regex-2.7-r3.ebuild
deleted file mode 100644
index 1c41bfdd4be4..000000000000
--- a/mail-filter/milter-regex/milter-regex-2.7-r3.ebuild
+++ /dev/null
@@ -1,47 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit toolchain-funcs
-
-DESCRIPTION="A milter-based regular expression filter"
-HOMEPAGE="https://www.benzedrine.ch/milter-regex.html"
-SRC_URI="https://www.benzedrine.ch/${P}.tar.gz"
-LICENSE="BSD GPL-2"
-SLOT="0"
-KEYWORDS="amd64 x86"
-IUSE=""
-
-RDEPEND="acct-user/milter-regex
- >=mail-filter/libmilter-1.0.2_p2:="
-DEPEND="${RDEPEND}
- app-alternatives/yacc"
-
-src_prepare() {
- eapply "${FILESDIR}/${PN}-2.6-gentoo.patch"
- eapply "${FILESDIR}"/milter-regex-2.7-implicit-func-decl.patch
- eapply_user
- # Change default user
- sed -i -e 's/_\(milter-regex\)/\1/g' ${PN}.[8c] || die
-}
-
-src_compile() {
- emake CC="$(tc-getCC)" -f Makefile.linux all
-}
-
-src_install() {
- dobin ${PN}
- insinto /etc
- newins rules ${PN}.conf
- newconfd "${FILESDIR}/${PN}-conf-2.6" ${PN}
- newinitd "${FILESDIR}/${PN}-init" ${PN}
- doman *.8
-}
-
-pkg_postinst() {
- elog "Postfix configuration example (add to main.cf or master.cf):"
- elog " smtpd_milters=unix:/run/milter-regex/socket"
- elog "Sendmail configuration example:"
- elog " INPUT_MAIL_FILTER(\`${PN}',\`S=unix:/run/milter-regex/socket,T=S:30s;R:2m')"
-}
diff --git a/mail-filter/mimedefang/Manifest b/mail-filter/mimedefang/Manifest
deleted file mode 100644
index 93ea29b20981..000000000000
--- a/mail-filter/mimedefang/Manifest
+++ /dev/null
@@ -1,2 +0,0 @@
-DIST mimedefang-2.84.tar.gz 371596 BLAKE2B b9b871d6a438792afbcebfcd99a77a1f9bb2c0dc7826abea74db913c6dc154403753a3016dc0647e9873256fe354649dea096c0e50d54f8db16ff8d2b91f54f4 SHA512 ffe039654d2e3f649219efc559380e39b21ce910becc36e262356d59d50129f8683ee2e59dd9680aff46478ccebd6b3d9c4567f85ade9a8464077350f4e52f48
-DIST mimedefang-3.1.tar.gz 494467 BLAKE2B 4b1f9156c606b83bf9895ab76c4929fa37c2e0bd4454cb7177f1a2b8e8bfcac1b0eedfaefd1c32ceb29d9e0425ab09fb22c552ebe37a587f517d073dd46e16f6 SHA512 392c2bfa1f4e6bb2503ba6887d79696ccc861ded17a780d3ff44bd12c14ae248536aa8f056ec4679bf9c76b6a82d0357d5fdfe467b664b8992a0c11056c5180f
diff --git a/mail-filter/mimedefang/files/mimedefang-2.72-ldflags.patch b/mail-filter/mimedefang/files/mimedefang-2.72-ldflags.patch
deleted file mode 100644
index 998b3183e661..000000000000
--- a/mail-filter/mimedefang/files/mimedefang-2.72-ldflags.patch
+++ /dev/null
@@ -1,38 +0,0 @@
---- mimedefang-2.72/Makefile.in.orig
-+++ mimedefang-2.72/Makefile.in
-@@ -52,7 +52,7 @@
- all: mimedefang mimedefang-multiplexor md-mx-ctrl pod2man
-
- mimedefang-multiplexor: mimedefang-multiplexor.o event.o event_tcp.o drop_privs_nothread.o notifier.o syslog-fac.o utils.o $(EMBPERLOBJS)
-- $(CC) $(CFLAGS) -o mimedefang-multiplexor mimedefang-multiplexor.o event.o event_tcp.o drop_privs_nothread.o syslog-fac.o notifier.o utils.o $(EMBPERLOBJS) $(LIBS_WITHOUT_PTHREAD) $(EMBPERLLDFLAGS) $(EMBPERLLIBS)
-+ $(CC) $(CFLAGS) $(LDFLAGS) -o mimedefang-multiplexor mimedefang-multiplexor.o event.o event_tcp.o drop_privs_nothread.o syslog-fac.o notifier.o utils.o $(EMBPERLOBJS) $(LIBS_WITHOUT_PTHREAD) $(EMBPERLLDFLAGS) $(EMBPERLLIBS)
-
- embperl.o: embperl.c
- $(CC) $(CFLAGS) $(EMBPERLCFLAGS) $(PTHREAD_FLAG) $(DEFS) $(MINCLUDE) -c -o embperl.o $(srcdir)/embperl.c
-@@ -67,7 +67,7 @@
- $(CC) $(CFLAGS) $(EMBPERLCFLAGS) $(PTHREAD_FLAG) $(DEFS) $(MINCLUDE) -c -o test-embed-perl.o $(srcdir)/test-embed-perl.c
-
- te: test-embed-perl.o
-- $(CC) $(CFLAGS) -o te test-embed-perl.o $(LIBS_WITHOUT_PTHREAD) $(EMBPERLLDFLAGS) $(EMBPERLLIBS)
-+ $(CC) $(CFLAGS) $(LDFLAGS) -o te test-embed-perl.o $(LIBS_WITHOUT_PTHREAD) $(EMBPERLLDFLAGS) $(EMBPERLLIBS)
- rm_r.o: rm_r.c
- $(CC) $(CFLAGS) $(PTHREAD_FLAG) $(DEFS) $(MINCLUDE) -c -o rm_r.o $(srcdir)/rm_r.c
-
-@@ -75,7 +75,7 @@
- $(CC) $(CFLAGS) $(PTHREAD_FLAG) $(DEFS) $(MINCLUDE) -c -o syslog-fac.o $(srcdir)/syslog-fac.c
-
- md-mx-ctrl: md-mx-ctrl.o
-- $(CC) $(CFLAGS) -o md-mx-ctrl md-mx-ctrl.o $(LIBS_WITHOUT_PTHREAD)
-+ $(CC) $(CFLAGS) $(LDFLAGS) -o md-mx-ctrl md-mx-ctrl.o $(LIBS_WITHOUT_PTHREAD)
-
- md-mx-ctrl.o: md-mx-ctrl.c
- $(CC) $(CFLAGS) $(DEFS) $(MINCLUDE) -c -o md-mx-ctrl.o $(srcdir)/md-mx-ctrl.c
-@@ -99,7 +99,7 @@
- $(CC) $(CFLAGS) $(DEFS) $(MINCLUDE) -c -o mimedefang-multiplexor.o $(srcdir)/mimedefang-multiplexor.c
-
- mimedefang: mimedefang.o drop_privs_threaded.o utils.o rm_r.o syslog-fac.o dynbuf.o milter_cap.o gen_id.o
-- $(CC) $(CFLAGS) $(PTHREAD_FLAG) -o mimedefang mimedefang.o drop_privs_threaded.o utils.o rm_r.o syslog-fac.o dynbuf.o milter_cap.o gen_id.o $(LDFLAGS) -lmilter $(LIBS)
-+ $(CC) $(CFLAGS) $(LDFLAGS) $(PTHREAD_FLAG) -o mimedefang mimedefang.o drop_privs_threaded.o utils.o rm_r.o syslog-fac.o dynbuf.o milter_cap.o gen_id.o $(LDFLAGS) -lmilter $(LIBS)
-
- mimedefang.o: mimedefang.c mimedefang.h
- $(CC) $(CFLAGS) $(PTHREAD_FLAG) $(DEFS) $(MINCLUDE) -c -o mimedefang.o $(srcdir)/mimedefang.c
diff --git a/mail-filter/mimedefang/files/mimedefang-tests.patch b/mail-filter/mimedefang/files/mimedefang-tests.patch
deleted file mode 100644
index a6bb02e85ae7..000000000000
--- a/mail-filter/mimedefang/files/mimedefang-tests.patch
+++ /dev/null
@@ -1,11 +0,0 @@
---- a/t/lib/MIMEDefang/Unit.pm.ori
-+++ b/t/lib/MIMEDefang/Unit.pm
-@@ -12,7 +12,7 @@
- no warnings 'redefine';
- local *CORE::GLOBAL::exit = sub { };
- local @ARGV = ();
-- do 'mimedefang.pl.in';
-+ do './mimedefang.pl.in';
- use warnings 'redefine';
- }
- 1;
diff --git a/mail-filter/mimedefang/files/mimedefang-tests2.patch b/mail-filter/mimedefang/files/mimedefang-tests2.patch
deleted file mode 100644
index 90753ef40680..000000000000
--- a/mail-filter/mimedefang/files/mimedefang-tests2.patch
+++ /dev/null
@@ -1,21 +0,0 @@
---- a/t/net.t
-+++ b/t/net.t
-@@ -54,9 +54,15 @@
- my @rbl;
- $rbl[0] = "dnsbltest.spamassassin.org";
- my $relayip = "144.137.3.98";
-- detect_and_load_perl_modules();
-- my $res = relay_is_blacklisted_multi($relayip, 10, 1, \@rbl);
-- is($res->{"dnsbltest.spamassassin.org"}[0], "127.0.0.2");
-+
-+ SKIP: {
-+ if ( (not defined $ENV{'NET_TEST'}) or ($ENV{'NET_TEST'} ne 'yes' )) {
-+ skip "Net test disabled", 1
-+ }
-+ detect_and_load_perl_modules();
-+ my $res = relay_is_blacklisted_multi($relayip, 10, 1, \@rbl);
-+ is($res->{"dnsbltest.spamassassin.org"}[0], "127.0.0.2");
-+ }
- }
-
- __PACKAGE__->runtests();
diff --git a/mail-filter/mimedefang/files/mimedefang-vendor.patch b/mail-filter/mimedefang/files/mimedefang-vendor.patch
deleted file mode 100644
index a66bd66046f5..000000000000
--- a/mail-filter/mimedefang/files/mimedefang-vendor.patch
+++ /dev/null
@@ -1,30 +0,0 @@
---- a/Makefile.in
-+++ b/Makefile.in
-@@ -42,7 +42,7 @@
- PERLINSTALLSITELIB=@PERLINSTALLSITELIB@
- PERLINSTALLPRIVLIB=@PERLINSTALLPRIVLIB@
- PERLVENDORPREFIX=@PERLVENDORPREFIX@
--PERLVENDORLIB=@PERLINSTALLPRIVLIB@/vendor_perl
-+PERLVENDORLIB=@PERLVENDORLIB@
- LDFLAGS=@LDFLAGS@
- IP_HEADER=@IP_HEADER@
- SPOOLDIR=@SPOOLDIR@
---- a/configure
-+++ b/configure
-@@ -662,6 +662,7 @@
- PERLINSTALLPRIVLIB
- PERLINSTALLARCHLIB
- PERLVENDORPREFIX
-+PERLVENDORLIB
- PERLSITEPREFIX
- PERLPREFIX
- CONFDIR_EVAL
-@@ -3962,7 +3963,7 @@
- fi
- rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
-
--for thing in prefix siteprefix vendorprefix installarchlib installprivlib installbin installman1dir installman3dir installscript installsitearch installsitelib; do
-+for thing in prefix siteprefix vendorprefix vendorlib installarchlib installprivlib installbin installman1dir installman3dir installscript installsitearch installsitelib; do
- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for Perl installation variable $thing" >&5
- printf %s "checking for Perl installation variable $thing... " >&6; }
- val=`$PERL -V:$thing | sed -e "s/^.*='//" -e "s/';$//"`
diff --git a/mail-filter/mimedefang/files/mimedefang.conf b/mail-filter/mimedefang/files/mimedefang.conf
deleted file mode 100644
index 051ffb1823b3..000000000000
--- a/mail-filter/mimedefang/files/mimedefang.conf
+++ /dev/null
@@ -1,160 +0,0 @@
-####################################
-# Mandatory options for MIMEDefang #
-####################################
-
-# PID directory
-PIDDIR='/run/MIMEDefang'
-
-# spool directory
-SPOOLDIR='/var/spool/MIMEDefang'
-
-# The socket used by mimedefang to communicate with the sendmail binary.
-# You can leave this commented out.
-# SOCKET="${SPOOLDIR}/mimedefang.sock"
-
-# The socket used by the multiplexor.
-# You can leave this commented out.
-# MX_SOCKET="${SPOOLDIR}/mimedefang-multiplexor.sock"
-
-########################################
-# Additional options for MIMEDefang #
-# For a list of all of them: #
-# man mimedefang (MD_OPTS) #
-# man mimedefang-multiplexor (MX_OPTS) #
-########################################
-
-#############
-# MD_MX_OPTS: common options to both processes.
-#############
-
-# Run the multiplexor and filters as this user, not root (RECOMMENDED).
-MD_MX_OPTS+=' -U defang'
-
-# Syslog facility
-# MD_MX_OPTS+=' -S mail'
-
-##########
-# MD_OPTS: mimdefang options.
-##########
-
-# Number of workers reserved for connections from loopback. Use -1
-# for default behaviour, 0 to allow loopback connections to queue,
-# or >0 to reserve workers for loopback connections
-MD_OPTS+=' -R -1'
-
-# If you want to keep spool directories around if the filter fails,
-# add the -k option.
-# MD_OPTS+=' -k'
-
-# Turns on the multiplexor relay checking function
-# MD_OPTS+=' -r'
-
-# Turns on the multiplexor HELO checking function
-# MD_OPTS+=' -H'
-
-# Turns on the multiplexor sender checking function
-# MD_OPTS+=' -s'
-
-# Turns on the multiplexor recipient checking function
-# MD_OPTS+=' -t'
-
-# Extra sendmail macros to pass.
-# MD_OPTS+=' -a auth_author'
-
-# Do not reveal info via X-Scanned-By header (recommended).
-MD_OPTS+=' -X'
-
-##########
-# MX_OPTS: mimdefang-multiplexor options.
-##########
-
-# multiplexor logs events to syslog
-MX_OPTS+=' -l'
-
-# Use an embedded Perl interpreter
-# MX_OPTS+=' -E'
-
-# Set to full path of socket for Sendmail's SOCKETMAP map, if you
-# want to use it with MIMEDefang
-# MX_OPTS+=("-N ${SPOOLDIR}/map.sock")
-
-# The multiplexor does not start all workers at the same time. Instead,
-# it starts one worker every X seconds when the system is idle.
-# If the system is busy, the multiplexor starts workers as incoming mail
-# requires attention.
-# MX_OPTS+=' -w 3'
-
-# The next setting is an absolute limit on worker activation. The multiplexor
-# will NEVER activate a worker within X seconds of another.
-# The default of zero means that the multiplexor will activate workers as
-# quickly as necessary to keep up with incoming mail.
-# MX_OPTS+=' -W 0'
-
-# The multiplexor can log stats to a file (eg. /var/log/mimedefang/stats).
-# The log directory must exist and be writable by the user you're running
-# MIMEDefang as.
-# MX_OPTS+=' -t /var/log/mimedefang/stats'
-
-# The stats file can be flushed after each entry.
-# MX_OPTS+=' -u'
-
-# The multiplexor can log stats to syslog.
-# MX_OPTS+=' -T'
-
-# Maximum # of requests a process handles.
-# MX_OPTS+=' -r 200'
-
-# Minimum number of processes to keep. The default of 0 is probably
-# too low; we suggest 2 instead.
-MX_OPTS+=' -m 2'
-
-# Maximum number of processes to run (mail received while this many
-# processes are running is rejected with a temporary failure, so be
-# wary of how many emails you receive at a time). This applies only
-# if you DO use the multiplexor. The default value of 2 is probably
-# too low; we suggest 10 instead.
-MX_OPTS+=' -x 10'
-
-# Uncomment to log worker status; it will be logged every X seconds.
-# MX_OPTS+=' -L 30'
-
-# Uncomment next line to have busy workers send status updates to the
-# multiplexor. NOTE: Consumes one extra file descriptor per worker, plus
-# a bit of CPU time.
-# MX_OPTS+=' -Z'
-
-# Limit worker processes' resident-set size to this many kilobytes. Default
-# is unlimited.
-# MX_OPTS+=' -R 10000'
-
-# Limit total size of worker processes' memory space to this many kilobytes.
-# Default is unlimited.
-# MX_OPTS+=' -M 30000'
-
-# If you want to use the "notification" facility, set the appropriate port.
-# See the mimedefang-notify man page for details.
-# MX_OPTS+=' -O inet:4567'
-
-# Number of seconds a process should be idle before checking for
-# minimum number and killed.
-# MX_OPTS+=' -i 300'
-
-# Number of seconds a process is allowed to scan an email before it is
-# considered dead. The default is 30 seconds; we suggest 600.
-MX_OPTS+=' -b 600'
-
-# Multiplexor queue size -- default is 0 (no queueing)
-# MX_OPTS+=' -q 10'
-
-# Multiplexor queue timeout -- default is 30 seconds
-# MX_OPTS+=' -Q 30'
-
-# SUBFILTER -F option specifies which filter rules file to use
-# MX_OPTS+=' -F /etc/mail/mimedefang-filter'
-
-###########################
-# Upstream recommendation #
-###########################
-# Locale should be set to "C" for generating valid date headers
-LC_ALL=C
-export LC_ALL
diff --git a/mail-filter/mimedefang/files/mimedefang.init b/mail-filter/mimedefang/files/mimedefang.init
deleted file mode 100644
index 4d9624a93ce6..000000000000
--- a/mail-filter/mimedefang/files/mimedefang.init
+++ /dev/null
@@ -1,63 +0,0 @@
-#!/sbin/openrc-run
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-PIDDIR="${PIDDIR:-/run/MIMEDefang}"
-PID="${PIDDIR}/mimedefang.pid"
-MXPID="${PIDDIR}/mimedefang-multiplexor.pid"
-
-SPOOLDIR="${SPOOLDIR:-/var/spool/MIMEDefang}"
-LOCK="${SPOOLDIR}/mimedefang.lock"
-MXLOCK="${SPOOLDIR}/mimedefang-multiplexor.lock"
-
-# Make sure required vars are set
-SOCKET="${SOCKET:-${SPOOLDIR}/mimedefang.sock}"
-MX_SOCKET="${MX_SOCKET:-${SPOOLDIR}/mimedefang-multiplexor.sock}"
-
-description="MIMEDefang mail filter"
-extra_commands="checkconfig"
-description_checkconfig="Check config for ${RC_SVCNAME}"
-
-depend() {
- use antivirus
-}
-
-checkconfig() {
- checkpath -d "${PIDDIR}"
- checkpath -d "${SPOOLDIR}"
- einfo "multiplexor socket: ${MX_SOCKET}"
- einfo "sendmail socket: ${SOCKET}"
-}
-
-start() {
- checkconfig || return 1
-
- # First start mimedefang multiplexor
- rm -f "${MX_SOCKET}" > /dev/null 2>&1
- ebegin "Starting mimedefang-multiplexor"
- start-stop-daemon --start --quiet \
- --exec /usr/bin/mimedefang-multiplexor -- -p "${MXPID}" -o "${MXLOCK}" -z "${SPOOLDIR}" \
- ${MD_MX_OPTS} ${MX_OPTS} \
- -s "${MX_SOCKET}"
- eend $? "Failed to start mimedefang-multiplexor"
-
- # And now start mimedefang
- rm -f "${SOCKET}" > /dev/null 2>&1
- ebegin "Starting mimedefang"
- start-stop-daemon --start --quiet \
- --exec /usr/bin/mimedefang -- -P "${PID}" -o "${LOCK}" -z "${SPOOLDIR}" \
- ${MD_MX_OPTS} ${MD_OPTS} \
- -m "${MX_SOCKET}" \
- -p "${SOCKET}"
- eend $? "Failed to start mimedefang"
-}
-
-stop() {
- ebegin "Stopping mimedefang"
- start-stop-daemon --stop --quiet --pidfile "${PID}"
- eend $? "Failed to stop mimedefang"
-
- ebegin "Stopping mimedefang-multiplexor"
- start-stop-daemon --stop --quiet --pidfile "${MXPID}"
- eend $? "Failed to stop mimedefang-multiplexor"
-}
diff --git a/mail-filter/mimedefang/metadata.xml b/mail-filter/mimedefang/metadata.xml
deleted file mode 100644
index 8ff02c7d4fea..000000000000
--- a/mail-filter/mimedefang/metadata.xml
+++ /dev/null
@@ -1,22 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
- <maintainer type="person" proxied="yes">
- <email>rentorbuy@yahoo.com</email>
- <name>Vieri Di Paola</name>
- </maintainer>
- <maintainer type="project" proxied="proxy">
- <email>proxy-maint@gentoo.org</email>
- <name>Proxy Maintainers</name>
- </maintainer>
- <longdescription lang="en">
- A program for Milter supported mail servers that implements antispam,
- antivirus and other customizable filtering on email messages.
- </longdescription>
- <use>
- <flag name="poll">Use poll instead of select</flag>
- </use>
- <upstream>
- <remote-id type="github">The-McGrail-Foundation/MIMEDefang</remote-id>
- </upstream>
-</pkgmetadata>
diff --git a/mail-filter/mimedefang/mimedefang-2.84-r2.ebuild b/mail-filter/mimedefang/mimedefang-2.84-r2.ebuild
deleted file mode 100644
index 5b86e55f2dba..000000000000
--- a/mail-filter/mimedefang/mimedefang-2.84-r2.ebuild
+++ /dev/null
@@ -1,78 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-DESCRIPTION="Antispam, antivirus and other customizable filters for MTAs with Milter support"
-HOMEPAGE="http://www.mimedefang.org/"
-SRC_URI="http://www.mimedefang.org/static/${P}.tar.gz"
-
-LICENSE="GPL-2+"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="clamav +poll test"
-RESTRICT="!test? ( test )"
-
-RDEPEND="
- acct-group/defang
- acct-user/defang
- dev-perl/Digest-SHA1
- dev-perl/IO-stringy
- dev-perl/MailTools
- dev-perl/MIME-tools
- dev-perl/Unix-Syslog
- mail-filter/libmilter:=
- virtual/perl-MIME-Base64
- clamav? ( app-antivirus/clamav )
-"
-
-DEPEND="
- ${RDEPEND}
- test? (
- dev-perl/Test-Class
- dev-perl/Test-Most
- )
-"
-
-src_prepare() {
- eapply "${FILESDIR}/${PN}-2.72-ldflags.patch"
- eapply "${FILESDIR}/${PN}-tests.patch"
- eapply_user
-}
-
-src_configure() {
- local myeconfargs=(
- --with-user=defang
- $(use_enable poll)
- $(use_enable clamav)
- $(use_enable clamav clamd)
- )
-
- econf "${myeconfargs[@]}"
-}
-
-src_install() {
- emake DESTDIR="${D}" INSTALL_STRIP_FLAG="" install
-
- fowners defang:defang /etc/mail/mimedefang-filter
- fperms 644 /etc/mail/mimedefang-filter
- insinto /etc/mail/
- newins "${S}"/SpamAssassin/spamassassin.cf sa-mimedefang.cf
-
- keepdir /var/spool/{MD-Quarantine,MIMEDefang}
- fowners defang:defang /var/spool/{MD-Quarantine,MIMEDefang}
- fperms 700 /var/spool/{MD-Quarantine,MIMEDefang}
-
- keepdir /var/log/mimedefang
-
- newinitd "${FILESDIR}"/${PN}.init ${PN}
- newconfd "${FILESDIR}"/${PN}.conf ${PN}
-
- dodoc -r examples contrib
-}
-
-pkg_postinst() {
- elog "You can install Mail::SpamAssassin (mail-filter/spamassassin) and"
- elog "HTML::Parser (dev-perl/HTML-Parser) even after installing if you require"
- elog "them as they are loaded at run-time."
-}
diff --git a/mail-filter/mimedefang/mimedefang-3.1.ebuild b/mail-filter/mimedefang/mimedefang-3.1.ebuild
deleted file mode 100644
index 80c4242a862d..000000000000
--- a/mail-filter/mimedefang/mimedefang-3.1.ebuild
+++ /dev/null
@@ -1,79 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-DESCRIPTION="Antispam, antivirus and other customizable filters for MTAs with Milter support"
-HOMEPAGE="https://www.mimedefang.org/"
-SRC_URI="https://mimedefang.org/releases/${P}.tar.gz"
-
-LICENSE="GPL-2+"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="clamav +poll test"
-RESTRICT="!test? ( test )"
-
-RDEPEND="
- || ( mail-mta/sendmail mail-mta/postfix )
- acct-group/defang
- acct-user/defang
- dev-perl/Digest-SHA1
- dev-perl/IO-stringy
- dev-perl/MailTools
- dev-perl/MIME-tools
- dev-perl/Unix-Syslog
- mail-filter/libmilter:=
- virtual/perl-MIME-Base64
- clamav? ( app-antivirus/clamav )
-"
-
-DEPEND="
- ${RDEPEND}
- test? (
- dev-perl/Test-Class
- dev-perl/Test-Most
- )
-"
-
-PATCHES=(
- "${FILESDIR}/${PN}-2.72-ldflags.patch"
- "${FILESDIR}/${PN}-vendor.patch"
- "${FILESDIR}/${PN}-tests2.patch"
-)
-
-src_configure() {
- local myeconfargs=(
- --with-user=defang
- $(use_enable poll)
- $(use_enable clamav)
- $(use_enable clamav clamd)
- )
-
- econf "${myeconfargs[@]}"
-}
-
-src_install() {
- emake DESTDIR="${D}" INSTALL_STRIP_FLAG="" install
-
- fowners defang:defang /etc/mail/mimedefang-filter
- fperms 644 /etc/mail/mimedefang-filter
- insinto /etc/mail/
- newins "${S}"/SpamAssassin/spamassassin.cf sa-mimedefang.cf
-
- keepdir /var/spool/{MD-Quarantine,MIMEDefang}
- fowners defang:defang /var/spool/{MD-Quarantine,MIMEDefang}
- fperms 700 /var/spool/{MD-Quarantine,MIMEDefang}
-
- keepdir /var/log/mimedefang
-
- newinitd "${FILESDIR}"/${PN}.init ${PN}
- newconfd "${FILESDIR}"/${PN}.conf ${PN}
-
- dodoc -r examples contrib
-}
-
-pkg_postinst() {
- elog "You can install Mail::SpamAssassin (mail-filter/spamassassin) and"
- elog "HTML::Parser (dev-perl/HTML-Parser) even after installing if you require"
- elog "them as they are loaded at run-time."
-}
diff --git a/mail-filter/normalizemime/Manifest b/mail-filter/normalizemime/Manifest
deleted file mode 100644
index e51aba41742d..000000000000
--- a/mail-filter/normalizemime/Manifest
+++ /dev/null
@@ -1 +0,0 @@
-DIST normalizemime-1.21.cc 42498 BLAKE2B c5de7c41b531ec040adc45eaac19cf19e6c6ee2a3a6d294f738c1f4a64b2196bb749f5af9e8b0fd56683c064a17ce03be537e8437c59513d45df19bd54dbb924 SHA512 bebdfffebc49e612c8ead53b12e2a6fbdf6ddf30e5036828178d4ac1b853766fbba53ca36a52a0b4c833135a48f1b059905924446d513b26656fb4f5d02452e8
diff --git a/mail-filter/normalizemime/metadata.xml b/mail-filter/normalizemime/metadata.xml
deleted file mode 100644
index e5c4248bc00f..000000000000
--- a/mail-filter/normalizemime/metadata.xml
+++ /dev/null
@@ -1,5 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
- <!-- maintainer-needed -->
-</pkgmetadata>
diff --git a/mail-filter/normalizemime/normalizemime-1.21.ebuild b/mail-filter/normalizemime/normalizemime-1.21.ebuild
deleted file mode 100644
index e8f95c0d0f5f..000000000000
--- a/mail-filter/normalizemime/normalizemime-1.21.ebuild
+++ /dev/null
@@ -1,28 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit toolchain-funcs
-
-DESCRIPTION="Helper program to normalize MIME encoded messages"
-HOMEPAGE="http://hyvatti.iki.fi/~jaakko/spam/"
-SRC_URI="https://dev.gentoo.org/~sam/distfiles/${CATEGORY}/${PN}/${P}.cc"
-S="${WORKDIR}"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="amd64 ppc x86"
-
-src_unpack() {
- cp "${DISTDIR}"/${P}.cc "${WORKDIR}"/${PN}.cc || die
-}
-
-src_compile() {
- tc-export CC
- emake normalizemime
-}
-
-src_install() {
- dobin normalizemime
-}
diff --git a/mail-filter/opendmarc/Manifest b/mail-filter/opendmarc/Manifest
deleted file mode 100644
index 33a95c4fa001..000000000000
--- a/mail-filter/opendmarc/Manifest
+++ /dev/null
@@ -1,2 +0,0 @@
-DIST opendmarc-1.4.1.1.tar.gz 426618 BLAKE2B a74b2623bc35abb5c34f8d1eff737c71af8f5cadfd6a5d0a85adb6536efd2958118f9da25dd9b736dc24563221968c4ee1ff99b101fa30909764563bda2a8d88 SHA512 ee034386c70c75b87ca2fce0849a1a3538e10e0aebfb0fc9dcba6817d2cf71f52aa5586ccaacdee620190c5fbb81498419fb8e8db9fac15d7c71a61a7da396a6
-DIST opendmarc-1.4.2.tar.gz 426996 BLAKE2B 71b9bb9e951f0a0c8b15f60c751704b7e01c8536066c413296cec52cd179222008081c57e045d203d90b45b7da6cff8c3f974d5897527b28043387f81b121cb7 SHA512 415278c6c09460379538ad10ea4033815a677ddad138b8a07609c287360d1739acdba5d1fe07d0e35764850af8a141c0c70a9311254104b93d2c1bbc8b6f7a69
diff --git a/mail-filter/opendmarc/files/opendmarc-1.4.1.1-CVE-2021-34555.patch b/mail-filter/opendmarc/files/opendmarc-1.4.1.1-CVE-2021-34555.patch
deleted file mode 100644
index 2bf87ffbde07..000000000000
--- a/mail-filter/opendmarc/files/opendmarc-1.4.1.1-CVE-2021-34555.patch
+++ /dev/null
@@ -1,87 +0,0 @@
-From afa44abe68afe5ce29b6418538a60a642f39e459 Mon Sep 17 00:00:00 2001
-From: =?UTF-8?q?David=20B=C3=BCrgin?= <dbuergin@gluet.ch>
-Date: Thu, 3 Jun 2021 21:59:55 +0200
-Subject: [PATCH 1/3] Fix multi-value From handling logic
-
-Fixes #175
----
- opendmarc/opendmarc.c | 10 +++++-----
- 1 file changed, 5 insertions(+), 5 deletions(-)
-
-diff --git a/opendmarc/opendmarc.c b/opendmarc/opendmarc.c
-index 65f6b49..bc38103 100644
---- a/opendmarc/opendmarc.c
-+++ b/opendmarc/opendmarc.c
-@@ -2479,12 +2479,12 @@ mlfi_eom(SMFICTX *ctx)
- syslog(LOG_ERR,
- "%s: multi-valued From field detected",
- dfc->mctx_jobid);
-- }
-
-- if (conf->conf_reject_multi_from)
-- return SMFIS_REJECT;
-- else
-- return SMFIS_ACCEPT;
-+ if (conf->conf_reject_multi_from)
-+ return SMFIS_REJECT;
-+ else
-+ return SMFIS_ACCEPT;
-+ }
- }
-
- user = users[0];
-
-From 4ea4b219c6c93dbfd512b1caa433f5a810fdb436 Mon Sep 17 00:00:00 2001
-From: =?UTF-8?q?David=20B=C3=BCrgin?= <dbuergin@gluet.ch>
-Date: Thu, 3 Jun 2021 22:01:34 +0200
-Subject: [PATCH 2/3] Guard syslog call with conf_dolog flag
-
----
- opendmarc/opendmarc.c | 9 ++++++---
- 1 file changed, 6 insertions(+), 3 deletions(-)
-
-diff --git a/opendmarc/opendmarc.c b/opendmarc/opendmarc.c
-index bc38103..fb3d4b9 100644
---- a/opendmarc/opendmarc.c
-+++ b/opendmarc/opendmarc.c
-@@ -2476,9 +2476,12 @@ mlfi_eom(SMFICTX *ctx)
- {
- if (strcasecmp(domains[0], domains[c]) != 0)
- {
-- syslog(LOG_ERR,
-- "%s: multi-valued From field detected",
-- dfc->mctx_jobid);
-+ if (conf->conf_dolog)
-+ {
-+ syslog(LOG_ERR,
-+ "%s: multi-valued From field detected",
-+ dfc->mctx_jobid);
-+ }
-
- if (conf->conf_reject_multi_from)
- return SMFIS_REJECT;
-
-From 1245589ad44baadb3eb18ce110932da8c6fe286c Mon Sep 17 00:00:00 2001
-From: =?UTF-8?q?David=20B=C3=BCrgin?= <dbuergin@gluet.ch>
-Date: Wed, 9 Jun 2021 19:18:21 +0200
-Subject: [PATCH 3/3] Skip null domains when checking multi-value From header
-
----
- opendmarc/opendmarc.c | 4 +++-
- 1 file changed, 3 insertions(+), 1 deletion(-)
-
-diff --git a/opendmarc/opendmarc.c b/opendmarc/opendmarc.c
-index fb3d4b9..ffcbc3f 100644
---- a/opendmarc/opendmarc.c
-+++ b/opendmarc/opendmarc.c
-@@ -2474,7 +2474,9 @@ mlfi_eom(SMFICTX *ctx)
-
- for (c = 1; users[c] != NULL; c++)
- {
-- if (strcasecmp(domains[0], domains[c]) != 0)
-+ if (domains[0] != NULL
-+ && domains[c] != NULL
-+ && strcasecmp(domains[0], domains[c]) != 0)
- {
- if (conf->conf_dolog)
- {
diff --git a/mail-filter/opendmarc/files/opendmarc-1.4.1.1-arc-seal-crash.patch b/mail-filter/opendmarc/files/opendmarc-1.4.1.1-arc-seal-crash.patch
deleted file mode 100644
index 7f96512fe45c..000000000000
--- a/mail-filter/opendmarc/files/opendmarc-1.4.1.1-arc-seal-crash.patch
+++ /dev/null
@@ -1,38 +0,0 @@
-https://github.com/trusteddomainproject/OpenDMARC/issues/183
-https://bugs.gentoo.org/900521
-
---- a/opendmarc/opendmarc-arcseal.h 2021-04-30 17:34:43.000000000 +0100
-+++ b/opendmarc/opendmarc-arcseal.h 2021-06-25 14:23:01.725593770 +0100
-@@ -32,7 +32,7 @@
- /* max header tag value length (short) */
- #define OPENDMARC_ARCSEAL_MAX_SHORT_VALUE_LEN 256
- /* max header tag value length (long) */
--#define OPENDMARC_ARCSEAL_MAX_LONG_VALUE_LEN 512
-+#define OPENDMARC_ARCSEAL_MAX_LONG_VALUE_LEN 768
-
- /* names and field labels */
- #define OPENDMARC_ARCSEAL_HDRNAME "ARC-Seal"
---- a/opendmarc/opendmarc-arcseal.c 2021-04-30 17:34:43.000000000 +0100
-+++ b/opendmarc/opendmarc-arcseal.c 2021-06-25 14:27:10.689908703 +0100
-@@ -29,7 +29,7 @@
- #include "opendmarc.h"
-
- #define OPENDMARC_ARCSEAL_MAX_FIELD_NAME_LEN 255
--#define OPENDMARC_ARCSEAL_MAX_TOKEN_LEN 512
-+#define OPENDMARC_ARCSEAL_MAX_TOKEN_LEN 768
-
- /* tables */
- struct opendmarc_arcseal_lookup
-@@ -167,7 +167,12 @@ opendmarc_arcseal_parse(u_char *hdr, str
- if (*token_ptr == '\0')
- return 0;
- tag_label = strsep(&token_ptr, "=");
-+ if (token_ptr == NULL)
-+ return 0;
-+
- tag_value = opendmarc_arcseal_strip_whitespace(token_ptr);
-+ if (tag_value == NULL)
-+ return 0;
-
- tag_code = opendmarc_arcseal_convert(as_tags, tag_label);
-
diff --git a/mail-filter/opendmarc/files/opendmarc-1.4.1.1-underlinking.patch b/mail-filter/opendmarc/files/opendmarc-1.4.1.1-underlinking.patch
deleted file mode 100644
index 825ee461dfd6..000000000000
--- a/mail-filter/opendmarc/files/opendmarc-1.4.1.1-underlinking.patch
+++ /dev/null
@@ -1,17 +0,0 @@
-libopendmarc.so.2.0.3 uses
-* __dn_expand
-* __dn_skipname
-* __res_nquery
-which are defined in libresolv in glibc 2.33 and older.
-
-See: https://bugs.gentoo.org/839951
-
---- a/libopendmarc/Makefile.am
-+++ b/libopendmarc/Makefile.am
-@@ -15,5 +15,6 @@
- opendmarc_spf_dns.c \
- opendmarc_internal.h
- libopendmarc_la_LDFLAGS = -version-info $(LIBOPENDMARC_VERSION_INFO)
-+libopendmarc_la_LIBADD = $(LIBRESOLV)
- libopendmarc_includedir = $(includedir)/opendmarc
- libopendmarc_include_HEADERS = dmarc.h
diff --git a/mail-filter/opendmarc/files/opendmarc.confd b/mail-filter/opendmarc/files/opendmarc.confd
deleted file mode 100644
index 722237173ebf..000000000000
--- a/mail-filter/opendmarc/files/opendmarc.confd
+++ /dev/null
@@ -1,3 +0,0 @@
-# user/group to run opendmarc daemon as
-OPENDMARC_USER=opendmarc
-OPENDMARC_GROUP=opendmarc
diff --git a/mail-filter/opendmarc/files/opendmarc.initd b/mail-filter/opendmarc/files/opendmarc.initd
deleted file mode 100644
index 3f55464e11b4..000000000000
--- a/mail-filter/opendmarc/files/opendmarc.initd
+++ /dev/null
@@ -1,54 +0,0 @@
-#!/sbin/openrc-run
-# Copyright 1999-2017 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-CONFFILE="/etc/opendmarc/${SVCNAME}.conf"
-
-depend() {
- use dns logger net
- before mta
-}
-
-check_cfg() {
- if [ ! -f "${CONFFILE}" ] ; then
- eerror "Configuration file ${CONFFILE} is missing"
- return 1
- fi
- # create /var/run/opendmarc
- mkdir -p /var/run/opendmarc > /dev/null 2>&1
- chown ${OPENDMARC_USER}:${OPENDMARC_GROUP} \
- /var/run/opendmarc > /dev/null 2>&1
- PIDFILE=$(sed -ne 's/^[[:space:]]*PidFile[[:space:]]\+//p' "${CONFFILE}")
- local PIDDIR="${PIDFILE%/*}"
- if [ ! -d "${PIDDIR}" ] ; then
- checkpath -q -d -o ${OPENDMARC_USER}:${OPENDMARC_GROUP} -m 0755 "${PIDDIR}" || return 1
- fi
- if [ -z "${PIDFILE}" ] ; then
- eerror "Configuration file needs PidFile setting - recommend adding 'PidFile /var/run/opendmarc/${SVCNAME}.pid' to ${CONFFILE}"
- return 1
- fi
- if egrep -q '^[[:space:]]*Background[[:space:]]+false' "${CONFFILE}" ; then
- eerror "${SVCNAME} service cannot run with Background key set to false!"
- return 1
- fi
-
- ebegin "Checking your configfile (${CONFFILE})"
- opendmarc -c "${CONFFILE}" -n
- eend $? "Configuration error. Please fix your configfile (${CONFFILE})"
-}
-
-start() {
- check_cfg || return 1
-
- ebegin "Starting OpenDMARC"
- start-stop-daemon --start --pidfile "${PIDFILE}" \
- --exec /usr/sbin/opendmarc -- -c "${CONFFILE}"
- eend $?
-}
-
-stop() {
- check_cfg || return 1
- ebegin "Stopping OpenDMARC"
- start-stop-daemon --stop --pidfile "${PIDFILE}"
- eend $?
-}
diff --git a/mail-filter/opendmarc/files/opendmarc.service b/mail-filter/opendmarc/files/opendmarc.service
deleted file mode 100644
index b29aa1afafdc..000000000000
--- a/mail-filter/opendmarc/files/opendmarc.service
+++ /dev/null
@@ -1,19 +0,0 @@
-[Unit]
-Description=Domain-based Message Authentication, Reporting and Conformance (DMARC) Milter
-Documentation=man:opendmarc(8) man:opendmarc.conf(5) man:opendmarc-expire(8) man:opendmarc-importstats(8) man:opendmarc-reports(8) man:opendmarc-check(8) man:opendmarc-import(8) man:opendmarc-params(8) http://www.trusteddomain.org/opendmarc/
-After=network.target nss-lookup.target syslog.target
-
-[Service]
-User=opendmarc
-Group=opendmarc
-PIDFile=/var/run/opendmarc/opendmarc.pid
-ExecStartPre=/usr/sbin/opendmarc -c /etc/opendmarc/opendmarc.conf -n
-ExecStart=/usr/sbin/opendmarc -c /etc/opendmarc/opendmarc.conf -f -P /var/run/opendmarc/opendmarc.pid
-ExecReload=/bin/kill -USR1 $MAINPID
-RuntimeDirectory=opendmarc
-RuntimeDirectoryMode=0750
-Restart=on-failure
-RestartSec=3
-
-[Install]
-WantedBy=multi-user.target
diff --git a/mail-filter/opendmarc/metadata.xml b/mail-filter/opendmarc/metadata.xml
deleted file mode 100644
index b23c5f314eca..000000000000
--- a/mail-filter/opendmarc/metadata.xml
+++ /dev/null
@@ -1,16 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
- <maintainer type="person">
- <email>grobian@gentoo.org</email>
- </maintainer>
- <upstream>
- <remote-id type="sourceforge">opendmarc</remote-id>
- </upstream>
- <use>
- <flag name="spf">Use the <pkg>mail-filter/libspf2</pkg>
- for Sender Policy Framework checking</flag>
- <flag name="reports">Install the reports binaries: expire,
- import, reports, params</flag>
- </use>
-</pkgmetadata>
diff --git a/mail-filter/opendmarc/opendmarc-1.4.1.1-r5.ebuild b/mail-filter/opendmarc/opendmarc-1.4.1.1-r5.ebuild
deleted file mode 100644
index 8a00128ee4b9..000000000000
--- a/mail-filter/opendmarc/opendmarc-1.4.1.1-r5.ebuild
+++ /dev/null
@@ -1,70 +0,0 @@
-# Copyright 1999-2025 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit autotools systemd
-
-DESCRIPTION="Open source DMARC implementation"
-HOMEPAGE="http://www.trusteddomain.org/opendmarc/"
-SRC_URI="https://github.com/trusteddomainproject/OpenDMARC/archive/rel-${PN}-${PV//./-}.tar.gz -> ${P}.tar.gz"
-S="${WORKDIR}/OpenDMARC-rel-${PN}-${PV//./-}"
-
-LICENSE="BSD"
-SLOT="0/3" # 1.4 has API breakage with 1.3, yet uses same soname
-KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ppc ppc64 ~sparc x86"
-IUSE="spf +reports"
-
-DEPEND="mail-filter/libmilter:=
- reports? ( dev-perl/DBI )"
-RDEPEND="${DEPEND}
- acct-user/opendmarc
- reports? (
- dev-perl/DBD-mysql
- dev-perl/HTTP-Message
- dev-perl/Switch
- )
- spf? ( mail-filter/libspf2 )"
-
-PATCHES=(
- "${FILESDIR}"/${PN}-1.4.1.1-CVE-2021-34555.patch
- "${FILESDIR}"/${PN}-1.4.1.1-underlinking.patch
-)
-
-src_prepare() {
- default
-
- eautoreconf
- if use !reports ; then
- sed -i -e '/^SUBDIRS =/s/reports//' Makefile.in || die
- fi
-}
-
-src_configure() {
- econf \
- --disable-static \
- $(use_with spf) \
- $(use_with spf spf2-include "${EPREFIX}"/usr/include/spf2) \
- $(use_with spf spf2-lib "${EPREFIX}"/usr/$(get_libdir))
-}
-
-src_install() {
- default
-
- find "${ED}" -name '*.la' -delete || die
-
- newinitd "${FILESDIR}"/opendmarc.initd opendmarc
- newconfd "${FILESDIR}"/opendmarc.confd opendmarc
- systemd_dounit "${FILESDIR}/${PN}.service"
-
- dodir /etc/opendmarc
-
- # create config file
- sed \
- -e 's:^# UserID .*$:UserID opendmarc:' \
- -e "s:^# PidFile .*:PidFile ${EPREFIX}/var/run/opendmarc/opendmarc.pid:" \
- -e '/^# Socket /s:^# ::' \
- "${S}"/opendmarc/opendmarc.conf.sample \
- > "${ED}"/etc/opendmarc/opendmarc.conf \
- || die
-}
diff --git a/mail-filter/opendmarc/opendmarc-1.4.1.1-r6.ebuild b/mail-filter/opendmarc/opendmarc-1.4.1.1-r6.ebuild
deleted file mode 100644
index 90d51f2d8de2..000000000000
--- a/mail-filter/opendmarc/opendmarc-1.4.1.1-r6.ebuild
+++ /dev/null
@@ -1,78 +0,0 @@
-# Copyright 1999-2025 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit autotools systemd
-
-DESCRIPTION="Open source DMARC implementation"
-HOMEPAGE="http://www.trusteddomain.org/opendmarc/"
-SRC_URI="https://github.com/trusteddomainproject/OpenDMARC/archive/rel-${PN}-${PV//./-}.tar.gz -> ${P}.tar.gz"
-S="${WORKDIR}/OpenDMARC-rel-${PN}-${PV//./-}"
-
-LICENSE="BSD"
-SLOT="0/3" # 1.4 has API breakage with 1.3, yet uses same soname
-KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ppc ppc64 ~sparc x86"
-IUSE="spf +reports"
-
-DEPEND="mail-filter/libmilter:=
- reports? ( dev-perl/DBI )"
-RDEPEND="${DEPEND}
- acct-user/opendmarc
- reports? (
- dev-perl/DBD-mysql
- dev-perl/HTTP-Message
- dev-perl/JSON
- dev-perl/Switch
- )
- spf? ( mail-filter/libspf2 )"
-
-PATCHES=(
- "${FILESDIR}"/${PN}-1.4.1.1-CVE-2021-34555.patch
- "${FILESDIR}"/${PN}-1.4.1.1-underlinking.patch
- "${FILESDIR}"/${PN}-1.4.1.1-arc-seal-crash.patch
-)
-
-QA_CONFIG_IMPL_DECL_SKIP=(
- # musl has no re-entrant variants of these, which configure checks for
- res_ninit
- res_ndestroy
-)
-
-src_prepare() {
- default
-
- eautoreconf
- if use !reports ; then
- sed -i -e '/^SUBDIRS =/s/reports//' Makefile.in || die
- fi
-}
-
-src_configure() {
- econf \
- --disable-static \
- $(use_with spf) \
- $(use_with spf spf2-include "${EPREFIX}"/usr/include/spf2) \
- $(use_with spf spf2-lib "${EPREFIX}"/usr/$(get_libdir))
-}
-
-src_install() {
- default
-
- find "${ED}" -name '*.la' -delete || die
-
- newinitd "${FILESDIR}"/opendmarc.initd opendmarc
- newconfd "${FILESDIR}"/opendmarc.confd opendmarc
- systemd_dounit "${FILESDIR}/${PN}.service"
-
- dodir /etc/opendmarc
-
- # create config file
- sed \
- -e 's:^# UserID .*$:UserID opendmarc:' \
- -e "s:^# PidFile .*:PidFile ${EPREFIX}/var/run/opendmarc/opendmarc.pid:" \
- -e '/^# Socket /s:^# ::' \
- "${S}"/opendmarc/opendmarc.conf.sample \
- > "${ED}"/etc/opendmarc/opendmarc.conf \
- || die
-}
diff --git a/mail-filter/opendmarc/opendmarc-1.4.2.ebuild b/mail-filter/opendmarc/opendmarc-1.4.2.ebuild
deleted file mode 100644
index 7fdb5f3fb1af..000000000000
--- a/mail-filter/opendmarc/opendmarc-1.4.2.ebuild
+++ /dev/null
@@ -1,77 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit autotools systemd
-
-DESCRIPTION="Open source DMARC implementation"
-HOMEPAGE="http://www.trusteddomain.org/opendmarc/"
-SRC_URI="https://github.com/trusteddomainproject/OpenDMARC/archive/rel-${PN}-${PV//./-}.tar.gz -> ${P}.tar.gz"
-S="${WORKDIR}/OpenDMARC-rel-${PN}-${PV//./-}"
-
-LICENSE="BSD"
-SLOT="0/3" # 1.4 has API breakage with 1.3, yet uses same soname
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~sparc ~x86"
-IUSE="spf +reports"
-
-DEPEND="mail-filter/libmilter:=
- reports? ( dev-perl/DBI )"
-RDEPEND="${DEPEND}
- acct-user/opendmarc
- reports? (
- dev-perl/DBD-mysql
- dev-perl/HTTP-Message
- dev-perl/JSON
- dev-perl/Switch
- )
- spf? ( mail-filter/libspf2 )"
-
-PATCHES=(
- "${FILESDIR}"/${PN}-1.4.1.1-underlinking.patch
- "${FILESDIR}"/${PN}-1.4.1.1-arc-seal-crash.patch
-)
-
-QA_CONFIG_IMPL_DECL_SKIP=(
- # musl has no re-entrant variants of these, which configure checks for
- res_ninit
- res_ndestroy
-)
-
-src_prepare() {
- default
-
- eautoreconf
- if use !reports ; then
- sed -i -e '/^SUBDIRS =/s/reports//' Makefile.in || die
- fi
-}
-
-src_configure() {
- econf \
- --disable-static \
- $(use_with spf) \
- $(use_with spf spf2-include "${EPREFIX}"/usr/include/spf2) \
- $(use_with spf spf2-lib "${EPREFIX}"/usr/$(get_libdir))
-}
-
-src_install() {
- default
-
- find "${ED}" -name '*.la' -delete || die
-
- newinitd "${FILESDIR}"/opendmarc.initd opendmarc
- newconfd "${FILESDIR}"/opendmarc.confd opendmarc
- systemd_dounit "${FILESDIR}/${PN}.service"
-
- dodir /etc/opendmarc
-
- # create config file
- sed \
- -e 's:^# UserID .*$:UserID opendmarc:' \
- -e "s:^# PidFile .*:PidFile ${EPREFIX}/var/run/opendmarc/opendmarc.pid:" \
- -e '/^# Socket /s:^# ::' \
- "${S}"/opendmarc/opendmarc.conf.sample \
- > "${ED}"/etc/opendmarc/opendmarc.conf \
- || die
-}
diff --git a/mail-filter/opensmtpd-filter-dkimsign/Manifest b/mail-filter/opensmtpd-filter-dkimsign/Manifest
deleted file mode 100644
index 46ad3a108d78..000000000000
--- a/mail-filter/opensmtpd-filter-dkimsign/Manifest
+++ /dev/null
@@ -1 +0,0 @@
-DIST opensmtpd-filter-dkimsign-0.6-new.tar.gz 22677 BLAKE2B bb55ee38e495c0cacdfd8d1ecd93eca1d39b939c6be45157346981de98dc2c42eed2afd70d4f0fc61f44c0f112a5054cd2c5cd27246052b309f4a3a4d8710d46 SHA512 723b86f7acbe55d1a1e12f630c562e9c621adb34c5eb3ee7709fd18cef03b916b5035cc338f4b641c26cc1fc56f1e14cf02e47734e4fb22a08fcf23b3dcdde1e
diff --git a/mail-filter/opensmtpd-filter-dkimsign/metadata.xml b/mail-filter/opensmtpd-filter-dkimsign/metadata.xml
deleted file mode 100644
index 9b163b333228..000000000000
--- a/mail-filter/opensmtpd-filter-dkimsign/metadata.xml
+++ /dev/null
@@ -1,8 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
- <maintainer type="person">
- <email>cedk@gentoo.org</email>
- <name>Cédric Krier</name>
- </maintainer>
-</pkgmetadata>
diff --git a/mail-filter/opensmtpd-filter-dkimsign/opensmtpd-filter-dkimsign-0.6-r3.ebuild b/mail-filter/opensmtpd-filter-dkimsign/opensmtpd-filter-dkimsign-0.6-r3.ebuild
deleted file mode 100644
index 72d83d72085f..000000000000
--- a/mail-filter/opensmtpd-filter-dkimsign/opensmtpd-filter-dkimsign-0.6-r3.ebuild
+++ /dev/null
@@ -1,34 +0,0 @@
-# Copyright 2024-2025 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit toolchain-funcs
-
-DESCRIPTION="OpenSMTPD filter for signing mail with DKIM"
-HOMEPAGE="https://src.imperialat.at/?action=summary&path=filter-dkimsign.git"
-SRC_URI="https://src.imperialat.at/releases/filter-dkimsign-${PV}.tar.gz -> ${P}-new.tar.gz"
-S=${WORKDIR}/${P#opensmtpd-}
-
-LICENSE="BSD"
-SLOT="0"
-KEYWORDS="~amd64"
-
-DEPEND="
- >=mail-filter/libopensmtpd-1
- dev-libs/openssl
- "
-RDEPEND="${DEPEND}"
-
-src_prepare() {
- default
- mv -f Makefile.gnu Makefile || die
-}
-
-src_compile() {
- emake CC="$(tc-getCC)" LIBCRYPTOPC="libcrypto" MANFORMAT="man"
-}
-
-src_install() {
- emake DESTDIR="${D}" LIBDIR="/usr/$(get_libdir)" MANFORMAT="man" install
-}
diff --git a/mail-filter/opensmtpd-filter-rspamd/Manifest b/mail-filter/opensmtpd-filter-rspamd/Manifest
deleted file mode 100644
index 341fdb538cc2..000000000000
--- a/mail-filter/opensmtpd-filter-rspamd/Manifest
+++ /dev/null
@@ -1,2 +0,0 @@
-DIST opensmtpd-filter-rspamd-0.1.8-deps.tar.xz 418772 BLAKE2B b26d30ba1adb98c098e36018e8b49dee3e1208aaf670733cb9fb36348daed465d030d1feb1505ff339c92210464b37bfd6bdd08eb34a74076ab64c7e9e280324 SHA512 3686571cd4e53ef8eb5dc9901f7527b383393faa62339b143ae961da8921738a45be83e4ff603527ac44fb35e2bc94a45151216ecf4fa2081bc37b3182c9741e
-DIST opensmtpd-filter-rspamd-0.1.8.tar.gz 7449 BLAKE2B 245bb4cbbcdb2b9bf0abde0fc43296cf3fa6e135492d83f8d6d0a5762b7a5f9fa9215d1750e546adc831aaeb0e5f42014609c8079a7cbafe5f31031c30a64aad SHA512 54dc5ec496251e6a223ac05909f4d940c79ce2487e40e30a430da24fcc211983c40355fd91a609e7bb109be49051ca81f092e297f5c8c1e5a3e91a188b948f04
diff --git a/mail-filter/opensmtpd-filter-rspamd/metadata.xml b/mail-filter/opensmtpd-filter-rspamd/metadata.xml
deleted file mode 100644
index 536f7d340383..000000000000
--- a/mail-filter/opensmtpd-filter-rspamd/metadata.xml
+++ /dev/null
@@ -1,11 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
- <maintainer type="person">
- <email>zx2c4@gentoo.org</email>
- <name>Jason A. Donenfeld</name>
- </maintainer>
- <upstream>
- <remote-id type="github">poolpOrg/filter-rspamd</remote-id>
- </upstream>
-</pkgmetadata>
diff --git a/mail-filter/opensmtpd-filter-rspamd/opensmtpd-filter-rspamd-0.1.8.ebuild b/mail-filter/opensmtpd-filter-rspamd/opensmtpd-filter-rspamd-0.1.8.ebuild
deleted file mode 100644
index 092687055d3f..000000000000
--- a/mail-filter/opensmtpd-filter-rspamd/opensmtpd-filter-rspamd-0.1.8.ebuild
+++ /dev/null
@@ -1,30 +0,0 @@
-# Copyright 2020-2025 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit go-module
-
-DESCRIPTION="OpenSMTPD filter for putting emails through rspamd"
-HOMEPAGE="https://github.com/poolpOrg/filter-rspamd"
-SRC_URI="https://github.com/poolpOrg/filter-rspamd/archive/v${PV}.tar.gz -> ${P}.tar.gz"
-SRC_URI+=" https://dev.gentoo.org/~arthurzam/distfiles/mail-filter/${PN}/${P}-deps.tar.xz"
-S=${WORKDIR}/${P#opensmtpd-}
-
-LICENSE="ISC"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-
-RDEPEND="mail-mta/opensmtpd"
-
-DOCS=( README.md )
-
-src_compile() {
- ego build -ldflags="-s -w" -buildmode=pie -o filter-rspamd
-}
-
-src_install() {
- default
- exeinto /usr/libexec/opensmtpd
- doexe filter-rspamd
-}
diff --git a/mail-filter/policyd-weight/Manifest b/mail-filter/policyd-weight/Manifest
deleted file mode 100644
index 4a1932240a86..000000000000
--- a/mail-filter/policyd-weight/Manifest
+++ /dev/null
@@ -1,2 +0,0 @@
-DIST policyd-weight-0.1.15.2-patches-1.0.tar.xz 6920 BLAKE2B 92bcf7b11dc5e07d5c8f10b9c103ac52b1d8e3449beb6e049311c2360ecb59d8751e35e20453c8dc402b286cf028f44cbdcc8bc45cf202a2af883d8954ae5e51 SHA512 a2d4ecd2ee76180cb6ebb0790a04e4fb101e9e6a73a253b83473ebb8952bc88cc903a8ea51b84743419dd8bc974a8ffc9378a187f8b8b65620268c382aaaa94e
-DIST policyd-weight-0.1.15.2.tar.gz 75347 BLAKE2B 3eba7a8909557b6f8ddc1ec0930e8b0c5d4a2ec213116977c8b340f52643491fc4ae81b7c9d319484e7584fe7c3c6c6aea92d7eecba7637d0f6378e00c64c28f SHA512 37702762c171b208d37651b2051b521e4f44708b7bb7e0d3001fd2ba123b227c847bad8dd479d7a56f9aeab02fdfd957d34b2c4d7f3a9fd727614cd4031f8b78
diff --git a/mail-filter/policyd-weight/files/policyd-weight.init.d-r2 b/mail-filter/policyd-weight/files/policyd-weight.init.d-r2
deleted file mode 100644
index 390bc3d28927..000000000000
--- a/mail-filter/policyd-weight/files/policyd-weight.init.d-r2
+++ /dev/null
@@ -1,31 +0,0 @@
-#!/sbin/openrc-run
-
-extra_started_commands="reload"
-
-daemon="policyd-weight"
-exec="/usr/libexec/postfix/policyd-weight"
-
-pidfile=/run/policyd-weight.pid
-
-depend(){
- before postfix
- use net
-}
-
-start(){
- ebegin "Starting ${daemon}"
- ${exec} start
- eend $?
-}
-
-stop(){
- ebegin "Stopping ${daemon}"
- ${exec} -k stop
- eend $?
-}
-
-reload(){
- ebegin "Reloading ${daemon}"
- ${exec} reload
- eend $?
-}
diff --git a/mail-filter/policyd-weight/files/policyd-weight.tmpfile b/mail-filter/policyd-weight/files/policyd-weight.tmpfile
deleted file mode 100644
index 1eeddb772788..000000000000
--- a/mail-filter/policyd-weight/files/policyd-weight.tmpfile
+++ /dev/null
@@ -1 +0,0 @@
-d /run/policyd-weight 0755 polw polw
diff --git a/mail-filter/policyd-weight/metadata.xml b/mail-filter/policyd-weight/metadata.xml
deleted file mode 100644
index 8620d57b8b9c..000000000000
--- a/mail-filter/policyd-weight/metadata.xml
+++ /dev/null
@@ -1,15 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
- <!-- maintainer-needed -->
- <longdescription lang="en">
- policyd-weight is a Perl policy daemon for the Postfix MTA (2.1 and
- later) intended to eliminate forged envelope senders and HELOs (i.e. in
- bogus mails). It allows you to score DNSBLs (RBL/RHSBL), HELO, MAIL
- FROM and client IP addresses before any queuing is done. It allows you
- to REJECT messages which have a score higher than allowed, providing
- improved blocking of spam and virus mails. policyd-weight caches the
- most frequent client/sender combinations (SPAM as well as HAM) to reduce
- the number of DNS queries.
- </longdescription>
-</pkgmetadata>
diff --git a/mail-filter/policyd-weight/policyd-weight-0.1.15.2-r3.ebuild b/mail-filter/policyd-weight/policyd-weight-0.1.15.2-r3.ebuild
deleted file mode 100644
index 11e59e2db4d7..000000000000
--- a/mail-filter/policyd-weight/policyd-weight-0.1.15.2-r3.ebuild
+++ /dev/null
@@ -1,56 +0,0 @@
-# Copyright 1999-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit tmpfiles
-
-PATCH_VER="1.0"
-
-DESCRIPTION="Weighted Policy daemon for Postfix"
-HOMEPAGE="http://www.policyd-weight.org/"
-SRC_URI="
- http://www.policyd-weight.org/releases/${P}.tar.gz
- mirror://gentoo/b9/${P}-patches-${PATCH_VER}.tar.xz
-"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~alpha amd64 x86"
-
-RDEPEND="
- acct-group/polw
- acct-user/polw
- dev-perl/Net-DNS
- dev-perl/Net-IP
- mail-mta/postfix
- virtual/perl-File-Spec
- virtual/perl-Sys-Syslog
-"
-
-src_prepare() {
- default
- eapply "${WORKDIR}"/patches/*.patch
-}
-
-src_compile() { :; }
-
-src_install() {
- exeinto /usr/libexec/postfix
- doexe policyd-weight
- fowners root:wheel /usr/libexec/postfix/policyd-weight
-
- doman man/man5/*.5 man/man8/*.8
- dodoc *.txt
-
- insinto /etc
- newins policyd-weight.conf.sample policyd-weight.conf
-
- newinitd "${FILESDIR}"/policyd-weight.init.d-r2 policyd-weight
-
- newtmpfiles "${FILESDIR}"/policyd-weight.tmpfile policyd-weight.conf
-}
-
-pkg_postinst() {
- tmpfiles_process policyd-weight.conf
-}
diff --git a/mail-filter/policyd/Manifest b/mail-filter/policyd/Manifest
deleted file mode 100644
index aa9c8a377e0c..000000000000
--- a/mail-filter/policyd/Manifest
+++ /dev/null
@@ -1 +0,0 @@
-DIST policyd-1.82.tar.gz 68372 BLAKE2B 39603b025235d3a68401e8cf9b357d224515f5308f1b86bf84d1231157ac2d5c2ca4dc00cc9deefdd03cdb4ffc214a8ebe5582e299f05b79a471e93238e36cff SHA512 08de114736620d5f1c11f7183135ecf4589c2d6258dee486b5f4f5a9156e4feabd7eaf19fa09428e79d5d5c72ac4757c83af86f43a7547030b1a59cb368e82a8
diff --git a/mail-filter/policyd/files/policyd-cleanup.cron b/mail-filter/policyd/files/policyd-cleanup.cron
deleted file mode 100644
index fef8d275bd63..000000000000
--- a/mail-filter/policyd/files/policyd-cleanup.cron
+++ /dev/null
@@ -1,2 +0,0 @@
-#!/bin/bash
-/usr/sbin/policyd_cleanup -c /etc/policyd.conf
diff --git a/mail-filter/policyd/files/policyd-makefile.patch b/mail-filter/policyd/files/policyd-makefile.patch
deleted file mode 100644
index 94e3edb1c193..000000000000
--- a/mail-filter/policyd/files/policyd-makefile.patch
+++ /dev/null
@@ -1,39 +0,0 @@
-diff --git a/Makefile b/Makefile
-index ded74ce..6f2afd1 100644
---- a/Makefile
-+++ b/Makefile
-@@ -16,8 +16,8 @@ lib += -L/usr/local/mysql
-
-
- CC := gcc
--CPPFLAGS := -O $(inc)
--CFLAGS := -g -W -Wall -DMAXFDS=4096
-+CPPFLAGS := $(inc) ${CPPFLAGS}
-+CFLAGS := -g -W -Wall -DMAXFDS=`ulimit -n` ${CFLAGS}
- OS_NAME := $(shell uname | tr [A-Z] [a-z])
- LDLIBS = $(lib) -lmysqlclient -lz
-
-@@ -50,20 +50,20 @@ policyd: syslog.o policyd.o generic.o mysql.o greylist.o throttle.o sockets.o ci
- whitelist.o throttle_host.o throttle_sasl.o throttle_from.o throttle_rcpt.o helo.o
- @echo ""
- @echo "[*] Linking policyd*"
-- @$(CC) $(CFLAGS) $(CPPFLAGS) \
-+ @$(CC) $(CFLAGS) $(CPPFLAGS) $(LDFLAGS) \
- syslog.o policyd.o generic.o mysql.o greylist.o throttle.o sockets.o cidr.o spamtrap.o blacklist.o blacklist_helo.o \
- whitelist.o throttle_host.o throttle_sasl.o throttle_from.o throttle_rcpt.o helo.o \
- $(LDLIBS) -o policyd
-
- cleanup: syslog.o cidr.o cleanup.o generic.o sockets.o mysql.o
- @echo "[*] Linking cleanup*"
-- @$(CC) $(CFLAGS) $(CPPFLAGS) \
-+ @$(CC) $(CFLAGS) $(CPPFLAGS) $(LDFLAGS) \
- syslog.o cidr.o cleanup.o generic.o sockets.o mysql.o \
- $(LDLIBS) -o cleanup
-
- stats: cidr.o syslog.o stats.o generic.o sockets.o mysql.o
- @echo "[*] Linking stats*"
-- @$(CC) $(CFLAGS) $(CPPFLAGS) \
-+ @$(CC) $(CFLAGS) $(CPPFLAGS) $(LDFLAGS) \
- cidr.o syslog.o stats.o generic.o sockets.o mysql.o \
- $(LDLIBS) -o stats
- @echo ""
diff --git a/mail-filter/policyd/files/policyd-post182.patch b/mail-filter/policyd/files/policyd-post182.patch
deleted file mode 100644
index fc684aab7cb3..000000000000
--- a/mail-filter/policyd/files/policyd-post182.patch
+++ /dev/null
@@ -1,52 +0,0 @@
-First patch from debian. The other two mostly cosmetic patches from bug #288438.
---- a/syslog.c
-+++ b/syslog.c
-@@ -214,14 +214,15 @@ char
- if (strlen (str) == 0)
- return (str);
-
-+ p = str + strlen(str);
-+
- for (i = 0; isspace (str[i]); i++)
- ;
-
-- strcpy (str, str + i);
-+ str += i;
-
-- p = str + strlen (str);
-- while ((p--) != str && isspace (*p))
-- *p = 0;
-+ while ((p--) != str && isspace (*p))
-+ *p = 0;
-
- return (str);
- }
-diff -ur policyd-1.82-orig/throttle.c policyd-1.82/throttle.c
---- a/throttle.c 2007-08-20 08:42:05.000000000 +0200
-+++ b/throttle.c 2009-10-10 03:49:25.000000000 +0200
-@@ -145,11 +145,11 @@
-
- if(tcount[fd] >= tquota[fd] && tcount[fd] >= trcpt[fd]) {
- tresult = tcount[fd];
-- if (DEBUG >= 4) logmessage("tquota[fd] won\n"); }
-+ if (DEBUG >= 4) logmessage("tcount[fd] won\n"); }
-
- if(trcpt[fd] >= tcount[fd] && trcpt[fd] >= tquota[fd]) {
- tresult = trcpt[fd];
-- if (DEBUG >= 4) logmessage("tquota[fd] won\n"); }
-+ if (DEBUG >= 4) logmessage("trcpt[fd] won\n"); }
-
- if(DEBUG >= 4)
- logmessage("DEBUG: fd: %d: tresult: %d\n", fd, tresult);
-diff -ur policyd-1.82-orig/throttle_sasl.c policyd-1.82/throttle_sasl.c
---- a/throttle_sasl.c 2007-08-20 08:42:05.000000000 +0200
-+++ b/throttle_sasl.c 2009-10-10 03:50:27.000000000 +0200
-@@ -188,7 +188,7 @@
- "UPDATE throttle SET"
- " _abuse_cur=1"
- " WHERE _from='%s'",
-- triplet_array[fd][1]);
-+ triplet_array[fd][4]);
- if(db_doquery(fd) == -1) return(db_failure(fd, "throttle"));
-
- return (-5);
diff --git a/mail-filter/policyd/files/policyd.confd b/mail-filter/policyd/files/policyd.confd
deleted file mode 100644
index 1fc697d451f2..000000000000
--- a/mail-filter/policyd/files/policyd.confd
+++ /dev/null
@@ -1,2 +0,0 @@
-# Config file for policyd
-POLICYD_CONFIG="/etc/policyd.conf"
diff --git a/mail-filter/policyd/files/policyd.rc b/mail-filter/policyd/files/policyd.rc
deleted file mode 100644
index 54fda4611ef9..000000000000
--- a/mail-filter/policyd/files/policyd.rc
+++ /dev/null
@@ -1,21 +0,0 @@
-#!/sbin/openrc-run
-# Copyright 1999-2006 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-depend() {
- before mta
- provide postfix_greylist
-}
-
-start() {
- ebegin "Starting policyd"
- start-stop-daemon --name policyd --start --quiet --exec /usr/sbin/policyd \
- -- -c ${POLICYD_CONFIG}
- eend $?
-}
-
-stop() {
- ebegin "Stopping policyd"
- start-stop-daemon --stop --quiet --pidfile /var/run/policyd.pid
- eend $?
-}
diff --git a/mail-filter/policyd/metadata.xml b/mail-filter/policyd/metadata.xml
deleted file mode 100644
index 7cc2ec0db693..000000000000
--- a/mail-filter/policyd/metadata.xml
+++ /dev/null
@@ -1,8 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
- <!-- maintainer-needed -->
- <upstream>
- <remote-id type="sourceforge">policyd</remote-id>
- </upstream>
-</pkgmetadata>
diff --git a/mail-filter/policyd/policyd-1.82-r4.ebuild b/mail-filter/policyd/policyd-1.82-r4.ebuild
deleted file mode 100644
index a589b431e0d4..000000000000
--- a/mail-filter/policyd/policyd-1.82-r4.ebuild
+++ /dev/null
@@ -1,82 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit flag-o-matic toolchain-funcs
-
-DESCRIPTION="Policy daemon for postfix and other MTAs"
-HOMEPAGE="https://wiki.policyd.org"
-SRC_URI="https://download.policyd.org/v${PV}/${P}.tar.gz"
-
-LICENSE="GPL-2+"
-SLOT="0"
-KEYWORDS="amd64 ~hppa x86"
-
-DEPEND="
- dev-db/mysql-connector-c:0=
- dev-libs/openssl:0="
-RDEPEND="${DEPEND}"
-
-PATCHES=(
- "${FILESDIR}"/${PN}-post182.patch
- "${FILESDIR}"/${PN}-makefile.patch
-)
-
-src_prepare() {
- default
- sed -i -e 's/@${CC}/${CC}/' -e 's/@$(CC)/$(CC)/' Makefile
-
- # config patches
- sed -i -e s:UID=0:UID=65534:g \
- -e s:GID=0:GID=65534:g \
- -e s:DAEMON=0:DAEMON=1:g \
- -e s:DEBUG=3:DEBUG=0:g \
- -e s:DATABASE_KEEPALIVE=0:DATABASE_KEEPALIVE=1:g \
- policyd.conf || die
-}
-
-src_configure() {
- append-cflags -fcommon
- default
-}
-
-src_compile() {
- emake CC="$(tc-getCC)" build
-}
-
-src_install() {
- insopts -o root -g nobody -m 0750
- mv cleanup policyd_cleanup || die
- mv stats policyd_stats || die
-
- dosbin policyd policyd_cleanup policyd_stats
-
- insopts -o root -g nobody -m 0640
- insinto /etc
- doins policyd.conf
-
- insopts -o root -g nobody -m 0700
- exeinto /etc/cron.hourly
- newexe "${FILESDIR}"/${PN}-cleanup.cron ${PN}-cleanup.cron
-
- dodoc ChangeLog DATABASE.mysql README doc/support.txt
-
- newinitd "${FILESDIR}"/${PN}.rc policyd
- newconfd "${FILESDIR}"/${PN}.confd policyd
-}
-
-pkg_postinst() {
- elog "You will need to create the database using the script DATABASE.mysql"
- elog "in /usr/share/doc/${PF}/"
- elog "Read the mysql section of the README.txt for details."
- elog
- elog "To use policyd with postfix, update your /etc/postfix/main.cf file by adding"
- elog " check_policy_service inet:127.0.0.1:10031"
- elog "to your smtpd_recipient_restrictions line, or similar."
- elog
- elog "Also remember to start the daemon at boot:"
- elog " rc-update add policyd default"
- elog
- elog "Read the documentation for more info."
-}
diff --git a/mail-filter/popfile/Manifest b/mail-filter/popfile/Manifest
deleted file mode 100644
index e87eb2b8c11a..000000000000
--- a/mail-filter/popfile/Manifest
+++ /dev/null
@@ -1 +0,0 @@
-DIST popfile-1.1.3.zip 523431 BLAKE2B cf084e572bf0d8da7d4ce4435f7df9c527ebb0d6714f9b5ac2c2d8701231f452989de048e24bdd7cec2483466ed20f1ed9aa84255f7606a9ffb2bb06bf05b30c SHA512 0e3ed3d67d2c2b456643335dd030a51e890bb371c5b8cf9eed9fac350a2536b8884eeffff78fcb27b99c39711505df533ee3ded5b40714fb46e54c2d25b3dda9
diff --git a/mail-filter/popfile/files/popfile b/mail-filter/popfile/files/popfile
deleted file mode 100644
index 84fe795d5bd9..000000000000
--- a/mail-filter/popfile/files/popfile
+++ /dev/null
@@ -1,33 +0,0 @@
-#!/bin/bash
-#
-# /usr/bin/popfile
-# Shell script wrapper around the popfile perl script
-#
-# Author Stuart Herbert
-# (stuart@gentoo.org)
-#
-# Copyright Released into the public domain
-#
-# ------------------------------------------------------------------------
-
-POPFILE_DIR=/usr/share/popfile
-POPFILE_PL=popfile.pl
-
-if [[ `id -u` != 0 ]] ; then
- echo "*** error: You must be root to run popfile" >&2
- exit 1
-fi
-
-if [[ ! -d $POPFILE_DIR ]] ; then
- echo "*** error: Directory $POPFILE_DIR does not exist" >&2
- echo "*** Is popfile installed?"
- exit 1
-fi
-
-if [[ ! -e $POPFILE_DIR/$POPFILE_PL ]] ; then
- echo "*** error: popfile.pl is missing or not executable" >&2
- exit 1
-fi
-
-cd $POPFILE_DIR
-exec ./$POPFILE_PL
diff --git a/mail-filter/popfile/metadata.xml b/mail-filter/popfile/metadata.xml
deleted file mode 100644
index 36acccda7221..000000000000
--- a/mail-filter/popfile/metadata.xml
+++ /dev/null
@@ -1,10 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "https://liguros.gitlab.io/dtd/metadata.dtd">
-<pkgmetadata>
- <maintainer type="project">
- <email>dev@liguros.net</email>
- <name>Development</name>
- </maintainer>
-
- <origin>ports</origin>
-</pkgmetadata> \ No newline at end of file
diff --git a/mail-filter/popfile/popfile-1.1.3-r2.ebuild b/mail-filter/popfile/popfile-1.1.3-r2.ebuild
deleted file mode 100644
index 92ef30b05fc6..000000000000
--- a/mail-filter/popfile/popfile-1.1.3-r2.ebuild
+++ /dev/null
@@ -1,54 +0,0 @@
-# Copyright 2021-2023 Liguros Authors
-# Distributed under the terms of the GNU General Public License v2
-EAPI=8
-
-DESCRIPTION="Anti-spam bayesian filter"
-HOMEPAGE="https://getpopfile.org"
-SRC_URI="https://getpopfile.org/downloads/${P}.zip"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="amd64 x86"
-IUSE="cjk ipv6 mysql ssl xmlrpc"
-
-RDEPEND="virtual/perl-Digest-MD5
- virtual/perl-MIME-Base64
- dev-perl/DBD-SQLite
- dev-perl/HTML-Tagset
- dev-perl/HTML-Template
- dev-perl/TimeDate
- dev-perl/DBI
- virtual/perl-Digest
- cjk? ( dev-perl/Encode-compat
- dev-perl/Text-Kakasi )
- mysql? ( dev-perl/DBD-mysql )
- ipv6? ( dev-perl/IO-Socket-INET6 )
- ssl? ( dev-libs/openssl:0
-
- dev-perl/IO-Socket-SSL
- dev-perl/Net-SSLeay )
- xmlrpc? ( dev-perl/PlRPC )"
-
-DEPEND="app-arch/unzip"
-
-S="${WORKDIR}"
-
-src_prepare() {
- default
- local f
- for f in `find ./ -type f`; do
- edos2unix "${f}"
- done
-}
-
-src_install() {
- dodoc *.change*
- rm -rf *.change* license
-
- insinto /usr/share/${PN}
- doins -r *
-
- fperms 755 /usr/share/${PN}/{popfile,insert,pipe,bayes}.pl
-
- dosbin "${FILESDIR}"/${PN}
-}
diff --git a/mail-filter/postfix-mta-sts-resolver/Manifest b/mail-filter/postfix-mta-sts-resolver/Manifest
deleted file mode 100644
index ce261f6e32e8..000000000000
--- a/mail-filter/postfix-mta-sts-resolver/Manifest
+++ /dev/null
@@ -1 +0,0 @@
-DIST postfix-mta-sts-resolver-1.4.0.tar.gz 54714 BLAKE2B a0ca683f56c5f0f94d0622cacae034fed7c8d76b2d4ae67feb29259e1093fa98241fd18340aab205115b1ffd78b744aa0eb689c62fe9e161aaf49ea32a9fb384 SHA512 e7e566f124f3ae8e61d4cd1ba93aa276773331e11a4497d9e69eb01aa2548dc9219b1dba874d81a84a3796705dcbdba2c2d673b2449c4241a2977c02207a92f4
diff --git a/mail-filter/postfix-mta-sts-resolver/files/mtasts-confd b/mail-filter/postfix-mta-sts-resolver/files/mtasts-confd
deleted file mode 100644
index 4f6be008914c..000000000000
--- a/mail-filter/postfix-mta-sts-resolver/files/mtasts-confd
+++ /dev/null
@@ -1,10 +0,0 @@
-# /etc/conf.d/mta-sts
-
-# Configuration file
-MTASTS_CONFIGFILE="/etc/mta-sts-daemon.yml"
-
-# PID file
-MTASTS_PIDFILE="/run/mta-sts.pid"
-
-# Options to mta-sts-daemon
-MTASTS_OPTS="-l /var/log/mta-sts.log -v debug"
diff --git a/mail-filter/postfix-mta-sts-resolver/files/mtasts-config b/mail-filter/postfix-mta-sts-resolver/files/mtasts-config
deleted file mode 100644
index 529759bdbf32..000000000000
--- a/mail-filter/postfix-mta-sts-resolver/files/mtasts-config
+++ /dev/null
@@ -1,36 +0,0 @@
-# Default config for mta-sts-daemon
-# If path/mode is set, host/port is ignored
-host: 127.0.0.1
-port: 8461
-#path: "/var/run/mta-sts.sock"
-#mode: 0666
-reuse_port: true
-cache_grace: 60
-shutdown_timeout: 20
-# Select one type of cache
-cache:
- type: internal
- options:
- cache_size: 10000
-# type: redis
-# options:
-# url: "redis://127.0.0.1/0"
-# max_connections: 25
-# socket_timeout: 1.0
-# socket_connect_timeout: 1.0
-# type: sqlite
-# options:
-# filename: "/var/lib/mta-sts/cache.db"
-proactive_policy_fetching:
- enabled: false
- interval: 86400
- concurrency_limit: 100
- grace_ratio: 2.0
-default_zone:
- strict_testing: false
- timeout: 4
- require_sni: true
-#zones:
-# myzone:
-# strict_testing: false
-# timeout: 4
diff --git a/mail-filter/postfix-mta-sts-resolver/files/mtasts-initd b/mail-filter/postfix-mta-sts-resolver/files/mtasts-initd
deleted file mode 100644
index 3562db1358e2..000000000000
--- a/mail-filter/postfix-mta-sts-resolver/files/mtasts-initd
+++ /dev/null
@@ -1,18 +0,0 @@
-#!/sbin/openrc-run
-# Copyright 2015-2019 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-depend() {
- use net
- before postfix
-}
-
-command="/usr/bin/mta-sts-daemon"
-command_args="${MTASTS_OPTS} -c ${MTASTS_CONFIGFILE}"
-command_background="yes"
-
-pidfile="${MTASTS_PIDFILE}"
-
-required_files="${MTASTS_CONFIGFILE}"
-
-description="Postfix MTA-STS resolver"
diff --git a/mail-filter/postfix-mta-sts-resolver/metadata.xml b/mail-filter/postfix-mta-sts-resolver/metadata.xml
deleted file mode 100644
index a62daaa1fea3..000000000000
--- a/mail-filter/postfix-mta-sts-resolver/metadata.xml
+++ /dev/null
@@ -1,12 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
- <!-- maintainer-needed -->
- <upstream>
- <maintainer>
- <name>Snawoot</name>
- </maintainer>
- <remote-id type="github">Snawoot/postfix-mta-sts-resolver</remote-id>
- <remote-id type="pypi">postfix-mta-sts-resolver</remote-id>
- </upstream>
-</pkgmetadata>
diff --git a/mail-filter/postfix-mta-sts-resolver/postfix-mta-sts-resolver-1.4.0.ebuild b/mail-filter/postfix-mta-sts-resolver/postfix-mta-sts-resolver-1.4.0.ebuild
deleted file mode 100644
index 29f74cc01d81..000000000000
--- a/mail-filter/postfix-mta-sts-resolver/postfix-mta-sts-resolver-1.4.0.ebuild
+++ /dev/null
@@ -1,43 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-PYTHON_COMPAT=( python3_{13..14} )
-PYPI_NO_NORMALIZE=1
-DISTUTILS_USE_PEP517=setuptools
-inherit distutils-r1 optfeature pypi
-
-DESCRIPTION="Daemon which provides TLS client policy for Postfix via socketmap"
-HOMEPAGE="
- https://github.com/Snawoot/postfix-mta-sts-resolver
- https://pypi.org/project/postfix-mta-sts-resolver/
-"
-SRC_URI="https://github.com/Snawoot/${PN}/releases/download/v${PV}/${P}.tar.gz"
-
-LICENSE="MIT"
-SLOT="0"
-KEYWORDS="~amd64"
-
-RDEPEND="
- dev-python/aiodns[${PYTHON_USEDEP}]
- dev-python/aiohttp[${PYTHON_USEDEP}]
- dev-python/pyyaml[${PYTHON_USEDEP}]
-"
-
-distutils_enable_tests pytest
-
-src_install() {
- distutils-r1_src_install
-
- newinitd "${FILESDIR}"/mtasts-initd mta-sts
- newconfd "${FILESDIR}"/mtasts-confd mta-sts
- insinto /etc/
- newins "${FILESDIR}"/mtasts-config mta-sts-daemon.yml
-}
-
-pkg_postinst() {
- optfeature "PostgreSQL support" dev-python/asyncpg
- optfeature "Redis support" dev-python/redis
- optfeature "SQLite support" dev-python/aiosqlite
- optfeature "uvloop support" dev-python/uvloop
-}
diff --git a/mail-filter/postforward/Manifest b/mail-filter/postforward/Manifest
deleted file mode 100644
index 5ca336a696f6..000000000000
--- a/mail-filter/postforward/Manifest
+++ /dev/null
@@ -1 +0,0 @@
-DIST postforward-1.1.1.tar.gz 6086 BLAKE2B ecf344af646b745fa9860279f6c91ba5ab74a5dc93a1cb09168091b01ebe5e804062afa32a51b34f65c5c89c08e401a8a4e1beb145c07bcfb848c970f6f4e1f7 SHA512 1f29e1731ef9fd1292f932a8e195577ce238f69c2e6ae1ffac81a577607fda98563b454564841011ce077cc8453e5ad78d2ab904fdf0fea67c15a69f6b2a3d92
diff --git a/mail-filter/postforward/files/postforward-1.1.1-apply-sendmail-path.patch b/mail-filter/postforward/files/postforward-1.1.1-apply-sendmail-path.patch
deleted file mode 100644
index c64b76368a39..000000000000
--- a/mail-filter/postforward/files/postforward-1.1.1-apply-sendmail-path.patch
+++ /dev/null
@@ -1,11 +0,0 @@
---- a/postforward.go
-+++ b/postforward.go
-@@ -27,7 +27,7 @@ const (
- )
-
- var dryRun = flag.Bool("dry-run", false, "show what would be done, don't actually forward mail")
--var path = flag.String("path", "", "override $PATH with this value when executing binaries")
-+var path = flag.String("path", "@GENTOO_PORTAGE_EPREFIX@/usr/sbin", "override $PATH with this value when executing binaries")
- var rpHeader = flag.String("rp-header", "Return-Path", "header name containing the return-path (MAIL FROM) value")
- var sendmailPath = flag.String("sendmail-path", "sendmail", "path to the sendmail binary (deprecated: use --path instead)")
- var srsAddr = flag.String("srs-addr", "localhost:10001", "TCP address for SRS lookups")
diff --git a/mail-filter/postforward/metadata.xml b/mail-filter/postforward/metadata.xml
deleted file mode 100644
index dbc26797117e..000000000000
--- a/mail-filter/postforward/metadata.xml
+++ /dev/null
@@ -1,17 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
- <maintainer type="person" proxied="yes">
- <email>gentoo_bugs_2_peep@parallaxshift.com</email>
- <name>Philippe Chaintreuil</name>
- </maintainer>
-
- <maintainer type="project" proxied="proxy">
- <email>proxy-maint@gentoo.org</email>
- <name>Proxy Maintainers</name>
- </maintainer>
-
- <upstream>
- <remote-id type="github">zoni/postforward</remote-id>
- </upstream>
-</pkgmetadata>
diff --git a/mail-filter/postforward/postforward-1.1.1-r1.ebuild b/mail-filter/postforward/postforward-1.1.1-r1.ebuild
deleted file mode 100644
index 12417c94def0..000000000000
--- a/mail-filter/postforward/postforward-1.1.1-r1.ebuild
+++ /dev/null
@@ -1,43 +0,0 @@
-# Copyright 1999-2025 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit go-module
-
-DESCRIPTION="Postfix Sender Rewriting Scheme forwarding agent"
-HOMEPAGE="https://github.com/zoni/postforward"
-SRC_URI="https://github.com/zoni/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
-
-LICENSE="BSD-2"
-SLOT="0"
-KEYWORDS="amd64 x86"
-
-RDEPEND="mail-filter/postsrsd"
-
-PATCHES=(
- "${FILESDIR}/${P}-apply-sendmail-path.patch"
-)
-
-src_unpack() {
- # This package has no dependencies, but go-module_src_unpack requires this directory
- mkdir -p "${S}/vendor" || die
-
- go-module_src_unpack
-}
-
-src_prepare() {
- default
-
- # Dynamically fix EPREFIX lines made by ${PN}_apply-sendmail-path.patch
- sed -e "s/@GENTOO_PORTAGE_EPREFIX@/${EPREFIX}/" -i ${PN}.go || die
-}
-
-src_compile() {
- ego build -o ${PN} ${PN}.go
-}
-
-src_install() {
- einstalldocs
- dosbin "${PN}"
-}
diff --git a/mail-filter/postfwd/Manifest b/mail-filter/postfwd/Manifest
deleted file mode 100644
index 8bc9d7b26cd1..000000000000
--- a/mail-filter/postfwd/Manifest
+++ /dev/null
@@ -1,2 +0,0 @@
-DIST postfwd-2.02.tar.gz 265781 BLAKE2B de63bdab4f7c1b117a16ebed2248f1e89b7c973bb34cee1b3fbbceda8c9d9b92d180fb5de8a332732b69a05d1b157be1c95d81ded003641d78665064a4881432 SHA512 23b48ca7218fba46f4b1887c4c6724112866c2e22e56f749602ba74430c4cf4c8418b9effb400ea4a468a5f137c764cac9611879e37d1585cf6d0b31dd41060f
-DIST postfwd-2.03.tar.gz 266373 BLAKE2B d7d7ab7680ddc7640831b2216d2f1618f1b4561abed6a0c6c5edabebe205496ae41893500b09c9bd76131dbbbed1743af00156417f2fb23c23c03fdddef96e95 SHA512 1f29766e9e7aa8cfd4c86e426ca578670094eb856758bc67d0fbd98ec31f408a5797e0fd93ee81a169014b5376dfc48f71db122a4cfafe0ba757856679f5ff61
diff --git a/mail-filter/postfwd/files/postfwd.conf.3 b/mail-filter/postfwd/files/postfwd.conf.3
deleted file mode 100644
index 578b0516171e..000000000000
--- a/mail-filter/postfwd/files/postfwd.conf.3
+++ /dev/null
@@ -1,18 +0,0 @@
-# /etc/conf.d/postfwd.conf
-
-# User and group to execute postfwd as
-POSTFWD_USER="postfwd"
-POSTFWD_GROUP="postfwd"
-
-# Configuration file to use
-POSTFWD_CONFIG="/etc/postfwd.cf"
-
-# The IP address postfwd will listen on
-# WARNING: You _really_ want this to be localhost for security!
-POSTFWD_LISTEN="127.0.0.1"
-
-# The port postfwd will listen on
-POSTFWD_PORT="10040"
-
-# Additional options to pass to postfwd
-POSTFWD_OPTS=""
diff --git a/mail-filter/postfwd/files/postfwd.init.3-r1 b/mail-filter/postfwd/files/postfwd.init.3-r1
deleted file mode 100644
index 496fea757208..000000000000
--- a/mail-filter/postfwd/files/postfwd.init.3-r1
+++ /dev/null
@@ -1,11 +0,0 @@
-#!/sbin/openrc-run
-# Copyright 1999-2019 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-command="/usr/sbin/postfwd3"
-command_args="--nodaemon --file ${POSTFWD_CONFIG} --interface=${POSTFWD_LISTEN} \
- --port=${POSTFWD_PORT} ${POSTFWD_OPTS}"
-command_background=true
-command_user="${POSTFWD_USER}:${POSTFWD_GROUP}"
-pidfile="/run/${RC_SVCNAME}.pid"
-required_files="${POSTFWD_CONFIG}"
diff --git a/mail-filter/postfwd/files/postfwd.service.3 b/mail-filter/postfwd/files/postfwd.service.3
deleted file mode 100644
index b1d3b45cce5c..000000000000
--- a/mail-filter/postfwd/files/postfwd.service.3
+++ /dev/null
@@ -1,11 +0,0 @@
-[Unit]
-Description=Postfix firewall daemon
-
-[Service]
-Type=forking
-ExecStart=/usr/sbin/postfwd3 --shortlog --summary=600 --cache=600 --cache-rbl-timeout=3600 --cleanup-requests=1200 --cleanup-rbls=1800 --cleanup-rates=1200 --daemon --file=/etc/postfwd.cf --interface=127.0.0.1 --port=10040 --pidfile=/var/run/postfwd.pid --user=postfwd --group=postfwd
-ExecStop=/usr/sbin/postfwd3 --file=/etc/postfwd.cf --pidfile=/var/run/postfwd.pid --kill
-ExecReload=/usr/sbin/postfwd3 --file=/etc/postfwd.cf --pidfile=/var/run/postfwd.pid --reload
-
-[Install]
-WantedBy=multi-user.target
diff --git a/mail-filter/postfwd/metadata.xml b/mail-filter/postfwd/metadata.xml
deleted file mode 100644
index 8f3168c9e513..000000000000
--- a/mail-filter/postfwd/metadata.xml
+++ /dev/null
@@ -1,23 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
- <maintainer type="person">
- <email>mschiff@gentoo.org</email>
- <name>Marc Schiffbauer</name>
- </maintainer>
- <upstream>
- <maintainer status="active">
- <email>info@postfwd.org</email>
- <name>Jan Peter Kessler</name>
- </maintainer>
- <changelog>http://www.postfwd.org/postfwd2.CHANGELOG</changelog>
- </upstream>
- <longdescription lang="en">
- postfwd (short for Postfix Firewall Daemon) is a Postfix policy server
- that is written in Perl. It allows to define flexible and complex rules
- to block access to the mail system before the actual message has been
- accepted. The ruleset configuration supports features like scoring,
- grouping, date and time based dependencies together with DNSBL lookups
- and policy delegation (e.g. postgrey).
- </longdescription>
-</pkgmetadata>
diff --git a/mail-filter/postfwd/postfwd-2.02-r1.ebuild b/mail-filter/postfwd/postfwd-2.02-r1.ebuild
deleted file mode 100644
index 9c5901fcc653..000000000000
--- a/mail-filter/postfwd/postfwd-2.02-r1.ebuild
+++ /dev/null
@@ -1,83 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit systemd
-
-DESCRIPTION="Versatile Postfix policy server with a flexible ruleset based configuration"
-HOMEPAGE="https://www.postfwd.org/"
-SRC_URI="https://www.postfwd.org/${P}.tar.gz"
-S="${WORKDIR}/${PN}"
-
-LICENSE="BSD"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-
-RDEPEND="
- acct-group/postfwd
- acct-user/postfwd
- dev-lang/perl
- dev-perl/Net-CIDR-Lite
- dev-perl/Net-DNS
- dev-perl/Net-Server
- dev-perl/NetAddr-IP
- virtual/perl-Digest-MD5
- virtual/perl-Storable
- virtual/perl-Sys-Syslog
- virtual/perl-Time-HiRes
-"
-
-src_install() {
- local BIN="postfwd3"
- # program
- dosbin sbin/${BIN}
-
- # man pages and documentation
- doman man/man8/${BIN}.8
- dodoc doc/{${BIN}.CHANGELOG,${BIN}.txt}
-
- # example configuration
- dodoc etc/${PN}.cf.sample
-
- # plugins and tools
- dodoc -r plugins tools
-
- # start scripts script and respective configuration file
- newinitd "${FILESDIR}"/${PN}.init.3-r1 ${PN}
- newconfd "${FILESDIR}"/${PN}.conf.3 ${PN}
- systemd_newunit "${FILESDIR}"/${PN}.service.3 ${PN}.service
-}
-
-pkg_postinst() {
- einfo
- einfo "${PN} has no default configuration for safety reasons. Every"
- einfo "mail system is different, so you should craft a set of rules"
- einfo "that is suitable for your environment and save it to:"
- einfo " ${EROOT}/etc/postfwd.cf"
- einfo "You can find a sample configuration in:"
- einfo " ${EROOT}/usr/share/doc/${PF}"
- einfo
- einfo "If you want ${PN} to start on system boot, you have to add it your"
- einfo "default run level if using OpenRC:"
- einfo " # rc-update add postfwd default"
- einfo "Also remember to edit ${EROOT}/etc/conf.d/${PN} to your liking."
- einfo
- einfo "Or - if you are using systemd - enable the service:"
- einfo " # systemctl enable postfwd"
- einfo
- einfo "A plugins sample folder has been placed under:"
- einfo
- einfo " ${EROOT}/usr/share/doc/${PF}/plugins"
- einfo
- einfo "You can find additional tools for testing ${PN} in:"
- einfo " ${EROOT}/usr/share/doc/${PF}/tools"
-
- ewarn
- ewarn "Please read the documentation carefully and properly test new"
- ewarn "rulesets before putting them into production use. Otherwise you"
- ewarn "risk accidental mail loss or worse."
- ewarn
- ewarn "Visit https://www.postfwd.org/ for more information."
- ewarn
-}
diff --git a/mail-filter/postfwd/postfwd-2.03.ebuild b/mail-filter/postfwd/postfwd-2.03.ebuild
deleted file mode 100644
index 97bea1f4e711..000000000000
--- a/mail-filter/postfwd/postfwd-2.03.ebuild
+++ /dev/null
@@ -1,85 +0,0 @@
-# Copyright 1999-2026 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit systemd
-
-DESCRIPTION="Versatile Postfix policy server with a flexible ruleset based configuration"
-HOMEPAGE="https://www.postfwd.org/"
-SRC_URI="https://www.postfwd.org/${P}.tar.gz"
-S="${WORKDIR}/${PN}"
-
-LICENSE="BSD"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="selinux"
-
-RDEPEND="
- acct-group/postfwd
- acct-user/postfwd
- dev-lang/perl
- dev-perl/Net-CIDR-Lite
- dev-perl/Net-DNS
- dev-perl/Net-Server
- dev-perl/NetAddr-IP
- virtual/perl-Digest-MD5
- virtual/perl-Storable
- virtual/perl-Sys-Syslog
- virtual/perl-Time-HiRes
- selinux? ( sec-policy/selinux-milter )
-"
-
-src_install() {
- local BIN="postfwd3"
- # program
- dosbin sbin/${BIN}
-
- # man pages and documentation
- doman man/man8/${BIN}.8
- dodoc doc/{${BIN}.CHANGELOG,${BIN}.txt}
-
- # example configuration
- dodoc etc/${PN}.cf.sample
-
- # plugins and tools
- dodoc -r plugins tools
-
- # start scripts script and respective configuration file
- newinitd "${FILESDIR}"/${PN}.init.3-r1 ${PN}
- newconfd "${FILESDIR}"/${PN}.conf.3 ${PN}
- systemd_newunit "${FILESDIR}"/${PN}.service.3 ${PN}.service
-}
-
-pkg_postinst() {
- einfo
- einfo "${PN} has no default configuration for safety reasons. Every"
- einfo "mail system is different, so you should craft a set of rules"
- einfo "that is suitable for your environment and save it to:"
- einfo " ${EROOT}/etc/postfwd.cf"
- einfo "You can find a sample configuration in:"
- einfo " ${EROOT}/usr/share/doc/${PF}"
- einfo
- einfo "If you want ${PN} to start on system boot, you have to add it your"
- einfo "default run level if using OpenRC:"
- einfo " # rc-update add postfwd default"
- einfo "Also remember to edit ${EROOT}/etc/conf.d/${PN} to your liking."
- einfo
- einfo "Or - if you are using systemd - enable the service:"
- einfo " # systemctl enable postfwd"
- einfo
- einfo "A plugins sample folder has been placed under:"
- einfo
- einfo " ${EROOT}/usr/share/doc/${PF}/plugins"
- einfo
- einfo "You can find additional tools for testing ${PN} in:"
- einfo " ${EROOT}/usr/share/doc/${PF}/tools"
-
- ewarn
- ewarn "Please read the documentation carefully and properly test new"
- ewarn "rulesets before putting them into production use. Otherwise you"
- ewarn "risk accidental mail loss or worse."
- ewarn
- ewarn "Visit https://www.postfwd.org/ for more information."
- ewarn
-}
diff --git a/mail-filter/postgrey/Manifest b/mail-filter/postgrey/Manifest
deleted file mode 100644
index efb76c62a17f..000000000000
--- a/mail-filter/postgrey/Manifest
+++ /dev/null
@@ -1,2 +0,0 @@
-DIST postgrey-1.37_p20220122.tar.gz 124539 BLAKE2B 329c4bf6228c0a70a59bffaee0468489febf5237afacce94da193589c0f2849b2e4b9551c74d1a1478cb88d0a32ad91b0b1bf0ff677fd45bc098bab83192dd28 SHA512 1580b8dfddaad8c615d1ef12252681525d4b1318298b91145fee0deea08c0f9ea92b40889bc8c64404b54fb1d67f153e0065008825dfb6e00eb2f441076f9dc2
-DIST postgrey-1.37_p20230714.tar.gz 124561 BLAKE2B 8abd571fade3293e77cabfcf3fe1677749c9f34f1a213b6ff1856493bb4ac7d42ef960843ff1ea0f67df9a73e8ce5b92ef6bcf664727f9f197bede48ea0f382d SHA512 fc45722ecdc660a0756fc4625363680f7b031ce55990cfe6f99affcbd3e40d21c49669fe0a1b8ccbd303e78ff8d360446c8e524cac119b639b5e3de505c572eb
diff --git a/mail-filter/postgrey/files/postgrey-1.34-r3.rc.new b/mail-filter/postgrey/files/postgrey-1.34-r3.rc.new
deleted file mode 100644
index 74256f7e987a..000000000000
--- a/mail-filter/postgrey/files/postgrey-1.34-r3.rc.new
+++ /dev/null
@@ -1,100 +0,0 @@
-#!/sbin/openrc-run
-# Copyright 1999-2014 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-conf="/etc/conf.d/postgrey"
-
-extra_started_commands="reload"
-
-depend() {
- need net
- before postfix
- provide postfix_greylist
-}
-
-conf_error() {
- eerror "You need to setup ${conf} first"
- return 1
-}
-
-checkconfig() {
-if [ -z "${POSTGREY_TYPE}" ]
- then
- einfo "You need to choose the server type you want"
- einfo "by setting the POSTGREY_TYPE variable in ${conf}."
- else
- if [ "x${POSTGREY_TYPE}" = "xinet" ]
- then
- if [ -z "${POSTGREY_PORT}" ] || [ -z "${POSTGREY_HOST}" ]
- then
- einfo "The following entries are missing in ${conf}:"
- [ -z "${POSTGREY_HOST}" ] && einfo " - POSTGREY_HOST"
- [ -z "${POSTGREY_PORT}" ] && einfo " - POSTGREY_PORT"
- conf_error
- fi
- POSTGREY_ADDR="${POSTGREY_TYPE}=${POSTGREY_HOST}:${POSTGREY_PORT}"
- else
- if [ -z "${POSTGREY_SOCKET}" ]
- then
- einfo "The following entries are missing in ${conf}:"
- [ -z "${POSTGREY_SOCKET}" ] && einfo " - POSTGREY_SOCKET"
- conf_error
- fi
- POSTGREY_ADDR="${POSTGREY_TYPE}=${POSTGREY_SOCKET}"
- fi
-fi
-
- if [ -z "${POSTGREY_PID}" ]
- then
- einfo "The following entries are missing in ${conf}:"
- [ -z "${POSTGREY_PID}" ] && einfo " - POSTGREY_PID"
- conf_error
- fi
-}
-
-start() {
- checkconfig || return 1
- ebegin "Starting Postgrey"
-
- # HACK -- start a subshell and corrects perms on the socket...
- if [ "x${POSTGREY_TYPE}" = "xunix" ]; then
- rm -f ${POSTGREY_SOCKET}
- ( while ! test -S ${POSTGREY_SOCKET}; do sleep 1; done; chmod a+rw,a-x ${POSTGREY_SOCKET} ) &
- fi
-
- if [ -z ${POSTGREY_DELAY} ] ; then
- POSTGREY_DELAY_ARG=""
- else
- POSTGREY_DELAY_ARG="--delay=${POSTGREY_DELAY}"
- fi
-
- if [ -z "${POSTGREY_TEXT}" ] ; then
- POSTGREY_TEXT_ARG=""
- else
- POSTGREY_TEXT_ARG="--greylist-text=${POSTGREY_TEXT}"
- fi
-
- start-stop-daemon --start --quiet --background \
- --pidfile=${POSTGREY_PID} \
- --name postgrey \
- --exec /usr/sbin/postgrey -- \
- --${POSTGREY_ADDR} \
- --daemonize \
- --pidfile=${POSTGREY_PID} \
- ${POSTGREY_DELAY_ARG} \
- ${POSTGREY_OPTS} \
- "${POSTGREY_TEXT_ARG}"
- eend ${?}
-}
-
-stop() {
- ebegin "Stopping Postgrey"
- start-stop-daemon --stop --quiet --pidfile ${POSTGREY_PID}
- eend ${?}
-}
-
-reload() {
- ebegin "Reloading Postgrey"
- start-stop-daemon --stop --signal HUP --oknodo --pidfile ${POSTGREY_PID}
- eend $?
-}
diff --git a/mail-filter/postgrey/files/postgrey.conf.new b/mail-filter/postgrey/files/postgrey.conf.new
deleted file mode 100644
index 58db73440bd4..000000000000
--- a/mail-filter/postgrey/files/postgrey.conf.new
+++ /dev/null
@@ -1,55 +0,0 @@
-# Config file for /etc/init.d/postgrey
-
-# LISTEN TYPE
-# Set to 'inet' if you want to use a TCP socket.
-# Set to 'unix' if you want to use a UNIX socket.
-POSTGREY_TYPE="inet"
-
-# HOST
-# What IP should postgrey bind to?
-# Leave unchanged unless you know what you are doing.
-# (ignored if POSTGREY_TYPE is set to 'unix')
-POSTGREY_HOST="127.0.0.1"
-
-# PORT
-# What TCP port should postgrey listen on?
-# (ignored if POSTGREY_TYPE is set to 'unix')
-POSTGREY_PORT="10030"
-
-# SOCKET
-# Unix socket to listen on, if POSTGREY_TYPE is set to 'unix'.
-# Leave unchanged unless you know what you are doing.
-# (ignored if POSTGREY_TYPE is set to 'inet')
-POSTGREY_SOCKET="/var/spool/postfix/private/postgrey"
-
-# PID
-# Postgrey pid file.
-# Do not change, if you don't know what this is!
-POSTGREY_PID="/var/run/postgrey.pid"
-
-# DELAY
-# How long to delay mail that is greylisted in seconds.
-POSTGREY_DELAY=300
-
-# TEXT
-# The response we'll send back with delayed mail.
-POSTGREY_TEXT="Greylisted for %s seconds"
-
-# Additional Postgrey options
-#
-# -v, --verbose increase verbosity level
-# --max-age=N delete entries older than N days since the last time
-# that they have been seen (default: 30)
-# --retry-window=N allow only N days for the first retrial (default: 2)
-# append 'h' if you want to specify it in hours
-# --greylist-action=A if greylisted, return A to Postfix (default: DEFER_IF_PERMIT)
-# --lookup-by-subnet strip the last 8 bits from IP addresses (default)
-# --lookup-by-host do not strip the last 8 bits from IP addresses
-# --whitelist-clients=FILE default: /etc/postfix/postgrey_whitelist_clients
-# --whitelist-recipients=FILE default: /etc/postfix/postgrey_whitelist_recipients
-#
-# Note that the --whitelist-x options can be specified multiple times, and that
-# per default /etc/postfix/postgrey_whitelist_clients.local is also read, so
-# that you can put there local entries.
-#
-POSTGREY_OPTS=""
diff --git a/mail-filter/postgrey/files/postgrey.service b/mail-filter/postgrey/files/postgrey.service
deleted file mode 100644
index 7321eee13adb..000000000000
--- a/mail-filter/postgrey/files/postgrey.service
+++ /dev/null
@@ -1,17 +0,0 @@
-[Unit]
-Description=Postfix Greylisting Service
-Before=postfix.service
-
-[Service]
-Type=simple
-ExecStart=/usr/sbin/postgrey --inet=127.0.0.1:10030 \
- --pidfile=/var/run/postgrey.pid \
- --group=postgrey --user=postgrey \
- --greylist-text="Greylisted for %%s seconds"
-Restart=always
-RestartSec=5
-TimeoutSec=10
-
-[Install]
-WantedBy=multi-user.target
-
diff --git a/mail-filter/postgrey/metadata.xml b/mail-filter/postgrey/metadata.xml
deleted file mode 100644
index 7218d402ad5b..000000000000
--- a/mail-filter/postgrey/metadata.xml
+++ /dev/null
@@ -1,14 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
- <maintainer type="person">
- <email>sam@gentoo.org</email>
- <name>Sam James</name>
- </maintainer>
- <longdescription>
- Postgrey is a Postfix policy server implementing greylisting developed by David Schweikert at the ISG.EE.
- </longdescription>
- <upstream>
- <remote-id type="github">schweikert/postgrey</remote-id>
- </upstream>
-</pkgmetadata>
diff --git a/mail-filter/postgrey/postgrey-1.37_p20220122.ebuild b/mail-filter/postgrey/postgrey-1.37_p20220122.ebuild
deleted file mode 100644
index 92932af97beb..000000000000
--- a/mail-filter/postgrey/postgrey-1.37_p20220122.ebuild
+++ /dev/null
@@ -1,78 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit systemd
-
-COMMIT="c589bb9b727be9e1caaef6aa809a5ced688d9509"
-DESCRIPTION="Postgrey is a Postfix policy server implementing greylisting"
-HOMEPAGE="https://postgrey.schweikert.ch/"
-SRC_URI="https://github.com/schweikert/postgrey/archive/${COMMIT}.tar.gz -> ${P}.tar.gz"
-S="${WORKDIR}/${PN}-${COMMIT}"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="amd64 ~arm ~arm64 ~hppa ~ppc ppc64 x86"
-IUSE="selinux"
-
-DEPEND="
- acct-group/postgrey
- acct-user/postgrey
-"
-# TODO: Use db.eclass?
-RDEPEND="
- ${DEPEND}
- >=dev-lang/perl-5.6.0
- dev-perl/Net-Server
- dev-perl/IO-Multiplex
- dev-perl/BerkeleyDB
- dev-perl/Net-DNS
- dev-perl/NetAddr-IP
- dev-perl/Net-RBLClient
- dev-perl/Parse-Syslog
- virtual/perl-Digest-SHA
- >=sys-libs/db-4.1
- selinux? ( sec-policy/selinux-postgrey )
-"
-
-src_prepare() {
- default
-
- # bug #479400
- sed -i 's@#!/usr/bin/perl -T -w@#!/usr/bin/perl -w@' postgrey || die "sed failed"
- sed -i -e '/git/d' Makefile || die
-}
-
-src_install() {
- # postgrey data/DB in /var
- diropts -m0770 -o ${PN} -g ${PN}
- dodir /var/spool/postfix/${PN}
- keepdir /var/spool/postfix/${PN}
- fowners postgrey:postgrey /var/spool/postfix/${PN}
- fperms 0770 /var/spool/postfix/${PN}
-
- # postgrey binary
- dosbin ${PN}
- dosbin contrib/postgreyreport
-
- # policy-test script
- dosbin policy-test
-
- # postgrey data in /etc/postfix
- insinto /etc/postfix
- insopts -o root -g ${PN} -m 0640
- doins postgrey_whitelist_clients postgrey_whitelist_recipients
-
- # documentation
- dodoc Changes README README.exim
-
- # init.d + conf.d files
- insopts -o root -g root -m 755
- newinitd "${FILESDIR}"/${PN}-1.34-r3.rc.new ${PN}
-
- insopts -o root -g root -m 640
- newconfd "${FILESDIR}"/${PN}.conf.new ${PN}
-
- systemd_dounit "${FILESDIR}"/postgrey.service
-}
diff --git a/mail-filter/postgrey/postgrey-1.37_p20230714.ebuild b/mail-filter/postgrey/postgrey-1.37_p20230714.ebuild
deleted file mode 100644
index 1b9281491838..000000000000
--- a/mail-filter/postgrey/postgrey-1.37_p20230714.ebuild
+++ /dev/null
@@ -1,78 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit systemd
-
-COMMIT="5f60afc8e77cc2b12682636de4ad983992d6a1d2"
-DESCRIPTION="Postgrey is a Postfix policy server implementing greylisting"
-HOMEPAGE="https://postgrey.schweikert.ch/"
-SRC_URI="https://github.com/schweikert/postgrey/archive/${COMMIT}.tar.gz -> ${P}.tar.gz"
-S="${WORKDIR}/${PN}-${COMMIT}"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="amd64 ~arm ~arm64 ~hppa ~ppc ppc64 x86"
-IUSE="selinux"
-
-DEPEND="
- acct-group/postgrey
- acct-user/postgrey
-"
-# TODO: Use db.eclass?
-RDEPEND="
- ${DEPEND}
- >=dev-lang/perl-5.6.0
- dev-perl/Net-Server
- dev-perl/IO-Multiplex
- dev-perl/BerkeleyDB
- dev-perl/Net-DNS
- dev-perl/NetAddr-IP
- dev-perl/Net-RBLClient
- dev-perl/Parse-Syslog
- virtual/perl-Digest-SHA
- >=sys-libs/db-4.1
- selinux? ( sec-policy/selinux-postgrey )
-"
-
-src_prepare() {
- default
-
- # bug #479400
- sed -i 's@#!/usr/bin/perl -T -w@#!/usr/bin/perl -w@' postgrey || die "sed failed"
- sed -i -e '/git/d' Makefile || die
-}
-
-src_install() {
- # postgrey data/DB in /var
- diropts -m0770 -o ${PN} -g ${PN}
- dodir /var/spool/postfix/${PN}
- keepdir /var/spool/postfix/${PN}
- fowners postgrey:postgrey /var/spool/postfix/${PN}
- fperms 0770 /var/spool/postfix/${PN}
-
- # postgrey binary
- dosbin ${PN}
- dosbin contrib/postgreyreport
-
- # policy-test script
- dosbin policy-test
-
- # postgrey data in /etc/postfix
- insinto /etc/postfix
- insopts -o root -g ${PN} -m 0640
- doins postgrey_whitelist_clients postgrey_whitelist_recipients
-
- # documentation
- dodoc Changes README README.exim
-
- # init.d + conf.d files
- insopts -o root -g root -m 755
- newinitd "${FILESDIR}"/${PN}-1.34-r3.rc.new ${PN}
-
- insopts -o root -g root -m 640
- newconfd "${FILESDIR}"/${PN}.conf.new ${PN}
-
- systemd_dounit "${FILESDIR}"/postgrey.service
-}
diff --git a/mail-filter/postsrsd/Manifest b/mail-filter/postsrsd/Manifest
deleted file mode 100644
index 41d9aa90a052..000000000000
--- a/mail-filter/postsrsd/Manifest
+++ /dev/null
@@ -1,2 +0,0 @@
-DIST postsrsd-1.12.tar.gz 36860 BLAKE2B 9f760e010c791d993df83d1f55bd02f2f42fe336e4aef9aae87e62aab2ef86354d99ff1b9be2b2a24d33006fe0461887224dad11a03139e7ce24ab23a775d3ad SHA512 9b83d89f8ac26ba0477998c495b0566295e16ae62a661a9edaef430cbc2eea592fe178b3686d0ad0578a808d13c13d526ac44a2360fd6e715d701887086fa51a
-DIST postsrsd-2.0.11.tar.gz 64995 BLAKE2B 5958dd3d45ad2181fb46b6bd086b95e6f952309dccacb889fd704994d822ce01f3487e2b8dfa19f7a8627ede58f8f619ae891da053d053cbc4b3a362759a23fe SHA512 d85be04decfcf38ac2aaa3435f804106faf37bd51914184f91ff2f130ff39ce4e1b73e9d0748dc57c940bdbc917dddcd25fc8777fcba65e864a1c6f0066c3995
diff --git a/mail-filter/postsrsd/files/postsrsd-2.0.11-sysconfdir.patch b/mail-filter/postsrsd/files/postsrsd-2.0.11-sysconfdir.patch
deleted file mode 100644
index 0c2d92fdda84..000000000000
--- a/mail-filter/postsrsd/files/postsrsd-2.0.11-sysconfdir.patch
+++ /dev/null
@@ -1,11 +0,0 @@
---- a/CMakeLists.txt
-+++ b/CMakeLists.txt
-@@ -362,7 +362,7 @@
-
- install(TARGETS postsrsd RUNTIME DESTINATION ${CMAKE_INSTALL_SBINDIR})
- install(FILES "${CMAKE_CURRENT_BINARY_DIR}/${PROJECT_NAME}.conf"
-- DESTINATION "${CMAKE_INSTALL_DATADIR}/doc/${PROJECT_NAME}"
-+ DESTINATION "${CMAKE_INSTALL_FULL_SYSCONFDIR}"
- )
- if(INSTALL_SYSTEMD_SERVICE)
- install(FILES "${CMAKE_CURRENT_BINARY_DIR}/${PROJECT_NAME}.service"
diff --git a/mail-filter/postsrsd/files/postsrsd-2.0.11.confd b/mail-filter/postsrsd/files/postsrsd-2.0.11.confd
deleted file mode 100644
index 99bebd427a14..000000000000
--- a/mail-filter/postsrsd/files/postsrsd-2.0.11.confd
+++ /dev/null
@@ -1,6 +0,0 @@
-# Default settings for PostSRSd
-
-# From the postsrsd-2.0.11 README file:
-# "Most configuration options can no longer be configured with command
-# line arguments, so you will have to set them in /etc/postsrsd.conf."
-#POSTSRSD_OPTS=""
diff --git a/mail-filter/postsrsd/files/postsrsd-2.0.11.initd b/mail-filter/postsrsd/files/postsrsd-2.0.11.initd
deleted file mode 100644
index d394202e3bf1..000000000000
--- a/mail-filter/postsrsd/files/postsrsd-2.0.11.initd
+++ /dev/null
@@ -1,14 +0,0 @@
-#!/sbin/openrc-run
-# Copyright 2025 Gentoo Authors
-# Distributed under the terms of the modified BSD license
-
-description="Sender Rewriting Scheme daemon for Postfix"
-
-supervisor=supervise-daemon
-command=/usr/sbin/postsrsd
-command_args=${POSTSRSD_OPTS}
-
-depend() {
- need net
- before postfix
-}
diff --git a/mail-filter/postsrsd/files/postsrsd.init-r2 b/mail-filter/postsrsd/files/postsrsd.init-r2
deleted file mode 100644
index aff009dcfb2b..000000000000
--- a/mail-filter/postsrsd/files/postsrsd.init-r2
+++ /dev/null
@@ -1,31 +0,0 @@
-#!/sbin/openrc-run
-# Copyright 2015-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-PIDFILE=/var/run/$SVCNAME.pid
-SRS_DOMAIN="${SRS_DOMAIN:-`postconf -h mydomain || true`}"
-SRS_EXCLUDE_DOMAINS="${SRS_EXCLUDE_DOMAINS:-''}"
-
-depend() {
- need net
-}
-
-start() {
- ebegin "Starting ${SVCNAME}"
- start-stop-daemon --start --quiet --pidfile $PIDFILE \
- --name $SVCNAME \
- --exec /usr/sbin/postsrsd \
- -- -f "$SRS_FORWARD_PORT" -r "$SRS_REVERSE_PORT" \
- -d "$SRS_DOMAIN" -s "$SRS_SECRET" -a "$SRS_SEPARATOR" \
- -u "$RUN_AS" -p "$PIDFILE" -c "$CHROOT" \
- -n "$SRS_HASHLENGTH" -N "$SRS_HASHMIN" -l "$SRS_LISTEN_ADDR" \
- -D -X"$SRS_EXCLUDE_DOMAINS"
- eend $?
-}
-
-stop() {
- ebegin "Stopping ${SVCNAME}"
- start-stop-daemon --stop --quiet --pidfile $PIDFILE \
- --name $SVCNAME
- eend $?
-}
diff --git a/mail-filter/postsrsd/metadata.xml b/mail-filter/postsrsd/metadata.xml
deleted file mode 100644
index 5119295de6b1..000000000000
--- a/mail-filter/postsrsd/metadata.xml
+++ /dev/null
@@ -1,18 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
- <maintainer type="person">
- <email>ulm@gentoo.org</email>
- </maintainer>
- <use>
- <flag name="redis">
- Add support for <pkg>dev-libs/hiredis</pkg> database backend
- </flag>
- <flag name="sqlite">
- Add support for <pkg>dev-db/sqlite</pkg> database backend
- </flag>
- </use>
- <upstream>
- <remote-id type="github">roehling/postsrsd</remote-id>
- </upstream>
-</pkgmetadata>
diff --git a/mail-filter/postsrsd/postsrsd-1.12.ebuild b/mail-filter/postsrsd/postsrsd-1.12.ebuild
deleted file mode 100644
index dbfadbbd705a..000000000000
--- a/mail-filter/postsrsd/postsrsd-1.12.ebuild
+++ /dev/null
@@ -1,40 +0,0 @@
-# Copyright 1999-2025 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit cmake systemd
-
-DESCRIPTION="Postfix Sender Rewriting Scheme daemon"
-HOMEPAGE="https://github.com/roehling/postsrsd"
-SRC_URI="https://github.com/roehling/postsrsd/archive/${PV}.tar.gz -> ${P}.tar.gz"
-
-LICENSE="GPL-2+ || ( GPL-2 BSD )"
-SLOT="0"
-KEYWORDS="amd64 x86"
-
-BDEPEND="sys-apps/help2man"
-
-CHROOT_DIR="${EPREFIX}/var/lib/postsrsd"
-
-src_configure() {
- local mycmakeargs=(
- -DCHROOT_DIR="${CHROOT_DIR}"
-
- # This doesn't affect functionality on OpenRC, it just
- # forces the build system to install the systemd units.
- -DINIT_FLAVOR="systemd"
- -DSYSD_UNIT_DIR="$(systemd_get_systemunitdir)"
-
- -DDOC_DIR="${EPREFIX}"/usr/share/doc/${PF}
- )
- cmake_src_configure
-}
-
-src_install() {
- cmake_src_install
-
- newinitd "${FILESDIR}"/postsrsd.init-r2 postsrsd
- newconfd "${BUILD_DIR}"/postsrsd.default postsrsd
- keepdir "${CHROOT_DIR}"
-}
diff --git a/mail-filter/postsrsd/postsrsd-2.0.11-r6.ebuild b/mail-filter/postsrsd/postsrsd-2.0.11-r6.ebuild
deleted file mode 100644
index 6684566b176d..000000000000
--- a/mail-filter/postsrsd/postsrsd-2.0.11-r6.ebuild
+++ /dev/null
@@ -1,117 +0,0 @@
-# Copyright 1999-2026 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit cmake eapi9-ver readme.gentoo-r1 systemd
-
-DESCRIPTION="Postfix Sender Rewriting Scheme daemon"
-HOMEPAGE="https://github.com/roehling/postsrsd"
-SRC_URI="https://github.com/roehling/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
-
-# See REUSE.toml: GPL-3 (v3 only) for the main software,
-# BSD for src/{sha1,srs2}.*, FSFAP for cmake/*
-LICENSE="GPL-3 BSD FSFAP"
-SLOT="0"
-KEYWORDS="amd64 x86"
-IUSE="redis sqlite test"
-RESTRICT="!test? ( test )"
-
-RDEPEND="acct-user/postsrsd
- dev-libs/confuse:=
- redis? ( dev-libs/hiredis:= )
- sqlite? ( dev-db/sqlite:3 )"
-
-DEPEND="${RDEPEND}
- test? ( dev-libs/check )"
-
-CHROOT_DIR="${EPREFIX}/var/lib/postsrsd"
-
-PATCHES=(
- "${FILESDIR}"/${PN}-2.0.11-sysconfdir.patch
-)
-DOCS=( README.rst CHANGELOG.rst )
-
-src_configure() {
- local mycmakeargs=(
- -DBUILD_TESTING=$(usex test)
-
- -DPOSTSRSD_USER=postsrsd
- -DPOSTSRSD_CHROOTDIR="${CHROOT_DIR}"
- -DSYSTEMD_UNITDIR="$(systemd_get_systemunitdir)"
- -DSYSTEMD_SYSUSERSDIR="${EPREFIX}/usr/lib/sysusers.d"
-
- -DINSTALL_SYSTEMD_SERVICE=ON
- # https://github.com/roehling/postsrsd/blob/main/doc/packaging.rst#third-party-dependencies
- -DFETCHCONTENT_TRY_FIND_PACKAGE_MODE=ALWAYS
- -DFETCHCONTENT_FULLY_DISCONNECTED=ON
- # We don't want to run tests with sanitizers. They're
- # unreliable under sandbox and don't run on all platforms
- -DTESTS_WITH_ASAN=OFF
-
- # Do not generate the signing secret in src_install, as it would
- # a) embed it in binary packages and b) overwrite existing secrets
- # on every reinstall. Generate the secret in pkg_postinst instead.
- -DGENERATE_SRS_SECRET=OFF
-
- # "Note that the Milter code is less tested and should be
- # considered experimental for now and not ready for production."
- -DWITH_MILTER=OFF
- -DWITH_REDIS=$(usex redis)
- -DWITH_SQLITE=$(usex sqlite)
- )
-
- cmake_src_configure
-}
-
-src_install() {
- diropts -o postsrsd -g root -m 0755
- keepdir "${CHROOT_DIR}"
-
- cmake_src_install
-
- newinitd "${FILESDIR}"/postsrsd-2.0.11.initd postsrsd
- newconfd "${FILESDIR}"/postsrsd-2.0.11.confd postsrsd
-
- local DOC_CONTENTS="When updating from version 1.x:
- \n\nNote that most configuration options can no longer be set from the
- command line, therefore we cannot define them in OpenRC's conf.d file
- either. You will have to set them in ${EPREFIX}/etc/postsrsd.conf
- instead.
- \n\nIn the config file, you must *at least* set the \"domains\"
- variable, i.e. the local domain name. In most cases, using the output
- of \"postconf -h mydomain\" should be okay.
- \n\nAlso note that PostSRSd 2.x by default uses Unix domain sockets
- instead of TCP sockets, so you must update \"sender_canonical_maps\"
- and \"recipient_canonical_maps\" in ${EPREFIX}/etc/postfix/main.cf.
- (Alternatively, you can update \"socketmap\" in postsrsd.conf.)
- \n\nSince postsrsd will create its socket with file mode 0666, it is
- recommended to place it in a directory with restricted permissions,
- for example:
- \n\n\t# mkdir /var/spool/postfix/postsrsd
- \n\t# chown root:postfix /var/spool/postfix/postsrsd
- \n\t# chmod 0770 /var/spool/postfix/postsrsd
- \n\nand adjust \"{sender,recipient}_canonical_maps\" in main.cf
- as well as \"socketmap\" in postsrsd.conf accordingly.
- \n\nSee README.rst and the comments in postsrsd.conf for more detailed
- information."
- readme.gentoo_create_doc
-}
-
-pkg_postinst() {
- local f="${EROOT}/etc/postsrsd.secret"
-
- if [[ ! -s ${f} ]]; then
- ebegin "Generate the SRS signing secret and install it in ${f}"
- (
- umask 077
- set -o pipefail
- rnd="$(dd if=/dev/urandom bs=18 count=1 status=none | base64)" \
- && printf "%s\n" "${rnd}" > "${f}"
- )
- eend $? "Installing ${f} failed"
- fi
-
- ver_replacing -lt 2.0.11-r6 && local FORCE_PRINT_ELOG=1
- readme.gentoo_print_elog
-}
diff --git a/mail-filter/procmail/Manifest b/mail-filter/procmail/Manifest
deleted file mode 100644
index 24540afb4bdf..000000000000
--- a/mail-filter/procmail/Manifest
+++ /dev/null
@@ -1 +0,0 @@
-DIST procmail-3.24.gh.tar.gz 299704 BLAKE2B 3223e9551a48329da88545bc8b90a346dea1182ba5ec6221acbe7a76cf01485b7115194087104bd042eeec3660de9f6146c5b9d984763fee1e2174f1edd59c11 SHA512 ce3763205d7e34c8a096c411487de296ecfb190ba817ad07926d44811222e689faedb97a3d4e85989db70e5a2298b26fff70c9d0cb0324a447ddc8988d7fe8ea
diff --git a/mail-filter/procmail/files/procmail-3.24-gentoo-prefix.patch b/mail-filter/procmail/files/procmail-3.24-gentoo-prefix.patch
deleted file mode 100644
index 8426a53d8f59..000000000000
--- a/mail-filter/procmail/files/procmail-3.24-gentoo-prefix.patch
+++ /dev/null
@@ -1,168 +0,0 @@
-diff --git a/Makefile b/Makefile
-index 0be77b1..42bb241 100644
---- a/Makefile
-+++ b/Makefile
-@@ -2,7 +2,7 @@
-
- # BASENAME should point to where the whole lot will be installed
- # change BASENAME to your home directory if need be
--BASENAME = /usr
-+BASENAME = @GENTOO_PORTAGE_EPREFIX@/usr
- # For display in the man pages
- VISIBLE_BASENAME= $(BASENAME)
-
-@@ -79,7 +79,7 @@ SEARCHLIBS = -lm -ldir -lx -lsocket -lnet -linet -lnsl_s -lnsl_i -lnsl -lsun \
- # -lresolv # not really needed, is it?
-
- # Informal list of directories where we look for the libraries in SEARCHLIBS
--LIBPATHS=/lib /usr/lib /usr/local/lib
-+LIBPATHS=@GENTOO_PORTAGE_EPREFIX@/lib @GENTOO_PORTAGE_EPREFIX@/usr/lib
-
- GCC_WARNINGS = -O2 -pedantic -Wreturn-type -Wunused -Wformat -Wtraditional \
- -Wpointer-arith -Wconversion -Waggregate-return \
-@@ -97,10 +97,10 @@ LDFLAGS1= $(LDFLAGS0) $(LIBS) #-lcposix
- ####CC = cc # gcc
- # object file extension
- O = o
--RM = /bin/rm -f
-+RM = @GENTOO_PORTAGE_EPREFIX@/bin/rm -f
- MV = mv -f
- LN = ln
--BSHELL = /bin/sh
-+BSHELL = @GENTOO_PORTAGE_EPREFIX@/bin/sh
- INSTALL = cp
- DEVNULL = /dev/null
- STRIP = strip
-@@ -112,7 +112,7 @@ MANS1S = procmail formail lockfile mailstat
- MANS5S = procmailrc procmailsc procmailex
-
- # Possible locations for the sendmail.cf file
--SENDMAILCFS = /etc/mail/sendmail.cf /etc/sendmail.cf /usr/lib/sendmail.cf
-+SENDMAILCFS = @GENTOO_PORTAGE_EPREFIX@/etc/mail/sendmail.cf @GENTOO_PORTAGE_EPREFIX@/etc/sendmail.cf @GENTOO_PORTAGE_EPREFIX@/usr/lib/sendmail.cf
-
- # Makefile - mark, don't (re)move this, a sed script needs it
-
-diff --git a/config.h b/config.h
-index 4f6b57e..ef69e0b 100644
---- a/config.h
-+++ b/config.h
-@@ -116,11 +116,11 @@
- is not found, maildelivery will proceed as normal to the default
- system mailbox. This also must be an absolute path */
-
--#define ETCRC "/etc/procmailrc" /* optional global procmailrc startup
-+#define ETCRC "@GENTOO_PORTAGE_EPREFIX@/etc/procmailrc" /* optional global procmailrc startup
- file (will only be read if procmail
- is started with no rcfile on the command line). */
-
--#define ETCRCS "/etc/procmailrcs/" /* optional trusted path prefix for
-+#define ETCRCS "@GENTOO_PORTAGE_EPREFIX@/etc/procmailrcs/" /* optional trusted path prefix for
- rcfiles which will be executed with
- the uid of the owner of the rcfile (this only happens if procmail is
- called with the -m option, without variable assignments on the command
-@@ -175,7 +175,7 @@
- #define INEFFICIENTrealloc /* don't pussy-foot around */
- #endif
- #define MAXinMEM (1024*1024) /* when to switch to mmap() */
--#define MMAP_DIR "/var/spool/procmail/" /* where to put */
-+#define MMAP_DIR "@GENTOO_PORTAGE_EPREFIX@/var/spool/procmail/" /* where to put */
- #endif /* the files */
- #define MINlogbuf 81 /* fit an entire line */
- #define MAXlogbuf 1000 /* in case someone abuses LOG */
-@@ -227,8 +227,8 @@ MMGR)\
- #define DEFcomsat offvalue /* when an rcfile has been specified */
- /* set to either "offvalue" or "empty" */
-
--#define BinSh "/bin/sh"
--#define ROOT_DIR "/"
-+#define BinSh "@GENTOO_PORTAGE_EPREFIX@/bin/sh"
-+#define ROOT_DIR "@GENTOO_PORTAGE_EPREFIX@"
- #define DEAD_LETTER "/tmp/dead.letter" /* $ORGMAIL if no passwd entry */
- #define DevNull "/dev/null"
- #define NICE_RANGE 39 /* maximal nice difference */
-diff --git a/src/autoconf b/src/autoconf
-index 7c46487..094e4f0 100755
---- a/src/autoconf
-+++ b/src/autoconf
-@@ -1,4 +1,4 @@
--#! /bin/sh
-+#! @GENTOO_PORTAGE_EPREFIX@/bin/sh
- :
- # Copyright (c) 1990-1997, S.R. van den Berg, The Netherlands
- #$Id$
-@@ -1416,22 +1416,12 @@ _autotst >>$ACONF
-
- found=no
-
--for a in /var/spool/mail /usr/spool/mail /var/mail /usr/mail /spool/mail
--do
-- test -d $a -a $found = no && found=$a
--done
--if test $found = no
--then
-- found=/var/spool/mail
-- echo Could not find the system-mailbox directory, supplied default.
--fi
- echo '#ifndef MAILSPOOLDIR' >>$ACONF
--echo '#define MAILSPOOLDIR "'$found'/"' >>$ACONF
-+echo '#define MAILSPOOLDIR "@GENTOO_PORTAGE_EPREFIX@/var/spool/mail/"' >>$ACONF
- echo '#endif' >>$ACONF
-
- cat >lookfor <<HERE
--for a in /usr/sbin /usr/lib /lib /usr/etc /etc /usr/bin /bin /usr/local/bin \
-- /usr/lbin /usr/local/lib /usr/local /usr/.lib /local/bin /sbin
-+for a in @GENTOO_PORTAGE_EPREFIX@/usr/sbin
- do
- if test -f "\$a/\$1"
- then
-@@ -1460,7 +1450,7 @@ fi
- grep '^#define SENDMAIL ".*/sendmail"' $ACONF >$DEVNULL ||
- echo "#define DEFflagsendmail \"\"" >>$ACONF
-
--a=/tmp/_chowntst.$$
-+a=@GENTOO_PORTAGE_EPREFIX@/tmp/_chowntst.$$
- $RM -r $a
- OLDTESTDIRS="$a $OLDTESTDIRS"
- mkdir $a
-@@ -1468,19 +1458,18 @@ mkdir $a/__
-
- _autotst $a/__ $a/__/__ 4 >>$ACONF
-
--cat /usr/lib/sendmail.cf /etc/sendmail.cf /etc/mail/sendmail.cf 2>$DEVNULL |
-+cat @GENTOO_PORTAGE_EPREFIX@/usr/lib/sendmail.cf @GENTOO_PORTAGE_EPREFIX@/etc/sendmail.cf @GENTOO_PORTAGE_EPREFIX@/etc/mail/sendmail.cf 2>$DEVNULL |
- grep 'Mlocal.*procmail' >$DEVNULL ||
- echo '#define CF_no_procmail_yet' >>$ACONF
-
--cat /usr/lib/sendmail.cf /etc/sendmail.cf /etc/mail/sendmail.cf 2>$DEVNULL |
-+cat @GENTOO_PORTAGE_EPREFIX@/usr/lib/sendmail.cf @GENTOO_PORTAGE_EPREFIX@/etc/sendmail.cf @GENTOO_PORTAGE_EPREFIX@/etc/mail/sendmail.cf 2>$DEVNULL |
- grep '^V' >$DEVNULL ||
- echo '#define buggy_SENDMAIL' >>$ACONF
-
--lpath='/usr/local/bin:/bin'
--bins="/bin"
-+lpath='@GENTOO_PORTAGE_EPREFIX@/bin'
-+bins='@GENTOO_PORTAGE_EPREFIX@/bin'
-
--for newd in /usr/bin /usr/ucb /usr/5bin $BINDIR /local/bin \
-- /global/bin /usr/bin/X11 /usr/X*/bin
-+for newd in @GENTOO_PORTAGE_EPREFIX@/usr/bin
- do
- if test -d $newd
- then
-diff --git a/src/recommend.c b/src/recommend.c
-index 980098f..f4b7095 100644
---- a/src/recommend.c
-+++ b/src/recommend.c
-@@ -9,8 +9,7 @@
-
- char mailspooldir[]=MAILSPOOLDIR;
- const char dirsep[]=DIRSEP,
-- *const checkf[]={"/bin/mail","/bin/lmail","/usr/lib/sendmail",
-- "/usr/lib/smail",0};
-+ *const checkf[]={"@GENTOO_PORTAGE_EPREFIX@/usr/bin/sendmail",0};
-
- int main(argc,argv)const int argc;const char*const argv[];
- { struct group*grp;struct stat stbuf;gid_t gid=(gid_t)-1;
---
-2.42.0
-
diff --git a/mail-filter/procmail/files/procmail-3.24-lazy-bindings.patch b/mail-filter/procmail/files/procmail-3.24-lazy-bindings.patch
deleted file mode 100644
index 850b29e59777..000000000000
--- a/mail-filter/procmail/files/procmail-3.24-lazy-bindings.patch
+++ /dev/null
@@ -1,18 +0,0 @@
-diff --git a/src/Makefile.0 b/src/Makefile.0
-index 35b6180..4fcba2c 100644
---- a/src/Makefile.0
-+++ b/src/Makefile.0
-@@ -18,11 +18,11 @@ make: # fake target
- .PRECIOUS: Makefile
-
- procmail: procmail.$(O) $(PM_OBJ) setid
-- $(CC) $(CFLAGS) $@.$(O) $(PM_OBJ) -o $@ $(LDFLAGS)
-+ $(CC) $(CFLAGS) $@.$(O) $(PM_OBJ) -o $@ -Wl,-z,now $(LDFLAGS)
- @test -z "$(STRIP)" || ( echo $(STRIP) $@; $(STRIP) $@ )
-
- lockfile: lockfile.$(O) $(LF_OBJ)
-- $(CC) $(CFLAGS) $@.$(O) $(LF_OBJ) -o $@ $(LDFLAGS)
-+ $(CC) $(CFLAGS) $@.$(O) $(LF_OBJ) -o $@ -Wl,-z,now $(LDFLAGS)
- @test -z "$(STRIP)" || ( echo $(STRIP) $@; $(STRIP) $@ )
-
- formail: formail.$(O) $(FM_OBJ)
diff --git a/mail-filter/procmail/files/procmail-3.24-maildir.patch b/mail-filter/procmail/files/procmail-3.24-maildir.patch
deleted file mode 100644
index b71661134438..000000000000
--- a/mail-filter/procmail/files/procmail-3.24-maildir.patch
+++ /dev/null
@@ -1,16 +0,0 @@
-diff --git a/src/authenticate.c b/src/authenticate.c
-index 1f6cd6f..d92b6de 100644
---- a/src/authenticate.c
-+++ b/src/authenticate.c
-@@ -39,7 +39,7 @@ static /*const*/char rcsid[]=
- #include "authenticate.h"
-
- #ifndef MAILSPOOLDIR
--#define MAILSPOOLDIR "/var/mail/" /* watch the trailing / */
-+#define MAILSPOOLDIR "" /* watch the trailing / */
- #endif
- #ifndef MAILSPOOLSUFFIX
- #define MAILSPOOLSUFFIX "" /* suffix to force maildir or MH style */
---
-2.42.0
-
diff --git a/mail-filter/procmail/files/procmail-3.24-modern-c.patch b/mail-filter/procmail/files/procmail-3.24-modern-c.patch
deleted file mode 100644
index dba497304957..000000000000
--- a/mail-filter/procmail/files/procmail-3.24-modern-c.patch
+++ /dev/null
@@ -1,255 +0,0 @@
-From 8cfd570fd14c8fb9983859767ab1851bfd064b64 Mon Sep 17 00:00:00 2001
-From: =?UTF-8?q?Jaroslav=20=C5=A0karvada?= <jskarvad@redhat.com>
-Date: Wed, 31 Jan 2024 18:41:21 +0100
-Subject: [PATCH] Fixed build with gcc-14
-MIME-Version: 1.0
-Content-Type: text/plain; charset=UTF-8
-Content-Transfer-Encoding: 8bit
-
-Signed-off-by: Jaroslav Škarvada <jskarvad@redhat.com>
----
- initmake | 4 +-
- src/autoconf | 173 ++++++++++++++++++++++++++-------------------------
- 2 files changed, 91 insertions(+), 86 deletions(-)
-
-diff --git a/initmake b/initmake
-index b901add..703d651 100755
---- a/initmake
-+++ b/initmake
-@@ -124,7 +124,7 @@ else
- fi
-
- cat >_autotst.c <<HERE
--main()
-+int main()
- { return 0;
- }
- HERE
-@@ -200,7 +200,7 @@ cat >_autotst.c <<HERE
- #include <sys/types.h>
- #include <stdio.h>
- #include <sys/stat.h>
--main()
-+int main()
- { struct stat buf;return!&buf;
- }
- HERE
-diff --git a/src/autoconf b/src/autoconf
-index 7c46487..97c0bce 100755
---- a/src/autoconf
-+++ b/src/autoconf
-@@ -363,6 +363,7 @@ cat >_autotst.c <<HERE
- #include <unistd.h> /* getpid() getppid() */
- #endif
- #include <stdio.h>
-+#include <stdlib.h>
- #include <time.h>
- #include <fcntl.h>
- #include <signal.h> /* SIGKILL */
-@@ -416,6 +417,16 @@ cat >_autotst.c <<HERE
- int dolock,child[NR_of_forks],timeout,fdcollect;
- char dirlocktest[]="_locktest";
-
-+int killchildren()
-+{ int i;
-+ i=NR_of_forks;
-+ do
-+ if(child[--i]>0)
-+ kill(child[i],SIGTERM),child[i]=0;
-+ while(i);
-+ return 0;
-+}
-+
- void stimeout()
- { timeout=1;close(fdcollect);killchildren();
- }
-@@ -437,7 +448,79 @@ unsigned sfork()
- return pid;
- }
-
--int main(argc,argv)char*argv[];
-+static int oldfdlock;
-+#ifdef F_SETLKW
-+static struct flock flck; /* why can't it be a local variable? */
-+#endif
-+#ifdef F_LOCK
-+static off_t oldlockoffset;
-+#endif
-+
-+int fdlock(int fd)
-+{ int i;unsigned gobble[GOBBLE>>2];
-+ for(i=GOBBLE>>2;i;gobble[--i]=~(unsigned)0); /* SunOS crash test */
-+ oldfdlock=fd;fd=0;
-+ if(MSK_fcntl&dolock)
-+#ifdef F_SETLKW
-+ { static unsigned extra;
-+ flck.l_type=F_WRLCK;flck.l_whence=SEEK_SET;flck.l_start=tell(oldfdlock);
-+ if(!extra--)
-+ extra=MIN_locks/4,flck.l_len=2,i|=fcntl(oldfdlock,F_SETLK,&flck);
-+ flck.l_len=0;fd|=fcntl(oldfdlock,F_SETLKW,&flck);
-+ }
-+#else
-+ fd=1;
-+#endif
-+ if(MSK_lockf&dolock)
-+#ifdef F_LOCK
-+ oldlockoffset=tell(oldfdlock),fd|=lockf(oldfdlock,F_LOCK,(off_t)0);
-+#else
-+ fd=1;
-+#endif
-+ if(MSK_flock&dolock)
-+#ifdef LOCK_EX
-+ fd|=flock(oldfdlock,LOCK_EX);
-+#else
-+ fd=1;
-+#endif
-+ return fd;
-+}
-+
-+int sfdlock(int fd)
-+{ int i;unsigned gobble[GOBBLE>>2];
-+ for(i=GOBBLE>>2;i;gobble[--i]=~(unsigned)0); /* SunOS crash test */
-+ return fdlock(fd);
-+}
-+
-+int fdunlock()
-+{ int i;unsigned gobble[GOBBLE];
-+ for(i=GOBBLE;i;gobble[--i]=~(unsigned)0); /* some SunOS libs mess this up */
-+ if(MSK_flock&dolock)
-+#ifdef LOCK_EX
-+ i|=flock(oldfdlock,LOCK_UN);
-+#else
-+ i=1;
-+#endif
-+ if(MSK_lockf&dolock)
-+#ifdef F_LOCK
-+ { lseek(oldfdlock,oldlockoffset,SEEK_SET);
-+ i|=lockf(oldfdlock,F_LOCK,(off_t)2);i|=lockf(oldfdlock,F_ULOCK,(off_t)0);
-+ }
-+#else
-+ i=1;
-+#endif
-+ if(MSK_fcntl&dolock)
-+#ifdef F_SETLKW
-+ flck.l_type=F_UNLCK,flck.l_len=0,i|=fcntl(oldfdlock,F_SETLK,&flck);
-+#else
-+ i=1;
-+#endif
-+ if(!i)
-+ for(i=GOBBLE;i&&gobble[--i]==~(unsigned)0;);
-+ return i;
-+}
-+
-+int main(argc,argv)int argc;char*argv[];
- { int goodlock,testlock,i,pip[2],pipw[2];time_t otimet;unsigned dtimet;
- static char filename[]="_locktst.l0";
- close(0);goodlock=0;testlock=FIRST_lock;signal(SIGPIPE,SIG_DFL);
-@@ -576,88 +659,6 @@ skip_tests:
- puts("Kernel-locking tests completed.");fprintf(stderr,"\n");
- return EXIT_SUCCESS;
- }
--
--int killchildren()
--{ int i;
-- i=NR_of_forks;
-- do
-- if(child[--i]>0)
-- kill(child[i],SIGTERM),child[i]=0;
-- while(i);
-- return 0;
--}
--
--int sfdlock(fd)
--{ int i;unsigned gobble[GOBBLE>>2];
-- for(i=GOBBLE>>2;i;gobble[--i]=~(unsigned)0); /* SunOS crash test */
-- return fdlock(fd);
--}
--
--static oldfdlock;
--#ifdef F_SETLKW
--static struct flock flck; /* why can't it be a local variable? */
--#endif
--#ifdef F_LOCK
--static off_t oldlockoffset;
--#endif
--
--int fdlock(fd)
--{ int i;unsigned gobble[GOBBLE>>2];
-- for(i=GOBBLE>>2;i;gobble[--i]=~(unsigned)0); /* SunOS crash test */
-- oldfdlock=fd;fd=0;
-- if(MSK_fcntl&dolock)
--#ifdef F_SETLKW
-- { static unsigned extra;
-- flck.l_type=F_WRLCK;flck.l_whence=SEEK_SET;flck.l_start=tell(oldfdlock);
-- if(!extra--)
-- extra=MIN_locks/4,flck.l_len=2,i|=fcntl(oldfdlock,F_SETLK,&flck);
-- flck.l_len=0;fd|=fcntl(oldfdlock,F_SETLKW,&flck);
-- }
--#else
-- fd=1;
--#endif
-- if(MSK_lockf&dolock)
--#ifdef F_LOCK
-- oldlockoffset=tell(oldfdlock),fd|=lockf(oldfdlock,F_LOCK,(off_t)0);
--#else
-- fd=1;
--#endif
-- if(MSK_flock&dolock)
--#ifdef LOCK_EX
-- fd|=flock(oldfdlock,LOCK_EX);
--#else
-- fd=1;
--#endif
-- return fd;
--}
--
--int fdunlock()
--{ int i;unsigned gobble[GOBBLE];
-- for(i=GOBBLE;i;gobble[--i]=~(unsigned)0); /* some SunOS libs mess this up */
-- if(MSK_flock&dolock)
--#ifdef LOCK_EX
-- i|=flock(oldfdlock,LOCK_UN);
--#else
-- i=1;
--#endif
-- if(MSK_lockf&dolock)
--#ifdef F_LOCK
-- { lseek(oldfdlock,oldlockoffset,SEEK_SET);
-- i|=lockf(oldfdlock,F_LOCK,(off_t)2);i|=lockf(oldfdlock,F_ULOCK,(off_t)0);
-- }
--#else
-- i=1;
--#endif
-- if(MSK_fcntl&dolock)
--#ifdef F_SETLKW
-- flck.l_type=F_UNLCK,flck.l_len=0,i|=fcntl(oldfdlock,F_SETLK,&flck);
--#else
-- i=1;
--#endif
-- if(!i)
-- for(i=GOBBLE;i&&gobble[--i]==~(unsigned)0;);
-- return i;
--}
- HERE
-
- if $MAKE _autotst >_autotst.rrr 2>&1
-@@ -1033,6 +1034,10 @@ cat >_autotst.c <<HERE
- #ifndef NO_COMSAT
- #include "network.h"
- #endif
-+#include <string.h>
-+#include <unistd.h>
-+int setrgid();
-+int setresgid();
- int main(){char a[2];
- endpwent();endgrent();memmove(a,"0",1);bcopy("0",a,1);strcspn(a,"0");
- strtol("0",(char**)0,10);strchr("0",'0');strpbrk(a,"0");rename(a,"0");
-@@ -1059,7 +1064,7 @@ echo 'Testing for memmove, strchr, strpbrk, strcspn, strtol, strstr,'
- echo ' rename, setrgid, setegid, pow, opendir, mkdir, waitpid, fsync,'
- echo ' ftruncate, strtod, strncasecmp, strerror, strlcat,'
- echo ' memset, bzero, and _exit'
--if $MAKE _autotst.$O >$DEVNULL 2>&1
-+if $MAKE _autotst.$O >_autotst.rrr 2>&1
- then
- :
- else
diff --git a/mail-filter/procmail/metadata.xml b/mail-filter/procmail/metadata.xml
deleted file mode 100644
index 9018d1cf5f87..000000000000
--- a/mail-filter/procmail/metadata.xml
+++ /dev/null
@@ -1,8 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
- <!-- maintainer-needed -->
- <upstream>
- <remote-id type="github">BuGlessRB/procmail</remote-id>
- </upstream>
-</pkgmetadata>
diff --git a/mail-filter/procmail/procmail-3.24-r1.ebuild b/mail-filter/procmail/procmail-3.24-r1.ebuild
deleted file mode 100644
index 01690ba70529..000000000000
--- a/mail-filter/procmail/procmail-3.24-r1.ebuild
+++ /dev/null
@@ -1,119 +0,0 @@
-# Copyright 1999-2026 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit flag-o-matic toolchain-funcs prefix
-
-DESCRIPTION="Mail delivery agent/filter"
-HOMEPAGE="https://github.com/BuGlessRB/procmail/"
-SRC_URI="https://github.com/BuGlessRB/procmail/archive/refs/tags/v${PV}.tar.gz -> ${P}.gh.tar.gz"
-
-LICENSE="|| ( Artistic GPL-2 )"
-SLOT="0"
-KEYWORDS="~alpha amd64 arm arm64 ~hppa ~mips ppc ppc64 ~riscv ~s390 ~sparc x86"
-IUSE="mbox selinux"
-
-DEPEND="
- acct-group/mail
- virtual/mta
-"
-RDEPEND="
- ${DEPEND}
- selinux? ( sec-policy/selinux-procmail )
-"
-
-src_prepare() {
- # disable flock, using both fcntl and flock style locking
- # doesn't work with NFS with 2.6.17+ kernels, bug #156493
-
- sed -e "s|/\*#define NO_flock_LOCK|#define NO_flock_LOCK|" \
- -i config.h || die "sed failed"
-
- eapply "${FILESDIR}/${P}-modern-c.patch"
-
- if ! use mbox ; then
- echo "# Use maildir-style mailbox in user's home directory" > "${S}"/procmailrc || die
- echo 'DEFAULT=$HOME/.maildir/' >> "${S}"/procmailrc || die
- cd "${S}" || die
- eapply "${FILESDIR}/${P}-maildir.patch"
- else
- echo '# Use mbox-style mailbox in /var/spool/mail' > "${S}"/procmailrc || die
- echo 'DEFAULT=${EPREFIX}/var/spool/mail/$LOGNAME' >> "${S}"/procmailrc || die
- fi
-
- # Do not use lazy bindings on lockfile and procmail
- if [[ ${CHOST} != *-darwin* ]]; then
- eapply "${FILESDIR}/${P}-lazy-bindings.patch"
- fi
-
- # Prefixify config.h
- eapply "${FILESDIR}/${P}-gentoo-prefix.patch"
- eprefixify config.h Makefile src/autoconf src/recommend.c
-
- default
-}
-
-src_compile() {
- # bug #875251, bug #896052
- append-flags -std=gnu89
- # bug #859517
- filter-lto
-
- # -finline-functions (implied by -O3) leaves strstr() in an infinite loop.
- # To work around this, we append -fno-inline-functions to CFLAGS
- # Since GCC 4.7 we also need -fno-ipa-cp-clone (bug #466552)
- # If it's clang, ignore -fno-ipa-cp-clone, as clang doesn't support this
- append-flags -fno-inline-functions
- tc-is-clang || append-flags -fno-ipa-cp-clone
-
- sed -e "s|CFLAGS0 = -O|CFLAGS0 = ${CFLAGS}|" \
- -e "s|LDFLAGS0= -s|LDFLAGS0 = ${LDFLAGS}|" \
- -e "s|LOCKINGTEST=__defaults__|#LOCKINGTEST=__defaults__|" \
- -e "s|#LOCKINGTEST=/tmp|LOCKINGTEST=/tmp|" \
- -i Makefile || die "sed failed"
-
- emake CC="$(tc-getCC)"
-}
-
-src_install() {
- cd "${S}"/new || die
- insinto /usr/bin
- insopts -m 6755
- doins procmail
-
- doins lockfile
- fowners root:mail /usr/bin/lockfile
- fperms 2755 /usr/bin/lockfile
-
- dobin formail mailstat
- insopts -m 0644
-
- doman *.1 *.5
-
- cd "${S}" || die
- dodoc FAQ FEATURES HISTORY INSTALL KNOWN_BUGS README
-
- insinto /etc
- doins procmailrc
-
- docinto examples
- dodoc examples/*
-}
-
-pkg_postinst() {
- if ! use mbox ; then
- elog "Starting with mail-filter/procmail-3.22-r9 you'll need to ensure"
- elog "that you configure a mail storage location using DEFAULT in"
- elog "/etc/procmailrc, for example:"
- elog "\tDEFAULT=\$HOME/.maildir/"
- fi
- if has sfperms ${FEATURES}; then
- ewarn "FEATURES=sfperms removes the read-bit for others from"
- ewarn " /usr/bin/procmail"
- ewarn " /usr/bin/lockfile"
- ewarn "If you use procmail from an MTA like Exim, you need to"
- ewarn "re-add the read-bit or avoid the MTA checking the binary"
- ewarn "exists."
- fi
-}
diff --git a/mail-filter/pyzor/Manifest b/mail-filter/pyzor/Manifest
deleted file mode 100644
index ea6a69659dde..000000000000
--- a/mail-filter/pyzor/Manifest
+++ /dev/null
@@ -1 +0,0 @@
-DIST pyzor-release-1-1-2.gh.tar.gz 138970 BLAKE2B 07fafe1eee577094525e1c888374c646eb6d56b1f4306669915f926235b8f433b5a5fb64680d6f7744bd835fa4eefc88805302bb312515bc7ccfed5d1f9643f8 SHA512 17cefeeb9a4befde16b3a68e219599d4a85319968b16f8c7352696cdfca9db8e0c18acc83bc0b7a6873be020e91f7dee09389ea9cbde8cdad000c87d5941b702
diff --git a/mail-filter/pyzor/metadata.xml b/mail-filter/pyzor/metadata.xml
deleted file mode 100644
index de2277bb1b6e..000000000000
--- a/mail-filter/pyzor/metadata.xml
+++ /dev/null
@@ -1,27 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
- <maintainer type="project">
- <email>python@gentoo.org</email>
- <name>Python</name>
- </maintainer>
- <use>
- <flag name="pyzord">Enable the pyzord server daemon</flag>
- <flag name="gdbm">
- Enables the Gdbm back-end database engine for pyzord
- </flag>
- <flag name="mysql">
- Enables the MySQL back-end database engine for pyzord through
- <pkg>dev-python/mysqlclient</pkg>.
- </flag>
- <flag name="redis">
- Enables the redis back-end database engine for pyzord through
- <pkg>dev-python/redis</pkg>
- </flag>
- </use>
- <upstream>
- <remote-id type="github">SpamExperts/pyzor</remote-id>
- <remote-id type="pypi">pyzor</remote-id>
- <remote-id type="sourceforge">pyzor</remote-id>
- </upstream>
-</pkgmetadata>
diff --git a/mail-filter/pyzor/pyzor-1.1.2.ebuild b/mail-filter/pyzor/pyzor-1.1.2.ebuild
deleted file mode 100644
index 92cd48a27954..000000000000
--- a/mail-filter/pyzor/pyzor-1.1.2.ebuild
+++ /dev/null
@@ -1,66 +0,0 @@
-# Copyright 1999-2026 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-DISTUTILS_USE_PEP517=setuptools
-PYTHON_COMPAT=( python3_{13..14} )
-
-inherit distutils-r1
-
-TAG=release-${PV//./-}
-MY_P=${PN}-${TAG}
-DESCRIPTION="A distributed, collaborative spam detection and filtering network"
-HOMEPAGE="
- https://github.com/SpamExperts/pyzor/
- https://pypi.org/project/pyzor/
-"
-SRC_URI="
- https://github.com/SpamExperts/pyzor/archive/${TAG}.tar.gz
- -> ${MY_P}.gh.tar.gz
-"
-S=${WORKDIR}/${MY_P}
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~alpha amd64 ppc64 ~sparc x86"
-IUSE="doc gdbm mysql pyzord redis selinux test"
-RESTRICT="!test? ( test )"
-
-RDEPEND="
- pyzord? (
- gdbm? ( $(python_gen_impl_dep 'gdbm') )
- mysql? ( dev-python/mysqlclient[${PYTHON_USEDEP}] )
- redis? ( dev-python/redis[${PYTHON_USEDEP}] )
- )
- selinux? ( sec-policy/selinux-pyzor )
-"
-BDEPEND="
- test? (
- $(python_gen_impl_dep 'gdbm')
- dev-python/pytest[${PYTHON_USEDEP}]
- dev-python/redis[${PYTHON_USEDEP}]
- )
-"
-
-REQUIRED_USE="
- pyzord? ( || ( gdbm redis ) )
-"
-
-distutils_enable_sphinx docs
-
-python_test() {
- epytest -vv tests/unit
-}
-
-src_install() {
- distutils-r1_src_install
-
- if use pyzord; then
- dodir /usr/sbin
- mv "${ED}"/usr/bin/pyzord* "${ED}/usr/sbin" \
- || die "failed to relocate pyzord"
- else
- rm "${ED}"/usr/bin/pyzord* || die "failed to remove pyzord"
- fi
-}
diff --git a/mail-filter/razor/Manifest b/mail-filter/razor/Manifest
deleted file mode 100644
index d6533db50571..000000000000
--- a/mail-filter/razor/Manifest
+++ /dev/null
@@ -1 +0,0 @@
-DIST razor-agents-2.85.tar.bz2 81691 BLAKE2B fdb389ca4192dc2a3b87935fe97a4750ab715ae163aa1cf8adf5c6dd54e8e2f2ca53f1fcc37505b5ea0ec4e9bdb78a14ae8b30fca770de80a2a69e3e534ec3ab SHA512 31dded1969dde963389a5939514c29638ad07f45dbb2f4c633cf20ebc4abab94e65e9a6d8885233cdde686ef365aab11fa5eba2ca38d79c5b8fab689143ff5db
diff --git a/mail-filter/razor/files/razor-2.85-cosmetic-pv-fix.patch b/mail-filter/razor/files/razor-2.85-cosmetic-pv-fix.patch
deleted file mode 100644
index c391d48fbc4f..000000000000
--- a/mail-filter/razor/files/razor-2.85-cosmetic-pv-fix.patch
+++ /dev/null
@@ -1,22 +0,0 @@
---- a/lib/Razor2/Client/Version.pm 2007-05-10 22:32:10.000000000 +0200
-+++ b/lib/Razor2/Client/Version.pm 2010-03-25 11:11:36.911409707 +0100
-@@ -14,7 +14,7 @@
-
- $PROTOCOL = 3;
-
--$VERSION = '2.84';
-+$VERSION = '2.85';
-
- 1;
-
---- a/META.yml 2007-05-23 20:29:34.000000000 +0200
-+++ b/META.yml 2010-03-25 11:11:43.691408628 +0100
-@@ -1,7 +1,7 @@
- # http://module-build.sourceforge.net/META-spec.html
- #XXXXXXX This is a prototype!!! It will change in the future!!! XXXXX#
- name: razor-agents
--version: 2.84
-+version: 2.85
- version_from: lib/Razor2/Client/Version.pm
- installdirs: site
- requires:
diff --git a/mail-filter/razor/files/razor-2.85-makefile-quoting-fix.patch b/mail-filter/razor/files/razor-2.85-makefile-quoting-fix.patch
deleted file mode 100644
index 677d5c7010d1..000000000000
--- a/mail-filter/razor/files/razor-2.85-makefile-quoting-fix.patch
+++ /dev/null
@@ -1,15 +0,0 @@
-diff -uprw razor-agents-2.85.orig/Makefile.PL razor-agents-2.85/Makefile.PL
---- razor-agents-2.85.orig/Makefile.PL 2007-05-09 01:47:53.000000000 +0300
-+++ razor-agents-2.85/Makefile.PL 2015-06-14 20:36:23.677213987 +0300
-@@ -140,9 +140,9 @@ sub MY::install {
- my $inherited = $self->SUPER::install(@_);
-
- my $man5 = q{ \\
-- $(INST_MAN5DIR) $(INSTALLMAN5DIR)};
-+ "$(INST_MAN5DIR)" "$(INSTALLMAN5DIR)"};
-
-- $inherited =~ s/(\$\((?:DEST)?INSTALL\w*MAN1DIR\))/$1$man5/gm;
-+ $inherited =~ s/("?\$\((?:DEST)?INSTALL\w*MAN1DIR\)"?)/$1$man5/gm;
-
- return $inherited;
- }
diff --git a/mail-filter/razor/files/razor-2.85-use-sha-not-sha1.patch b/mail-filter/razor/files/razor-2.85-use-sha-not-sha1.patch
deleted file mode 100644
index 8e90ce2839d9..000000000000
--- a/mail-filter/razor/files/razor-2.85-use-sha-not-sha1.patch
+++ /dev/null
@@ -1,119 +0,0 @@
-Patch-URL: http://cvs.fedoraproject.org/viewvc/devel/perl-Razor-Agent/razor-agents-2.85-use-sha-not-sha1.patch?view=log
-
-diff -urN razor-agents-2.85.orig/lib/Razor2/Client/Engine.pm razor-agents-2.85/lib/Razor2/Client/Engine.pm
---- razor-agents-2.85.orig/lib/Razor2/Client/Engine.pm 2005-06-13 19:42:25.000000000 -0400
-+++ razor-agents-2.85/lib/Razor2/Client/Engine.pm 2009-11-01 13:45:08.125369192 -0500
-@@ -1,7 +1,6 @@
- package Razor2::Client::Engine;
-
- use strict;
--use Digest::SHA1 qw(sha1_hex);
- use Data::Dumper;
- use Razor2::Signature::Ephemeral;
- use Razor2::Engine::VR8;
-diff -urN razor-agents-2.85.orig/lib/Razor2/Signature/Ephemeral.pm razor-agents-2.85/lib/Razor2/Signature/Ephemeral.pm
---- razor-agents-2.85.orig/lib/Razor2/Signature/Ephemeral.pm 2003-03-03 18:09:50.000000000 -0500
-+++ razor-agents-2.85/lib/Razor2/Signature/Ephemeral.pm 2009-11-01 13:45:08.125369192 -0500
-@@ -2,9 +2,13 @@
-
- package Razor2::Signature::Ephemeral;
- use strict;
--use Digest::SHA1;
- use Data::Dumper;
-
-+BEGIN {
-+ eval { require Digest::SHA; import Digest::SHA qw(sha1_hex); 1 }
-+ or do { require Digest::SHA1; import Digest::SHA1 qw(sha1_hex) }
-+}
-+
- sub new {
-
- my ($class, %args) = @_;
-@@ -86,16 +90,12 @@
- }
-
- my $digest;
-- my $ctx = Digest::SHA1->new;
-
- if ($seclength > 128) {
-- $ctx->add($section1);
-- $ctx->add($section2);
-- $digest = $ctx->hexdigest;
-+ $digest = sha1_hex($section1, $section2);
- } else {
- debug("Sections too small... reverting back to orginal content.");
-- $ctx->add($content);
-- $digest = $ctx->hexdigest;
-+ $digest = sha1_hex($content);
- }
-
- debug("Computed e-hash is $digest");
-diff -urN razor-agents-2.85.orig/lib/Razor2/Signature/Whiplash.pm razor-agents-2.85/lib/Razor2/Signature/Whiplash.pm
---- razor-agents-2.85.orig/lib/Razor2/Signature/Whiplash.pm 2007-05-08 18:22:36.000000000 -0400
-+++ razor-agents-2.85/lib/Razor2/Signature/Whiplash.pm 2009-11-01 13:45:08.124368017 -0500
-@@ -7,7 +7,10 @@
-
- package Razor2::Signature::Whiplash;
-
--use Digest::SHA1;
-+BEGIN {
-+ eval { require Digest::SHA; import Digest::SHA qw(sha1_hex); 1 }
-+ or do { require Digest::SHA1; import Digest::SHA1 qw(sha1_hex) }
-+}
-
- sub new {
-
-@@ -683,13 +686,8 @@
- # the value of length to the nearest multiple of ``length_error''.
- # Take the first 20 hex chars from SHA1 and call it the signature.
-
-- my $sha1 = Digest::SHA1->new();
--
-- $sha1->add($host);
-- $sig = substr $sha1->hexdigest, 0, 12;
--
-- $sha1->add($corrected_length);
-- $sig .= substr $sha1->hexdigest, 0, 4;
-+ $sig = substr sha1_hex($host), 0, 12;
-+ $sig .= substr sha1_hex($corrected_length), 0, 4;
-
- push @sigs, $sig;
- $sig_meta{$sig} = [$host, $corrected_length];
-diff -urN razor-agents-2.85.orig/lib/Razor2/String.pm razor-agents-2.85/lib/Razor2/String.pm
---- razor-agents-2.85.orig/lib/Razor2/String.pm 2005-06-13 17:09:59.000000000 -0400
-+++ razor-agents-2.85/lib/Razor2/String.pm 2009-11-01 13:45:08.123368518 -0500
-@@ -1,11 +1,15 @@
- # $Id$
- package Razor2::String;
-
--use Digest::SHA1 qw(sha1_hex);
- use URI::Escape;
- use Razor2::Preproc::enBase64;
- use Data::Dumper;
-
-+BEGIN {
-+ eval { require Digest::SHA; import Digest::SHA qw(sha1_hex); 1 }
-+ or do { require Digest::SHA1; import Digest::SHA1 qw(sha1_hex) }
-+}
-+
- #use MIME::Parser;
-
- require Exporter;
-@@ -69,15 +73,8 @@
- return unless $text && $iv1 && $iv2;
- die "no ref's allowed" if ref($text);
-
-- my $ctx = Digest::SHA1->new;
-- $ctx->add($iv2);
-- $ctx->add($text);
-- my $digest = $ctx->hexdigest;
--
-- $ctx = Digest::SHA1->new;
-- $ctx->add($iv1);
-- $ctx->add($digest);
-- $digest = $ctx->hexdigest;
-+ my $digest = sha1_hex($iv2, $text);
-+ $digest = sha1_hex($iv1, $digest);
-
- return (hextobase64($digest), $digest);
- }
diff --git a/mail-filter/razor/metadata.xml b/mail-filter/razor/metadata.xml
deleted file mode 100644
index de8340290683..000000000000
--- a/mail-filter/razor/metadata.xml
+++ /dev/null
@@ -1,18 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
- <!-- maintainer-needed -->
- <!-- future maintainer: please uncomment the following contact:
- <maintainer type="person">
- <email>razor-admin@cloudmark.com</email>
- <description>
- A contact designated by upstream developers. This email address
- should always be added to CC list of any Razor bug that needs
- upstream care.
- </description>
- </maintainer>
- -->
- <upstream>
- <remote-id type="sourceforge">razor</remote-id>
- </upstream>
-</pkgmetadata>
diff --git a/mail-filter/razor/razor-2.85-r5.ebuild b/mail-filter/razor/razor-2.85-r5.ebuild
deleted file mode 100644
index 391361ece1e8..000000000000
--- a/mail-filter/razor/razor-2.85-r5.ebuild
+++ /dev/null
@@ -1,88 +0,0 @@
-# Copyright 1999-2025 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-DIST_TEST="do parallel"
-inherit perl-module readme.gentoo-r1
-
-MY_PN="razor-agents"
-MY_P="${MY_PN}-${PV}"
-
-DESCRIPTION="Distributed, collaborative spam detection and filtering network"
-HOMEPAGE="http://razor.sourceforge.net/"
-SRC_URI="https://downloads.sourceforge.net/razor/${MY_P}.tar.bz2"
-S="${WORKDIR}/${MY_P}"
-
-LICENSE="Artistic"
-SLOT="0"
-KEYWORDS="~alpha amd64 ~arm64 ~hppa ppc ppc64 ~sparc x86"
-IUSE="selinux"
-
-RDEPEND="
- dev-perl/URI
- dev-perl/Net-DNS
- virtual/perl-Time-HiRes
- dev-perl/Digest-Nilsimsa
- || ( virtual/perl-Digest-SHA dev-perl/Digest-SHA1 )
- selinux? ( sec-policy/selinux-razor )
-"
-
-PATCHES=(
- "${FILESDIR}/${PN}-2.85-use-sha-not-sha1.patch"
- "${FILESDIR}/${PN}-2.85-cosmetic-pv-fix.patch"
- "${FILESDIR}/${PN}-2.85-makefile-quoting-fix.patch"
-)
-
-DISABLE_AUTOFORMATTING="yes"
-DOC_CONTENTS="
-Run 'razor-admin -create' to create a default config file in your
-home directory under /home/user/.razor. (Remember to change user to
-your username from root before running razor-admin)
-
-Razor v2 requires reporters to be registered so their reputations can
-be computed over time and they can participate in the revocation
-mechanism. Registration is done with razor-admin -register. It has to be
-manually invoked in either of the following ways:
-
-To register user foo with 's1kr3t' as password:
-
-razor-admin -register -user=foo -pass=s1kr3t
-
-To register with an email address and have the password assigned:
-
-razor-admin -register -user=foo@bar.com
-
-To have both (random) username and password assigned:
-
-razor-admin -register
-
-razor-admin -register negotiates a registration with the Nomination Server
-and writes the identity information in
-/home/user/.razor/identity-username, or /etc/razor/identity-username
-when invoked as root.
-
-You can edit razor-agent.conf to change the defaults. Config options
-and their values are defined in the razor-agent.conf(5) manpage.
-
-The next step is to integrate razor-check, razor-report and
-razor-revoke in your mail system. If you are running Razor v1, the
-change will be transparent, new versions of razor agents will overwrite
-the old ones. You would still need to plugin razor-revoke in your MUA,
-since it's a new addition in Razor v2. If you are not running Razor v1,
-refer to manpages of razor-check(1), razor-report(1), and
-razor-revoke(1) for integration instructions.
-"
-
-src_compile() {
- emake -j1
-}
-
-src_install() {
- mydoc="docs/*" perl-module_src_install
- readme.gentoo_create_doc
-}
-
-pkg_postinst() {
- readme.gentoo_print_elog
-}
diff --git a/mail-filter/rblcheck/Manifest b/mail-filter/rblcheck/Manifest
deleted file mode 100644
index 0801499d0383..000000000000
--- a/mail-filter/rblcheck/Manifest
+++ /dev/null
@@ -1 +0,0 @@
-DIST rblcheck-1.5.tar.gz 150395 BLAKE2B 2d4232fea8e5b43d0b29c44d3413eb3a5b5222bac0a6f737c9e7a273c3810b7c729f8fc6222fae18801cf6e172d4ef165213b70d38f510621791e4f8a0f25a0e SHA512 f0122701b5f7b293cf97cfb6f04963fdf657774f97342ecd57bc4a049b08f3d5b94e5148a4cc1f24de62c852b003c7339c35e4ddc199ea6be6a13583ca58f311
diff --git a/mail-filter/rblcheck/files/rblcheck-1.5-autoconf.patch b/mail-filter/rblcheck/files/rblcheck-1.5-autoconf.patch
deleted file mode 100644
index 9c8439e446a2..000000000000
--- a/mail-filter/rblcheck/files/rblcheck-1.5-autoconf.patch
+++ /dev/null
@@ -1,69 +0,0 @@
-Update and fix configure.ac so it works with autoreconf and builds program
-correctly. Logic is preserved, chain invocation is replaced with right macro
-https://bugs.gentoo.org/875734
-https://bugs.gentoo.org/899780
---- a/configure.in
-+++ b/configure.ac
-@@ -1,5 +1,6 @@
- dnl Process this file with autoconf to produce a configure script.
--AC_INIT(rblcheck.c)
-+AC_INIT
-+AC_CONFIG_SRCDIR([rblcheck.c])
- AC_CONFIG_AUX_DIR(config)
- AM_CONFIG_HEADER(config.h:config.in)
- AM_INIT_AUTOMAKE(rblcheck, 1.5)
-@@ -10,9 +11,8 @@
- AC_PROG_CC
- AC_PROG_INSTALL
-
--dnl Checks for header files.
--AC_HEADER_STDC
--AC_CHECK_HEADERS(unistd.h)
-+AC_CHECK_INCLUDES_DEFAULT
-+
- AC_CHECK_HEADERS(getopt.h)
- AC_CHECK_HEADERS(libc.h)
-
-@@ -24,10 +24,8 @@
- dnl (generally, if you've installed bind 8, you're going to want to use
- dnl the new library). Finally, check for libresolv (which should exist
- dnl on most systems).
--AC_CHECK_FUNC(res_query,,
-- AC_CHECK_LIB(resolv,res_query,,
-- AC_CHECK_LIB(bind,res_query,,
-- AC_MSG_ERROR(cannot locate res_query function))))
-+AC_SEARCH_LIBS([res_query], [bind resolv], [],AC_MSG_ERROR([cannot locate res_query function]))
-
- dnl All done.
--AC_OUTPUT(Makefile docs/Makefile config/rblcheck.spec config/pkginfo)
-+AC_CONFIG_FILES([Makefile docs/Makefile config/rblcheck.spec config/pkginfo])
-+AC_OUTPUT
-Don't have a dependency on docbook that can appear in QA, every other file is generated
-already
---- a/docs/Makefile.am
-+++ b/docs/Makefile.am
-@@ -4,11 +4,6 @@
- DISTCLEANFILES = rblcheck.ps rblcheck.rtf html/*.html
- MAINTAINERCLEANFILES = Makefile.in
-
--html/index.html: rblcheck.sgml
-- -srcdir=`cd $(srcdir) && pwd`; \
-- db2html $$srcdir/rblcheck.sgml
-- -mv rblcheck html
--
- rblcheck.ps: rblcheck.sgml
- -srcdir=`cd $(srcdir) && pwd`; \
- db2ps $$srcdir/rblcheck.sgml
-@@ -21,11 +21,7 @@
- distclean-local:
- -rmdir html
-
--install-data-local: html/index.html rblcheck.ps rblcheck.rtf
-- -for file in $(srcdir)/*.html; do \
-- basefile=`echo $$file | sed -e 's,^.*/,,'`; \
-- $(INSTALL_DATA) $$file $(DESTDIR)$(docdir)/$$basefile; \
-- done
-+install-data-local: rblcheck.ps rblcheck.rtf
- -$(INSTALL_DATA) $(srcdir)/rblcheck.ps $(DESTDIR)$(docdir)/rblcheck.ps
- -$(INSTALL_DATA) $(srcdir)/rblcheck.rtf $(DESTDIR)$(docdir)/rblcheck.rtf
-
diff --git a/mail-filter/rblcheck/metadata.xml b/mail-filter/rblcheck/metadata.xml
deleted file mode 100644
index 90c7e8d0913c..000000000000
--- a/mail-filter/rblcheck/metadata.xml
+++ /dev/null
@@ -1,8 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
- <!-- maintainer-needed -->
- <upstream>
- <remote-id type="github">logic/rblcheck</remote-id>
- </upstream>
-</pkgmetadata>
diff --git a/mail-filter/rblcheck/rblcheck-1.5-r3.ebuild b/mail-filter/rblcheck/rblcheck-1.5-r3.ebuild
deleted file mode 100644
index fa5732a27c6f..000000000000
--- a/mail-filter/rblcheck/rblcheck-1.5-r3.ebuild
+++ /dev/null
@@ -1,32 +0,0 @@
-# Copyright 1999-2025 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit toolchain-funcs autotools
-
-DESCRIPTION="Perform lookups in RBL-styles services"
-HOMEPAGE="https://github.com/logic/rblcheck"
-SRC_URI="https://github.com/logic/rblcheck/releases/download/${P}/${P}.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~alpha amd64 ~hppa ~mips ppc ~sparc x86"
-
-RDEPEND="!net-libs/udns[tools]"
-
-PATCHES=(
- "${FILESDIR}"/${P}-autoconf.patch
-)
-
-DOCS=( README docs/rblcheck.ps docs/rblcheck.rtf )
-
-src_prepare() {
- default
-
- eautoreconf
-}
-
-src_compile() {
- emake CC="$(tc-getCC)"
-}
diff --git a/mail-filter/rspamd/Manifest b/mail-filter/rspamd/Manifest
deleted file mode 100644
index 77184a052b7d..000000000000
--- a/mail-filter/rspamd/Manifest
+++ /dev/null
@@ -1,2 +0,0 @@
-DIST rspamd-4.0.0.tar.gz 6985425 BLAKE2B 468df08605bd5cf224abca43a43d958487de0eb672ebd7b6fc65ebae776cbc09a2b5e75f9260fc68bd3191c804b04b584a99154c4f5abad1236a589cc6c7ddac SHA512 ac1f7e00f63f667f650b3cff5192f6a175cbc2fc2acb320049445b0c939b1101eca4e62dd26bc68805b6374aacb8d88d64feba9dc7b53d29acf347874288ca06
-DIST rspamd-4.0.1.tar.gz 6998348 BLAKE2B cf7bb26a3e4e911246b90488f854d79a2b8e2208ebb718472413737bb496f523a2bc82f0e112298a251d27bd2be2e2a166d14648b64c3d9807507c75a5c59dd9 SHA512 4fafba3af4d7456376bc7f0c6b56bd0bed0bcd4d5420b36c1a359639db9941d3069ddfcb7ae91f5384f69b3e4a68586d0347f249137a829366ff5e5bfb19b815
diff --git a/mail-filter/rspamd/files/rspamd-3.12-cmake-lua-version.patch b/mail-filter/rspamd/files/rspamd-3.12-cmake-lua-version.patch
deleted file mode 100644
index 4abdf425f37c..000000000000
--- a/mail-filter/rspamd/files/rspamd-3.12-cmake-lua-version.patch
+++ /dev/null
@@ -1,64 +0,0 @@
-diff --git a/CMakeLists.txt b/CMakeLists.txt
-index 1d48a2096..98e8c2ec0 100644
---- a/CMakeLists.txt
-+++ b/CMakeLists.txt
-@@ -167,55 +167,8 @@ if (ENABLE_LUAJIT)
- else ()
- # Try to find Lua (5.3, 5.4, 5.2, or 5.1 in that order)
- ProcessPackage(LIBLUA LIBRARY "lua"
-- "lua-5.3"
-- LIB_SUFFIXES "lua5.3"
-- INCLUDE lua.h INCLUDE_SUFFIXES
-- "include/lua-5.3"
-- "include/lua5.3"
-- "include/lua53"
-- "include/lua"
- ROOT ${LUA_ROOT}
-- MODULES lua53
-- OPTIONAL)
--
-- if (NOT WITH_LIBLUA)
-- ProcessPackage(LIBLUA LIBRARY "lua"
-- "lua-5.4"
-- LIB_SUFFIXES "lua5.4"
-- INCLUDE lua.h INCLUDE_SUFFIXES
-- "include/lua-5.4"
-- "include/lua5.4"
-- "include/lua54"
-- "include/lua"
-- ROOT ${LUA_ROOT}
-- MODULES lua54
-- OPTIONAL)
-- if (NOT WITH_LIBLUA)
-- ProcessPackage(LIBLUA LIBRARY "lua"
-- "lua-5.2"
-- LIB_SUFFIXES "lua5.2"
-- INCLUDE lua.h INCLUDE_SUFFIXES
-- "include/lua-5.2"
-- "include/lua5.2"
-- "include/lua52"
-- "include/lua"
-- ROOT ${LUA_ROOT}
-- MODULES lua52
-- OPTIONAL)
--
-- if (NOT WITH_LIBLUA)
-- ProcessPackage(LIBLUA LIBRARY "lua"
-- "lua-5.1"
-- INCLUDE lua.h INCLUDE_SUFFIXES
-- "include/lua-5.1"
-- "include/lua5.1"
-- "include/lua51"
-- "include/lua"
-- ROOT ${LUA_ROOT}
-- MODULES lua51)
-- endif ()
-- endif ()
-- endif ()
-+ MODULES lua)
- endif ()
-
- # Memory allocator
---
-2.49.0
-
diff --git a/mail-filter/rspamd/files/rspamd-3.12-unbundle-lua.patch b/mail-filter/rspamd/files/rspamd-3.12-unbundle-lua.patch
deleted file mode 100644
index a5052c044baf..000000000000
--- a/mail-filter/rspamd/files/rspamd-3.12-unbundle-lua.patch
+++ /dev/null
@@ -1,70 +0,0 @@
-diff --git a/cmake/AddDependencySubdirectories.cmake b/cmake/AddDependencySubdirectories.cmake
-index 866204ff5..61781b511 100644
---- a/cmake/AddDependencySubdirectories.cmake
-+++ b/cmake/AddDependencySubdirectories.cmake
-@@ -69,11 +69,6 @@ function(AddDependencySubdirectories)
- find_package(doctest)
- endif ()
-
-- # Lua-specific dependencies
-- if (NOT WITH_LUAJIT)
-- add_subdirectory(contrib/lua-bit)
-- endif ()
--
- # Lua REPL support
- add_subdirectory(contrib/replxx)
- list(APPEND RSPAMD_REQUIRED_LIBRARIES rspamd-replxx)
-diff --git a/cmake/InstallRspamdFiles.cmake b/cmake/InstallRspamdFiles.cmake
-index b6b631cdc..357cb5937 100644
---- a/cmake/InstallRspamdFiles.cmake
-+++ b/cmake/InstallRspamdFiles.cmake
-@@ -67,7 +67,6 @@ function(InstallRspamdFiles)
-
- # Install third-party Lua libraries
- install(FILES "contrib/lua-fun/fun.lua" DESTINATION ${LUALIBDIR})
-- install(FILES "contrib/lua-argparse/argparse.lua" DESTINATION ${LUALIBDIR})
- install(FILES "contrib/lua-tableshape/tableshape.lua" DESTINATION ${LUALIBDIR})
- install(FILES "contrib/lua-lupa/lupa.lua" DESTINATION ${LUALIBDIR})
- install(FILES "contrib/lua-lpeg/lpegre.lua" DESTINATION ${LUALIBDIR})
-diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
-index 6cc49e4e4..5cd6d23e9 100644
---- a/src/CMakeLists.txt
-+++ b/src/CMakeLists.txt
-@@ -228,11 +228,6 @@ if (ENABLE_CLANG_PLUGIN)
- add_dependencies(rspamd-server rspamd-clang)
- endif ()
-
--# Handle Lua JIT/Lua dependency
--if (NOT WITH_LUAJIT)
-- target_link_libraries(rspamd-server PRIVATE rspamd-bit)
--endif ()
--
- # Link additional optional dependencies
- if (ENABLE_SNOWBALL)
- target_link_libraries(rspamd-server PRIVATE stemmer)
-diff --git a/src/lua/lua_common.c b/src/lua/lua_common.c
-index 3a0f1a06c..5a9056a3f 100644
---- a/src/lua/lua_common.c
-+++ b/src/lua/lua_common.c
-@@ -915,10 +915,6 @@ rspamd_lua_wipe_realloc(void *ud,
- return NULL;
- }
-
--#ifndef WITH_LUAJIT
--extern int luaopen_bit(lua_State *L);
--#endif
--
- static unsigned int lua_initialized = 0;
-
- lua_State *
-@@ -987,7 +983,6 @@ rspamd_lua_init(bool wipe_mem)
- luaopen_compress(L);
- luaopen_shingle(L);
- #ifndef WITH_LUAJIT
-- rspamd_lua_add_preload(L, "bit", luaopen_bit);
- lua_settop(L, 0);
- #endif
-
---
-2.49.0
-
diff --git a/mail-filter/rspamd/files/rspamd-3.12-unbundle-snowball.patch b/mail-filter/rspamd/files/rspamd-3.12-unbundle-snowball.patch
deleted file mode 100644
index b884d0724631..000000000000
--- a/mail-filter/rspamd/files/rspamd-3.12-unbundle-snowball.patch
+++ /dev/null
@@ -1,27 +0,0 @@
-diff --git a/CMakeLists.txt b/CMakeLists.txt
-index 98e8c2ec0..5f8939bb5 100644
---- a/CMakeLists.txt
-+++ b/CMakeLists.txt
-@@ -131,7 +131,6 @@ include_directories(
- "${CMAKE_SOURCE_DIR}/contrib/fpconv"
- "${CMAKE_SOURCE_DIR}/contrib/libottery"
- "${CMAKE_SOURCE_DIR}/contrib/cdb"
-- "${CMAKE_SOURCE_DIR}/contrib/snowball/include"
- "${CMAKE_SOURCE_DIR}/contrib/librdns"
- "${CMAKE_SOURCE_DIR}/contrib/aho-corasick"
- "${CMAKE_SOURCE_DIR}/contrib/lc-btrie"
-diff --git a/cmake/AddDependencySubdirectories.cmake b/cmake/AddDependencySubdirectories.cmake
-index 61781b511..560a4383e 100644
---- a/cmake/AddDependencySubdirectories.cmake
-+++ b/cmake/AddDependencySubdirectories.cmake
-@@ -32,7 +32,6 @@ function(AddDependencySubdirectories)
-
- # Optional dependencies based on configuration
- if (ENABLE_SNOWBALL)
-- add_subdirectory(contrib/snowball)
- set(WITH_SNOWBALL 1 PARENT_SCOPE)
- endif ()
-
---
-2.49.0
-
diff --git a/mail-filter/rspamd/files/rspamd-3.14.1-unbundle-lua.patch b/mail-filter/rspamd/files/rspamd-3.14.1-unbundle-lua.patch
deleted file mode 100644
index 74e14f1fd6aa..000000000000
--- a/mail-filter/rspamd/files/rspamd-3.14.1-unbundle-lua.patch
+++ /dev/null
@@ -1,70 +0,0 @@
-diff --git a/cmake/AddDependencySubdirectories.cmake b/cmake/AddDependencySubdirectories.cmake
-index 866204ff5..61781b511 100644
---- a/cmake/AddDependencySubdirectories.cmake
-+++ b/cmake/AddDependencySubdirectories.cmake
-@@ -69,11 +69,6 @@ function(AddDependencySubdirectories)
- find_package(doctest)
- endif ()
-
-- # Lua-specific dependencies
-- if (NOT WITH_LUAJIT)
-- add_subdirectory(contrib/lua-bit)
-- endif ()
--
- # Lua REPL support
- add_subdirectory(contrib/replxx)
- list(APPEND RSPAMD_REQUIRED_LIBRARIES rspamd-replxx)
-diff --git a/cmake/InstallRspamdFiles.cmake b/cmake/InstallRspamdFiles.cmake
-index 75a6fe447..91b29f031 100644
---- a/cmake/InstallRspamdFiles.cmake
-+++ b/cmake/InstallRspamdFiles.cmake
-@@ -67,7 +67,6 @@ function(InstallRspamdFiles)
-
- # Install third-party Lua libraries
- install(FILES "contrib/lua-fun/fun.lua" DESTINATION ${LUALIBDIR})
-- install(FILES "contrib/lua-argparse/argparse.lua" DESTINATION ${LUALIBDIR})
- install(FILES "contrib/lua-lupa/lupa.lua" DESTINATION ${LUALIBDIR})
- install(FILES "contrib/lua-lpeg/lpegre.lua" DESTINATION ${LUALIBDIR})
-
-diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
-index 6cc49e4e4..5cd6d23e9 100644
---- a/src/CMakeLists.txt
-+++ b/src/CMakeLists.txt
-@@ -228,11 +228,6 @@ if (ENABLE_CLANG_PLUGIN)
- add_dependencies(rspamd-server rspamd-clang)
- endif ()
-
--# Handle Lua JIT/Lua dependency
--if (NOT WITH_LUAJIT)
-- target_link_libraries(rspamd-server PRIVATE rspamd-bit)
--endif ()
--
- # Link additional optional dependencies
- if (ENABLE_SNOWBALL)
- target_link_libraries(rspamd-server PRIVATE stemmer)
-diff --git a/src/lua/lua_common.c b/src/lua/lua_common.c
-index 2ec4d6c72..8137415ca 100644
---- a/src/lua/lua_common.c
-+++ b/src/lua/lua_common.c
-@@ -916,10 +916,6 @@ rspamd_lua_wipe_realloc(void *ud,
- return NULL;
- }
-
--#ifndef WITH_LUAJIT
--extern int luaopen_bit(lua_State *L);
--#endif
--
- static unsigned int lua_initialized = 0;
-
- lua_State *
-@@ -989,7 +985,6 @@ rspamd_lua_init(bool wipe_mem)
- luaopen_libarchive(L);
- luaopen_shingle(L);
- #ifndef WITH_LUAJIT
-- rspamd_lua_add_preload(L, "bit", luaopen_bit);
- lua_settop(L, 0);
- #endif
-
---
-2.51.0
-
diff --git a/mail-filter/rspamd/files/rspamd-r1.logrotate b/mail-filter/rspamd/files/rspamd-r1.logrotate
deleted file mode 100644
index 5cb2fdd55e07..000000000000
--- a/mail-filter/rspamd/files/rspamd-r1.logrotate
+++ /dev/null
@@ -1,16 +0,0 @@
-/var/log/rspamd/rspamd.log {
- daily
- rotate 4
- delaycompress
- compress
- notifempty
- missingok
- postrotate
- if test -d /run/systemd/system ; then
- systemctl kill -s USR1 --kill-who=main rspamd.service
- else
- test -r /run/rspamd.pid && kill -USR1 $(cat /run/rspamd.pid) &>/dev/null
- fi
- endscript
-}
-
diff --git a/mail-filter/rspamd/files/rspamd-r7.init b/mail-filter/rspamd/files/rspamd-r7.init
deleted file mode 100644
index 311fde9d6372..000000000000
--- a/mail-filter/rspamd/files/rspamd-r7.init
+++ /dev/null
@@ -1,55 +0,0 @@
-#!/sbin/openrc-run
-# Copyright 2015-2019 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-RSPAMD_CONFIGFILE=${RSPAMD_CONFIGFILE:-"/etc/rspamd/rspamd.conf"}
-RSPAMD_GROUP=${RSPAMD_GROUP:-rspamd}
-RSPAMD_OPTS=${RSPAMD_OPTS:-""}
-RSPAMD_PIDFILE=${RSPAMD_PIDFILE:-"/run/rspamd.pid"}
-RSPAMD_USER=${RSPAMD_USER:-rspamd}
-
-command="/usr/bin/rspamd"
-command_rspamadm="/usr/bin/rspamadm"
-command_args="${RSPAMD_OPTS} -c \"${RSPAMD_CONFIGFILE}\" -u ${RSPAMD_USER} -g ${RSPAMD_GROUP} --pid \"${RSPAMD_PIDFILE}\""
-start_stop_daemon_args=${RSPAMD_SSDARGS:-"--wait 1000"}
-pidfile="${RSPAMD_PIDFILE}"
-retry=${RSPAMD_TERMTIMEOUT:-"TERM/60/KILL/5"}
-
-required_files="${RSPAMD_CONFIGFILE}"
-
-description="Rapid spam filtering system"
-
-extra_commands="checkconfig"
-extra_started_commands="reload"
-
-description_checkconfig="Validate rspamd's configuration"
-description_reload="Sends rspamd a signal to reload its configuration"
-
-depend() {
- before mta
- use dns redis
-}
-
-checkconfig() {
- ${command_rspamadm} configtest 1>/dev/null || return 1
-}
-
-reload() {
- checkconfig || return 1
-
- ebegin "Reloading ${SVCNAME}"
- start-stop-daemon --signal HUP --pidfile "${pidfile}"
- eend $?
-}
-
-start_pre() {
- if [ "${RC_CMD}" != "restart" ]; then
- checkconfig || return 1
- fi
-}
-
-stop_pre() {
- if [ "${RC_CMD}" = "restart" ]; then
- checkconfig || return 1
- fi
-}
diff --git a/mail-filter/rspamd/files/rspamd.conf b/mail-filter/rspamd/files/rspamd.conf
deleted file mode 100644
index 1f8fb77b3b15..000000000000
--- a/mail-filter/rspamd/files/rspamd.conf
+++ /dev/null
@@ -1,26 +0,0 @@
-# /etc/conf.d/rspamd
-
-# Configuration file
-#RSPAMD_CONFIGFILE="/etc/rspamd/rspamd.conf"
-
-# PID file
-# If you should ever change this, remember to update
-# "/etc/logrotate.d/rspamd", too.
-#RSPAMD_PIDFILE="/run/rspamd.pid"
-
-# You can use this configuration option to pass additional options to the
-# start-stop-daemon, see start-stop-daemon(8) for more details.
-# Per default we wait 1000ms after we have started the service to ensure
-# that the daemon is really up and running.
-#RSPAMD_SSDARGS="--wait 1000"
-
-# The termination timeout (start-stop-daemon parameter "retry") ensures
-# that the service will be terminated within a given time (60 + 5 seconds
-# per default) when you are stopping the service.
-#RSPAMD_TERMTIMEOUT="TERM/60/KILL/5"
-
-# Options to rspamd
-# See rspamd(8) for more details
-# Notes:
-# * Do not specify another CONFIGFILE but use the variable above to change the location
-#RSPAMD_OPTS=""
diff --git a/mail-filter/rspamd/files/rspamd.tmpfile b/mail-filter/rspamd/files/rspamd.tmpfile
deleted file mode 100644
index 9f7a2c46c315..000000000000
--- a/mail-filter/rspamd/files/rspamd.tmpfile
+++ /dev/null
@@ -1 +0,0 @@
-d /run/rspamd 0755 rspamd rspamd
diff --git a/mail-filter/rspamd/metadata.xml b/mail-filter/rspamd/metadata.xml
deleted file mode 100644
index f20501dc295d..000000000000
--- a/mail-filter/rspamd/metadata.xml
+++ /dev/null
@@ -1,26 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "https://liguros.gitlab.io/dtd/metadata.dtd">
-<pkgmetadata>
- <maintainer type="project">
- <email>dev@liguros.net</email>
- <name>Development</name>
- </maintainer>
- <maintainer type="person">
- <email>c@roessner.co</email>
- <name>Christian Roessner</name>
- </maintainer>
- <maintainer type="person">
- <email>arkamar@atlas.cz</email>
- <name>Petr Vaněk</name>
- </maintainer>
- <maintainer type="project">
- <email>proxy-maint@gentoo.org</email>
- <name>Proxy Maintainers</name>
- </maintainer>
-
- <use>
- <flag name="hyperscan">Enable hyperscan for fast regexp processing</flag>
- <flag name="pcre2">Use dev-libs/libpcre2</flag>
- </use>
- <origin>ports</origin>
-</pkgmetadata> \ No newline at end of file
diff --git a/mail-filter/rspamd/rspamd-4.0.0.ebuild b/mail-filter/rspamd/rspamd-4.0.0.ebuild
deleted file mode 100644
index d4ed3171eb8a..000000000000
--- a/mail-filter/rspamd/rspamd-4.0.0.ebuild
+++ /dev/null
@@ -1,144 +0,0 @@
-# Copyright 2021-2026 Liguros Authors
-# Distributed under the terms of the GNU General Public License v2
-EAPI=8
-
-LUA_COMPAT=( lua5-{1..4} luajit )
-
-inherit cmake lua-single pax-utils systemd tmpfiles
-
-SRC_URI="https://github.com/rspamd/rspamd/archive/${PV}.tar.gz -> ${P}.tar.gz"
-KEYWORDS="~amd64 ~x86"
-DESCRIPTION="Rapid spam filtering system"
-HOMEPAGE="
- https://rspamd.com
- https://github.com/rspamd/rspamd
-"
-
-LICENSE="Apache-2.0 Boost-1.0 BSD BSD-1 BSD-2 CC0-1.0 LGPL-3 MIT public-domain unicode ZLIB"
-SLOT="0"
-IUSE="blas +hyperscan jemalloc +jit selinux test"
-RESTRICT="!test? ( test )"
-
-# A part of tests use ffi luajit extension
-REQUIRED_USE="${LUA_REQUIRED_USE}
- test? ( lua_single_target_luajit )"
-
-RDEPEND="
- ${LUA_DEPS}
- $(lua_gen_cond_dep '
- dev-lua/LuaBitOp[${LUA_USEDEP}]
- dev-lua/lua-argparse[${LUA_USEDEP}]
- ')
- acct-group/rspamd
- acct-user/rspamd
- app-arch/libarchive:=
- app-arch/zstd:=
- dev-db/sqlite:3
- dev-libs/glib:2
- dev-libs/icu:=
- dev-libs/libpcre2:=[jit=]
- dev-libs/libsodium:=
- dev-libs/openssl:0=[-bindist(-)]
-
- dev-libs/snowball-stemmer:=
- virtual/zlib:=
- blas? (
- virtual/blas
- virtual/lapack
- )
- hyperscan? ( dev-libs/vectorscan:= )
- jemalloc? ( dev-libs/jemalloc:= )
- selinux? ( sec-policy/selinux-spamassassin )
-"
-DEPEND="
- ${RDEPEND}
- dev-cpp/doctest
- >=dev-libs/xxhash-0.8.0
-"
-BDEPEND="
- dev-lang/perl
- dev-util/ragel
- virtual/pkgconfig
-"
-
-PATCHES=(
- "${FILESDIR}/${PN}-3.12-cmake-lua-version.patch"
- "${FILESDIR}/${PN}-3.14.1-unbundle-lua.patch"
- "${FILESDIR}/${PN}-3.12-unbundle-snowball.patch"
-)
-
-src_prepare() {
- cmake_src_prepare
-
- rm -vrf contrib/{doctest,lua-{argparse,bit},snowball,xxhash,zstd} || die
-
- > cmake/Toolset.cmake || die #827550
-
- sed -i -e 's/User=_rspamd/User=rspamd/g' \
- rspamd.service \
- || die
-}
-
-src_configure() {
- local mycmakeargs=(
- -DCONFDIR=/etc/rspamd
- -DRUNDIR=/var/run/rspamd
- -DDBDIR=/var/lib/rspamd
- -DLOGDIR=/var/log/rspamd
- -DLIBDIR="/usr/$(get_libdir)/rspamd"
-
- -DSYSTEM_DOCTEST=ON
- -DSYSTEM_XXHASH=ON
- -DSYSTEM_ZSTD=ON
-
- # For bundled https://github.com/bombela/backward-cpp
- # Bundled backward library uses execinfo.h in current setting, which is
- # available in glibc, but not in musl. Let's enable it for glibc only.
- -DENABLE_BACKWARD=$(usex elibc_glibc ON OFF) # bug 917643
- -DSTACK_DETAILS_AUTO_DETECT=OFF
-
- -DENABLE_BLAS=$(usex blas ON OFF)
- -DENABLE_HYPERSCAN=$(usex hyperscan ON OFF)
- -DENABLE_JEMALLOC=$(usex jemalloc ON OFF)
- -DENABLE_LUAJIT=$(usex lua_single_target_luajit ON OFF)
- -DENABLE_PCRE2=ON
-
- -DBUILD_TESTING=$(usex test ON OFF)
- )
- cmake_src_configure
-}
-
-src_test() {
- # These variables ensure tests use Lua scripts from this package rather
- # than the installed version. However, rspamd always first attempts to load
- # from /etc/rspamd/lua, with no method to override this behavior.
- LUA_PATH="${S}/contrib/lua-?/?.lua" \
- LUALIBDIR="${S}/lualib" \
- RULESDIR="${S}/lualib" \
- cmake_src_test
-}
-
-src_install() {
- cmake_src_install
-
- newconfd "${FILESDIR}"/rspamd.conf rspamd
- newinitd "${FILESDIR}/rspamd-r7.init" rspamd
- systemd_newunit rspamd.service rspamd.service
-
- newtmpfiles "${FILESDIR}"/${PN}.tmpfile ${PN}.conf
-
- # Remove mprotect for JIT support
- if use lua_single_target_luajit; then
- pax-mark m "${ED}"/usr/bin/rspamd-* "${ED}"/usr/bin/rspamadm-*
- fi
-
- insinto /etc/logrotate.d
- newins "${FILESDIR}"/rspamd-r1.logrotate rspamd
-
- diropts -o rspamd -g rspamd
- keepdir /var/{lib,log}/rspamd
-}
-
-pkg_postinst() {
- tmpfiles_process "${PN}.conf"
-}
diff --git a/mail-filter/rspamd/rspamd-4.0.1.ebuild b/mail-filter/rspamd/rspamd-4.0.1.ebuild
deleted file mode 100644
index d4ed3171eb8a..000000000000
--- a/mail-filter/rspamd/rspamd-4.0.1.ebuild
+++ /dev/null
@@ -1,144 +0,0 @@
-# Copyright 2021-2026 Liguros Authors
-# Distributed under the terms of the GNU General Public License v2
-EAPI=8
-
-LUA_COMPAT=( lua5-{1..4} luajit )
-
-inherit cmake lua-single pax-utils systemd tmpfiles
-
-SRC_URI="https://github.com/rspamd/rspamd/archive/${PV}.tar.gz -> ${P}.tar.gz"
-KEYWORDS="~amd64 ~x86"
-DESCRIPTION="Rapid spam filtering system"
-HOMEPAGE="
- https://rspamd.com
- https://github.com/rspamd/rspamd
-"
-
-LICENSE="Apache-2.0 Boost-1.0 BSD BSD-1 BSD-2 CC0-1.0 LGPL-3 MIT public-domain unicode ZLIB"
-SLOT="0"
-IUSE="blas +hyperscan jemalloc +jit selinux test"
-RESTRICT="!test? ( test )"
-
-# A part of tests use ffi luajit extension
-REQUIRED_USE="${LUA_REQUIRED_USE}
- test? ( lua_single_target_luajit )"
-
-RDEPEND="
- ${LUA_DEPS}
- $(lua_gen_cond_dep '
- dev-lua/LuaBitOp[${LUA_USEDEP}]
- dev-lua/lua-argparse[${LUA_USEDEP}]
- ')
- acct-group/rspamd
- acct-user/rspamd
- app-arch/libarchive:=
- app-arch/zstd:=
- dev-db/sqlite:3
- dev-libs/glib:2
- dev-libs/icu:=
- dev-libs/libpcre2:=[jit=]
- dev-libs/libsodium:=
- dev-libs/openssl:0=[-bindist(-)]
-
- dev-libs/snowball-stemmer:=
- virtual/zlib:=
- blas? (
- virtual/blas
- virtual/lapack
- )
- hyperscan? ( dev-libs/vectorscan:= )
- jemalloc? ( dev-libs/jemalloc:= )
- selinux? ( sec-policy/selinux-spamassassin )
-"
-DEPEND="
- ${RDEPEND}
- dev-cpp/doctest
- >=dev-libs/xxhash-0.8.0
-"
-BDEPEND="
- dev-lang/perl
- dev-util/ragel
- virtual/pkgconfig
-"
-
-PATCHES=(
- "${FILESDIR}/${PN}-3.12-cmake-lua-version.patch"
- "${FILESDIR}/${PN}-3.14.1-unbundle-lua.patch"
- "${FILESDIR}/${PN}-3.12-unbundle-snowball.patch"
-)
-
-src_prepare() {
- cmake_src_prepare
-
- rm -vrf contrib/{doctest,lua-{argparse,bit},snowball,xxhash,zstd} || die
-
- > cmake/Toolset.cmake || die #827550
-
- sed -i -e 's/User=_rspamd/User=rspamd/g' \
- rspamd.service \
- || die
-}
-
-src_configure() {
- local mycmakeargs=(
- -DCONFDIR=/etc/rspamd
- -DRUNDIR=/var/run/rspamd
- -DDBDIR=/var/lib/rspamd
- -DLOGDIR=/var/log/rspamd
- -DLIBDIR="/usr/$(get_libdir)/rspamd"
-
- -DSYSTEM_DOCTEST=ON
- -DSYSTEM_XXHASH=ON
- -DSYSTEM_ZSTD=ON
-
- # For bundled https://github.com/bombela/backward-cpp
- # Bundled backward library uses execinfo.h in current setting, which is
- # available in glibc, but not in musl. Let's enable it for glibc only.
- -DENABLE_BACKWARD=$(usex elibc_glibc ON OFF) # bug 917643
- -DSTACK_DETAILS_AUTO_DETECT=OFF
-
- -DENABLE_BLAS=$(usex blas ON OFF)
- -DENABLE_HYPERSCAN=$(usex hyperscan ON OFF)
- -DENABLE_JEMALLOC=$(usex jemalloc ON OFF)
- -DENABLE_LUAJIT=$(usex lua_single_target_luajit ON OFF)
- -DENABLE_PCRE2=ON
-
- -DBUILD_TESTING=$(usex test ON OFF)
- )
- cmake_src_configure
-}
-
-src_test() {
- # These variables ensure tests use Lua scripts from this package rather
- # than the installed version. However, rspamd always first attempts to load
- # from /etc/rspamd/lua, with no method to override this behavior.
- LUA_PATH="${S}/contrib/lua-?/?.lua" \
- LUALIBDIR="${S}/lualib" \
- RULESDIR="${S}/lualib" \
- cmake_src_test
-}
-
-src_install() {
- cmake_src_install
-
- newconfd "${FILESDIR}"/rspamd.conf rspamd
- newinitd "${FILESDIR}/rspamd-r7.init" rspamd
- systemd_newunit rspamd.service rspamd.service
-
- newtmpfiles "${FILESDIR}"/${PN}.tmpfile ${PN}.conf
-
- # Remove mprotect for JIT support
- if use lua_single_target_luajit; then
- pax-mark m "${ED}"/usr/bin/rspamd-* "${ED}"/usr/bin/rspamadm-*
- fi
-
- insinto /etc/logrotate.d
- newins "${FILESDIR}"/rspamd-r1.logrotate rspamd
-
- diropts -o rspamd -g rspamd
- keepdir /var/{lib,log}/rspamd
-}
-
-pkg_postinst() {
- tmpfiles_process "${PN}.conf"
-}
diff --git a/mail-filter/scmail/Manifest b/mail-filter/scmail/Manifest
deleted file mode 100644
index 5f0eed29e994..000000000000
--- a/mail-filter/scmail/Manifest
+++ /dev/null
@@ -1 +0,0 @@
-DIST scmail-1.3.tar.gz 52744 BLAKE2B 2e2848472bb6f9ce913fea381c905ec28a1cac5201fe3a8c89e25c96a0fd646e7f96ddcf6cdfd1e0d88f34b5d51ea754faa5c3574635715ed1dc92cfd9d2980c SHA512 ae94de7f34f9279e892533137d76f07642ade63f9d179bbc96202003f49cf8ae6dd6cc5b9d53fa1d2f8be2bebcbe071635910d48593c9e57fb6609cc7ec6e95d
diff --git a/mail-filter/scmail/files/scmail-doc-encoding.patch b/mail-filter/scmail/files/scmail-doc-encoding.patch
deleted file mode 100644
index 8740774379f9..000000000000
--- a/mail-filter/scmail/files/scmail-doc-encoding.patch
+++ /dev/null
@@ -1,28 +0,0 @@
---- a/doc/embed.scm
-+++ b/doc/embed.scm
-@@ -1,3 +1,4 @@
-+(use gauche.charconv)
- (use gauche.regexp)
- (define (escape str)
- (set! str (regexp-replace-all #/&/ str "&amp;"))
-@@ -15,12 +16,18 @@
- (define (main args)
- (call-with-input-file (cadr args)
- (lambda (in)
-- (let* ((content (port->string in))
-+ (let* ((content (port->string (open-input-conversion-port in "*jp")))
- (content (regexp-replace-all #/#\{(.*?)\}/ content
- (lambda (m)
- (string-append
- "<pre>\n"
- (read-file-and-escape (rxmatch-substring m 1))
-- "</pre>\n")))))
-+ "</pre>\n"))))
-+ (content (regexp-replace #/(encoding=").*?(")/ content
-+ (lambda (m)
-+ (string-append
-+ (rxmatch-substring m 1)
-+ (ces-guess-from-string content "*jp")
-+ (rxmatch-substring m 2))))))
- (display content))))
- 0)
diff --git a/mail-filter/scmail/files/scmail-gauche-0.9.10.patch b/mail-filter/scmail/files/scmail-gauche-0.9.10.patch
deleted file mode 100644
index ab6f5e04d2f6..000000000000
--- a/mail-filter/scmail/files/scmail-gauche-0.9.10.patch
+++ /dev/null
@@ -1,22 +0,0 @@
---- a/scmail/mail.scm
-+++ b/scmail/mail.scm
-@@ -202,7 +202,7 @@
- (send-command "DATA" 354)
- (port-for-each (lambda (line)
- (format out "~a~a\r\n"
-- (if (string-prefix? "." line) "." "")
-+ (if (and (not (string-incomplete? line)) (string-prefix? "." line)) "." "")
- line))
- (lambda () (read-line iport #t)))
- (send-command "." 250)
---- a/tests/mailbox.scm
-+++ b/tests/mailbox.scm
-@@ -9,7 +9,7 @@
- (test-module 'scmail.mailbox)
-
- (define mailbox-table
-- '((mh #f "Mail" "inbox")
-+ `((mh #f "Mail" "inbox")
- (maildir #f "Maildir" "")))
-
- (define (mailbox-list)
diff --git a/mail-filter/scmail/files/scmail-gauche-0.9.patch b/mail-filter/scmail/files/scmail-gauche-0.9.patch
deleted file mode 100644
index 9062df4eb71d..000000000000
--- a/mail-filter/scmail/files/scmail-gauche-0.9.patch
+++ /dev/null
@@ -1,35 +0,0 @@
---- a/scbayes.in
-+++ b/scbayes.in
-@@ -16,6 +16,7 @@
-
- (use gauche.parseopt)
- (use gauche.parameter)
-+(use gauche.version)
- (use dbm)
- (use dbm.gdbm) ;; should be customizable
- (use util.digest)
-@@ -130,12 +131,18 @@
- (sys-rename (temporary-table-file) (table-file))
- (sys-rename (temporary-digest-file) (digest-file)))))
-
--(define (lock)
-- (unless (eq? (create-directory* (lock-file)) #t)
-- (scmail-wformat "~a is now being updated" (table-file))
-- (scmail-wformat "or perhaps ~a is staled." (lock-file))
-- (scmail-eformat "(Please remove the lock file if it is staled.)"))
-- )
-+(if (version<? (gauche-version) "0.9")
-+ (define (lock)
-+ (unless (eq? (create-directory* (lock-file)) #t)
-+ (scmail-wformat "~a is now being updated" (table-file))
-+ (scmail-wformat "or perhaps ~a is staled." (lock-file))
-+ (scmail-eformat "(Please remove the lock file if it is staled.)")))
-+ (define (lock)
-+ (guard (e (else
-+ (scmail-wformat "~a is now being updated" (table-file))
-+ (scmail-wformat "or perhaps ~a is staled." (lock-file))
-+ (scmail-eformat "(Please remove the lock file if it is staled.)")))
-+ (create-directory* (lock-file)))))
-
- (define force-learn? (make-parameter #f))
-
diff --git a/mail-filter/scmail/files/scmail-parallel-make.patch b/mail-filter/scmail/files/scmail-parallel-make.patch
deleted file mode 100644
index 7e35dd6f34d2..000000000000
--- a/mail-filter/scmail/files/scmail-parallel-make.patch
+++ /dev/null
@@ -1,19 +0,0 @@
---- a/Makefile
-+++ b/Makefile
-@@ -24,7 +24,7 @@
-
- all: check-gauche $(TARGET) update-doc
-
--update-doc:
-+update-doc: dot.scmail/deliver-rules.sample
- cd doc && make
-
- check-gauche:
---- a/tests/Makefile
-+++ b/tests/Makefile
-@@ -41,3 +41,5 @@
- @rm -f $(TARGET)
- @rm -rf Mail Maildir test.*
-
-+.NOTPARALLEL:
-+
diff --git a/mail-filter/scmail/files/scmail-undefined-reference.patch b/mail-filter/scmail/files/scmail-undefined-reference.patch
deleted file mode 100644
index 5059ef4b1fd2..000000000000
--- a/mail-filter/scmail/files/scmail-undefined-reference.patch
+++ /dev/null
@@ -1,51 +0,0 @@
---- a/scmail/config.scm
-+++ b/scmail/config.scm
-@@ -30,6 +30,8 @@
- ))
- (select-module scmail.config)
-
-+(autoload scmail.util scmail-eformat)
-+
- (define scmail-config-directory (make-parameter (expand-path "~/.scmail")))
-
- (define (scmail-config-set-directory! directory)
---- a/scmail/mailbox.scm
-+++ b/scmail/mailbox.scm
-@@ -19,6 +19,7 @@
- (use srfi-1)
- (use file.util)
- (use gauche.parameter)
-+ (use scmail.util)
- (export <mailbox>
- make-scmail-mailbox
- scmail-mailbox-mail-list
---- a/scmail/util.scm
-+++ b/scmail/util.scm
-@@ -19,7 +19,6 @@
- (use file.util)
- (use srfi-13)
- (use gauche.parameter)
-- (use scmail.config)
- (use scmail.progress)
- (use gauche.version)
- (export filter safe-rxmatch
-@@ -31,6 +30,8 @@
-
- (select-module scmail.util)
-
-+(autoload scmail.config scmail-config-verbose-mode?)
-+
- ;;
- ;; FIXME: Reinvent it because filter in srfi-1 module is too
- ;; slow in old Gauche implementations.
---- a/scmail.scm
-+++ b/scmail.scm
-@@ -264,7 +264,7 @@
- (unless (eq? status :last)
- (scmail-filter-iter mail (cdr filter-rules))))))
- (unless (is-a? mail <mail>)
-- (scmail-eprintf "<mail> required but got ~a" (class-of mail)))
-+ (scmail-eformat "<mail> required but got ~a" (class-of mail)))
- (scmail-filter-iter mail (filter-rules)))
-
-
diff --git a/mail-filter/scmail/metadata.xml b/mail-filter/scmail/metadata.xml
deleted file mode 100644
index 9a97f3478d31..000000000000
--- a/mail-filter/scmail/metadata.xml
+++ /dev/null
@@ -1,7 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
- <maintainer type="person">
- <email>hattya@gentoo.org</email>
- </maintainer>
-</pkgmetadata>
diff --git a/mail-filter/scmail/scmail-1.3.ebuild b/mail-filter/scmail/scmail-1.3.ebuild
deleted file mode 100644
index 4dab757e7031..000000000000
--- a/mail-filter/scmail/scmail-1.3.ebuild
+++ /dev/null
@@ -1,44 +0,0 @@
-# Copyright 1999-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI="8"
-
-inherit fixheadtails
-
-DESCRIPTION="a mail filter written in Scheme"
-HOMEPAGE="http://0xcc.net/scmail/"
-SRC_URI="http://0xcc.net/${PN}/${P}.tar.gz"
-
-LICENSE="BSD"
-SLOT="0"
-KEYWORDS="amd64 ~ppc x86"
-IUSE=""
-
-RDEPEND="dev-scheme/gauche:="
-DEPEND="${RDEPEND}"
-
-PATCHES=(
- "${FILESDIR}"/${PN}-doc-encoding.patch
- "${FILESDIR}"/${PN}-gauche-0.9.patch
- "${FILESDIR}"/${PN}-gauche-0.9.10.patch
- "${FILESDIR}"/${PN}-parallel-make.patch
- "${FILESDIR}"/${PN}-undefined-reference.patch
-)
-HTML_DOCS=( doc/{${PN},scbayes}{,-ja}.html )
-
-src_prepare() {
- default
-
- ht_fix_file tests/scmail-commands
- # replace make -> $(MAKE)
- sed -i "s/make\( \|$\)/\$(MAKE)\1/g" Makefile
-}
-
-src_install() {
- emake \
- PREFIX="${ED}/usr" \
- SITELIBDIR="${ED}$(gauche-config --sitelibdir)" \
- DATADIR="${ED}/usr/share/doc/${P}" \
- install
- einstalldocs
-}
diff --git a/mail-filter/sieve-connect/Manifest b/mail-filter/sieve-connect/Manifest
deleted file mode 100644
index a925abaee3a1..000000000000
--- a/mail-filter/sieve-connect/Manifest
+++ /dev/null
@@ -1 +0,0 @@
-DIST sieve-connect-0.90.tar.bz2 46481 BLAKE2B d6bc466caffa3344537b1777b00a66f34697139d474763862c5296367f1e69174078a5e864225c1e967fbc5677c97d3ef71a4b75b677952d7b4993a5b8a08108 SHA512 3b4d4a6a7eb7d48f8b2dbc4c302c3de1a2a193282c7b2d25581e1131d6c7598cc2a47edabf8b108e94e0fd1a9cc50e48a103c133dba233f180f12d36c0da0718
diff --git a/mail-filter/sieve-connect/metadata.xml b/mail-filter/sieve-connect/metadata.xml
deleted file mode 100644
index c4b010a35be8..000000000000
--- a/mail-filter/sieve-connect/metadata.xml
+++ /dev/null
@@ -1,49 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
- <maintainer type="person" proxied="yes">
- <email>alarig@swordarmor.fr</email>
- <name>Alarig Le Lay</name>
- </maintainer>
- <maintainer type="project" proxied="proxy">
- <email>proxy-maint@gentoo.org</email>
- <name>Proxy Maintainers</name>
- </maintainer>
- <longdescription lang="en">
- This is sieve-connect. A client for the ManageSieve protocol,
- as specifed in RFC 5804. Historically, this was MANAGESIEVE as
- implemented by timsieved in Cyrus IMAP. This software is licensed
- and the terms are provided in the file "LICENSE" as supplied
- with this software (BSD license without the advertising clause).
-
- SIEVE is an RFC-specified language for mail filtering, which at
- time of writing is specified in a list of RFCs at the end of this
- document, plus various drafts, both IETF and individual submissions.
- It's designed to be regular enough for machines to be able to
- manipulate, whilst still being editable by humans. Alas, not many
- clients actually implement this instead of embedding their own
- internal codes in sieve comments, defeating the goal of being able
- to edit with a client of your choice.
-
- This is not yet fully compatible with RFC 5804, but is moving
- towards that from the timsieved baseline; some issues to be
- worked on are documented in the "TODO" file.
-
- sieve-connect speaks ManageSieve and supports TLS for connection
- privacy and also authentication if using client certificates.
- sieve-connect will use SASL authentication; SASL integrity layers
- are not supported, use TLS instead. GSSAPI-based authentication
- should generally work, provided that client and server can use a
- common underlaying protocol. If it doesn't work for you, please
- report the issue.
-
- sieve-connect is designed to be both a tool which can be invoked
- from scripts and also a decent interactive client. It should also
- be a drop-in replacement for "sieveshell", as supplied with Cyrus
- IMAP.
- </longdescription>
- <upstream>
- <bugs-to>https://github.com/syscomet/sieve-connect/issues</bugs-to>
- <remote-id type="github">syscomet/sieve-connect</remote-id>
- </upstream>
-</pkgmetadata>
diff --git a/mail-filter/sieve-connect/sieve-connect-0.90.ebuild b/mail-filter/sieve-connect/sieve-connect-0.90.ebuild
deleted file mode 100644
index d7531740cdf5..000000000000
--- a/mail-filter/sieve-connect/sieve-connect-0.90.ebuild
+++ /dev/null
@@ -1,32 +0,0 @@
-# Copyright 1999-2025 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-DESCRIPTION="Sieve Command Line Interface"
-HOMEPAGE="https://people.spodhuis.org/phil.pennock/software/"
-SRC_URI="https://github.com/syscomet/sieve-connect/releases/download/v${PV}/${P}.tar.bz2"
-
-LICENSE="BSD"
-SLOT="0"
-KEYWORDS="amd64 ~riscv x86"
-
-DEPEND=">=dev-lang/perl-5"
-RDEPEND="${DEPEND}
- >=dev-perl/Authen-SASL-2.11
- dev-perl/IO-Socket-INET6
- >=dev-perl/IO-Socket-SSL-0.97
- dev-perl/Net-DNS
- dev-perl/Net-SSLeay
- dev-perl/TermReadKey
- dev-perl/Term-ReadLine-Gnu"
-
-src_compile() {
- emake all sieve-connect.1
-}
-
-src_install() {
- dobin sieve-connect
- doman sieve-connect.1
- dodoc README*
-}
diff --git a/mail-filter/spamassassin-botnet/Manifest b/mail-filter/spamassassin-botnet/Manifest
deleted file mode 100644
index cef7b0d30bbf..000000000000
--- a/mail-filter/spamassassin-botnet/Manifest
+++ /dev/null
@@ -1 +0,0 @@
-DIST Botnet-0.8.tar 81920 BLAKE2B 1be10d1d4859c3624494565449b17714b1e563303aec4f2b68df07edf2560377d3bf4b937b2094e0c1bf62c92156b3b00a7107545544df1480dc3db849a812a1 SHA512 4108efab3062a7e35cb008875d438cd079aa46ab829b5b172463f70537efa6dee41a0226df3a63392f31ae0e2042c851e9585a408b65bab94cb7400a4d9034bb
diff --git a/mail-filter/spamassassin-botnet/metadata.xml b/mail-filter/spamassassin-botnet/metadata.xml
deleted file mode 100644
index d56d1312547f..000000000000
--- a/mail-filter/spamassassin-botnet/metadata.xml
+++ /dev/null
@@ -1,15 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
-<maintainer type="person">
- <email>chutzpah@gentoo.org</email>
- <name>Patrick McLean</name>
-</maintainer>
-<longdescription lang="en">
-A spamassassin that performs DNS validations on the first untrusted relay
-looking for signs of a Botnet infected host, such as no reverse DNS, a
-hostname that would indicate an ISP client or domain workstation, or other
-hosts that aren't intended to be acting as a direct mail submitter outside of
-their own domain.
-</longdescription>
-</pkgmetadata>
diff --git a/mail-filter/spamassassin-botnet/spamassassin-botnet-0.8-r1.ebuild b/mail-filter/spamassassin-botnet/spamassassin-botnet-0.8-r1.ebuild
deleted file mode 100644
index a8bf5a5a1e7c..000000000000
--- a/mail-filter/spamassassin-botnet/spamassassin-botnet-0.8-r1.ebuild
+++ /dev/null
@@ -1,47 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit perl-module
-
-MY_PN="${PN/b/B}"
-MY_PN="${MY_PN/spamassassin-/}"
-MY_P="${MY_PN}-${PV}"
-DESCRIPTION="SpamAssassin plugin that attempts to detect messages sent by a botnet"
-HOMEPAGE="https://wiki.gentoo.org/wiki/No_homepage"
-SRC_URI="http://people.ucsc.edu/~jrudd/spamassassin/${MY_P}.tar"
-S="${WORKDIR}"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-
-DEPEND=">=mail-filter/spamassassin-3.0.0"
-RDEPEND="${DEPEND}"
-
-src_compile() {
- # make sure it doesn't try to look for the .pm in the same dir as the .cf
- sed -rie 's/^(loadplugin.+)[ ]+Botnet.pm/\1/' Botnet.cf || die
-}
-
-src_install() {
- perl_set_version
-
- local plugin_dir=${VENDOR_LIB}/Mail/SpamAssassin/Plugin
-
- insinto ${plugin_dir}
- doins ${MY_PN}.pm
-
- insinto /etc/mail/spamassassin/
- doins ${MY_PN}.cf
-
- dodoc ${MY_PN}{{.{api,credits,variants},}.txt,.pl}
-}
-
-pkg_postinst() {
- echo
- elog "You need to restart spamassassin (as root) before this plugin will work:"
- elog "/etc/init.d/spamd restart"
- echo
-}
diff --git a/mail-filter/spamassassin/Manifest b/mail-filter/spamassassin/Manifest
deleted file mode 100644
index 63c32f8e6569..000000000000
--- a/mail-filter/spamassassin/Manifest
+++ /dev/null
@@ -1,2 +0,0 @@
-DIST Mail-SpamAssassin-4.0.1.tar.bz2 6379932 BLAKE2B 303c54d8731cf0ccb622e3e78efbc6be983fc87c7a71107ea700daa54e7ffb85dbb59696188d8ac666067499b1bc7477e31edb36f6e99c9749288a8f921a36b1 SHA512 66183e356b07d1049cf5598fc1e563e4aab580dfca04bf8ec37781dfb57ef568d33c6f6455076f54f940947f5a5dfefa7a08d233833deea5fe5ea18b669cd790
-DIST Mail-SpamAssassin-4.0.2.tar.bz2 6496450 BLAKE2B 1abda06e9729b5e1a9a242c1b4cc3a8ae9d46fb8380bb7b5823638ff8eaa796c55cf8ee4c07a6fd2c0d2e11e8a92293c485e7d8cd2ff4597047b57f8741e894c SHA512 05917f1a897e22569ab9e5130d4f91cb546db2e28fceed7bd904ea211f2684d863cf30960db750e2c99f2ea4f3119b61353714760257a3f57e898f0d11ce6cdb
diff --git a/mail-filter/spamassassin/files/3.4.1-spamd.conf-r1 b/mail-filter/spamassassin/files/3.4.1-spamd.conf-r1
deleted file mode 100644
index b7b46f3226a7..000000000000
--- a/mail-filter/spamassassin/files/3.4.1-spamd.conf-r1
+++ /dev/null
@@ -1,30 +0,0 @@
-# ***WARNING***
-#
-# The spamd daemon must not run on an untrusted network.
-#
-# ***WARNING***
-
-# Additional options to pass to the spamd daemon. The spamd(1) man
-# page explains the available options. If you choose to listen on a
-# non-default interface, you will need to use OpenRC's "rc_need"
-# mechanism to ensure that your interface comes up before spamd
-# starts. The openrc-run(8) man page describes rc_need.
-SPAMD_OPTS="--max-children=5 --create-prefs --helper-home-dir"
-
-# Sets the 'nice' level of the spamd process.
-SPAMD_NICELEVEL=0
-
-# How long (in seconds) should we wait for spamd to stop after we've
-# asked it to? After this amount of time, if spamd is still running,
-# we will assume that it has failed to stop.
-SPAMD_TIMEOUT=15
-
-# Do you want to run spamd as root? If you have local users storing their
-# personal configurations (or bayes databases) in ~/.spamassassin, then you
-# may want to run spamd as root so that it can setuid to each user while
-# processing his spam. (That way, you don't have to grant the "spamd" user
-# individual permissions to everyone's ~/.spamassassin directory.)
-#
-# On the other hand, if you don't store any per-user configuration on
-# the filesystem, then you should leave this alone.
-SPAMD_RUN_AS_ROOT=false
diff --git a/mail-filter/spamassassin/files/3.4.1-spamd.init-r3 b/mail-filter/spamassassin/files/3.4.1-spamd.init-r3
deleted file mode 100644
index 0133d7936259..000000000000
--- a/mail-filter/spamassassin/files/3.4.1-spamd.init-r3
+++ /dev/null
@@ -1,38 +0,0 @@
-#!/sbin/openrc-run
-# Copyright 1999-2017 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-command="/usr/sbin/spamd"
-pidfile="/run/spamd.pid"
-command_args="--pidfile=${pidfile} ${SPAMD_OPTS}"
-command_args_background="--daemonize"
-
-if ! [ "${SPAMD_RUN_AS_ROOT}" = "true" ]; then
- # Passing --username=root to spamd kills it, so if SPAMD_RUN_AS_ROOT
- # is true, then we want to pass no user/group command args at all.
- # Any value other than "true" gets the default user/group of "spamd".
- command_args="${command_args} --username=spamd --groupname=spamd"
-fi
-
-: ${SPAMD_NICELEVEL:=0}
-start_stop_daemon_args="--nicelevel ${SPAMD_NICELEVEL}"
-
-# Retry after SPAMD_TIMEOUT seconds because spamd can take a
-# while to kill off all of its children. This was bug 322025.
-: ${SPAMD_TIMEOUT:=15}
-retry="${SPAMD_TIMEOUT}"
-
-extra_started_commands="reload"
-
-depend() {
- before mta
- use logger mysql postgresql
-}
-
-reload() {
- ebegin "Reloading configuration"
- # Warning: reload causes the PID of the spamd process to
- # change, but spamd does update its PID file afterwards.
- start-stop-daemon --signal HUP --pidfile "${pidfile}"
- eend $?
-}
diff --git a/mail-filter/spamassassin/files/geoip.cf b/mail-filter/spamassassin/files/geoip.cf
deleted file mode 100644
index 733cba09ebc8..000000000000
--- a/mail-filter/spamassassin/files/geoip.cf
+++ /dev/null
@@ -1,70 +0,0 @@
-# GeoIP / RelayCountry Config
-#
-# The RelayCountry SpamAssassin plugin needs to be enabled
-# in init.pre, but it's suggested that you make configuration
-# changes here.
-#
-# See Also:
-# - https://wiki.apache.org/spamassassin/RelayCountryPlugin
-# - man Mail::SpamAssassin::Plugin::RelayCountry
-#
-# NOTE: This is a Gentoo supplied config file.
-#
-
-###############################################################
-#
-# CONFIGURATION
-#
-
-# Which type of Geo database to use. Valid database types are
-# GeoIP, GeoIP2, DB_File and Fast. Defaults to Fast, GeoIP2 is
-# the suggested backend which uses dev-perl/GeoIP2.
-#
-#country_db_type GeoIP2
-
-# Where to find MaxMind GeoIP2 or IP::Country::DB_File database.
-# The default is to search several paths, see the RelayCountry
-# man page referenced at the top for details.
-#
-# It's suggested you use net-misc/geoipupdate to install and
-# update your GeoIP2 databases.
-#
-#country_db_path /usr/share/GeoIP/GeoLite2-Country.mmdb
-
-# The following will add a separate MIME header that shows all
-# the message's relay countries, independent of any site-
-# specific rules.
-#
-# It will show up in your MIME headers as:
-# X-Spam-Relay-Country: US CN RU
-#
-#add_header all Relay-Country _RELAYCOUNTRY_
-
-###############################################################
-#
-# SITE SPECIFIC RULES
-#
-
-# Country metadata will also be added to the Bayesian filtering
-# process, allowing it to learn information based on countries.
-# This will occur even if you don't define any site specific
-# rules.
-
-# NOTE: Many prefer placing custom rules in local.cf.
-
-# The following is an example of a rule that penalizes mail
-# that passed through China by increasing the spam score
-# of the message by 3 points.
-#
-#header RELAYCOUNTRY_BAD X-Relay-Countries =~ /CN/
-#describe RELAYCOUNTRY_BAD Relayed through China at some point
-#score RELAYCOUNTRY_BAD 3.0
-
-# And this is an example of a rule that rewards mail that
-# has first went through Finland or Sweden by reducing the
-# spam score of the message by 0.2 points.
-#
-#header RELAYCOUNTRY_GOOD X-Relay-Countries =~ /^(FI|SE)/
-#describe RELAYCOUNTRY_GOOD First untrusted relay is Finland or Sweden :-)
-#score RELAYCOUNTRY_GOOD -0.2
-
diff --git a/mail-filter/spamassassin/files/mention-geoip.cf-in-init.pre.patch b/mail-filter/spamassassin/files/mention-geoip.cf-in-init.pre.patch
deleted file mode 100644
index 13921dc6eb93..000000000000
--- a/mail-filter/spamassassin/files/mention-geoip.cf-in-init.pre.patch
+++ /dev/null
@@ -1,11 +0,0 @@
---- Mail-SpamAssassin-3.4.4/rules/init.pre 2019-10-23 20:22:15.000000000 -0400
-+++ Mail-SpamAssassin-3.4.4/rules/init.pre 2020-05-20 19:59:42.239544414 -0400
-@@ -17,7 +17,7 @@
- # RelayCountry - add metadata for Bayes learning, marking the countries
- # a message was relayed through
- #
--# Note: This requires the Geo::IP Perl module
-+# Note: This requires geoip.cf to be edited.
- #
- # loadplugin Mail::SpamAssassin::Plugin::RelayCountry
-
diff --git a/mail-filter/spamassassin/files/secrets.cf b/mail-filter/spamassassin/files/secrets.cf
deleted file mode 100644
index efa31a6fbc00..000000000000
--- a/mail-filter/spamassassin/files/secrets.cf
+++ /dev/null
@@ -1,14 +0,0 @@
-# The below sample from bug 91430 is an example of using mysql
-# for spam filter storage
-
-#(Tell Spamassissin to use MySQL for bayes data
-#bayes_store_module Mail::SpamAssassin::BayesStore::SQL
-#bayes_sql_dsn DBI:mysql:sa_bayes:localhost:3306
-#bayes_sql_username db_name
-#bayes_sql_password another_very_secret_password
-
-#(Tell Spamassissin to use MySQL for AWL data
-#auto_whitelist_factory Mail::SpamAssassin::SQLBasedAddrList
-#user_awl_dsn DBI:mysql:sa_bayes:localhost:3306
-#user_awl_sql_username db_name
-#user_awl_sql_password another_very_secret_password
diff --git a/mail-filter/spamassassin/files/spamassassin.service-r4 b/mail-filter/spamassassin/files/spamassassin.service-r4
deleted file mode 100644
index b539cd2bb5a3..000000000000
--- a/mail-filter/spamassassin/files/spamassassin.service-r4
+++ /dev/null
@@ -1,10 +0,0 @@
-[Unit]
-Description=Spamassassin daemon
-After=network.target
-
-[Service]
-ExecStart=/usr/sbin/spamd $SPAMD_OPTS
-ExecReload=/bin/kill -HUP $MAINPID
-
-[Install]
-WantedBy=multi-user.target
diff --git a/mail-filter/spamassassin/files/spamassassin.service.conf-r2 b/mail-filter/spamassassin/files/spamassassin.service.conf-r2
deleted file mode 100644
index 442dde44e078..000000000000
--- a/mail-filter/spamassassin/files/spamassassin.service.conf-r2
+++ /dev/null
@@ -1,2 +0,0 @@
-[Service]
-Environment="SPAMD_OPTS=--username=spamd --groupname=spamd --max-children=5 --create-prefs --helper-home-dir"
diff --git a/mail-filter/spamassassin/files/update-spamassassin-rules-r1.cron b/mail-filter/spamassassin/files/update-spamassassin-rules-r1.cron
deleted file mode 100644
index 7c6990b847cf..000000000000
--- a/mail-filter/spamassassin/files/update-spamassassin-rules-r1.cron
+++ /dev/null
@@ -1,41 +0,0 @@
-#!/bin/bash
-#
-# Update SpamAssassin rules and reload daemons that use them.
-#
-
-# First, redirect stdout to /dev/null.
-exec 1>/dev/null
-
-# Try to update the rules.
-sa-update
-
-# Exit code 0: all new updates were installed.
-# Exit code 1: we were already up-to-date.
-# Exit code 3: some updates were installed, but some weren't.
-# Any other exit code indicates failure.
-if (( $? == 0 || $? == 3 )); then
- # Compilation spits out its progress onto stderr.
- sa-compile 2>/dev/null
-
- # Do you run spamd or amavisd? Both daemons need to be reloaded
- # in order to pick up the newly-updated rules.
- if command -v rc-service 2>/dev/null; then
- # OpenRC is installed. These "status" checks should succeed
- # only when the daemon is running under OpenRC. We redirect
- # stderr to hide the lecture that OpenRC gives you if you
- # try this on a system running systemd.
- rc-service spamd status 2>/dev/null && rc-service spamd reload
- rc-service amavisd status 2>/dev/null && rc-service amavisd reload
- fi
-
- if command -v systemctl 2>/dev/null; then
- # The systemctl (systemd) executable is installed, so try to
- # use it to restart spamd and amavisd. These are safe to run
- # if systemd is installed but not in use. The is-active
- # check is to keep systemctl from outputting warnings if
- # amavisd is not installed (bug #681872).
- systemctl try-restart spamassassin
- systemctl is-active --quiet amavisd \
- && systemctl try-reload-or-restart amavisd
- fi
-fi
diff --git a/mail-filter/spamassassin/metadata.xml b/mail-filter/spamassassin/metadata.xml
deleted file mode 100644
index 2e8099ba2aee..000000000000
--- a/mail-filter/spamassassin/metadata.xml
+++ /dev/null
@@ -1,24 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "https://liguros.gitlab.io/dtd/metadata.dtd">
-<pkgmetadata>
- <maintainer type="project">
- <email>dev@liguros.net</email>
- <name>Development</name>
- </maintainer>
- <maintainer type="person">
- <email>gentoo_bugs_peep@parallaxshift.com</email>
- <name>Philippe Chaintreuil</name>
- </maintainer>
- <maintainer type="project">
- <email>proxy-maint@gentoo.org</email>
- <name>Proxy Maintainers</name>
- </maintainer>
- <upstream>
- <remote-id type="cpe">cpe:/a:spamassassin:spamassassin</remote-id>
- </upstream>
- <use>
- <flag name="cron">Install a cron job to update SpamAssassin's rules daily.</flag>
- <flag name="qmail">Build qmail functionality and docs</flag>
- </use>
- <origin>ports</origin>
-</pkgmetadata> \ No newline at end of file
diff --git a/mail-filter/spamassassin/spamassassin-4.0.1-r1.ebuild b/mail-filter/spamassassin/spamassassin-4.0.1-r1.ebuild
deleted file mode 100644
index 3b58449eed71..000000000000
--- a/mail-filter/spamassassin/spamassassin-4.0.1-r1.ebuild
+++ /dev/null
@@ -1,319 +0,0 @@
-# Copyright 2021-2025 Liguros Authors
-# Distributed under the terms of the GNU General Public License v2
-EAPI=8
-
-inherit perl-functions systemd toolchain-funcs
-
-MY_P="Mail-SpamAssassin-${PV//_/-}"
-S="${WORKDIR}/${MY_P}"
-DESCRIPTION="An extensible mail filter which can identify and tag spam"
-HOMEPAGE="https://spamassassin.apache.org/"
-SRC_URI="mirror://apache/spamassassin/source/${MY_P}.tar.bz2"
-
-LICENSE="Apache-2.0 GPL-2"
-SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux"
-IUSE="berkdb cron ipv6 ldap mysql postgres qmail sqlite ssl test"
-RESTRICT="!test? ( test )"
-
-# The Makefile.PL script checks for dependencies, but only fails if a
-# required (i.e. not optional) dependency is missing. We therefore
-# require most of the optional modules only at runtime.
-REQDEPEND="acct-user/spamd
- acct-group/spamd
- dev-lang/perl:=
- dev-perl/HTML-Parser
- dev-perl/Net-DNS
- dev-perl/NetAddr-IP
- virtual/perl-Archive-Tar
- virtual/perl-Digest-SHA
- virtual/perl-Time-HiRes
- ssl? (
- dev-libs/openssl:0=
-
- )"
-
-# SpamAssassin doesn't use libwww-perl except as a fallback for when
-# curl/wget are missing, so we depend on one of those instead. Some
-# mirrors use https, so we need those utilities to support SSL.
-#
-# re2c is needed to compile the rules (sa-compile).
-#
-# We still need the old Digest-SHA1 because razor2 has not been ported
-# to Digest-SHA.
-OPTDEPEND="app-crypt/gnupg
- dev-perl/BSD-Resource
- dev-perl/Digest-SHA1
- dev-perl/Encode-Detect
- || ( dev-perl/GeoIP2 dev-perl/Geo-IP )
- dev-perl/HTTP-Date
- dev-perl/Mail-SPF
- dev-perl/Net-Patricia
- dev-perl/Net-CIDR-Lite
- dev-util/re2c
- || ( net-misc/wget[ssl] net-misc/curl[ssl] )
- virtual/perl-MIME-Base64
- dev-perl/Pod-Parser
- berkdb? ( virtual/perl-DB_File )
- ipv6? ( dev-perl/IO-Socket-INET6 )
- ldap? ( dev-perl/perl-ldap )
- mysql? (
- dev-perl/DBI
- dev-perl/DBD-mysql
- )
- postgres? (
- dev-perl/DBI
- dev-perl/DBD-Pg
- )
- sqlite? (
- dev-perl/DBI
- dev-perl/DBD-SQLite
- )
- ssl? ( dev-perl/IO-Socket-SSL )"
-
-DEPEND="${REQDEPEND}
- test? (
- ${OPTDEPEND}
- virtual/perl-Test-Harness
- )"
-RDEPEND="${REQDEPEND} ${OPTDEPEND}"
-
-PATCHES=(
- "${FILESDIR}/mention-geoip.cf-in-init.pre.patch"
-)
-
-# There are a few renames and use-dependent ones in src_istall as well.
-DOCS=(
- NOTICE TRADEMARK CREDITS UPGRADE USAGE sql/README.bayes
- sql/README.awl procmailrc.example sample-nonspam.txt
- sample-spam.txt spamd/PROTOCOL spamd/README.vpopmail
- spamd-apache2/README.apache
-)
-
-src_prepare() {
- default
-
- # The sa_compile test does some weird stuff like hopping around in
- # the directory tree and calling "make" to create a dist tarball
- # from ${S}. It fails, and is more trouble than it's worth...
- perl_rm_files t/sa_compile.t
-
- # The spamc tests (which need the networked spamd daemon) fail for
- # irrelevant reasons. It's too hard to disable them (unlike the
- # spamd tests themselves -- see src_test), so use a crude
- # workaround.
- perl_rm_files t/spamc_*.t
-
- # Some tests need extra dependencies
- # e.g. t/sql_based_whitelist.t needs DBD
- # This is kinder than REQUIRED_USE for tests which hurts automation
- if ! use mysql && ! use postgres && ! use sqlite ; then
- perl_rm_files t/sql_based_whitelist.t
- fi
-
- # Disable plugin by default
- sed -i -e 's/^loadplugin/\#loadplugin/g' \
- "rules/init.pre" \
- || die "failed to disable plugins by default"
-}
-
-src_configure() {
- # This is how and where the perl-module eclass disables the
- # MakeMaker interactive prompt.
- export PERL_MM_USE_DEFAULT=1
-
- # Set SYSCONFDIR explicitly so we can't get bitten by bug 48205 again
- # (just to be sure, nobody knows how it could happen in the first place).
- #
- # We also set the path to the perl executable explictly. This will be
- # used to create the initial shebang line in the scripts (bug 62276).
- perl Makefile.PL \
- PREFIX="${EPREFIX}/usr" \
- INSTALLDIRS=vendor \
- SYSCONFDIR="${EPREFIX}/etc" \
- DATADIR="${EPREFIX}/usr/share/spamassassin" \
- PERL_BIN="${EPREFIX}/usr/bin/perl" \
- ENABLE_SSL="$(usex ssl)" \
- DESTDIR="${D}" \
- || die 'failed to create a Makefile using Makefile.PL'
-
- # Now configure spamc.
- emake CC="$(tc-getCC)" LDFLAGS="${LDFLAGS}" spamc/Makefile
-}
-
-src_compile() {
- emake
- use qmail && emake spamc/qmail-spamc
-}
-
-src_install () {
- default
-
- # Create the stub dir used by sa-update and friends
- keepdir /var/lib/spamassassin
-
- # Move spamd to sbin where it belongs.
- dodir /usr/sbin
- mv "${ED}"/usr/bin/spamd "${ED}"/usr/sbin/spamd || die "move spamd failed"
-
- if use qmail; then
- dobin spamc/qmail-spamc
- fi
-
- dosym mail/spamassassin /etc/spamassassin
-
- # Add the init and config scripts.
- newinitd "${FILESDIR}/3.4.1-spamd.init-r3" spamd
- newconfd "${FILESDIR}/3.4.1-spamd.conf-r1" spamd
-
- systemd_newunit "${FILESDIR}/${PN}.service-r4" "${PN}.service"
- systemd_install_serviced "${FILESDIR}/${PN}.service.conf-r2" \
- "${PN}.service"
-
- use postgres && dodoc sql/*_pg.sql
- use mysql && dodoc sql/*_mysql.sql
- use qmail && dodoc spamc/README.qmail
-
- # Rename some files so that they don't clash with others.
- newdoc spamd/README README.spamd
- newdoc sql/README README.sql
- newdoc ldap/README README.ldap
-
- insinto /etc/mail/spamassassin/
- doins "${FILESDIR}"/geoip.cf
- insopts -m0400
- newins "${FILESDIR}"/secrets.cf secrets.cf.example
-
- # Create the directory where sa-update stores its GPG key (if you
- # choose to import one). If this directory does not exist, the
- # import will fail. This is bug 396307. We expect that the import
- # will be performed as root, and making the directory accessible
- # only to root prevents a warning on the command-line.
- diropts -m0700
- dodir /etc/mail/spamassassin/sa-update-keys
-
- if use cron; then
- # Install the cron job if they want it.
- exeinto /etc/cron.daily
- newexe "${FILESDIR}/update-spamassassin-rules-r1.cron" \
- update-spamassassin-rules
- fi
-
- # Remove perllocal.pod to avoid file collisions (bug #603338).
- perl_delete_localpod
-
- # The perl-module eclass calls three other functions to clean
- # up in src_install. The first fixes references to ${D} in the
- # packlist, and is useful to us, too. The other two functions,
- # perl_delete_emptybsdir and perl_remove_temppath, don't seem
- # to be needed: there are no empty directories, *.bs files, or
- # ${D} paths remaining in our installed image.
- perl_fix_packlist
-}
-
-src_test() {
- # Trick the test suite into skipping the spamd tests. Setting
- # SPAMD_HOST to a non-localhost value causes SKIP_SPAMD_TESTS to be
- # set in SATest.pm.
- export SPAMD_HOST=disabled
- default
-}
-
-pkg_preinst() {
- if use mysql || use postgres ; then
- local _awlwarn=0
- local _v
- for _v in ${REPLACING_VERSIONS}; do
- if ver_test "${_v}" -lt "3.4.3"; then
- _awlwarn=1
- break
- fi
- done
- if [[ ${_awlwarn} == 1 ]] ; then
- ewarn 'If you used AWL before 3.4.3, the SQL schema has changed.'
- ewarn 'You will need to manually ALTER your tables for them to'
- ewarn 'continue working. See the UPGRADE documentation for'
- ewarn 'details.'
- ewarn
- fi
- fi
-}
-
-pkg_postinst() {
- elog
- elog 'No rules are installed by default. You will need to run sa-update'
- elog 'at least once, and most likely configure SpamAssassin before it'
- elog 'will work.'
-
- if ! use cron; then
- elog
- elog 'You should consider a cron job for sa-update. One is provided'
- elog 'for daily updates if you enable the "cron" USE flag.'
- fi
- elog
- elog 'Configuration and update help can be found on the wiki:'
- elog
- elog ' https://wiki.gentoo.org/wiki/SpamAssassin'
- elog
-
- if use mysql || use postgres ; then
- local _v
- for _v in ${REPLACING_VERSIONS}; do
- if ver_test "${_v}" -lt "3.4.3"; then
- ewarn
- ewarn 'If you used AWL before 3.4.3, the SQL schema has changed.'
- ewarn 'You will need to manually ALTER your tables for them to'
- ewarn 'continue working. See the UPGRADE documentation for'
- ewarn 'details.'
- ewarn
-
- # show this only once
- break
- fi
- done
- fi
-
- ewarn 'If this version of SpamAssassin causes permissions issues'
- ewarn 'with your user configurations or bayes databases, then you'
- ewarn 'may need to set SPAMD_RUN_AS_ROOT=true in your OpenRC service'
- ewarn 'configuration file, or remove the --username and --groupname'
- ewarn 'flags from the SPAMD_OPTS variable in your systemd service'
- ewarn 'configuration file.'
-
- if [[ ! ~spamd -ef "${ROOT}/var/lib/spamd" ]] ; then
- ewarn "The spamd user's home folder has been moved to a new location."
- elog
- elog "The acct-user/spamd package should have relocated it for you,"
- elog "but may have failed because your spamd daemon was running."
- elog
- elog "To fix this:"
- elog " - Stop your spamd daemon"
- elog " - emerge -1 acct-user/spamd"
- elog " - Restart your spamd daemon"
- elog " - Remove the old home folder if you want"
- elog " rm -rf \"${ROOT}/home/spamd\""
- fi
- if [[ -e "${ROOT}/home/spamd" ]] ; then
- ewarn
- ewarn "The spamd user's home folder has been moved to a new location."
- elog
- elog " Old Home: ${ROOT}/home/spamd"
- elog " New Home: ${ROOT}/var/lib/spamd"
- elog
- elog "You may wish to migrate your data to the new location:"
- elog " - Stop your spamd daemon"
- elog " - Re-emerge acct-user/spamd to ensure the home folder has been"
- elog " updated to the new location, now that the daemon isn't running:"
- elog " # emerge -1 acct-user/spamd"
- elog " # echo ~spamd"
- elog " - Migrate the contents from the old location to the new home"
- elog " For example:"
- elog " # cp -Rpi \"${ROOT}/home/spamd/\" \"${ROOT}/var/lib/\""
- elog " - Remove the old home folder"
- elog " # rm -rf \"${ROOT}/home/spamd\""
- elog " - Restart your spamd daemon"
- elog
- elog "If you do not wish to migrate data, you should remove the old"
- elog "home folder from your system as it is not used."
- fi
-}
diff --git a/mail-filter/spamassassin/spamassassin-4.0.2.ebuild b/mail-filter/spamassassin/spamassassin-4.0.2.ebuild
deleted file mode 100644
index 3b58449eed71..000000000000
--- a/mail-filter/spamassassin/spamassassin-4.0.2.ebuild
+++ /dev/null
@@ -1,319 +0,0 @@
-# Copyright 2021-2025 Liguros Authors
-# Distributed under the terms of the GNU General Public License v2
-EAPI=8
-
-inherit perl-functions systemd toolchain-funcs
-
-MY_P="Mail-SpamAssassin-${PV//_/-}"
-S="${WORKDIR}/${MY_P}"
-DESCRIPTION="An extensible mail filter which can identify and tag spam"
-HOMEPAGE="https://spamassassin.apache.org/"
-SRC_URI="mirror://apache/spamassassin/source/${MY_P}.tar.bz2"
-
-LICENSE="Apache-2.0 GPL-2"
-SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux"
-IUSE="berkdb cron ipv6 ldap mysql postgres qmail sqlite ssl test"
-RESTRICT="!test? ( test )"
-
-# The Makefile.PL script checks for dependencies, but only fails if a
-# required (i.e. not optional) dependency is missing. We therefore
-# require most of the optional modules only at runtime.
-REQDEPEND="acct-user/spamd
- acct-group/spamd
- dev-lang/perl:=
- dev-perl/HTML-Parser
- dev-perl/Net-DNS
- dev-perl/NetAddr-IP
- virtual/perl-Archive-Tar
- virtual/perl-Digest-SHA
- virtual/perl-Time-HiRes
- ssl? (
- dev-libs/openssl:0=
-
- )"
-
-# SpamAssassin doesn't use libwww-perl except as a fallback for when
-# curl/wget are missing, so we depend on one of those instead. Some
-# mirrors use https, so we need those utilities to support SSL.
-#
-# re2c is needed to compile the rules (sa-compile).
-#
-# We still need the old Digest-SHA1 because razor2 has not been ported
-# to Digest-SHA.
-OPTDEPEND="app-crypt/gnupg
- dev-perl/BSD-Resource
- dev-perl/Digest-SHA1
- dev-perl/Encode-Detect
- || ( dev-perl/GeoIP2 dev-perl/Geo-IP )
- dev-perl/HTTP-Date
- dev-perl/Mail-SPF
- dev-perl/Net-Patricia
- dev-perl/Net-CIDR-Lite
- dev-util/re2c
- || ( net-misc/wget[ssl] net-misc/curl[ssl] )
- virtual/perl-MIME-Base64
- dev-perl/Pod-Parser
- berkdb? ( virtual/perl-DB_File )
- ipv6? ( dev-perl/IO-Socket-INET6 )
- ldap? ( dev-perl/perl-ldap )
- mysql? (
- dev-perl/DBI
- dev-perl/DBD-mysql
- )
- postgres? (
- dev-perl/DBI
- dev-perl/DBD-Pg
- )
- sqlite? (
- dev-perl/DBI
- dev-perl/DBD-SQLite
- )
- ssl? ( dev-perl/IO-Socket-SSL )"
-
-DEPEND="${REQDEPEND}
- test? (
- ${OPTDEPEND}
- virtual/perl-Test-Harness
- )"
-RDEPEND="${REQDEPEND} ${OPTDEPEND}"
-
-PATCHES=(
- "${FILESDIR}/mention-geoip.cf-in-init.pre.patch"
-)
-
-# There are a few renames and use-dependent ones in src_istall as well.
-DOCS=(
- NOTICE TRADEMARK CREDITS UPGRADE USAGE sql/README.bayes
- sql/README.awl procmailrc.example sample-nonspam.txt
- sample-spam.txt spamd/PROTOCOL spamd/README.vpopmail
- spamd-apache2/README.apache
-)
-
-src_prepare() {
- default
-
- # The sa_compile test does some weird stuff like hopping around in
- # the directory tree and calling "make" to create a dist tarball
- # from ${S}. It fails, and is more trouble than it's worth...
- perl_rm_files t/sa_compile.t
-
- # The spamc tests (which need the networked spamd daemon) fail for
- # irrelevant reasons. It's too hard to disable them (unlike the
- # spamd tests themselves -- see src_test), so use a crude
- # workaround.
- perl_rm_files t/spamc_*.t
-
- # Some tests need extra dependencies
- # e.g. t/sql_based_whitelist.t needs DBD
- # This is kinder than REQUIRED_USE for tests which hurts automation
- if ! use mysql && ! use postgres && ! use sqlite ; then
- perl_rm_files t/sql_based_whitelist.t
- fi
-
- # Disable plugin by default
- sed -i -e 's/^loadplugin/\#loadplugin/g' \
- "rules/init.pre" \
- || die "failed to disable plugins by default"
-}
-
-src_configure() {
- # This is how and where the perl-module eclass disables the
- # MakeMaker interactive prompt.
- export PERL_MM_USE_DEFAULT=1
-
- # Set SYSCONFDIR explicitly so we can't get bitten by bug 48205 again
- # (just to be sure, nobody knows how it could happen in the first place).
- #
- # We also set the path to the perl executable explictly. This will be
- # used to create the initial shebang line in the scripts (bug 62276).
- perl Makefile.PL \
- PREFIX="${EPREFIX}/usr" \
- INSTALLDIRS=vendor \
- SYSCONFDIR="${EPREFIX}/etc" \
- DATADIR="${EPREFIX}/usr/share/spamassassin" \
- PERL_BIN="${EPREFIX}/usr/bin/perl" \
- ENABLE_SSL="$(usex ssl)" \
- DESTDIR="${D}" \
- || die 'failed to create a Makefile using Makefile.PL'
-
- # Now configure spamc.
- emake CC="$(tc-getCC)" LDFLAGS="${LDFLAGS}" spamc/Makefile
-}
-
-src_compile() {
- emake
- use qmail && emake spamc/qmail-spamc
-}
-
-src_install () {
- default
-
- # Create the stub dir used by sa-update and friends
- keepdir /var/lib/spamassassin
-
- # Move spamd to sbin where it belongs.
- dodir /usr/sbin
- mv "${ED}"/usr/bin/spamd "${ED}"/usr/sbin/spamd || die "move spamd failed"
-
- if use qmail; then
- dobin spamc/qmail-spamc
- fi
-
- dosym mail/spamassassin /etc/spamassassin
-
- # Add the init and config scripts.
- newinitd "${FILESDIR}/3.4.1-spamd.init-r3" spamd
- newconfd "${FILESDIR}/3.4.1-spamd.conf-r1" spamd
-
- systemd_newunit "${FILESDIR}/${PN}.service-r4" "${PN}.service"
- systemd_install_serviced "${FILESDIR}/${PN}.service.conf-r2" \
- "${PN}.service"
-
- use postgres && dodoc sql/*_pg.sql
- use mysql && dodoc sql/*_mysql.sql
- use qmail && dodoc spamc/README.qmail
-
- # Rename some files so that they don't clash with others.
- newdoc spamd/README README.spamd
- newdoc sql/README README.sql
- newdoc ldap/README README.ldap
-
- insinto /etc/mail/spamassassin/
- doins "${FILESDIR}"/geoip.cf
- insopts -m0400
- newins "${FILESDIR}"/secrets.cf secrets.cf.example
-
- # Create the directory where sa-update stores its GPG key (if you
- # choose to import one). If this directory does not exist, the
- # import will fail. This is bug 396307. We expect that the import
- # will be performed as root, and making the directory accessible
- # only to root prevents a warning on the command-line.
- diropts -m0700
- dodir /etc/mail/spamassassin/sa-update-keys
-
- if use cron; then
- # Install the cron job if they want it.
- exeinto /etc/cron.daily
- newexe "${FILESDIR}/update-spamassassin-rules-r1.cron" \
- update-spamassassin-rules
- fi
-
- # Remove perllocal.pod to avoid file collisions (bug #603338).
- perl_delete_localpod
-
- # The perl-module eclass calls three other functions to clean
- # up in src_install. The first fixes references to ${D} in the
- # packlist, and is useful to us, too. The other two functions,
- # perl_delete_emptybsdir and perl_remove_temppath, don't seem
- # to be needed: there are no empty directories, *.bs files, or
- # ${D} paths remaining in our installed image.
- perl_fix_packlist
-}
-
-src_test() {
- # Trick the test suite into skipping the spamd tests. Setting
- # SPAMD_HOST to a non-localhost value causes SKIP_SPAMD_TESTS to be
- # set in SATest.pm.
- export SPAMD_HOST=disabled
- default
-}
-
-pkg_preinst() {
- if use mysql || use postgres ; then
- local _awlwarn=0
- local _v
- for _v in ${REPLACING_VERSIONS}; do
- if ver_test "${_v}" -lt "3.4.3"; then
- _awlwarn=1
- break
- fi
- done
- if [[ ${_awlwarn} == 1 ]] ; then
- ewarn 'If you used AWL before 3.4.3, the SQL schema has changed.'
- ewarn 'You will need to manually ALTER your tables for them to'
- ewarn 'continue working. See the UPGRADE documentation for'
- ewarn 'details.'
- ewarn
- fi
- fi
-}
-
-pkg_postinst() {
- elog
- elog 'No rules are installed by default. You will need to run sa-update'
- elog 'at least once, and most likely configure SpamAssassin before it'
- elog 'will work.'
-
- if ! use cron; then
- elog
- elog 'You should consider a cron job for sa-update. One is provided'
- elog 'for daily updates if you enable the "cron" USE flag.'
- fi
- elog
- elog 'Configuration and update help can be found on the wiki:'
- elog
- elog ' https://wiki.gentoo.org/wiki/SpamAssassin'
- elog
-
- if use mysql || use postgres ; then
- local _v
- for _v in ${REPLACING_VERSIONS}; do
- if ver_test "${_v}" -lt "3.4.3"; then
- ewarn
- ewarn 'If you used AWL before 3.4.3, the SQL schema has changed.'
- ewarn 'You will need to manually ALTER your tables for them to'
- ewarn 'continue working. See the UPGRADE documentation for'
- ewarn 'details.'
- ewarn
-
- # show this only once
- break
- fi
- done
- fi
-
- ewarn 'If this version of SpamAssassin causes permissions issues'
- ewarn 'with your user configurations or bayes databases, then you'
- ewarn 'may need to set SPAMD_RUN_AS_ROOT=true in your OpenRC service'
- ewarn 'configuration file, or remove the --username and --groupname'
- ewarn 'flags from the SPAMD_OPTS variable in your systemd service'
- ewarn 'configuration file.'
-
- if [[ ! ~spamd -ef "${ROOT}/var/lib/spamd" ]] ; then
- ewarn "The spamd user's home folder has been moved to a new location."
- elog
- elog "The acct-user/spamd package should have relocated it for you,"
- elog "but may have failed because your spamd daemon was running."
- elog
- elog "To fix this:"
- elog " - Stop your spamd daemon"
- elog " - emerge -1 acct-user/spamd"
- elog " - Restart your spamd daemon"
- elog " - Remove the old home folder if you want"
- elog " rm -rf \"${ROOT}/home/spamd\""
- fi
- if [[ -e "${ROOT}/home/spamd" ]] ; then
- ewarn
- ewarn "The spamd user's home folder has been moved to a new location."
- elog
- elog " Old Home: ${ROOT}/home/spamd"
- elog " New Home: ${ROOT}/var/lib/spamd"
- elog
- elog "You may wish to migrate your data to the new location:"
- elog " - Stop your spamd daemon"
- elog " - Re-emerge acct-user/spamd to ensure the home folder has been"
- elog " updated to the new location, now that the daemon isn't running:"
- elog " # emerge -1 acct-user/spamd"
- elog " # echo ~spamd"
- elog " - Migrate the contents from the old location to the new home"
- elog " For example:"
- elog " # cp -Rpi \"${ROOT}/home/spamd/\" \"${ROOT}/var/lib/\""
- elog " - Remove the old home folder"
- elog " # rm -rf \"${ROOT}/home/spamd\""
- elog " - Restart your spamd daemon"
- elog
- elog "If you do not wish to migrate data, you should remove the old"
- elog "home folder from your system as it is not used."
- fi
-}
diff --git a/mail-filter/spampd/Manifest b/mail-filter/spampd/Manifest
deleted file mode 100644
index 34c544eee5d3..000000000000
--- a/mail-filter/spampd/Manifest
+++ /dev/null
@@ -1 +0,0 @@
-DIST spampd-2.61.tar.gz 246956 BLAKE2B de2b428fbed80ba6d65bd2b249a3adfb00cd0a33df21b71676da1949b680dbfee72412ae2c752f4e5dcf9f7f7349ae59ce94f81b2abae5fd4de34d3a92954fbb SHA512 e2f84c4b24648d4f4db70174f04b72981faa1c54ffc4bbc433d14c730ef4ad7fd4cd3772a476f25be0bee103e951700d038634d14848f1eb90849d1a6655199b
diff --git a/mail-filter/spampd/files/conf b/mail-filter/spampd/files/conf
deleted file mode 100644
index 64abe21dd1b0..000000000000
--- a/mail-filter/spampd/files/conf
+++ /dev/null
@@ -1,15 +0,0 @@
-# This is the configuration file that /etc/init.d/spampd sources when
-# started.
-
-# SPAMPD_OPTS defines the command-line arguments to be passed to the
-# spampd daemon upon start-up. A complete list of options can be
-# found in the documentation, or by issuing the command
-# "/usr/sbin/spampd --help"
-
-SPAMPD_OPTS="--host=localhost:10025 --relayhost=localhost:10026 --tagall"
-
-# Note: (from the Installation section in the spampd documentation)
-# "Note that spampd replaces spamd from the SpamAssassin distribution
-# in function. You do not need to run spamd in order for spampd to
-# work. This has apparently been the source of some confusion, so now
-# you know."
diff --git a/mail-filter/spampd/files/init b/mail-filter/spampd/files/init
deleted file mode 100644
index 339a938d9c7d..000000000000
--- a/mail-filter/spampd/files/init
+++ /dev/null
@@ -1,23 +0,0 @@
-#!/sbin/openrc-run
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-# Note: spampd configuration file is /etc/conf.d/spampd
-
-depend() {
- use net
-}
-
-start() {
- ebegin "Starting spampd"
- start-stop-daemon --start --quiet --interpreted \
- --exec /usr/sbin/spampd -- --pid=/run/spampd.pid \
- ${SPAMPD_OPTS}
- eend $? "Failed to start spampd"
-}
-
-stop() {
- ebegin "Stopping spampd"
- start-stop-daemon --stop --quiet --retry 60 --pidfile /run/spampd.pid
- eend $? "Failed to stop spampd"
-}
diff --git a/mail-filter/spampd/files/spampd-2.61-no-pid-file.patch b/mail-filter/spampd/files/spampd-2.61-no-pid-file.patch
deleted file mode 100644
index b5151e11f8a5..000000000000
--- a/mail-filter/spampd/files/spampd-2.61-no-pid-file.patch
+++ /dev/null
@@ -1,11 +0,0 @@
-diff -ruN spampd-2.61-v/spampd.pl spampd-2.61/spampd.pl
---- spampd-2.61-v/spampd.pl 2021-08-07 06:01:37.000000000 +1000
-+++ spampd-2.61/spampd.pl 2021-08-13 03:48:34.527166029 +1000
-@@ -761,6 +761,7 @@
-
- # Set misc. options based on other options.
- $srv_p->{setsid}= 0 if !$srv_p->{background};
-+ $srv_p->{pid_file} = undef if !$srv_p->{background};
- $sa_p->{home_dir_for_helpers} = $sa_p->{userstate_dir};
- $sa_p->{username} = $srv_p->{user};
- }
diff --git a/mail-filter/spampd/files/spampd.service b/mail-filter/spampd/files/spampd.service
deleted file mode 100644
index 78ef5520323c..000000000000
--- a/mail-filter/spampd/files/spampd.service
+++ /dev/null
@@ -1,11 +0,0 @@
-[Unit]
-Description=SpamAssassin Proxy Daemon
-Before=mail-transfer-agent.target
-After=syslog.target network.target
-
-[Service]
-ExecStart=/usr/sbin/spampd --nodetach $SPAMPD_OPTS
-ExecReload=/bin/kill -HUP $MAINPID
-
-[Install]
-WantedBy=multi-user.target
diff --git a/mail-filter/spampd/files/spampd.service.conf b/mail-filter/spampd/files/spampd.service.conf
deleted file mode 100644
index 1c2d9c1154e1..000000000000
--- a/mail-filter/spampd/files/spampd.service.conf
+++ /dev/null
@@ -1,5 +0,0 @@
-[Service]
-User=mail
-Group=mail
-Environment="SPAMPD_OPTS=--host=localhost:10025 --relayhost=localhost:10026 --tagall --set-envelope-from"
-
diff --git a/mail-filter/spampd/metadata.xml b/mail-filter/spampd/metadata.xml
deleted file mode 100644
index d234c5d9d066..000000000000
--- a/mail-filter/spampd/metadata.xml
+++ /dev/null
@@ -1,8 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
- <!-- maintainer-needed -->
- <upstream>
- <remote-id type="github">mpaperno/spampd</remote-id>
- </upstream>
-</pkgmetadata>
diff --git a/mail-filter/spampd/spampd-2.61.ebuild b/mail-filter/spampd/spampd-2.61.ebuild
deleted file mode 100644
index 8650eff99a70..000000000000
--- a/mail-filter/spampd/spampd-2.61.ebuild
+++ /dev/null
@@ -1,45 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit systemd
-
-DESCRIPTION="A program to scan messages for Unsolicited Commercial E-mail content"
-HOMEPAGE="http://www.worlddesign.com/index.cfm/rd/mta/spampd.htm https://github.com/mpaperno/spampd"
-SRC_URI="https://github.com/mpaperno/spampd/archive/${PV}.tar.gz -> ${P}.tar.gz"
-
-LICENSE="GPL-2+"
-SLOT="0"
-KEYWORDS="~amd64 ~ppc x86"
-
-RDEPEND="acct-group/mail
- acct-user/mail
- dev-lang/perl
- dev-perl/Net-Server
- mail-filter/spamassassin
- virtual/perl-IO-Socket-IP"
-DEPEND="${RDEPEND}"
-BDEPEND="dev-lang/perl"
-
-PATCHES=(
- "${FILESDIR}/${P}-no-pid-file.patch"
-)
-
-src_compile() {
- mv ${PN}.pl ${PN} || die
- pod2man ${PN}.pod > ${PN}.1 || die
-}
-
-src_install() {
- dosbin ${PN}
-
- dodoc changelog.txt
- doman ${PN}.1
-
- newinitd "${FILESDIR}"/init spampd
- newconfd "${FILESDIR}"/conf spampd
-
- systemd_dounit "${FILESDIR}/${PN}.service"
- systemd_install_serviced "${FILESDIR}/${PN}.service.conf"
-}
diff --git a/mail-filter/spamprobe/Manifest b/mail-filter/spamprobe/Manifest
deleted file mode 100644
index 45b905e0b610..000000000000
--- a/mail-filter/spamprobe/Manifest
+++ /dev/null
@@ -1 +0,0 @@
-DIST spamprobe-1.4d.tar.gz 262761 BLAKE2B b6d9c80840078d15ad2d08938f8d693fbd3ad007af9166295e89361d208f9e227d19f77a57f236d85efdecdcf7fa80f37b948ea629da8cb45fda8b4965a9b852 SHA512 176097b7e9de04a26a0a6a2c6b331ff375108ef7eb20cdfbda9abeec7ceb24a52c0edc932d8fcd8a5731f06b891469b4ee328562f4e88fbe6c737b719f45a8d8
diff --git a/mail-filter/spamprobe/files/spamprobe-1.4b-gcc43.patch b/mail-filter/spamprobe/files/spamprobe-1.4b-gcc43.patch
deleted file mode 100644
index 097c5584a816..000000000000
--- a/mail-filter/spamprobe/files/spamprobe-1.4b-gcc43.patch
+++ /dev/null
@@ -1,150 +0,0 @@
---- spamprobe-1.4d.orig/src/spamprobe/Command_exec.cc
-+++ spamprobe-1.4d/src/spamprobe/Command_exec.cc
-@@ -28,6 +28,7 @@
- // http://www.cooldevtools.com/qpl.html
- //
-
-+#include <cstdlib>
- #include "SpamFilter.h"
- #include "CommandConfig.h"
- #include "ConfigManager.h"
---- spamprobe-1.4d.orig/src/spamprobe/Command_edit_term.cc
-+++ spamprobe-1.4d/src/spamprobe/Command_edit_term.cc
-@@ -28,6 +28,7 @@
- // http://www.cooldevtools.com/qpl.html
- //
-
-+#include <cstdlib>
- #include "SpamFilter.h"
- #include "FrequencyDB.h"
- #include "CommandConfig.h"
---- spamprobe-1.4d.orig/src/spamprobe/Command_cleanup.cc
-+++ spamprobe-1.4d/src/spamprobe/Command_cleanup.cc
-@@ -28,6 +28,7 @@
- // http://www.cooldevtools.com/qpl.html
- //
-
-+#include <cstdlib>
- #include "CleanupManager.h"
- #include "SpamFilter.h"
- #include "FrequencyDB.h"
---- spamprobe-1.4d.orig/src/spamprobe/spamprobe.cc
-+++ spamprobe-1.4d/src/spamprobe/spamprobe.cc
-@@ -28,6 +28,7 @@
- // http://www.cooldevtools.com/qpl.html
- //
-
-+#include <cstdlib>
- #include <unistd.h>
- #include <locale.h>
- #include <signal.h>
---- spamprobe-1.4d.orig/src/spamprobe/Command_purge.cc
-+++ spamprobe-1.4d/src/spamprobe/Command_purge.cc
-@@ -28,6 +28,7 @@
- // http://www.cooldevtools.com/qpl.html
- //
-
-+#include <cstdlib>
- #include "CleanupManager.h"
- #include "SpamFilter.h"
- #include "FrequencyDB.h"
---- spamprobe-1.4d.orig/src/spamprobe/Command_import.cc
-+++ spamprobe-1.4d/src/spamprobe/Command_import.cc
-@@ -28,6 +28,7 @@
- // http://www.cooldevtools.com/qpl.html
- //
-
-+#include <cstdlib>
- #include <fstream>
- #include "LineReader.h"
- #include "IstreamCharReader.h"
---- spamprobe-1.4d.orig/src/database/DatabaseConfig.cc
-+++ spamprobe-1.4d/src/database/DatabaseConfig.cc
-@@ -29,6 +29,7 @@
- //
-
- #include <stdexcept>
-+#include <cstdlib>
- #include "File.h"
- #include "WordData.h"
- #include "FrequencyDBImpl.h"
---- spamprobe-1.4d.orig/src/parser/MailMessageReader.cc
-+++ spamprobe-1.4d/src/parser/MailMessageReader.cc
-@@ -28,6 +28,7 @@
- // http://www.cooldevtools.com/qpl.html
- //
-
-+#include <cstdlib>
- #include "RegularExpression.h"
- #include "MailMessage.h"
- #include "MailMessageList.h"
---- spamprobe-1.4d.orig/src/parser/MbxMailMessageReader.cc
-+++ spamprobe-1.4d/src/parser/MbxMailMessageReader.cc
-@@ -28,6 +28,7 @@
- // http://www.cooldevtools.com/qpl.html
- //
-
-+#include <cstdlib>
- #include <stdexcept>
- #include "MailMessage.h"
- #include "MailMessageList.h"
---- spamprobe-1.4d.orig/src/parser/AutoTrainMailMessageReader.cc
-+++ spamprobe-1.4d/src/parser/AutoTrainMailMessageReader.cc
-@@ -28,6 +28,7 @@
- // http://www.cooldevtools.com/qpl.html
- //
-
-+#include <cstdlib>
- #include "MailMessage.h"
- #include "AutoTrainMailMessageReader.h"
-
---- spamprobe-1.4d.orig/src/parser/HtmlTokenizer.cc
-+++ spamprobe-1.4d/src/parser/HtmlTokenizer.cc
-@@ -28,6 +28,7 @@
- // http://www.cooldevtools.com/qpl.html
- //
-
-+#include <cstdlib>
- #include "AbstractTokenReceiver.h"
- #include "StringReader.h"
- #include "RegularExpression.h"
---- spamprobe-1.4d.orig/src/hdl/HdlTokenizer.cc
-+++ spamprobe-1.4d/src/hdl/HdlTokenizer.cc
-@@ -28,6 +28,7 @@
- // http://www.cooldevtools.com/qpl.html
- //
-
-+#include <cstdlib>
- #include "AbstractCharReader.h"
- #include "HdlError.h"
- #include "HdlToken.h"
---- spamprobe-1.4d.orig/src/includes/util.h
-+++ spamprobe-1.4d/src/includes/util.h
-@@ -42,6 +42,7 @@
- #include <cassert>
- #include <iostream>
- #include <cstdio>
-+#include <cstring>
- #include "Ptr.h"
- #include "Ref.h"
-
---- spamprobe-1.4d.orig/src/includes/MultiLineSubString.h
-+++ spamprobe-1.4d/src/includes/MultiLineSubString.h
-@@ -31,6 +31,7 @@
- #ifndef _MultiLineSubString_h
- #define _MultiLineSubString_h
-
-+#include <climits>
- #include "AbstractMultiLineString.h"
-
- class MultiLineSubString : public AbstractMultiLineString
---- spamprobe-1.4d.orig/src/includes/Buffer.h
-+++ spamprobe-1.4d/src/includes/Buffer.h
-@@ -32,6 +32,7 @@
- #define _Buffer_h
-
- #include "Array.h"
-+#include <cassert>
-
- //
- // Similar to Array but handles variable length.
diff --git a/mail-filter/spamprobe/files/spamprobe-1.4d+db-5.0.patch b/mail-filter/spamprobe/files/spamprobe-1.4d+db-5.0.patch
deleted file mode 100644
index 5ea5db04fff1..000000000000
--- a/mail-filter/spamprobe/files/spamprobe-1.4d+db-5.0.patch
+++ /dev/null
@@ -1,13 +0,0 @@
-Index: spamprobe-1.4d/src/database/FrequencyDBImpl_bdb.cc
-===================================================================
---- spamprobe-1.4d.orig/src/database/FrequencyDBImpl_bdb.cc
-+++ spamprobe-1.4d/src/database/FrequencyDBImpl_bdb.cc
-@@ -155,7 +155,7 @@ bool FrequencyDBImpl_bdb::openDatabase(c
- // hideous ifdefs into my code.
- string filename(m_env ? db_file.getName() : db_file.getPath());
- int flags = read_only ? DB_RDONLY : DB_CREATE;
--#if DB_VERSION_MAJOR >= 4 && DB_VERSION_MINOR >= 1
-+#if (DB_VERSION_MAJOR == 4 && DB_VERSION_MINOR >= 1) || DB_VERSION_MAJOR >= 5
- ret = m_file->open(m_file, NULL, filename.c_str(), NULL, DB_BTREE, flags, create_mode);
- #else
- ret = m_file->open(m_file, filename.c_str(), NULL, DB_BTREE, flags, create_mode);
diff --git a/mail-filter/spamprobe/files/spamprobe-1.4d-gcc11-const-comp.patch b/mail-filter/spamprobe/files/spamprobe-1.4d-gcc11-const-comp.patch
deleted file mode 100644
index 1eec9cc6ee02..000000000000
--- a/mail-filter/spamprobe/files/spamprobe-1.4d-gcc11-const-comp.patch
+++ /dev/null
@@ -1,13 +0,0 @@
-diff --git a/src/includes/LRUCache.h b/src/includes/LRUCache.h
-index cf7df30..50467d5 100644
---- a/src/includes/LRUCache.h
-+++ b/src/includes/LRUCache.h
-@@ -60,7 +60,7 @@ public:
- {
- public:
- bool operator()(const NodeType *a,
-- const NodeType *b)
-+ const NodeType *b) const
- {
- return a->key < b->key;
- }
diff --git a/mail-filter/spamprobe/files/spamprobe-1.4d-gcc47.patch b/mail-filter/spamprobe/files/spamprobe-1.4d-gcc47.patch
deleted file mode 100644
index d281f57a3616..000000000000
--- a/mail-filter/spamprobe/files/spamprobe-1.4d-gcc47.patch
+++ /dev/null
@@ -1,28 +0,0 @@
- https://bugs.gentoo.org/421769
-
- ../../src/includes/Ref.h:248:5: error: 'assign' was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation
-
-
- src/includes/Ref.h | 4 ++--
- 1 file changed, 2 insertions(+), 2 deletions(-)
-
---- a/src/includes/Ref.h
-+++ b/src/includes/Ref.h
-@@ -189,7 +189,7 @@ public:
-
- CRef<T> &operator=(const CRef<T> &other)
- {
-- assign(other);
-+ this->assign(other);
- return *this;
- }
-
-@@ -245,7 +245,7 @@ public:
-
- Ref<T> &operator=(const Ref<T> &other)
- {
-- assign(other);
-+ this->assign(other);
- return *this;
- }
-
diff --git a/mail-filter/spamprobe/files/spamprobe-1.4d-giflib5.patch b/mail-filter/spamprobe/files/spamprobe-1.4d-giflib5.patch
deleted file mode 100644
index 761f58ddc5ee..000000000000
--- a/mail-filter/spamprobe/files/spamprobe-1.4d-giflib5.patch
+++ /dev/null
@@ -1,27 +0,0 @@
-diff -Nur spamprobe~/src/parser/GifParser.cc spamprobe/src/parser/GifParser.cc
---- spamprobe~/src/parser/GifParser.cc
-+++ spamprobe/src/parser/GifParser.cc
-@@ -81,7 +81,11 @@
- GifParser::~GifParser()
- {
- if (m_gif) {
-+#if defined(GIFLIB_MAJOR) && GIFLIB_MAJOR >= 5
-+ DGifCloseFile(m_gif, NULL);
-+#else
- DGifCloseFile(m_gif);
-+#endif
- }
- }
-
-@@ -99,7 +103,11 @@
- void GifParser::openImage()
- {
- m_nextByteIndex = 0;
-+#if defined(GIFLIB_MAJOR) && GIFLIB_MAJOR >= 5
-+ m_gif = DGifOpen(this, readFromBuffer, NULL);
-+#else
- m_gif = DGifOpen(this, readFromBuffer);
-+#endif
- if (!m_gif) {
- throw runtime_error("open gif failed");
- }
diff --git a/mail-filter/spamprobe/files/spamprobe-1.4d-libpng14.patch b/mail-filter/spamprobe/files/spamprobe-1.4d-libpng14.patch
deleted file mode 100644
index 2be1b493f06b..000000000000
--- a/mail-filter/spamprobe/files/spamprobe-1.4d-libpng14.patch
+++ /dev/null
@@ -1,23 +0,0 @@
---- a/src/parser/PngParser.cc
-+++ b/src/parser/PngParser.cc
-@@ -53,9 +53,9 @@
- {
- if (m_initialized) {
- if (m_infoPtr) {
-- png_destroy_read_struct(&m_pngPtr, &m_infoPtr, png_infopp_NULL);
-+ png_destroy_read_struct(&m_pngPtr, &m_infoPtr, NULL);
- } else {
-- png_destroy_read_struct(&m_pngPtr, png_infopp_NULL, png_infopp_NULL);
-+ png_destroy_read_struct(&m_pngPtr, NULL, NULL);
- }
- }
- }
-@@ -104,7 +104,7 @@
- int bit_depth, color_type, interlace_type;
-
- png_get_IHDR(m_pngPtr, m_infoPtr, &width, &height, &bit_depth, &color_type,
-- &interlace_type, int_p_NULL, int_p_NULL);
-+ &interlace_type, (int *) NULL, (int *) NULL);
-
- string base_token("image_0");
- sendToken(base_token + "_height_" + num_to_string((int)width));
diff --git a/mail-filter/spamprobe/metadata.xml b/mail-filter/spamprobe/metadata.xml
deleted file mode 100644
index 8428aa6c4afc..000000000000
--- a/mail-filter/spamprobe/metadata.xml
+++ /dev/null
@@ -1,8 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
- <!-- maintainer-needed -->
- <upstream>
- <remote-id type="sourceforge">spamprobe</remote-id>
- </upstream>
-</pkgmetadata>
diff --git a/mail-filter/spamprobe/spamprobe-1.4d-r3.ebuild b/mail-filter/spamprobe/spamprobe-1.4d-r3.ebuild
deleted file mode 100644
index ffcc1fbe5d54..000000000000
--- a/mail-filter/spamprobe/spamprobe-1.4d-r3.ebuild
+++ /dev/null
@@ -1,50 +0,0 @@
-# Copyright 1999-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit toolchain-funcs
-
-DESCRIPTION="Fast, intelligent, automatic spam detector using Bayesian analysis"
-HOMEPAGE="https://spamprobe.sourceforge.net/"
-SRC_URI="https://downloads.sourceforge.net/${PN}/${P}.tar.gz"
-
-LICENSE="QPL-1.0"
-SLOT="0"
-KEYWORDS="amd64 ~ppc x86"
-IUSE="berkdb gif jpeg png"
-
-RDEPEND="
- berkdb? ( >=sys-libs/db-3.2:* )
- gif? ( media-libs/giflib:= )
- jpeg? ( media-libs/libjpeg-turbo:= )
- png? ( media-libs/libpng:0= )
-"
-DEPEND="${RDEPEND}"
-
-PATCHES=(
- "${FILESDIR}"/${PN}-1.4b-gcc43.patch
- "${FILESDIR}"/${P}-libpng14.patch
- "${FILESDIR}"/${P}+db-5.0.patch
- "${FILESDIR}"/${P}-gcc47.patch
- "${FILESDIR}"/${P}-giflib5.patch
- "${FILESDIR}"/${P}-gcc11-const-comp.patch
-)
-
-src_configure() {
- econf \
- $(use_with gif) \
- $(use_with jpeg) \
- $(use_with png)
-}
-
-src_compile() {
- emake AR="$(tc-getAR)"
-}
-
-src_install() {
- default
-
- insinto /usr/share/${PN}/contrib
- doins contrib/*
-}
diff --git a/mail-filter/spf-engine/Manifest b/mail-filter/spf-engine/Manifest
deleted file mode 100644
index 4d3e6d994581..000000000000
--- a/mail-filter/spf-engine/Manifest
+++ /dev/null
@@ -1 +0,0 @@
-DIST spf-engine-3.1.0.tar.gz 62848 BLAKE2B 76a6aa214f79eb74fdeb647a48b66f6b7446c54ea75a0bbd6b08736d33bc11c1c25c94ed1e8bdb447fc6793eca3e64761af16184686935c616817397fc46ba4f SHA512 e464993bae176236d56be908bb758b9094a75d76d77229b9645c5cb69ecd0f2b8cfd3738e2be579414d4593c7ca9100209051e4cb5d298dbace6925b1855e82b
diff --git a/mail-filter/spf-engine/metadata.xml b/mail-filter/spf-engine/metadata.xml
deleted file mode 100644
index 9a9efb07d3fe..000000000000
--- a/mail-filter/spf-engine/metadata.xml
+++ /dev/null
@@ -1,11 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
- <maintainer type="person">
- <email>mjo@gentoo.org</email>
- </maintainer>
- <upstream>
- <remote-id type="launchpad">spf-engine</remote-id>
- <remote-id type="pypi">spf-engine</remote-id>
- </upstream>
-</pkgmetadata>
diff --git a/mail-filter/spf-engine/spf-engine-3.1.0-r1.ebuild b/mail-filter/spf-engine/spf-engine-3.1.0-r1.ebuild
deleted file mode 100644
index 6616fd67297d..000000000000
--- a/mail-filter/spf-engine/spf-engine-3.1.0-r1.ebuild
+++ /dev/null
@@ -1,74 +0,0 @@
-# Copyright 1999-2026 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-PYTHON_COMPAT=( python3_{13..14} )
-
-# The built-in ipaddress module handles the parsing of IP addresses. If
-# python is built without ipv6 support, then ipaddress can't parse ipv6
-# addresses, and the daemon will crash if it sees an ipv6 SPF record. In
-# other words, it's completely broken.
-PYTHON_REQ_USE="ipv6(+)"
-DISTUTILS_USE_PEP517=flit
-PYPI_NO_NORMALIZE=1
-inherit distutils-r1 pypi
-
-DESCRIPTION="Policy daemon for Postfix SPF verification"
-HOMEPAGE="https://launchpad.net/spf-engine"
-
-LICENSE="Apache-2.0"
-SLOT="0"
-KEYWORDS="amd64 ~riscv x86"
-
-RDEPEND="dev-python/pyspf[${PYTHON_USEDEP}]
- dev-python/authres[${PYTHON_USEDEP}]"
-
-DOCS=( CHANGES )
-
-python_prepare_all() {
- distutils-r1_python_prepare_all
-
- # The tarball has a "data" directory containing a hierarchy that
- # flit wants to insert right into /usr. Before it does that, we have
- # to remove the parts we don't want, and fix some of the paths.
- #
- # Note that one of our patches already mangles a few of these
- # before we even see them.
-
- einfo "removing milter files"
- rm -v -r data/lib data/etc/init.d data/share/man/man8 || die
- rm -v data/etc/pyspf-milter/pyspf-milter.conf || die
- rm -v spf_engine/milter_spf.py || die
-
- # And don't create a python-exec wrapper for it.
- sed -e '/^pyspf-milter = /d' -i pyproject.toml || die
-
- # The commented conf example is documentation, not configuration.
- mv -v data/etc/python-policyd-spf/policyd-spf.conf.commented \
- data/share/doc/python-policyd-spf/ || die
-
- # The man page hard-codes /usr/local/etc, it should be /etc.
- sed -e 's:/usr/local/etc:/etc:g' \
- -i data/share/man/man1/policyd-spf.1 || die
-
- # Fix the documentation path.
- mv -v data/share/doc/python-policyd-spf "data/share/doc/${PF}" || die
-
- # The "real" config file mentions the commented one, so we point
- # users in the right direction. Caveat: the documentation is
- # compressed, so we're usually off by a ".bz2" suffix anyway.
- local oldconf="policyd-spf.conf.commented"
- local newconf="/usr/share/doc/${PF}/${oldconf}"
- sed -e "1 s~ ${oldconf}~,\n# ${newconf}~" \
- -i "data/etc/python-policyd-spf/policyd-spf.conf" \
- || die 'failed to update commented config file path'
-}
-
-src_install() {
- distutils-r1_src_install
-
- # The "data" installation is relative to python's prefix, so
- # data/etc gets installed to /usr/etc. Let's fix that.
- mv -v "${ED}/usr/etc" "${ED}/" || die 'failed to relocate sysconfdir'
-}
diff --git a/mail-filter/sqlgrey/Manifest b/mail-filter/sqlgrey/Manifest
deleted file mode 100644
index d4cf7b1cac00..000000000000
--- a/mail-filter/sqlgrey/Manifest
+++ /dev/null
@@ -1 +0,0 @@
-DIST sqlgrey-1.8.0.tar.gz 69476 BLAKE2B f48aa9e41a988338a817026fbf022e145922db0bad9983e4d7cde7bc621560ce6189e494cfba5dd5f48ba4ff30e47686c54298f9a006b8fcc2b27444e102b0d1 SHA512 97ab057bf7111159166a6963d5948c10468731730136ddca6449d2d629f39235c09d00497a52408bb87057905c1bf43bc064571ee6302d7f1f8c6408af82d044
diff --git a/mail-filter/sqlgrey/files/sqlgrey-1.8.0-init-openrc.patch b/mail-filter/sqlgrey/files/sqlgrey-1.8.0-init-openrc.patch
deleted file mode 100644
index aa1560572bc6..000000000000
--- a/mail-filter/sqlgrey/files/sqlgrey-1.8.0-init-openrc.patch
+++ /dev/null
@@ -1,7 +0,0 @@
---- a/init/sqlgrey.gentoo 2007-05-12 11:12:12.000000000 +0200
-+++ b/init/sqlgrey.gentoo 2007-05-12 12:05:52.491468250 +0200
-@@ -1,4 +1,4 @@
--#!/sbin/runscript
-+#!/sbin/openrc-run
- # Copyright 1999-2004 Lionel Bouton
- # Distributed under the terms of the GNU General Public License v2
diff --git a/mail-filter/sqlgrey/files/sqlgrey.service b/mail-filter/sqlgrey/files/sqlgrey.service
deleted file mode 100644
index a3171863e22a..000000000000
--- a/mail-filter/sqlgrey/files/sqlgrey.service
+++ /dev/null
@@ -1,22 +0,0 @@
-[Unit]
-Description=SQLgrey Postfix Grey-listing Policy service
-After=network.target
-
-[Service]
-User=sqlgrey
-Group=sqlgrey
-ExecStart=/usr/sbin/sqlgrey
-CapabilityBoundingSet=
-PrivateTmp=yes
-PrivateDevices=yes
-ProtectSystem=full
-ProtectHome=yes
-NoNewPrivileges=yes
-MemoryDenyWriteExecute=true
-ProtectKernelModules=true
-ProtectKernelTunables=true
-ProtectControlGroups=true
-RestrictRealtime=true
-
-[Install]
-WantedBy=multi-user.target
diff --git a/mail-filter/sqlgrey/metadata.xml b/mail-filter/sqlgrey/metadata.xml
deleted file mode 100644
index d7342c050e8a..000000000000
--- a/mail-filter/sqlgrey/metadata.xml
+++ /dev/null
@@ -1,16 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
- <maintainer type="person" proxied="yes">
- <email>gentoo_bugs_2_peep@parallaxshift.com</email>
- <name>Philippe Chaintreuil</name>
- </maintainer>
-
- <maintainer type="project" proxied="proxy">
- <email>proxy-maint@gentoo.org</email>
- <name>Proxy Maintainers</name>
- </maintainer>
- <upstream>
- <remote-id type="sourceforge">sqlgrey</remote-id>
- </upstream>
-</pkgmetadata>
diff --git a/mail-filter/sqlgrey/sqlgrey-1.8.0.ebuild b/mail-filter/sqlgrey/sqlgrey-1.8.0.ebuild
deleted file mode 100644
index 458b6586deab..000000000000
--- a/mail-filter/sqlgrey/sqlgrey-1.8.0.ebuild
+++ /dev/null
@@ -1,59 +0,0 @@
-# Copyright 1999-2026 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit systemd
-
-DESCRIPTION="A postfix policy service implementing a grey-listing policy"
-HOMEPAGE="http://sqlgrey.sourceforge.net/"
-SRC_URI="https://downloads.sourceforge.net/project/sqlgrey/sqlgrey-1.8%20%28stable%29/${P}.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="amd64 ~arm ~sparc x86"
-IUSE="mysql postgres selinux +sqlite"
-REQUIRED_USE="|| ( mysql postgres sqlite )"
-
-RDEPEND="acct-user/sqlgrey
- dev-lang/perl
- dev-perl/DBI
- dev-perl/Date-Calc
- dev-perl/Net-Server
- virtual/mailx
- mysql? ( dev-perl/DBD-mysql )
- postgres? ( dev-perl/DBD-Pg )
- selinux? ( sec-policy/selinux-milter )
- sqlite? ( dev-perl/DBD-SQLite )"
-DEPEND="${RDEPEND}"
-
-DOCS=( HOWTO FAQ README README.OPTINOUT README.PERF TODO Changelog )
-PATCHES=(
- "${FILESDIR}/sqlgrey-1.8.0-init-openrc.patch"
-)
-
-src_install() {
- emake gentoo-install ROOTDIR="${D}"
- einstalldocs
-
- systemd_dounit "${FILESDIR}/${PN}.service"
-}
-
-pkg_postinst() {
- elog "To make use of greylisting, please update your postfix config."
- elog
- elog "Put something like this in ${ROOT}/etc/postfix/main.cf:"
- elog " smtpd_recipient_restrictions ="
- elog " ..."
- elog " check_policy_service inet:127.0.0.1:2501"
- elog
- elog "Remember to restart Postfix after that change. Also remember"
- elog "to make the daemon start durig boot:"
- elog " rc-update add sqlgrey default"
- elog
- ewarn "Read the documentation for more info (perldoc sqlgrey) or the"
- ewarn "included HOWTO in ${ROOT}/usr/share/doc/${PF}/"
- ewarn
- ewarn "If you are using MySQL >= 4.1 use \"latin1\" as charset for"
- ewarn "the SQLgrey db"
-}