summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormanu <manu@pkgsrc.org>2010-09-08 10:20:15 +0000
committermanu <manu@pkgsrc.org>2010-09-08 10:20:15 +0000
commite6dcd93d1db35f2d7c2ba39f788d07cfdbc48858 (patch)
tree468f68970c15dd1efd2de12a9bbf5a8b3cb6fbb7
parente84a557f1f2c0552642aef8166c482b6855b7107 (diff)
downloadpkgsrc-e6dcd93d1db35f2d7c2ba39f788d07cfdbc48858.tar.gz
It's an event notifier for USB devices only actually. It can attach
some commands (like mount) when you plug or unplug a device.
-rw-r--r--sysutils/pluged/DESCR2
-rw-r--r--sysutils/pluged/Makefile31
-rw-r--r--sysutils/pluged/PLIST4
-rw-r--r--sysutils/pluged/distinfo5
4 files changed, 42 insertions, 0 deletions
diff --git a/sysutils/pluged/DESCR b/sysutils/pluged/DESCR
new file mode 100644
index 00000000000..e47b5f0f3d0
--- /dev/null
+++ b/sysutils/pluged/DESCR
@@ -0,0 +1,2 @@
+It's an event notifier for USB devices only actually. It can attach
+some commands (like mount) when you plug or unplug a device.
diff --git a/sysutils/pluged/Makefile b/sysutils/pluged/Makefile
new file mode 100644
index 00000000000..c3981fee5e2
--- /dev/null
+++ b/sysutils/pluged/Makefile
@@ -0,0 +1,31 @@
+# $NetBSD: Makefile,v 1.1.1.1 2010/09/08 10:20:15 manu Exp $
+#
+
+PKGNAME= pluged-0.1
+DISTNAME= pluged
+CATEGORIES= sysutils
+MASTER_SITES= http://plug.gnux.info/
+EXTRACT_SUFX= .tbz
+
+MAINTAINER= pkgsrc-users@NetBSD.org
+HOMEPAGE= http://plug.gnux.info/
+COMMENT= USB plug/unplug monitoring daemon
+#LICENSE= # TODO: (see mk/license.mk)
+
+PKG_DESTDIR_SUPPORT= user-destdir
+
+BUILDLINK_TRANSFORM= rm:-Werror
+
+EGDIR= ${PREFIX}/share/examples/pluged
+RCDDIR= ${PREFIX}/share/examples/rc.d
+CONF_FILES+= ${EGDIR}/pluged.conf ${PREFIX}/etc/pluged.conf
+
+do-install:
+ ${INSTALL_PROGRAM_DIR} ${DESTDIR}/${PREFIX}/sbin
+ ${INSTALL_DATA_DIR} ${DESTDIR}/${EGDIR}
+ ${INSTALL_DATA_DIR} ${DESTDIR}/${RCDDIR}
+ ${INSTALL_PROGRAM} ${WRKSRC}/pluged ${DESTDIR}/${PREFIX}/sbin/pluged
+ ${INSTALL_DATA} ${WRKSRC}/pluged.conf ${DESTDIR}/${EGDIR}/pluged.conf
+ ${INSTALL_DATA} ${WRKSRC}/rc.d/pluged ${DESTDIR}/${RCDDIR}/pluged
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/sysutils/pluged/PLIST b/sysutils/pluged/PLIST
new file mode 100644
index 00000000000..26c1a33e5a6
--- /dev/null
+++ b/sysutils/pluged/PLIST
@@ -0,0 +1,4 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2010/09/08 10:20:15 manu Exp $
+sbin/pluged
+share/examples/pluged/pluged.conf
+share/examples/rc.d/pluged
diff --git a/sysutils/pluged/distinfo b/sysutils/pluged/distinfo
new file mode 100644
index 00000000000..10e52fbd2a3
--- /dev/null
+++ b/sysutils/pluged/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1.1.1 2010/09/08 10:20:15 manu Exp $
+
+SHA1 (pluged.tbz) = c723dcb1645903a5b4f126e83e779dcb9d987f05
+RMD160 (pluged.tbz) = 741835591ffac0e510bf80b31bca4e4e048bca74
+Size (pluged.tbz) = 5091 bytes