Index: head/audio/beep/Makefile =================================================================== --- head/audio/beep/Makefile (revision 388538) +++ head/audio/beep/Makefile (revision 388539) @@ -1,24 +1,25 @@ # Created by: Tyler Spivey # $FreeBSD$ PORTNAME= beep PORTVERSION= 1.0 +PORTREVISION= 1 CATEGORIES= audio MASTER_SITES= LOCAL/garga/${PORTNAME} MAINTAINER= garga@FreeBSD.org COMMENT= Beeps a certain duration and pitch out of the PC Speaker LICENSE= BSD4CLAUSE WRKSRC= ${WRKDIR}/${PORTNAME} ONLY_FOR_ARCHS= i386 amd64 pc98 PLIST_FILES= bin/beep man/man1/beep.1.gz post-patch: ${REINPLACE_CMD} 's|machine/speaker\.h|dev/speaker/speaker.h|' \ ${WRKSRC}/beep.c .include Index: head/audio/beep/files/patch-Makefile =================================================================== --- head/audio/beep/files/patch-Makefile (nonexistent) +++ head/audio/beep/files/patch-Makefile (revision 388539) @@ -0,0 +1,13 @@ +--- Makefile.orig 2015-06-04 12:54:31.348048000 -0500 ++++ Makefile 2015-06-04 12:54:49.272840000 -0500 +@@ -1,5 +1,10 @@ + # $Id: Makefile,v 1.1.1.1 2002/06/09 13:26:27 andrew Exp $ + ++BINOWN!= /usr/bin/id -n -u ++BINGRP!= /usr/bin/id -n -g ++SHAREOWN= ${BINOWN} ++SHAREGRP= ${BINGRP} ++ + PROG= beep + SRCS= ${PROG}.c ${PROG}.h + LDADD= Property changes on: head/audio/beep/files/patch-Makefile ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/audio/beep/pkg-message =================================================================== --- head/audio/beep/pkg-message (nonexistent) +++ head/audio/beep/pkg-message (revision 388539) @@ -0,0 +1,29 @@ +Speaker sound Support: +====================== + +For support speaker sound four user needs to be in the operator group and needs +read and write permissions to the /dev/speaker device. + +Load kernel modul: + +# kldload speaker + +Add a user to a group operator's: + +% pw groupmod operator -m jerry + +Uncomment the following lines in the file /etc/devfs.rules (create if it doesn't +exist): + +# Allow members of group operator to cat things to the speaker + +[speaker=10] +add path 'speaker' mode 0660 group operator + +To load these new rule add the following to /etc/rc.conf: + +devfs_speaker_ruleset="speaker" + +Then restart devfs to load the new rules: + +% /etc/rc.d/devfs restart Property changes on: head/audio/beep/pkg-message ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property