diff options
Diffstat (limited to 'mail-filter')
-rw-r--r-- | mail-filter/mailfilter/Manifest | 1 | ||||
-rw-r--r-- | mail-filter/mailfilter/files/0.8.4-fix-parallel-build.patch | 113 | ||||
-rw-r--r-- | mail-filter/mailfilter/mailfilter-0.8.4.ebuild | 31 |
3 files changed, 0 insertions, 145 deletions
diff --git a/mail-filter/mailfilter/Manifest b/mail-filter/mailfilter/Manifest index 10ff59dc1c4e..5408580e14ff 100644 --- a/mail-filter/mailfilter/Manifest +++ b/mail-filter/mailfilter/Manifest @@ -1,2 +1 @@ -DIST mailfilter-0.8.4.tar.gz 424789 BLAKE2B 3ffee855a52b6d85ca7241ab55fd31093ff7dad218b37d2caeaf61dbe0a6ce14a283a60f6bee33409363e516902d8024ec4e5008041ddc28b48d7fc1313d5de3 SHA512 d6cd3399240f60020bf17f460376bfa73132e0714adf1e9b34e2993367440eba28d3cb8ef20b997b1ecf02419f69b761f704598641222d32b3aefdb8a96930e7 DIST mailfilter-0.8.9.tar.gz 573811 BLAKE2B 7648496c1fbde31da776c7d55517b5824cdc33f91e4543784460838edac7bd6435a09ccece54f4e8f21142330458bf28773934bf8b6bcc40289086ab82142c70 SHA512 8c18d2edf92816cec38359af5e2daf5730fac497a46f89225d938df750144d2bad6fa6dc5e99257423afdf626edf6caeccdf884c90e0b9e70b9c5d03f746ba5f diff --git a/mail-filter/mailfilter/files/0.8.4-fix-parallel-build.patch b/mail-filter/mailfilter/files/0.8.4-fix-parallel-build.patch deleted file mode 100644 index f697f94e4502..000000000000 --- a/mail-filter/mailfilter/files/0.8.4-fix-parallel-build.patch +++ /dev/null @@ -1,113 +0,0 @@ -https://github.com/nondeterministic/mailfilter/commit/4b3991b1334d83d5f209723ab3ec58d168baff2d - -https://bugs.gentoo.org/649514 - ---- a/src/Makefile.am -+++ b/src/Makefile.am -@@ -31,15 +31,11 @@ bin_PROGRAMS = mailfilter - rcfile.cc: rcfile.ll rcparser.hh - $(LEX) $(AM_LFLAGS) -Prc -o$@ $< - --# The final `touch' is necessary to be able to invoke flex/bison more --# than once and to not confuse the ../ylwrap script. --rcparser.hh: y.tab.c --y.tab.c: rcfile.yy -- $(YACC) -p rc $(YFLAGS) -o$@ $<; \ -- mv -f y.tab.c rcparser.cc; \ -- mv -f y.tab.h rcparser.hh; \ -- $(CXXCOMPILE) -c rcparser.cc; \ -- touch y.tab.c -+rcparser.hh: rcparser.cc -+rcparser.cc: rcfile.yy -+ $(YACC) $(YFLAGS) -b rc -p rc $<; \ -+ mv rc.tab.c rcparser.cc; \ -+ mv rc.tab.h rcparser.hh - - # Almost the same as above, but this time for the RFC 822 parser: - rfc822.cc: rfc822.ll rfc822parser.hh -@@ -47,58 +43,41 @@ rfc822.cc: rfc822.ll rfc822parser.hh - - rfc822parser.hh: rfc822parser.cc - rfc822parser.cc: rfc822.yy -- $(YACC) $(YFLAGS) -p rfc -o$@ $<; \ -- $(CXXCOMPILE) -c rfc822parser.cc; \ -- touch y.tab.c -+ $(YACC) $(YFLAGS) -b rfc -p rfc $<; \ -+ mv rfc.tab.c rfc822parser.cc; \ -+ mv rfc.tab.h rfc822parser.hh - --# This thing is a workaround to avoid compile errors. --# We always re-generate the source from the flex/bison input, so it --# always matches the installed versions and does not lead to errors. --CLEANFILES = rcfile.cc rcparser.hh rcparser.cc y.tab.c ylwrap \ -- rfc822parser.output rfc822parser.cc rfc822parser.hh \ -- rfc822.cc y.output -- --nodist_mailfilter_SOURCES = rcfile.cc rcparser.hh y.tab.c rfc822.cc -- --nodist_mailfilter_OBJECTS = y.tab.$(OBJEXT) -- --# Looks like automake still wants to distribute rcfile.cc, even if it --# is in nodist_*_sources. --dist-hook: -- rm -f $(distdir)/rcfile.cc \ -- $(distdir)/rfc822parser.cc \ -- $(distdir)/rfcparser.cc -+CLEANFILES = *.output - - # If this gets updated, remember to update the doxygen.in config file! --mailfilter_SOURCES = md5c.c md5.h \ -- defines.hh \ -- rcfile.ll rcfile.hh \ -- rfc822.ll \ -- mailfilter.hh mailfilter.cc \ -- header.hh header.cc \ -- weeder.hh weeder.cc \ -- preferences.hh preferences.cc \ -- feedback.hh feedback.cc \ -- filter.hh filter.cc \ -- score.hh score.cc \ -- account.hh account.cc \ -- protocol.hh protocol.cc \ -- connection.hh \ -- socket.hh socket.cc \ -- pop3.hh pop3.cc \ -- apop.hh apop.cc \ -+mailfilter_SOURCES = md5c.c md5.h \ -+ defines.hh \ -+ rcfile.ll rcfile.hh \ -+ rcparser.hh rcparser.cc \ -+ rfc822.ll rfc822parser.hh rfc822parser.cc \ -+ mailfilter.hh mailfilter.cc \ -+ header.hh header.cc \ -+ weeder.hh weeder.cc \ -+ preferences.hh preferences.cc \ -+ feedback.hh feedback.cc \ -+ filter.hh filter.cc \ -+ score.hh score.cc \ -+ account.hh account.cc \ -+ protocol.hh protocol.cc \ -+ connection.hh \ -+ socket.hh socket.cc \ -+ pop3.hh pop3.cc \ -+ apop.hh apop.cc \ - imap.hh imap.cc - - if !GETOPT - mailfilter_SOURCES += getopt.c getopt1.c getopt.h - endif - --mailfilter_LDADD = rcparser.o rfc822parser.o -- --INCLUDES = -I$(includedir) \ -- -I$(srcdir) -I$(top_srcdir)/include -I$(top_srcdir) \ -- -DLOCALEDIR=\"$(datadir)/locale\" \ -- -I$(top_srcdir)/intl \ -- -I$(top_builddir) -I$(top_builddir)/include -I. -+AM_CPPFLAGS = -I$(includedir) \ -+ -I$(srcdir) -I$(top_srcdir)/include -I$(top_srcdir) \ -+ -DLOCALEDIR=\"$(datadir)/locale\" \ -+ -I$(top_srcdir)/intl \ -+ -I$(top_builddir) -I$(top_builddir)/include -I. - - LIBS = @LEXLIB@ @LIBS@ diff --git a/mail-filter/mailfilter/mailfilter-0.8.4.ebuild b/mail-filter/mailfilter/mailfilter-0.8.4.ebuild deleted file mode 100644 index ccd3270dd5a3..000000000000 --- a/mail-filter/mailfilter/mailfilter-0.8.4.ebuild +++ /dev/null @@ -1,31 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -DESCRIPTION="Mailfilter is a utility to get rid of unwanted spam mails" -HOMEPAGE="https://mailfilter.sourceforge.io" -SRC_URI="mirror://sourceforge/mailfilter/${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="" - -PATCHES=( "${FILESDIR}"/0.8.4-fix-parallel-build.patch ) - -src_configure() { - econf $(use_with ssl openssl) -} - -src_install() { - default - dodoc INSTALL doc/FAQ "${FILESDIR}"/rcfile.example{1,2} -} |