summaryrefslogtreecommitdiff
path: root/net-mail/qmhandle
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2024-01-20 14:08:57 +0000
committerV3n3RiX <venerix@koprulu.sector>2024-01-20 14:08:57 +0000
commit6aa0d33a65c735f3148967b62316c2e71f43589a (patch)
tree4ddfb479a93b928f4ad0507a58e779e6de3eb403 /net-mail/qmhandle
parenta332b8e207ac6a51fa349c699b486d870c9cdc70 (diff)
gentoo auto-resync : 20:01:2024 - 14:08:56
Diffstat (limited to 'net-mail/qmhandle')
-rw-r--r--net-mail/qmhandle/Manifest2
-rw-r--r--net-mail/qmhandle/files/qmhandle-1.3.2-fix-help-parameter.patch15
-rw-r--r--net-mail/qmhandle/qmhandle-1.3.2-r1.ebuild36
3 files changed, 53 insertions, 0 deletions
diff --git a/net-mail/qmhandle/Manifest b/net-mail/qmhandle/Manifest
index 818227b2fa07..f75d85d5d162 100644
--- a/net-mail/qmhandle/Manifest
+++ b/net-mail/qmhandle/Manifest
@@ -1,3 +1,5 @@
+AUX qmhandle-1.3.2-fix-help-parameter.patch 828 BLAKE2B 614ebfe1f68a6e52e6b6141cc65cfe8ba127c05838e82147a30a6586fe257adf76a4169442f7275d024ea28077ccb3f39fe5450ccbecce1c93cfffe5dfd13d5d SHA512 c82b5c4f95b5f416077c85763e963c5b1bd533826526682c131ddd2776bf6734fdc94490dd38e349b4c33bb4fcdbf93b60aefe3436f83aae0314adef694dd077
DIST qmhandle-1.3.2.tar.gz 15423 BLAKE2B 92a97404fb495b83329e6a7b6dd83140e5b73f2dfd6a6999d546a7fc2dfdf302d52e0a5ae67a8415e012f972688283b2cafc9538aeca41608a05b3c9d91b58f3 SHA512 ec6bb344f4d345e4a59ab3acb336a5a76a22c07a9eccac1e1f178b2a96f83afb9a4d669f16f960c254cc203745db96027ef9e6181ea8a16b0bff5e86141ce779
+EBUILD qmhandle-1.3.2-r1.ebuild 723 BLAKE2B 948e05830f5cef98be267a7d64355a97f26e98e9745ae0c14087bbabd8ce9e7bec139c63d1438b27b260c3122495f04fa1545a5fa08bbd1ef8b5424f9370aecf SHA512 63d0ea39cce761c19e3168f858a13480ffd05bb7e173245cef7de682bd3c3aa3a968d923d76913af11a2e9d8d047578795b7346c988327b8a3b0e810a31d6e01
EBUILD qmhandle-1.3.2.ebuild 658 BLAKE2B 83fbe1314e58c81ee31ac51aae68b46fcbcfa32e30a68502c676fa7b2d168b47d4bf42ef1cb78d059c9310a70f6572bf9377c811e738a5876309b78d9b1249d1 SHA512 d7db601177c93409354516f797cd06d32cb24ec93b04c7f3b4dc3f7985602d3991c49633a72f515e84dbe2a22235be2f593994747f1ba40dc648202ab6a7b59c
MISC metadata.xml 652 BLAKE2B 476d99eff6ae4ff6ed7c0d1939f9ff1139a0d6bde0feaac65a8d65237ceba49ef16a11285ffc791838a4e7afe83bef8719f7f85aa0c662246fc28ef46f545194 SHA512 358179923331687871492057981832aba4063dd85c81de119e53d690c5f6b058c2db81badffd4ab8b3589def5f10d45e8944910274f0a4a119f2b7ace6aff039
diff --git a/net-mail/qmhandle/files/qmhandle-1.3.2-fix-help-parameter.patch b/net-mail/qmhandle/files/qmhandle-1.3.2-fix-help-parameter.patch
new file mode 100644
index 000000000000..42031e880976
--- /dev/null
+++ b/net-mail/qmhandle/files/qmhandle-1.3.2-fix-help-parameter.patch
@@ -0,0 +1,15 @@
+This patch fixes typo in parameter usage when help printed
+
+diff --git a/qmHandle b/qmHandle
+index af083f4..a1f3eee 100755
+--- a/qmHandle
++++ b/qmHandle
+@@ -828,7 +828,7 @@ sub Usage {
+ print " -mN : display message number N\n";
+ print " -dN : delete message number N\n";
+ print " -fsender : delete message from sender\n";
+- print " -f're' : delete message from senders matching regular expression re\n";
++ print " -F're' : delete message from senders matching regular expression re\n";
+ print " -Stext : delete all messages that have/contain text as Subject\n";
+ print " -h're' : delete all messages with headers matching regular expression re (case insensitive)\n";
+ print " -b're' : delete all messages with body matching regular expression re (case insensitive)\n";
diff --git a/net-mail/qmhandle/qmhandle-1.3.2-r1.ebuild b/net-mail/qmhandle/qmhandle-1.3.2-r1.ebuild
new file mode 100644
index 000000000000..3b395f8b8d96
--- /dev/null
+++ b/net-mail/qmhandle/qmhandle-1.3.2-r1.ebuild
@@ -0,0 +1,36 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+DESCRIPTION="Qmail message queue tool"
+HOMEPAGE="http://qmhandle.sourceforge.net/"
+SRC_URI="mirror://sourceforge/qmhandle/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~sparc ~x86"
+IUSE=""
+
+RDEPEND="virtual/qmail
+ dev-lang/perl
+ sys-process/psmisc
+"
+DEPEND=""
+
+PATCHES=(
+ "${FILESDIR}/${PN}-1.3.2-fix-help-parameter.patch"
+)
+
+src_prepare() {
+ sed \
+ -e 's|/usr/local/bin/svc|/usr/bin/svc|g' \
+ -e 's|/service/qmail-deliver|/var/qmail/supervise/qmail-send|g' \
+ -i qmHandle || die "Fixing qmHandle failed"
+ default
+}
+
+src_install() {
+ dodoc README HISTORY
+ dobin qmHandle
+}