perfinion    15/08/05 10:03:58

  Modified:             metadata.xml ChangeLog
  Added:                subsonic-bin-5.2.1-r1.ebuild
  Removed:              subsonic-bin-5.2.1.ebuild
  Log:
  revbump, add selinux policy and adjust init script to match
  
  (Portage version: 2.2.20/cvs/Linux x86_64, signed Manifest commit with key 
0x7EF137EC935B0EAF)

Revision  Changes    Path
1.3                  media-sound/subsonic-bin/metadata.xml

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-sound/subsonic-bin/metadata.xml?rev=1.3&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-sound/subsonic-bin/metadata.xml?rev=1.3&content-type=text/plain
diff : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-sound/subsonic-bin/metadata.xml?r1=1.2&r2=1.3

Index: metadata.xml
===================================================================
RCS file: /var/cvsroot/gentoo-x86/media-sound/subsonic-bin/metadata.xml,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- metadata.xml        15 Jun 2015 15:36:14 -0000      1.2
+++ metadata.xml        5 Aug 2015 10:03:57 -0000       1.3
@@ -3,6 +3,7 @@
 <pkgmetadata>
        <maintainer>
                <email>[email protected]</email>
+               <name>Jason Zaman</name>
        </maintainer>
        <upstream>
                <remote-id type="sourceforge">subsonic</remote-id>



1.2                  media-sound/subsonic-bin/ChangeLog

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-sound/subsonic-bin/ChangeLog?rev=1.2&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-sound/subsonic-bin/ChangeLog?rev=1.2&content-type=text/plain
diff : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-sound/subsonic-bin/ChangeLog?r1=1.1&r2=1.2

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/media-sound/subsonic-bin/ChangeLog,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- ChangeLog   11 Apr 2015 19:51:07 -0000      1.1
+++ ChangeLog   5 Aug 2015 10:03:57 -0000       1.2
@@ -1,10 +1,15 @@
 # ChangeLog for media-sound/subsonic-bin
 # Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-sound/subsonic-bin/ChangeLog,v 1.1 
2015/04/11 19:51:07 perfinion Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-sound/subsonic-bin/ChangeLog,v 1.2 
2015/08/05 10:03:57 perfinion Exp $
+
+*subsonic-bin-5.2.1-r1 (05 Aug 2015)
+
+  05 Aug 2015; Jason Zaman <[email protected]> 
+subsonic-bin-5.2.1-r1.ebuild,
+  -subsonic-bin-5.2.1.ebuild, files/subsonic.initd, metadata.xml:
+  revbump, add selinux policy and adjust init script to match
 
 *subsonic-bin-5.2.1 (11 Apr 2015)
 
   11 Apr 2015; <[email protected]> +subsonic-bin-5.2.1.ebuild,
   +files/subsonic.confd, +files/subsonic.initd, +metadata.xml:
   Initial Commit, modified from hnaparst overlay
-



1.1                  media-sound/subsonic-bin/subsonic-bin-5.2.1-r1.ebuild

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-sound/subsonic-bin/subsonic-bin-5.2.1-r1.ebuild?rev=1.1&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-sound/subsonic-bin/subsonic-bin-5.2.1-r1.ebuild?rev=1.1&content-type=text/plain

Index: subsonic-bin-5.2.1-r1.ebuild
===================================================================
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: 
/var/cvsroot/gentoo-x86/media-sound/subsonic-bin/subsonic-bin-5.2.1-r1.ebuild,v 
1.1 2015/08/05 10:03:57 perfinion Exp $

EAPI=5

inherit eutils user

MY_PN="${PN//-bin}"

DESCRIPTION="Subsonic is a complete, personal media streaming solution"
HOMEPAGE="http://www.subsonic.org/";
SRC_URI="mirror://sourceforge/${MY_PN}/${PV}/${MY_PN}-${PV}-standalone.tar.gz"

LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="ffmpeg lame selinux"

DEPEND=""
RDEPEND="virtual/jre
        lame? ( media-sound/lame )
        ffmpeg? ( virtual/ffmpeg )
        selinux? ( sec-policy/selinux-subsonic )"

S="${WORKDIR}/"
SUBSONIC_HOME="/var/lib/${MY_PN}"
USER_GROUP="subsonic"

pkg_setup() {
        enewgroup "${USER_GROUP}"
        enewuser "${USER_GROUP}" -1 -1 ${SUBSONIC_HOME} "${USER_GROUP}"
}

src_install() {
        local dir="/usr/libexec/${MY_PN}"

        dodoc README.TXT "Getting Started.html"

        insinto ${dir}
        doins subsonic-booter-jar-with-dependencies.jar subsonic.war

        exeinto ${dir}
        doexe subsonic.sh

        keepdir ${SUBSONIC_HOME}
        fowners ${USER_GROUP}:${USER_GROUP} ${SUBSONIC_HOME}

        newinitd "${FILESDIR}/subsonic.initd" subsonic
        newconfd "${FILESDIR}/subsonic.confd" subsonic

        make_wrapper ${MY_PN} "${dir}/subsonic.sh"

        if use ffmpeg; then
                dodir ${SUBSONIC_HOME}/transcode
                dosym /usr/bin/ffmpeg ${SUBSONIC_HOME}/transcode/ffmpeg
        fi

        if use lame; then
                dodir ${SUBSONIC_HOME}/transcode
                dosym /usr/bin/lame ${SUBSONIC_HOME}/transcode/lame
        fi
}




Reply via email to