From 8ef8abbbe4f281a9527f8cb5382808a0b2234699 Mon Sep 17 00:00:00 2001 From: Martin Väth Date: Sat, 13 Jul 2024 08:39:34 +0200 Subject: net-mail/metamail: Version bump. sys-fs/squashfuse: Remove MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Martin Väth --- net-mail/metamail/Manifest | 2 +- net-mail/metamail/metamail-2.7.53.3-r3.ebuild | 72 ------------------------- net-mail/metamail/metamail-2.7.54.1.ebuild | 75 +++++++++++++++++++++++++++ 3 files changed, 76 insertions(+), 73 deletions(-) delete mode 100644 net-mail/metamail/metamail-2.7.53.3-r3.ebuild create mode 100644 net-mail/metamail/metamail-2.7.54.1.ebuild (limited to 'net-mail') diff --git a/net-mail/metamail/Manifest b/net-mail/metamail/Manifest index 6ed3f620..62881307 100644 --- a/net-mail/metamail/Manifest +++ b/net-mail/metamail/Manifest @@ -1,2 +1,2 @@ -DIST metamail_2.7-53.diff.gz 322363 BLAKE2B bfb3ee13816a62f03ba5cdc3e54957b03d41662d1d32a908b7a02d92490f4c5eafd8e57d945e18902b873c9bbc4615ce7819bfb4fea3f227e1ca918aaa81fd28 SHA512 cb5351308f1ad479e1560446f7f540165ff165d7306a5592a8286edd643301608ff9ace01456d4b0d03d27b9b838b61f08412b15d6b3aa99b95e2ab484e884ed +DIST metamail_2.7-54.diff.gz 324193 BLAKE2B a9a858d67beda6aaf2ce6a67cbc6c9abcdb52be1a1b58e038d316359e09dd415b19a8b4501680736d6071e3ed17609edf021f89039fc84a377b4a86585c339c5 SHA512 34ed2c39ac43fad62fadfaf74fbe2a7dadd46d10841b887e2222aa21ee70ca92c38e2a3292c1add35c6695432a3661af7a40e29be01f48a779216889c18a5f08 DIST mm2.7.tar.Z 262881 BLAKE2B da245467b5dd009eb489e136d072205e5bc4a190b2b3a9c558f30c7dc6dfbecff8df1f51359cdc2561f7cd85519a6fd40705f2f640cb6632857507cb6bd551fe SHA512 9cd2619ca83594ca7be94453270b6a9ef01f5a496fd361bb76f16fc575f549ab450efa1d480c3d4b0b172f245d9c3276f99ba1ae4e3ae4bb6618df9d8131f77e diff --git a/net-mail/metamail/metamail-2.7.53.3-r3.ebuild b/net-mail/metamail/metamail-2.7.53.3-r3.ebuild deleted file mode 100644 index fe5e2bff..00000000 --- a/net-mail/metamail/metamail-2.7.53.3-r3.ebuild +++ /dev/null @@ -1,72 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit autotools toolchain-funcs - -MY_PV=$(ver_cut 1-2) -DEB_PV=${MY_PV}-$(ver_cut 3) - -DESCRIPTION="Metamail (with Debian patches) - Generic MIME package" -HOMEPAGE="http://ftp.funet.fi/pub/unix/mail/metamail/" -SRC_URI="http://ftp.funet.fi/pub/unix/mail/metamail/mm${MY_PV}.tar.Z - mirror://debian/pool/main/m/metamail/metamail_${DEB_PV}.diff.gz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~alpha amd64 arm ~hppa ~ia64 ppc ppc64 ~s390 sparc x86" -IUSE="static-libs" - -DEPEND="sys-libs/ncurses:= - app-arch/sharutils - net-mail/mailbase" -RDEPEND=" - ${DEPEND} - app-misc/mime-types - sys-apps/debianutils - !app-misc/run-mailcap" -BDEPEND="virtual/pkgconfig" - -S=${WORKDIR}/mm${MY_PV}/src - -src_prepare() { - eapply "${WORKDIR}"/metamail_${DEB_PV}.diff - eapply "${FILESDIR}"/${PN}-2.7.45.3-CVE-2006-0709.patch - eapply "${FILESDIR}"/${P}-glibc-2.10.patch - - # respect CFLAGS - sed -i -e 's/CFLAGS/LIBS/' \ - "${S}"/src/{metamail,richmail}/Makefile.am || die - - # add missing include - QA - sed -i -e '/config.h/a #include ' \ - "${S}"/src/metamail/shared.c || die - - # Fix building with ncurses[tinfo] - sed -i -e "s/-lncurses/$($(tc-getPKG_CONFIG) --libs ncurses)/" \ - src/richmail/Makefile.am \ - src/metamail/Makefile.am || die - - eapply_user - eautoreconf - chmod +x "${S}"/configure -} - -src_configure() { - econf $(use_enable static-libs static) -} - -src_compile() { - emake CC="$(tc-getCC)" CFLAGS="${CFLAGS}" -} - -src_install() { - emake DESTDIR="${D}" install - dodoc CREDITS README - rm man/mmencode.1 - rm man/mailcap.5 - doman man/* debian/mimencode.1 debian/mimeit.1 - - use static-libs || find "${D}"/usr/lib* -name '*.la' -delete -} diff --git a/net-mail/metamail/metamail-2.7.54.1.ebuild b/net-mail/metamail/metamail-2.7.54.1.ebuild new file mode 100644 index 00000000..85ea4518 --- /dev/null +++ b/net-mail/metamail/metamail-2.7.54.1.ebuild @@ -0,0 +1,75 @@ +# Copyright 1999-2024 Gentoo Authors and Martin V\"ath +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit autotools toolchain-funcs + +RESTRICT="mirror" + +MY_PV=$(ver_cut 1-2) +DEB_PV=${MY_PV}-$(ver_cut 3) + +DESCRIPTION="Metamail (with Debian patches) - Generic MIME package" +HOMEPAGE="http://ftp.funet.fi/pub/unix/mail/metamail/" +SRC_URI="http://ftp.funet.fi/pub/unix/mail/metamail/mm${MY_PV}.tar.Z + mirror://debian/pool/main/m/metamail/metamail_${DEB_PV}.diff.gz" +# https://sibelius.debian.org/debian/pool/main/m/metamail/metamail_${DEB_PV}.diff.gz + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha amd64 arm ~hppa ~ia64 ppc ppc64 ~s390 sparc x86" +IUSE="static-libs" + +DEPEND="sys-libs/ncurses:= + app-arch/sharutils + net-mail/mailbase" +RDEPEND=" + ${DEPEND} + app-misc/mime-types + sys-apps/debianutils + !app-misc/run-mailcap" +BDEPEND="virtual/pkgconfig" + +S=${WORKDIR}/mm${MY_PV}/src + +src_prepare() { + eapply "${WORKDIR}"/metamail_${DEB_PV}.diff + eapply "${FILESDIR}"/${PN}-2.7.45.3-CVE-2006-0709.patch + eapply "${FILESDIR}"/${PN}-2.7.53.3-glibc-2.10.patch + + # respect CFLAGS + sed -i -e 's/CFLAGS/LIBS/' \ + "${S}"/src/{metamail,richmail}/Makefile.am || die + + # add missing include - QA + sed -i -e '/config.h/a #include ' \ + "${S}"/src/metamail/shared.c || die + + # Fix building with ncurses[tinfo] + sed -i -e "s/-lncurses/$($(tc-getPKG_CONFIG) --libs ncurses)/" \ + src/richmail/Makefile.am \ + src/metamail/Makefile.am || die + + eapply_user + eautoreconf + chmod +x "${S}"/configure +} + +src_configure() { + econf $(use_enable static-libs static) +} + +src_compile() { + emake CC="$(tc-getCC)" CFLAGS="${CFLAGS}" +} + +src_install() { + emake DESTDIR="${D}" install + dodoc CREDITS README + rm man/mmencode.1 + rm man/mailcap.5 + doman man/* debian/mimencode.1 debian/mimeit.1 + + use static-libs || find "${D}"/usr/lib* -name '*.la' -delete +} -- cgit v1.2.3-65-gdbad