diff options
author | Christoph Mende <angelos@gentoo.org> | 2011-06-26 21:34:22 +0200 |
---|---|---|
committer | Christoph Mende <angelos@gentoo.org> | 2011-06-26 21:34:22 +0200 |
commit | a9b3b43b20b0fc29807ba6dc91c04764673c0d9f (patch) | |
tree | 37e6430a05f35054685a6e1bf1c5be23eb61bc4a | |
parent | oss: Fix installation on systems without multilib (diff) | |
download | angelos-a9b3b43b20b0fc29807ba6dc91c04764673c0d9f.tar.gz angelos-a9b3b43b20b0fc29807ba6dc91c04764673c0d9f.tar.bz2 angelos-a9b3b43b20b0fc29807ba6dc91c04764673c0d9f.zip |
oss: Add init script
(Portage version: 2.2.0_alpha41/git/Linux x86_64, signed Manifest commit with key 84F20B43)
-rw-r--r-- | media-sound/oss/Manifest | 9 | ||||
-rw-r--r-- | media-sound/oss/files/oss.init | 17 | ||||
-rw-r--r-- | media-sound/oss/oss-4.2.2004.ebuild | 3 |
3 files changed, 24 insertions, 5 deletions
diff --git a/media-sound/oss/Manifest b/media-sound/oss/Manifest index 8112a77..0434164 100644 --- a/media-sound/oss/Manifest +++ b/media-sound/oss/Manifest @@ -1,13 +1,14 @@ -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 +AUX oss.init 287 RMD160 b125624500a6fc9c9e250777e90104c50d4c2504 SHA1 793fa41dac4c16b02d203f1dd206e6500269da39 SHA256 5aa3a20185641ba7054765df36b00dd378f551adddd2912cfd0c1e5ecde787d1 DIST oss-v4.2-build2004-src-gpl.tar.bz2 1790085 RMD160 7b62cb96bf363d1c0a4018e21b0737ec5ee3c5b5 SHA1 75c3ff1cf3e3bd5b351b1f778100387f998c7f3a SHA256 6a4ac364c6ed022467b23a9db137857afa9f8e9706a4bdbcb85b98efcde3f4a0 -EBUILD oss-4.2.2004.ebuild 1607 RMD160 23c1494f678c2ca5d3c7d80117240f23810a08c7 SHA1 f9450c41fe87cd338b8bd2a1c698a8c384122969 SHA256 4e8dac15c62caed55fe109f0805769a13739b3096acc6da066c6d0769641cdb3 +EBUILD oss-4.2.2004.ebuild 1632 RMD160 666f2e65a7f6dccc46edfe891fdeaced624b5739 SHA1 cead6caaf52accb1676eed4d35d5bb4495d37c51 SHA256 c7fc6561e3476fb5362fd33f7322381269194c476b3c759a84963c92e4bfcfeb MISC metadata.xml 255 RMD160 cd8d8cec82e20fbae3ec50adc77e3a847bf1cf59 SHA1 5f93424a5e9854f99452b62eb10fff6f31dd797a SHA256 d51928368dff5a07c452c50b7f1a5866f6ef9fbf578e372ef378363259843f5e -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.17 (GNU/Linux) -iF4EAREIAAYFAk4HiHwACgkQmWq1bYTyC0O4DAD/XWgOv1EF/WQG/8BtsElJ8Rgx -nQfthg2nSdmUtEWj/00BALhenLV/PehT/zrA99d9C3S4WOpAgMoCFthgWkKB8sJI -=fJl/ +iF4EAREIAAYFAk4Hib4ACgkQmWq1bYTyC0NV6QD+PqCW8uE++9XnXJExCrMQ7vnv +XZLcVZAYUZg1+ZOgBYkA/jzIQLSWCfkRUNy9GkHNLXUUwuvmUMQ6U56mb+ZRszYR +=ct8S -----END PGP SIGNATURE----- diff --git a/media-sound/oss/files/oss.init b/media-sound/oss/files/oss.init new file mode 100644 index 0000000..d8e546c --- /dev/null +++ b/media-sound/oss/files/oss.init @@ -0,0 +1,17 @@ +#!/sbin/runscript +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +start() { + ebegin "Starting OSS" + /usr/sbin/soundon + eend $? +} + +stop() { + ebegin "Stopping OSS" + /usr/sbin/savemixer + /usr/sbin/soundoff + eend $? +} diff --git a/media-sound/oss/oss-4.2.2004.ebuild b/media-sound/oss/oss-4.2.2004.ebuild index 663ca50..0c40b86 100644 --- a/media-sound/oss/oss-4.2.2004.ebuild +++ b/media-sound/oss/oss-4.2.2004.ebuild @@ -29,7 +29,6 @@ BUILD_DIR=${WORKDIR}/${PN}-build # - (automagic?) gtk+ ossxmix # - don't install via cp? (see FreeBSD) # - check libdir paths -# - init script # - kernel checks (-> OSS emulation)? src_prepare() { @@ -73,4 +72,6 @@ src_install() { sed -e "s:lib:$(get_libdir):" prototype/etc/oss.conf || die cp -r prototype/* "${ED}" || die dodoc RELNOTES.txt + + doinitd "${FILESDIR}"/${PN}.init ${PN} } |