Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 10 Aug 2004 22:32:50 +0200 (CEST)
From:      Emanuel Haupt <ehaupt@critical.ch>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/70277: New port: audio/yell (A command line speaker bell using machine/speaker.h)
Message-ID:  <200408102032.i7AKWokt051360@eha.no-ip.com>
Resent-Message-ID: <200408102040.i7AKeSjc065745@freefall.freebsd.org>

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

>Number:         70277
>Category:       ports
>Synopsis:       New port: audio/yell (A command line speaker bell using machine/speaker.h)
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Tue Aug 10 20:40:28 GMT 2004
>Closed-Date:
>Last-Modified:
>Originator:     Charlie &
>Release:        FreeBSD 5.2.1-RELEASE-p9 i386
>Organization:
Emanuel Haupt <ehaupt@critical.ch>
                http://www.critical.ch
>Environment:
System: FreeBSD beaver.critical.ch 5.2.1-RELEASE-p9 FreeBSD 5.2.1-RELEASE-p9 #0: Tue Jul 6 14:59:22 CEST 2004 root@beaver.critical.ch:/usr/obj/usr/src/sys/BEAVER i386


	
>Description:
New port: audio/yell

Yell is a little command line utility playing a short tune on your
speaker device. I mainly use it to yell the "sysop" on a remote 
machine. It could also be used as a notification for finished tasks 
(eg. make buildworld && yell).

# 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:
#
#	yell
#	yell/pkg-descr
#	yell/distinfo
#	yell/Makefile
#	yell/pkg-message
#
echo c - yell
mkdir -p yell > /dev/null 2>&1
echo x - yell/pkg-descr
sed 's/^X//' >yell/pkg-descr << 'END-of-yell/pkg-descr'
XYell is a little command line utility playing a short tune on your
Xspeaker device. I mainly use it to yell the "sysop" on a remote 
Xmachine. It could also be used as a notification for finished tasks 
X(eg. make buildworld && yell).
X
XWWW: http://www.critical.ch/yell
X
X- ehaupt
Xehaupt@critical.ch
END-of-yell/pkg-descr
echo x - yell/distinfo
sed 's/^X//' >yell/distinfo << 'END-of-yell/distinfo'
XMD5 (yell-1.0.tar.gz) = 63b682dd3e34e953197ef2294ad80a5f
XSIZE (yell-1.0.tar.gz) = 914
END-of-yell/distinfo
echo x - yell/Makefile
sed 's/^X//' >yell/Makefile << 'END-of-yell/Makefile'
X# New ports collection makefile for:   yell
X# Date created:		10 August 2004
X# Whom:			Emanuel Haupt <ehaupt@critical.ch>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	yell
XPORTVERSION=	1.0
XCATEGORIES=	audio
XMASTER_SITES=	http://www.critical.ch/yell/
X
XMAINTAINER=	ehaupt@critical.ch
XCOMMENT=	A command line speaker bell using machine/speaker.h
X
XPLIST_FILES=	bin/yell
X
Xpre-everything::
X.if !defined(WITH_SUID)
X	@${ECHO_CMD} ""
X	@${ECHO_CMD} "You can define WITH_SUID if you want yell to be installed with"
X	@${ECHO_CMD} "the sticky bit (mode 4110)"
X	@${ECHO_CMD} ""
X.endif
X
Xdo-build:
X	${CC} ${WRKSRC}/yell.c ${CFLAGS} -o ${WRKSRC}/${PORTNAME}
X
Xdo-install:
X.if defined(WITH_SUID)
X	${INSTALL_PROGRAM} -m 4110 ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
X.else
X	${INSTALL_PROGRAM} -m 0100 ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
X.endif
X
Xpost-install:
X	@${CAT} ${PKGMESSAGE}
X
X.include <bsd.port.mk>
END-of-yell/Makefile
echo x - yell/pkg-message
sed 's/^X//' >yell/pkg-message << 'END-of-yell/pkg-message'
X*******************************************************************************
Xyell is now installed. Make sure that speaker.ko is loaded on your system. 
XUnder FreeBSD 5.x you can put atspeaker_load="YES" in your /boot/loader.conf. 
XYou can manually load speaker.ko by typing "kldload speaker" or recompile your 
Xkernel with "device speaker".
X*******************************************************************************
END-of-yell/pkg-message
exit


>How-To-Repeat:
	
>Fix:

	


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



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