summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom William Payne <twp@gentoo.org>2007-01-18 23:33:10 +0000
committerTom William Payne <twp@gentoo.org>2007-01-18 23:33:10 +0000
commitb90c485df61b4db9f436e3e03f3242baf062bf20 (patch)
tree08fbc6e1978d535956952973fda73735b1d76269 /media-sound/slimserver
parentStable for HPPA (bug #147751). (diff)
downloadhistorical-b90c485df61b4db9f436e3e03f3242baf062bf20.tar.gz
historical-b90c485df61b4db9f436e3e03f3242baf062bf20.tar.bz2
historical-b90c485df61b4db9f436e3e03f3242baf062bf20.zip
Version bump.
Package-Manager: portage-2.1.2
Diffstat (limited to 'media-sound/slimserver')
-rw-r--r--media-sound/slimserver/ChangeLog9
-rw-r--r--media-sound/slimserver/Manifest16
-rw-r--r--media-sound/slimserver/files/digest-slimserver-6.5.13
-rw-r--r--media-sound/slimserver/slimserver-6.5.1.ebuild121
4 files changed, 143 insertions, 6 deletions
diff --git a/media-sound/slimserver/ChangeLog b/media-sound/slimserver/ChangeLog
index 223097315788..ea4c34b708c6 100644
--- a/media-sound/slimserver/ChangeLog
+++ b/media-sound/slimserver/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for media-sound/slimserver
-# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-sound/slimserver/ChangeLog,v 1.5 2006/12/26 23:13:44 twp Exp $
+# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/media-sound/slimserver/ChangeLog,v 1.6 2007/01/18 23:33:10 twp Exp $
+
+*slimserver-6.5.1 (18 Jan 2007)
+
+ 18 Jan 2007; <twp@gentoo.org> +slimserver-6.5.1.ebuild:
+ Version bump.
26 Dec 2006; <twp@gentoo.org> slimserver-6.5.0.ebuild:
Update dev-perl/DBD-mysql dependency. Bug #158866.
diff --git a/media-sound/slimserver/Manifest b/media-sound/slimserver/Manifest
index 14bba4a911e5..8fae431e29f7 100644
--- a/media-sound/slimserver/Manifest
+++ b/media-sound/slimserver/Manifest
@@ -15,14 +15,19 @@ MD5 9e34a15c2f3ebf6fad8f81267d13ad3c files/slimserver.init.d 1136
RMD160 e85f8142ed6dcb60c0027e2a660baab7531c80fc files/slimserver.init.d 1136
SHA256 97b087a0bf4b52e674c1a97de2645d1f8c059efa2cdecaef8517c7e309a68d3f files/slimserver.init.d 1136
DIST SlimServer_v6.5.0.no-cpan-arch.tar.gz 12320425 RMD160 eb45f03d9f07ad50a56f3ad2d1fa021ae2a86c93 SHA1 af29c105f540e6187e707f45cd07f5df878f9b1c SHA256 63bd2600efd70c4165b474dfab97e32085af80b155e99f944bbcc6937ed68ead
+DIST SlimServer_v6.5.1.no-cpan-arch.tar.gz 15271878 RMD160 dbff06e44282671d6c56c3d47a07e1be288dd44e SHA1 fab13f16a01e132d0c126cbd6bdbea9876edfb16 SHA256 8e3122472e94f491984351774925c943a257643044655c468fc11b6be18d6cb5
EBUILD slimserver-6.5.0.ebuild 3866 RMD160 efd99b6deaf66037478b9a6feea040c891706977 SHA1 f7d2b850aef515b938daee68a320fe82bd6585b0 SHA256 7d4d874c12a9cef664ad4fb757dbb0c10d8f797961efda8af78115253579fc35
MD5 cbad25e15f04107d267eaab7429ed0ae slimserver-6.5.0.ebuild 3866
RMD160 efd99b6deaf66037478b9a6feea040c891706977 slimserver-6.5.0.ebuild 3866
SHA256 7d4d874c12a9cef664ad4fb757dbb0c10d8f797961efda8af78115253579fc35 slimserver-6.5.0.ebuild 3866
-MISC ChangeLog 893 RMD160 9a0a665684f56bfc0bdf734ec9ddd66938903e36 SHA1 08b4a07d8bf81f31f8ccbace8991750e389347aa SHA256 1d5cb4198f5ce2337d7bf91b14cc691b98ed238b60f893f34d2a9970f4d06e31
-MD5 be3295c46839501e38bf11702b317af9 ChangeLog 893
-RMD160 9a0a665684f56bfc0bdf734ec9ddd66938903e36 ChangeLog 893
-SHA256 1d5cb4198f5ce2337d7bf91b14cc691b98ed238b60f893f34d2a9970f4d06e31 ChangeLog 893
+EBUILD slimserver-6.5.1.ebuild 3866 RMD160 4b619f8b0ea5ba54b66468fd4703f68de0a546eb SHA1 93a2f6c8c5c364e544ef6e920ea97f06e0a6170a SHA256 af786bfcb273d25bb967604a64c54796a46f77fbf2d322da634675acf2725aec
+MD5 e400d14bd312884ccfc4de29f966bcf4 slimserver-6.5.1.ebuild 3866
+RMD160 4b619f8b0ea5ba54b66468fd4703f68de0a546eb slimserver-6.5.1.ebuild 3866
+SHA256 af786bfcb273d25bb967604a64c54796a46f77fbf2d322da634675acf2725aec slimserver-6.5.1.ebuild 3866
+MISC ChangeLog 1001 RMD160 12a24bb3dfe19ae735b9968de71b24cd29d9d179 SHA1 d0575cedd93e3cd3057f276bb7340c6d91064751 SHA256 d88b612d36a34c46510b9ae63fb0788a7efc9c6e17a657be42e92a9d2ad3ddec
+MD5 de842409b3526411373416043802ce0a ChangeLog 1001
+RMD160 12a24bb3dfe19ae735b9968de71b24cd29d9d179 ChangeLog 1001
+SHA256 d88b612d36a34c46510b9ae63fb0788a7efc9c6e17a657be42e92a9d2ad3ddec ChangeLog 1001
MISC metadata.xml 244 RMD160 10fcb6c60f0d88174ff99fd391d0da3a75bdf89d SHA1 bee870f83b6bd74feedef2b9ff8da8f4820cc19f SHA256 c7b6d3457d4746a2b281c4ac598bcf78b8e1553d8d63f2523b4cd0f4eaa422b1
MD5 d992d28bec4a3bfd72b441145091a58e metadata.xml 244
RMD160 10fcb6c60f0d88174ff99fd391d0da3a75bdf89d metadata.xml 244
@@ -30,3 +35,6 @@ SHA256 c7b6d3457d4746a2b281c4ac598bcf78b8e1553d8d63f2523b4cd0f4eaa422b1 metadata
MD5 00469813651e01fce6849dfcce385376 files/digest-slimserver-6.5.0 298
RMD160 42246642e40d136b94fe13186daaccd13f671cbc files/digest-slimserver-6.5.0 298
SHA256 c29a00d1102e36e64f06aff87c0dd4d0fc883b6da9e3a05a95df8a7d09542532 files/digest-slimserver-6.5.0 298
+MD5 21992114bb1de9ede2246766c1ba9e4e files/digest-slimserver-6.5.1 298
+RMD160 581a1a6009adf65d6d6cb2d616e299750a657a6f files/digest-slimserver-6.5.1 298
+SHA256 ea3742f1b914510acdf40ad925a768e165117d4a1295579c60a58ee694e5cbfe files/digest-slimserver-6.5.1 298
diff --git a/media-sound/slimserver/files/digest-slimserver-6.5.1 b/media-sound/slimserver/files/digest-slimserver-6.5.1
new file mode 100644
index 000000000000..370b58b05f18
--- /dev/null
+++ b/media-sound/slimserver/files/digest-slimserver-6.5.1
@@ -0,0 +1,3 @@
+MD5 69298ca0a214224ac2a79a522e26dd3c SlimServer_v6.5.1.no-cpan-arch.tar.gz 15271878
+RMD160 dbff06e44282671d6c56c3d47a07e1be288dd44e SlimServer_v6.5.1.no-cpan-arch.tar.gz 15271878
+SHA256 8e3122472e94f491984351774925c943a257643044655c468fc11b6be18d6cb5 SlimServer_v6.5.1.no-cpan-arch.tar.gz 15271878
diff --git a/media-sound/slimserver/slimserver-6.5.1.ebuild b/media-sound/slimserver/slimserver-6.5.1.ebuild
new file mode 100644
index 000000000000..4708a35e9504
--- /dev/null
+++ b/media-sound/slimserver/slimserver-6.5.1.ebuild
@@ -0,0 +1,121 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-sound/slimserver/slimserver-6.5.1.ebuild,v 1.1 2007/01/18 23:33:10 twp Exp $
+
+inherit eutils
+
+MY_P=SlimServer_v${PV}
+DESCRIPTION="Slim Devices' SlimServer"
+HOMEPAGE="http://www.slimdevices.com/slimserver/"
+SRC_URI="http://www.slimdevices.com/downloads/${MY_P}/${MY_P}.no-cpan-arch.tar.gz"
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="aac alac encode ffmpeg flac musepack ogg shorten"
+DEPEND="sys-apps/findutils"
+RDEPEND="
+ >=dev-lang/perl-5.8.3
+ >=virtual/mysql-5.0
+ >=dev-perl/Compress-Zlib-1.41
+ >=dev-perl/DBD-mysql-3.0007
+ >=dev-perl/DBI-1.50
+ >=dev-perl/Digest-SHA1-2.11
+ dev-perl/GD
+ >=dev-perl/HTML-Parser-3.48
+ >=dev-perl/Template-Toolkit-2.14
+ >=dev-perl/XML-Parser-2.34
+ >=dev-perl/YAML-Syck-0.64
+ >=net-misc/mDNSResponder-107
+ >=virtual/perl-Time-HiRes-1.86
+ aac? ( media-libs/faad2 )
+ alac? ( media-sound/alac_decoder )
+ encode? ( media-sound/lame )
+ ffmpeg? ( media-video/ffmpeg )
+ flac? ( media-libs/flac )
+ musepack? ( media-sound/musepack-tools )
+ ogg? ( media-sound/sox )
+ shorten? ( media-sound/shorten )
+ "
+S="${WORKDIR}/${MY_P}"
+
+pkg_setup() {
+ if use ogg; then
+ if ! built_with_use media-sound/sox ogg; then
+ eerror "media-sound/sox not built with USE=ogg"
+ die "media-sound/sox not built with USE=ogg"
+ fi
+ fi
+ enewgroup slimserver || die
+ enewuser slimserver -1 -1 /opt/slimserver slimserver || die
+}
+
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+ epatch ${FILESDIR}/slimserver-bootstrap-gentoo.patch || die
+ epatch ${FILESDIR}/slimserver-mDNSResponderPosix-107.patch || die
+ rm Bin/build-perl-modules.pl
+ rm CPAN/YAML/Syck.pm
+ rm MySQL/errmsg.{sys,txt}
+ #rm -rf MySQL
+}
+
+src_install() {
+ # copy all files
+ dodir /opt/slimserver
+ cp -r * ${D}/opt/slimserver
+ # initialize preferences file
+ dodir /etc
+ touch ${D}/etc/slimserver.prefs
+ #password=$(gawk '$1 == "dbpassword:" { print $2 }' ${R}/etc/slimserver.prefs)
+ #[[ -z "${password}" || "${password}" == "''" ]] \
+ # && password="${RANDOM}.${RANDOM}.${RANDOM}.${RANDOM}"
+ #cat <<EOF > ${D}/etc/slimserver.prefs
+ #---
+ #dbsource: dbi:mysql:database=slimserver
+ #dbusername: slimserver
+ #dbpassword: ${password}
+ #EOF
+ fowners slimserver:slimserver /etc/slimserver.prefs
+ # create symbolic links to local mysql files
+ dosym ../../../usr/sbin/mysqld /opt/slimserver/Bin/mysqld
+ dosym ../../../usr/share/mysql/english/errmsg.sys \
+ /opt/slimserver/MySQL/errmsg.sys
+ dosym ../../../usr/share/mysql/errmsg.txt \
+ /opt/slimserver/MySQL/errmsg.txt
+ # create symbolic link to local mDNSResponderPosix
+ dosym ../../../usr/sbin/mDNSResponderPosix \
+ /opt/slimserver/Bin/mDNSResponderPosix
+ # install init scripts
+ newconfd ${FILESDIR}/slimserver.conf.d slimserver
+ newinitd ${FILESDIR}/slimserver.init.d slimserver
+ # initialize /var/{cache,run}
+ keepdir /var/{cache,run}/slimserver
+ fowners slimserver:slimserver /var/{cache,run}/slimserver
+ # initialize /var/log
+ dodir /var/log
+ touch ${D}/var/log/slimserver
+ fowners slimserver:slimserver /var/log/slimserver
+}
+
+pkg_postinst() {
+ #einfo "To create the SlimServer database, run"
+ #einfo "\temerge --config =${CATEGORY}/${PF}"
+ einfo "To start SlimServer, run"
+ einfo "\t/etc/init.d/slimserver start"
+ einfo "To start SlimServer automatically on boot, run:"
+ einfo "\trc-update add slimserver default"
+ httpport=$(gawk '$1 == "httpport:" { print $2 }' ${R}/etc/slimserver.prefs)
+ einfo "To configure SlimServer, browse to:"
+ einfo "\thttp://localhost:${httpport:-9000}/"
+}
+
+#pkg_config() {
+# einfo "Enter your mysql root password:"
+# dbpassword=$(gawk '$1 == "dbpassword:" { print $2 }' ${R}/etc/slimserver.prefs)
+# [[ "$password" == "''" ]] && dbpassword=
+# mysql -u root -p <<EOF
+#create database slimserver;
+#grant all on slimserver.* to slimserver identified by '${dbpassword}';
+#EOF
+#}