diff options
author | Pascal Jäger <pascal.jaeger@leimstift.de> | 2022-10-23 19:41:42 +0200 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2022-11-03 23:51:56 +0000 |
commit | 9c55e17fa71a6e6c06b486aa5436b94f2560b25b (patch) | |
tree | 451e4a74b9347b9bd6bb2dc9cc035d6f7ff6873d /net-mail | |
parent | dev-lua/luaexpat: Stabilize 1.5.1 sparc, #879499 (diff) | |
download | gentoo-9c55e17fa71a6e6c06b486aa5436b94f2560b25b.tar.gz gentoo-9c55e17fa71a6e6c06b486aa5436b94f2560b25b.tar.bz2 gentoo-9c55e17fa71a6e6c06b486aa5436b94f2560b25b.zip |
net-mail/dot-forward: fix ebuild to work with clang16
Closes: https://bugs.gentoo.org/870856
Signed-off-by: Pascal Jäger <pascal.jaeger@leimstift.de>
Closes: https://github.com/gentoo/gentoo/pull/27918
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'net-mail')
-rw-r--r-- | net-mail/dot-forward/Manifest | 1 | ||||
-rw-r--r-- | net-mail/dot-forward/dot-forward-0.71-r5.ebuild | 65 |
2 files changed, 66 insertions, 0 deletions
diff --git a/net-mail/dot-forward/Manifest b/net-mail/dot-forward/Manifest index a668fb4da08b..f6bbbcbf8649 100644 --- a/net-mail/dot-forward/Manifest +++ b/net-mail/dot-forward/Manifest @@ -1 +1,2 @@ +DIST dot-forward-0.71-fix-build-for-clang16.patch.xz 8244 BLAKE2B 3e1f3e874bd58addb28e91e4e2d76ff85f80d78dfce1dac9709384deb513845e6801d0f4753fc9954b0a8fff0cd76bedb9e01ddd2b23cdcc61f856fad3c674ec SHA512 15aa543c991d4890938efd5df91a4f065dbc19f69351f889078f04b2487c3e239d6f123ced1f1e69771a93b7d2ecad20a16defed094000a78f26c39c294eaa4f DIST dot-forward-0.71.tar.gz 26352 BLAKE2B 9757d07adc796ad35c6426eed3c53eb87f784a1035ad6569a8130e62a04665bb9ac03c250be0e5cb22f122c7204197f736dfc748d468c980814d23bb7ad0069d SHA512 f37a30eabf3a7e7258bfbe9178218d053a5164a9698fbc34954eb8bd588fe2bbf61ffd85f5b817e3ce65d7c0efac1735b59b11faa4d425e2df4089769af94b8b diff --git a/net-mail/dot-forward/dot-forward-0.71-r5.ebuild b/net-mail/dot-forward/dot-forward-0.71-r5.ebuild new file mode 100644 index 000000000000..cfd55f0c34a7 --- /dev/null +++ b/net-mail/dot-forward/dot-forward-0.71-r5.ebuild @@ -0,0 +1,65 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit fixheadtails qmail + +DESCRIPTION="Reads sendmail's .forward files under qmail" +HOMEPAGE="http://cr.yp.to/dot-forward.html" +SRC_URI="http://cr.yp.to/software/${P}.tar.gz" +SRC_URI+=" https://dev.gentoo.org/~sam/distfiles/${CATEGORY}/${PN}/${P}-fix-build-for-clang16.patch.xz" + +LICENSE="public-domain" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86" +IUSE="" + +# See bug 97850 +RESTRICT="test" + +DEPEND=" + acct-group/nofiles + acct-group/qmail +" + +RDEPEND="${DEPEND}" + +PATCHES=( + "${FILESDIR}"/${PV}-errno.patch + "${WORKDIR}"/${P}-fix-build-for-clang16.patch +) + +DOCS=( + BLURB + CHANGES + FILES + INSTALL + README + TARGETS + THANKS + TODO +) + +src_prepare() { + default + + ht_fix_file Makefile +} + +src_configure() { + qmail_set_cc +} + +src_compile() { + emake prog +} + +src_install() { + einstalldocs + doman *.1 + + insopts -o root -g qmail -m 755 + insinto "${QMAIL_HOME}"/bin + doins dot-forward +} |