Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 2 Apr 2012 06:37:06 GMT
From:      Florian Unglaub <f.unglaub@googlemail.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/166572: New port: deskutils/devd-notifier - a simple daemon notifying the user about devd(8) events with libnotify
Message-ID:  <201204020637.q326b6fE041892@red.freebsd.org>
Resent-Message-ID: <201204020640.q326e9wI065075@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         166572
>Category:       ports
>Synopsis:       New port: deskutils/devd-notifier  -  a simple daemon notifying the user about devd(8) events with libnotify
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Mon Apr 02 06:40:09 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator:     Florian Unglaub
>Release:        9.0 RELEASE
>Organization:
>Environment:
>Description:
Port description:

devd-notifer  - a simple daemon notifying the user about devd(8) events
with libnotify

devd-notifier parses all devd(8) messages from /var/run/devd.pipe  with
a  configurable regular expression and notifies the user about creating
and destroying of device nodes.

>How-To-Repeat:

>Fix:


Patch attached with submission follows:

# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	Makefile
#	devd-notifier.shar
#	distinfo
#	pkg-descr
#
echo x - Makefile
sed 's/^X//' >Makefile << 'b67911656ef5d18c4ae36cb6741b7965'
X# New ports collection makefile for:   devd-notifier
X# Date created:                March 30, 2012
X# Whom:                        Florian Unglaub <f.unglaub@googlemail.com>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	devd-notifier
XPORTVERSION=	0.1
XCATEGORIES=	deskutils
XMASTER_SITES=	https://cloud.github.com/downloads/funglaub/devd-notifier/\
X							http://roladder.net/~flo/dist/
X
XMAINTAINER=	f.unglaub@googlemail.com
XCOMMENT= A daemon notifying the user about devd(8) events \
X	with libnotify
X
XLICENSE= BSD
XLICENSE_FILE=	${WRKSRC}/LICENSE
X
XLIB_DEPENDS= notify:${PORTSDIR}/devel/libnotify
X
XDISTFILES = ${PORTNAME}-${PORTVERSION}.tar.gz
X
XMAN1=		devd-notifier.1
XPLIST_FILES=	bin/devd-notifier
XMANCOMPRESSED = yes
X
X.include <bsd.port.options.mk>
X
Xpre-everything::
X	@${ECHO_MSG} "You can build devd-notifier with your own config.h using the DEVD-NOTIFIER_CONF knob:"
X	@${ECHO_MSG} "make DEVD-NOTIFIER_CONF=/path/to/devd-notifier/config.h install clean"
X
Xpost-extract:
X.if defined(DEVD-NOTIFIER_CONF)
X	@${ECHO_MSG} "creating config.h from ${DEVD-NOTIFIER_CONF}"
X	@${CP} ${DEVD-NOTIFIER_CONF} ${WRKSRC}/config.h
X.endif
X
X.include <bsd.port.mk>
b67911656ef5d18c4ae36cb6741b7965
echo x - devd-notifier.shar
sed 's/^X//' >devd-notifier.shar << '6a6b383d894ac0f6ccd8cfbaf75b49c7'
X# This is a shell archive.  Save it in a file, remove anything before
X# this line, and then unpack it by entering "sh file".  Note, it may
X# create directories; files and directories will be owned by you and
X# have default permissions.
X#
X# This archive contains:
X#
X#	Makefile
X#	devd-notifier.shar
X#	distinfo
X#	pkg-descr
X#
Xecho x - Makefile
Xsed 's/^X//' >Makefile << 'b67911656ef5d18c4ae36cb6741b7965'
XX# New ports collection makefile for:   devd-notifier
XX# Date created:                March 30, 2012
XX# Whom:                        Florian Unglaub <f.unglaub@googlemail.com>
XX#
XX# $FreeBSD$
XX#
XX
XXPORTNAME=	devd-notifier
XXPORTVERSION=	0.1
XXCATEGORIES=	deskutils
XXMASTER_SITES=	https://cloud.github.com/downloads/funglaub/devd-notifier/\
XX							http://roladder.net/~flo/dist/
XX
XXMAINTAINER=	f.unglaub@googlemail.com
XXCOMMENT= A daemon notifying the user about devd(8) events \
XX	with libnotify
XX
XXLICENSE= BSD
XXLICENSE_FILE=	${WRKSRC}/LICENSE
XX
XXLIB_DEPENDS= notify:${PORTSDIR}/devel/libnotify
XX
XXDISTFILES = ${PORTNAME}-${PORTVERSION}.tar.gz
XX
XXMAN1=		devd-notifier.1
XXPLIST_FILES=	bin/devd-notifier
XXMANCOMPRESSED = yes
XX
XX.include <bsd.port.options.mk>
XX
XXpre-everything::
XX	@${ECHO_MSG} "You can build devd-notifier with your own config.h using the DEVD-NOTIFIER_CONF knob:"
XX	@${ECHO_MSG} "make DEVD-NOTIFIER_CONF=/path/to/devd-notifier/config.h install clean"
XX
XXpost-extract:
XX.if defined(DEVD-NOTIFIER_CONF)
XX	@${ECHO_MSG} "creating config.h from ${DEVD-NOTIFIER_CONF}"
XX	@${CP} ${DEVD-NOTIFIER_CONF} ${WRKSRC}/config.h
XX.endif
XX
XX.include <bsd.port.mk>
Xb67911656ef5d18c4ae36cb6741b7965
Xecho x - devd-notifier.shar
Xsed 's/^X//' >devd-notifier.shar << '6a6b383d894ac0f6ccd8cfbaf75b49c7'
6a6b383d894ac0f6ccd8cfbaf75b49c7
echo x - distinfo
sed 's/^X//' >distinfo << '57677d168a5ec21bdf22c9501f075a8f'
XSHA256 (devd-notifier-0.1.tar.gz) = a19a294e40587da0a12a90a2cfb54d6c3f1ed145c7401fe2e58399003e8f3b5d
XSIZE (devd-notifier-0.1.tar.gz) = 3747
57677d168a5ec21bdf22c9501f075a8f
echo x - pkg-descr
sed 's/^X//' >pkg-descr << '7f9555c3c1089940396b503dd37f3979'
Xdevd-notifer  - a simple daemon notifying the user about devd(8) events
Xwith libnotify
X
Xdevd-notifier parses all devd(8) messages from /var/run/devd.pipe  with
Xa  configurable regular expression and notifies the user about creating
Xand destroying of device nodes.
X
XWWW: https://github.com/funglaub/devd-notifier
7f9555c3c1089940396b503dd37f3979
exit



>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201204020637.q326b6fE041892>