pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/net/nagios-plugin-spamd Initial import of nagios-plugi...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/988a42ed6d4b
branches:  trunk
changeset: 534252:988a42ed6d4b
user:      heinz <heinz%pkgsrc.org@localhost>
date:      Sun Oct 14 17:37:49 2007 +0000

description:
Initial import of nagios-plugin-spamd 1.4.

This is a package of a Nagios plugin for monitoring the SpamAssassin
daemon spamd.

diffstat:

 net/nagios-plugin-spamd/DESCR    |   2 +
 net/nagios-plugin-spamd/Makefile |  41 ++++++++++++++++++++++++++++++++++++++++
 net/nagios-plugin-spamd/PLIST    |   2 +
 net/nagios-plugin-spamd/distinfo |   5 ++++
 4 files changed, 50 insertions(+), 0 deletions(-)

diffs (66 lines):

diff -r e748f0452acb -r 988a42ed6d4b net/nagios-plugin-spamd/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/nagios-plugin-spamd/DESCR     Sun Oct 14 17:37:49 2007 +0000
@@ -0,0 +1,2 @@
+This is a package of a Nagios plugin for monitoring the SpamAssassin
+daemon spamd.
diff -r e748f0452acb -r 988a42ed6d4b net/nagios-plugin-spamd/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/nagios-plugin-spamd/Makefile  Sun Oct 14 17:37:49 2007 +0000
@@ -0,0 +1,41 @@
+# $NetBSD: Makefile,v 1.1.1.1 2007/10/14 17:37:49 heinz Exp $
+#
+
+DISTNAME=      check_spamd-1.4.pl
+PKGNAME=       nagios-plugin-spamd-${DISTNAME:S/check_spamd-//:S/.pl//}
+CATEGORIES=    net mail
+MASTER_SITES=  ftp://jhweiss.de/pub/users/weiss/nagios/plugins/
+EXTRACT_SUFX=  # empty
+
+MAINTAINER=    heinz%NetBSD.org@localhost
+HOMEPAGE=      http://www.jhweiss.de/software/nagios.html
+COMMENT=       Nagios plugin for monitoring the SpamAssassin daemon
+
+PKG_DESTDIR_SUPPORT=   user-destdir
+
+DEPENDS+=              nagios-plugins-[0-9]*:../../net/nagios-plugins
+
+WRKSRC=                        ${WRKDIR}
+NO_BUILD=              yes
+
+USE_TOOLS+=            perl:run
+
+REPLACE_PERL+=         ${DISTNAME}
+
+PLUGIN_DIR=            ${PREFIX}/libexec/nagios
+
+SUBST_CLASSES+=                check_spamd
+SUBST_STAGE.check_spamd=post-configure
+SUBST_FILES.check_spamd=${DISTNAME}
+SUBST_SED.check_spamd= -e 's,/usr/local/nagios/libexec,${PLUGIN_DIR},'
+
+INSTALLATION_DIRS+=    ${PLUGIN_DIR}
+
+do-extract:
+       cp "${DISTDIR}/${DISTNAME}" "${WRKDIR}"
+
+do-install:
+       ${INSTALL_SCRIPT} "${WRKDIR}/${DISTNAME}" \
+               "${DESTDIR}${PLUGIN_DIR}/check_spamd"
+
+.include "../../mk/bsd.pkg.mk"
diff -r e748f0452acb -r 988a42ed6d4b net/nagios-plugin-spamd/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/nagios-plugin-spamd/PLIST     Sun Oct 14 17:37:49 2007 +0000
@@ -0,0 +1,2 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2007/10/14 17:37:49 heinz Exp $
+libexec/nagios/check_spamd
diff -r e748f0452acb -r 988a42ed6d4b net/nagios-plugin-spamd/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/nagios-plugin-spamd/distinfo  Sun Oct 14 17:37:49 2007 +0000
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1.1.1 2007/10/14 17:37:49 heinz Exp $
+
+SHA1 (check_spamd-1.4.pl) = 6cb0a7e3adb6230c404dbe6179c2c9233b126b93
+RMD160 (check_spamd-1.4.pl) = ebf415a25ccc6154a17bd146c56775bea37e9d09
+Size (check_spamd-1.4.pl) = 6215 bytes



Home | Main Index | Thread Index | Old Index