summaryrefslogtreecommitdiff
path: root/net-mail/qmhandle
diff options
context:
space:
mode:
authorroot <root@alpha.trunkmasters.com>2026-06-12 19:09:37 -0500
committerroot <root@alpha.trunkmasters.com>2026-06-12 19:09:37 -0500
commitb590c8d7572b727d565cc0b8ff660d43569845de (patch)
tree06f7a4102ea4e845df8b66660f252920d52952f9 /net-mail/qmhandle
parent24f9cbfc4c34fdb6a6e03311674414e881ceab47 (diff)
downloadbaldeagleos-repo-b590c8d7572b727d565cc0b8ff660d43569845de.tar.gz
baldeagleos-repo-b590c8d7572b727d565cc0b8ff660d43569845de.tar.xz
baldeagleos-repo-b590c8d7572b727d565cc0b8ff660d43569845de.zip
Adding metadata
Diffstat (limited to 'net-mail/qmhandle')
-rw-r--r--net-mail/qmhandle/Manifest1
-rw-r--r--net-mail/qmhandle/files/qmhandle-1.3.2-fix-help-parameter.patch15
-rw-r--r--net-mail/qmhandle/metadata.xml13
-rw-r--r--net-mail/qmhandle/qmhandle-1.3.2-r1.ebuild36
-rw-r--r--net-mail/qmhandle/qmhandle-1.3.2.ebuild32
5 files changed, 97 insertions, 0 deletions
diff --git a/net-mail/qmhandle/Manifest b/net-mail/qmhandle/Manifest
new file mode 100644
index 000000000000..0f1e145cb4c1
--- /dev/null
+++ b/net-mail/qmhandle/Manifest
@@ -0,0 +1 @@
+DIST qmhandle-1.3.2.tar.gz 15423 BLAKE2B 92a97404fb495b83329e6a7b6dd83140e5b73f2dfd6a6999d546a7fc2dfdf302d52e0a5ae67a8415e012f972688283b2cafc9538aeca41608a05b3c9d91b58f3 SHA512 ec6bb344f4d345e4a59ab3acb336a5a76a22c07a9eccac1e1f178b2a96f83afb9a4d669f16f960c254cc203745db96027ef9e6181ea8a16b0bff5e86141ce779
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/metadata.xml b/net-mail/qmhandle/metadata.xml
new file mode 100644
index 000000000000..c9d1cedadb5c
--- /dev/null
+++ b/net-mail/qmhandle/metadata.xml
@@ -0,0 +1,13 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://docs.baldeagleos.com/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>robbat2@gentoo.org</email>
+ <name>Robin H. Johnson</name>
+ </maintainer>
+ <longdescription>qmHandle is a tool which can be used to manage the qmail
+ message queue. It's written in Perl (so fully customizable) and much more
+ powerful than qmail-qread and qmail-qstat. Key features are colored output
+ and the ability to view and delete messages in the queue.</longdescription>
+ <origin>baldeagleos-repo</origin>
+</pkgmetadata>
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..387f32d3b2cf
--- /dev/null
+++ b/net-mail/qmhandle/qmhandle-1.3.2-r1.ebuild
@@ -0,0 +1,36 @@
+# Copyright 1999-2025 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="https://downloads.sourceforge.net/qmhandle/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha amd64 arm ~hppa ~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
+}
diff --git a/net-mail/qmhandle/qmhandle-1.3.2.ebuild b/net-mail/qmhandle/qmhandle-1.3.2.ebuild
new file mode 100644
index 000000000000..907c8ce5b793
--- /dev/null
+++ b/net-mail/qmhandle/qmhandle-1.3.2.ebuild
@@ -0,0 +1,32 @@
+# Copyright 1999-2025 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="https://downloads.sourceforge.net/qmhandle/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha amd64 arm ~hppa ~sparc x86"
+IUSE=""
+
+RDEPEND="virtual/qmail
+ dev-lang/perl
+ sys-process/psmisc
+"
+DEPEND=""
+
+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"
+ eapply_user
+}
+
+src_install() {
+ dodoc README HISTORY
+ dobin qmHandle
+}