summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Armak <danarmak@gentoo.org>2003-05-19 12:32:32 +0000
committerDan Armak <danarmak@gentoo.org>2003-05-19 12:32:32 +0000
commite7824e658297a8c3136331db9b2429018148c92c (patch)
tree8711cb4549ac69deba33f49431ebfffb7214fb21 /kde-base
parentunmask kde 3.1.2 - released (diff)
downloadgentoo-2-e7824e658297a8c3136331db9b2429018148c92c.tar.gz
gentoo-2-e7824e658297a8c3136331db9b2429018148c92c.tar.bz2
gentoo-2-e7824e658297a8c3136331db9b2429018148c92c.zip
fix url
Diffstat (limited to 'kde-base')
-rw-r--r--kde-base/arts/Manifest2
-rw-r--r--kde-base/arts/arts-1.1.2.ebuild20
2 files changed, 14 insertions, 8 deletions
diff --git a/kde-base/arts/Manifest b/kde-base/arts/Manifest
index b29ec640c9f9..17726cd77dd2 100644
--- a/kde-base/arts/Manifest
+++ b/kde-base/arts/Manifest
@@ -4,7 +4,7 @@ MD5 c7668a49b3a72ec613e2cd4c4474e014 arts-1.1.1.ebuild 1874
MD5 c842795f8f876b607244297f69eb8f0f arts-1.1.0-r1.ebuild 2003
MD5 44c03c421acfe509548cc3950cd41a02 arts-1.1.0.ebuild 1203
MD5 e3ca52900ec6a6d7c3646dfac9e028a8 arts-1.0.5b.ebuild 1438
-MD5 c84c0e338e55cfcb52b4c3f8f90698a7 arts-1.1.2.ebuild 2441
+MD5 06a0d91b430f5489c2aaf18b14e8b9e6 arts-1.1.2.ebuild 2750
MD5 f56ce2f3f4e30d3c90e4fa9c3f68cd29 ChangeLog 5997
MD5 9ffc978b18c6e1ad49a0c7eec49074f6 files/optional-deps.diff 3154
MD5 c88ab1b439285e5474a280faa6a12c83 files/digest-arts-1.1.0 69
diff --git a/kde-base/arts/arts-1.1.2.ebuild b/kde-base/arts/arts-1.1.2.ebuild
index 1adb7e253eef..611d17c26f00 100644
--- a/kde-base/arts/arts-1.1.2.ebuild
+++ b/kde-base/arts/arts-1.1.2.ebuild
@@ -1,10 +1,10 @@
# Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/kde-base/arts/arts-1.1.2.ebuild,v 1.3 2003/05/08 19:44:27 danarmak Exp $
+# $Header: /var/cvsroot/gentoo-x86/kde-base/arts/arts-1.1.2.ebuild,v 1.4 2003/05/19 12:32:21 danarmak Exp $
inherit kde-base flag-o-matic
-IUSE="alsa oggvorbis" # mad has no use flag (yet?)
-SRC_URI="mirror://kde/stable/3.1.1/src/${P}.tar.bz2"
+IUSE="alsa oggvorbis artswrappersuid" # mad has no use flag (yet?)
+SRC_URI="mirror://kde/stable/3.1.2/src/${P}.tar.bz2"
KEYWORDS="x86 ~ppc ~sparc ~alpha"
HOMEPAGE="http://multimedia.kde.org"
DESCRIPTION="aRts, the KDE sound (and all-around multimedia) server/output manager"
@@ -58,14 +58,20 @@ LDPATH=${PREFIX}/lib
CONFIG_PROTECT=${PREFIX}/share/config" > ${D}/etc/env.d/49kdepaths-3.1.1 # number goes down with version upgrade
echo "KDEDIR=$PREFIX" > ${D}/etc/env.d/56kdedir-3.1.1 # number goes up with version upgrade
+
+ # used for realtime priority, but off by default as it is a security hazard
+ use artswrappersuid && chmod +s ${D}/${PREFIX}/bin/artswrapper
}
pkg_postinst() {
-einfo "Run chmod +s ${PREFIX}/bin/artswrapper to let artsd use realtime priority"
-einfo "and so avoid possible skips in sound. However, on untrusted systems this"
-einfo "creates the possibility of a DoS attack that'll use 100% cpu at realtime"
-einfo "priority, and so is off by default. See bug #7883."
+if [ -z "`use artswrappersuid`" ]; then
+ einfo "Run chmod +s ${PREFIX}/bin/artswrapper to let artsd use realtime priority"
+ einfo "and so avoid possible skips in sound. However, on untrusted systems this"
+ einfo "creates the possibility of a DoS attack that'll use 100% cpu at realtime"
+ einfo "priority, and so is off by default. See bug #7883."
+ einfo "Or, you can set the local artswrappersuid USE flag to make the ebuild do this."
+fi
}