summaryrefslogtreecommitdiff
path: root/net-mail/safecat
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2024-12-01 02:06:43 +0000
committerV3n3RiX <venerix@koprulu.sector>2024-12-01 02:06:43 +0000
commitc635a4b7ddb6105bfc6fef130b188a087726677b (patch)
tree6707959596af4883f9621a0cdf56d35c06dbc63e /net-mail/safecat
parent080d89feff80cae2fc974ff2f24d463141c20635 (diff)
gentoo auto-resync : 01:12:2024 - 02:06:42
Diffstat (limited to 'net-mail/safecat')
-rw-r--r--net-mail/safecat/Manifest2
-rw-r--r--net-mail/safecat/safecat-1.13-r2.ebuild56
2 files changed, 58 insertions, 0 deletions
diff --git a/net-mail/safecat/Manifest b/net-mail/safecat/Manifest
index 088871f6060a..32d6184762e6 100644
--- a/net-mail/safecat/Manifest
+++ b/net-mail/safecat/Manifest
@@ -3,6 +3,8 @@ AUX safecat-1.13-dup-obj-makefile.patch 1804 BLAKE2B b7800003ce95f3ebb76964ee73e
AUX safecat-1.13-head-tail-POSIX.patch 1183 BLAKE2B 846a9f99b40417524d62adf0b0fde934e348d3129a7932625f0355f5a2da2ee8d8f71d3c3ce4095a58c85c1455dde95dd4c60e85602a8dac5fd8eacfd6d2e69a SHA512 717666c93dac34af2a20aacfd03c59324027cd797504da72b2f01210f2d127b815890f87192427b7684cd3c72bc3a34b289608266927e9e31d53af503d1f5de9
AUX safecat-1.13-include.patch 3173 BLAKE2B 9dbe53e62a3daa8da5460337ef1a56a42f9d829f70cb34445a14ee2e7f5efea182881143ab5c6891c0dace8ffce50c25071286e44f12faccf9153fdce38eae32 SHA512 8336b875df38470a5fe41fb7fb51c67ac35c0ced8af857b1cd023ee4cfbe95e5fc35b49480fe46e0ae0ca81d754713b58495b09f11baeaf9c3e284ab09381157
AUX safecat-1.13-makefile.patch 562 BLAKE2B b80bc02df3244a922d831d10417c2e973778ac737d4a52ecfbdfebcfd51c1571c2dc8229bfd4e35faa7c23d2f58c2f788200977a8c2b5fe93f67de79325846fa SHA512 d48a33ce9e68ce8a27d77968040a146b975986b85e3ef534bde6a015b8179fc563f341be1ab7e74afe3e260ad267c99e18aab027d2f63125f76c071e15867050
+DIST safecat-1.13-clang-fixes.patch 36070 BLAKE2B bbf7157c2546626fe22d76b0b08596473fe51f880a7abe5ce6c554e88dd4f7f510c719cf3357716d5cece9a50b4be7dbbfb525985ae08d4b8b2a9c5c45698981 SHA512 7c59bfa4101c8ff43e97467b2699c3de07f763e304c3a2c4742516a107490f2fdfce64cde797ade66766d1c01b02f31eeaaeb3d6cc2f743a0d200ad0384f3d34
DIST safecat-1.13.tar.gz 33953 BLAKE2B d8b4132b530f975fb5629bc591e3b332cd6c8c29684a8848e76b7a660a6ea683adc8b89b92fbe37cf5c1236bca597d9ec6e44bfb5b35076a98d6590f355a40ae SHA512 e6f7401b55a61f70715b3d222c8286c0125c5e7b3b132e5e8d3c8573a6c45dba75b29a459c7e93d7c0760300f0a62635d8ea4eacde9b0b1ff7637b3f6c63e210
EBUILD safecat-1.13-r1.ebuild 1192 BLAKE2B 9431ba7299f869f4503943b100488d368d35ad5177fc00d4206606e188f45074277eb7900e287995c1cfec757af268f7a846fc432136861a581678a5c1f1bd34 SHA512 5afe24778c2ffc9b1a09ac51468c87185ab3eebd446f6dacdcb47cb3b87c816e35ea68fd94399e8052b343f831c1ae9ed1012f62df5fa9fbdc33f94db5a75bd4
+EBUILD safecat-1.13-r2.ebuild 1368 BLAKE2B a4588ebd34dc6ece5042ab5b2f082edc1e15fcb4627d316c095f84f77c10097c9f7919e49c1b9cecacbe599d57c51bfd967fee6ccdc93b5b8c3e788072fe7311 SHA512 b5d9cffb1c2b42f356f211cea1cec60997e163e11baf94defbe6aef1531c75ec3236041d39f89101b8eb4d08e1d26637b3ead1eb1824c06fc702ebea090cc5b8
MISC metadata.xml 269 BLAKE2B 43d9731cf9f56bf0639c05f7299cbdadfaaf03fe439dda719287de85a226d301d3bfee81ac2e7f37fc9f25d8e3a3045324f9214e0c1c6c0ff22b1c085a238414 SHA512 818b094a5a00192f09ca69f6ebdb6bfa91f9a94150d2c0861cfdaf0ff78919e5fdac9b58334f0beb73de1f0608372eb86f0c283cd095c0d67224efd9bb5d3ddb
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
+}