Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 4 Jun 2015 17:58:14 +0000 (UTC)
From:      Renato Botelho <garga@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r388539 - in head/audio/beep: . files
Message-ID:  <201506041758.t54HwEqV019722@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: garga
Date: Thu Jun  4 17:58:14 2015
New Revision: 388539
URL: https://svnweb.freebsd.org/changeset/ports/388539

Log:
  - Add pkg-message [1]
  - Fix build with non-root
  - Bump PORTREVISION
  
  PR:		200642 [1]
  Submitted by:	Andrey Fesenko <andrey@bsdnir.info> [1]

Added:
  head/audio/beep/files/
  head/audio/beep/files/patch-Makefile   (contents, props changed)
  head/audio/beep/pkg-message   (contents, props changed)
Modified:
  head/audio/beep/Makefile

Modified: head/audio/beep/Makefile
==============================================================================
--- head/audio/beep/Makefile	Thu Jun  4 17:08:25 2015	(r388538)
+++ head/audio/beep/Makefile	Thu Jun  4 17:58:14 2015	(r388539)
@@ -3,6 +3,7 @@
 
 PORTNAME=	beep
 PORTVERSION=	1.0
+PORTREVISION=	1
 CATEGORIES=	audio
 MASTER_SITES=	LOCAL/garga/${PORTNAME}
 

Added: head/audio/beep/files/patch-Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/audio/beep/files/patch-Makefile	Thu Jun  4 17:58:14 2015	(r388539)
@@ -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=

Added: head/audio/beep/pkg-message
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/audio/beep/pkg-message	Thu Jun  4 17:58:14 2015	(r388539)
@@ -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



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