- Add pkg-message [1]
- Fix build with non-root - Bump PORTREVISION PR: 200642 [1] Submitted by: Andrey Fesenko <andrey@bsdnir.info> [1]
This commit is contained in:
parent
da6da0a0be
commit
aa5e6ba371
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=388539
@ -3,6 +3,7 @@
|
||||
|
||||
PORTNAME= beep
|
||||
PORTVERSION= 1.0
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= audio
|
||||
MASTER_SITES= LOCAL/garga/${PORTNAME}
|
||||
|
||||
|
13
audio/beep/files/patch-Makefile
Normal file
13
audio/beep/files/patch-Makefile
Normal file
@ -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=
|
29
audio/beep/pkg-message
Normal file
29
audio/beep/pkg-message
Normal file
@ -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
|
Loading…
Reference in New Issue
Block a user