From: "Robin H. Johnson" <robbat2@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: net-mail/safecat/
Date: Sat, 30 Nov 2024 17:21:51 +0000 (UTC) [thread overview]
Message-ID: <1732987305.e888db52017440217e454dc2cee400bb5cfaa194.robbat2@gentoo> (raw)
commit: e888db52017440217e454dc2cee400bb5cfaa194
Author: Robin H. Johnson <robbat2 <AT> gentoo <DOT> org>
AuthorDate: Sat Nov 30 17:12:42 2024 +0000
Commit: Robin H. Johnson <robbat2 <AT> gentoo <DOT> org>
CommitDate: Sat Nov 30 17:21:45 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e888db52
net-mail/safecat: fixes for modern compilers
Signed-off-by: Robin H. Johnson <robbat2 <AT> gentoo.org>
Closes: https://bugs.gentoo.org/show_bug.cgi?id=929081
Closes: https://bugs.gentoo.org/show_bug.cgi?id=934407
net-mail/safecat/Manifest | 1 +
net-mail/safecat/safecat-1.13-r2.ebuild | 56 +++++++++++++++++++++++++++++++++
2 files changed, 57 insertions(+)
diff --git a/net-mail/safecat/Manifest b/net-mail/safecat/Manifest
index e2c2234a9cf0..964b1daf5af0 100644
--- a/net-mail/safecat/Manifest
+++ b/net-mail/safecat/Manifest
@@ -1 +1,2 @@
+DIST safecat-1.13-clang-fixes.patch 36070 BLAKE2B bbf7157c2546626fe22d76b0b08596473fe51f880a7abe5ce6c554e88dd4f7f510c719cf3357716d5cece9a50b4be7dbbfb525985ae08d4b8b2a9c5c45698981 SHA512 7c59bfa4101c8ff43e97467b2699c3de07f763e304c3a2c4742516a107490f2fdfce64cde797ade66766d1c01b02f31eeaaeb3d6cc2f743a0d200ad0384f3d34
DIST safecat-1.13.tar.gz 33953 BLAKE2B d8b4132b530f975fb5629bc591e3b332cd6c8c29684a8848e76b7a660a6ea683adc8b89b92fbe37cf5c1236bca597d9ec6e44bfb5b35076a98d6590f355a40ae SHA512 e6f7401b55a61f70715b3d222c8286c0125c5e7b3b132e5e8d3c8573a6c45dba75b29a459c7e93d7c0760300f0a62635d8ea4eacde9b0b1ff7637b3f6c63e210
diff --git a/net-mail/safecat/safecat-1.13-r2.ebuild b/net-mail/safecat/safecat-1.13-r2.ebuild
new file mode 100644
index 000000000000..d74f17778cea
--- /dev/null
+++ b/net-mail/safecat/safecat-1.13-r2.ebuild
@@ -0,0 +1,56 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit toolchain-funcs
+
+DESCRIPTION="Safecat implements qmail's maildir algorithm, safely copying standard input"
+HOMEPAGE="http://www.jeenyus.net/linux/software/safecat.html"
+SRC_URI="http://www.jeenyus.net/linux/software/${PN}/${P}.tar.gz"
+SRC_URI+=" mirror://gentoo/${P}-clang-fixes.patch"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~hppa ~mips ~ppc ~sparc ~x86"
+RESTRICT="test"
+
+DEPEND="sys-apps/groff"
+
+PATCHES=(
+ # applying maildir-patch
+ "${FILESDIR}"/safecat-1.11-gentoo.patch
+ # Fix parallel make errors
+ "${FILESDIR}"/${P}-makefile.patch
+ # Fix POSIX head/tail syntax
+ "${FILESDIR}"/${P}-head-tail-POSIX.patch
+ # Fix dup objects
+ "${FILESDIR}"/${P}-dup-obj-makefile.patch
+ # Headers
+ "${FILESDIR}"/${P}-include.patch
+ # Clang fixes
+ "${DISTDIR}"/${P}-clang-fixes.patch
+)
+
+src_prepare() {
+ default
+
+ sed -ni '/man\|doc/!p' hier.c || die
+}
+
+src_configure() {
+ echo "/usr" > conf-root || die
+ echo "$(tc-getCC) ${CFLAGS}" > conf-cc || die
+ echo "$(tc-getCC) ${LDFLAGS}" > conf-ld || die
+ echo "$(tc-getAR)" > conf-ar || die
+}
+
+src_install() {
+ # ${D} is not valid in src_configure
+ # Do not use DJB compiled installer anymore
+ #echo "${D}/usr" > conf-root || die
+ #emake setup check
+ dobin safecat maildir
+ einstalldocs
+ doman maildir.1 safecat.1
+}
next reply other threads:[~2024-11-30 17:21 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-11-30 17:21 Robin H. Johnson [this message]
-- strict thread matches above, loose matches on Subject: below --
2025-03-08 9:01 [gentoo-commits] repo/gentoo:master commit in: net-mail/safecat/ Arthur Zamarin
2025-03-08 1:10 Jakov Smolić
2025-03-07 11:24 Sam James
2024-06-21 17:32 Arthur Zamarin
2024-06-21 15:02 Sam James
2024-06-21 15:02 Sam James
2024-06-21 13:14 Arthur Zamarin
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1732987305.e888db52017440217e454dc2cee400bb5cfaa194.robbat2@gentoo \
--to=robbat2@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox