summaryrefslogtreecommitdiff
path: root/mail/sendmail-qtool
diff options
context:
space:
mode:
authorbouyer <bouyer>2010-10-28 20:22:14 +0000
committerbouyer <bouyer>2010-10-28 20:22:14 +0000
commite1235a1edfe7cc15ef55e6234e63674b4a8f0ce6 (patch)
treef8dff1c02113262321f75e60513510de77014bfb /mail/sendmail-qtool
parent222762dba99eaa823634bb525fd8fe8ee7499098 (diff)
downloadpkgsrc-e1235a1edfe7cc15ef55e6234e63674b4a8f0ce6.tar.gz
This package install the sendmail-qtool perl script (from the sendmail
distribution), which can move or delete entries in mail queue in a safe manner.
Diffstat (limited to 'mail/sendmail-qtool')
-rw-r--r--mail/sendmail-qtool/DESCR3
-rw-r--r--mail/sendmail-qtool/Makefile27
-rw-r--r--mail/sendmail-qtool/PLIST3
3 files changed, 33 insertions, 0 deletions
diff --git a/mail/sendmail-qtool/DESCR b/mail/sendmail-qtool/DESCR
new file mode 100644
index 00000000000..ac4a84cfc24
--- /dev/null
+++ b/mail/sendmail-qtool/DESCR
@@ -0,0 +1,3 @@
+Sendmail acts as a unified "post office" to which all mail can be
+submitted. This package install the sendmail-qtool perl script,
+which can move or delete entries in mail queue in a safe manner.
diff --git a/mail/sendmail-qtool/Makefile b/mail/sendmail-qtool/Makefile
new file mode 100644
index 00000000000..98847a26fe4
--- /dev/null
+++ b/mail/sendmail-qtool/Makefile
@@ -0,0 +1,27 @@
+# $NetBSD: Makefile,v 1.1.1.1 2010/10/28 20:22:14 bouyer Exp $
+
+PKGNAME= sendmail-qtool-${DIST_VERS}
+COMMENT= perl script to manage sendmail queue entries
+
+PKG_DESTDIR_SUPPORT= user-destdir
+
+PKG_OPTIONS= #hack to please Makefile.common
+
+.include "../../mail/sendmail/Makefile.common"
+
+USE_TOOLS+= pax
+USE_TOOLS+= perl:run
+
+REPLACE_PERL= contrib/qtool.pl
+
+INSTALLATION_DIRS= sbin ${PKGMANDIR}/man8
+
+do-build:
+
+do-install:
+ ${INSTALL_SCRIPT} ${WRKSRC}/contrib/qtool.pl \
+ ${DESTDIR}${PREFIX}/sbin/sendmail-qtool
+ ${INSTALL_MAN} ${WRKSRC}/contrib/qtool.8 \
+ ${DESTDIR}${PREFIX}/${PKGMANDIR}/man8/sendmail-qtool.8
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/mail/sendmail-qtool/PLIST b/mail/sendmail-qtool/PLIST
new file mode 100644
index 00000000000..ce4854481d7
--- /dev/null
+++ b/mail/sendmail-qtool/PLIST
@@ -0,0 +1,3 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2010/10/28 20:22:14 bouyer Exp $
+man/man8/sendmail-qtool.8
+sbin/sendmail-qtool