Import of pkgsrc-2013Q2

This commit is contained in:
2013-09-26 17:14:40 +02:00
commit 785076ae39
74991 changed files with 4380255 additions and 0 deletions

2
sysutils/pluged/DESCR Normal file
View File

@@ -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.

29
sysutils/pluged/Makefile Normal file
View File

@@ -0,0 +1,29 @@
# $NetBSD: Makefile,v 1.2 2012/10/23 19:51:20 asau 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)
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"

4
sysutils/pluged/PLIST Normal file
View File

@@ -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

6
sysutils/pluged/distinfo Normal file
View File

@@ -0,0 +1,6 @@
$NetBSD: distinfo,v 1.2 2011/01/10 11:40:17 obache Exp $
SHA1 (pluged.tbz) = c723dcb1645903a5b4f126e83e779dcb9d987f05
RMD160 (pluged.tbz) = 741835591ffac0e510bf80b31bca4e4e048bca74
Size (pluged.tbz) = 5091 bytes
SHA1 (patch-aa) = da8fd857bb6673d2360b383e8c5464a4b7f92d1e

View File

@@ -0,0 +1,20 @@
$NetBSD: patch-aa,v 1.1 2011/01/10 11:40:17 obache Exp $
* The USE headers in DragonFly are located in bus/usb.
--- pluged.h.orig 2005-08-01 13:38:54.000000000 +0000
+++ pluged.h
@@ -1,8 +1,13 @@
#ifndef __pluged_dat
#define __pluged_dat
+#ifdef __DragonFly__
+#include <bus/usb/usb.h>
+#include <bus/usb/usbhid.h>
+#else
#include <dev/usb/usb.h>
#include <dev/usb/usbhid.h>
+#endif
#include <sys/queue.h>
#include <regex.h>