From owner-svn-ports-all@FreeBSD.ORG Thu Jun 4 17:58:15 2015 Return-Path: Delivered-To: svn-ports-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id BBEF86BE; Thu, 4 Jun 2015 17:58:15 +0000 (UTC) (envelope-from garga@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 8FE7316C8; Thu, 4 Jun 2015 17:58:15 +0000 (UTC) (envelope-from garga@FreeBSD.org) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.9/8.14.9) with ESMTP id t54HwFne019727; Thu, 4 Jun 2015 17:58:15 GMT (envelope-from garga@FreeBSD.org) Received: (from garga@localhost) by svn.freebsd.org (8.14.9/8.14.9/Submit) id t54HwEqV019722; Thu, 4 Jun 2015 17:58:14 GMT (envelope-from garga@FreeBSD.org) Message-Id: <201506041758.t54HwEqV019722@svn.freebsd.org> X-Authentication-Warning: svn.freebsd.org: garga set sender to garga@FreeBSD.org using -f From: Renato Botelho Date: Thu, 4 Jun 2015 17:58:14 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r388539 - in head/audio/beep: . files X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 04 Jun 2015 17:58:15 -0000 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 [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