From eb0fc830b4930ac0c4227442f199bcfe9630867e Mon Sep 17 00:00:00 2001 From: Luca Barbato Date: Thu, 5 Apr 2007 07:32:56 +0000 Subject: Moving to git svn path=/; revision=87 --- media-video/feng-git/Manifest | 19 +++++++ media-video/feng-git/feng-svn-0.1.ebuild | 73 ++++++++++++++++++++++++++ media-video/feng-git/files/digest-feng-svn-0.1 | 0 media-video/feng-git/files/feng.confd | 8 +++ media-video/feng-git/files/feng.rc | 27 ++++++++++ media-video/feng-git/files/svnco.sh | 3 ++ media-video/feng-svn/Manifest | 19 ------- media-video/feng-svn/feng-svn-0.1.ebuild | 73 -------------------------- media-video/feng-svn/files/digest-feng-svn-0.1 | 0 media-video/feng-svn/files/feng.confd | 8 --- media-video/feng-svn/files/feng.rc | 27 ---------- media-video/feng-svn/files/svnco.sh | 3 -- 12 files changed, 130 insertions(+), 130 deletions(-) create mode 100644 media-video/feng-git/Manifest create mode 100644 media-video/feng-git/feng-svn-0.1.ebuild create mode 100644 media-video/feng-git/files/digest-feng-svn-0.1 create mode 100644 media-video/feng-git/files/feng.confd create mode 100755 media-video/feng-git/files/feng.rc create mode 100644 media-video/feng-git/files/svnco.sh delete mode 100644 media-video/feng-svn/Manifest delete mode 100644 media-video/feng-svn/feng-svn-0.1.ebuild delete mode 100644 media-video/feng-svn/files/digest-feng-svn-0.1 delete mode 100644 media-video/feng-svn/files/feng.confd delete mode 100755 media-video/feng-svn/files/feng.rc delete mode 100644 media-video/feng-svn/files/svnco.sh (limited to 'media-video') diff --git a/media-video/feng-git/Manifest b/media-video/feng-git/Manifest new file mode 100644 index 0000000..17dd34c --- /dev/null +++ b/media-video/feng-git/Manifest @@ -0,0 +1,19 @@ +AUX feng.confd 139 RMD160 8de5be42094595cd9ab4bdbff9bac9381a65a211 SHA1 54528cbbf88560f8cfc5714a744f5712372febc7 SHA256 f5cefb2ea58ab03fcecc7abde631a7df05ca0b1e08133322a24cf0d00e60fadd +MD5 ef498b896eb93a6563e17a6892ffa9f2 files/feng.confd 139 +RMD160 8de5be42094595cd9ab4bdbff9bac9381a65a211 files/feng.confd 139 +SHA256 f5cefb2ea58ab03fcecc7abde631a7df05ca0b1e08133322a24cf0d00e60fadd files/feng.confd 139 +AUX feng.rc 586 RMD160 43b80c7146cb924dd7cf2e657f293d9f0e74249e SHA1 bb589cf2fcd7bfd5b86d81edb0c9e5aab6106adc SHA256 75bc1adfd2da5b6ced0b4ef32d486832c636713422c59b38727a70b3b12e9172 +MD5 df08a44111cdcb5e6fd444b3053ac05d files/feng.rc 586 +RMD160 43b80c7146cb924dd7cf2e657f293d9f0e74249e files/feng.rc 586 +SHA256 75bc1adfd2da5b6ced0b4ef32d486832c636713422c59b38727a70b3b12e9172 files/feng.rc 586 +AUX svnco.sh 44 RMD160 985aa3a1b4e3fe4e79ec8bc9ebe52d8377495a5c SHA1 dd7a59fa54ce56c2c7e93bb47feb6525767ed5db SHA256 c53a6a8c33f57b131a4814bf4afb5afa934e015a6b0d64ed1aaf7436942cdd8f +MD5 e42243afba84be6a1601d7357668f7a7 files/svnco.sh 44 +RMD160 985aa3a1b4e3fe4e79ec8bc9ebe52d8377495a5c files/svnco.sh 44 +SHA256 c53a6a8c33f57b131a4814bf4afb5afa934e015a6b0d64ed1aaf7436942cdd8f files/svnco.sh 44 +EBUILD feng-svn-0.1.ebuild 2151 RMD160 9fbb3abd72babf57f67a43db1e89156e9b01a98a SHA1 5a8c08512d14b05f91ab84ca487a1d34b7a9e0f6 SHA256 b58b66f0ad3ae7b974c478daed45bb37dff3fb073e82eb5c4758598d90373d94 +MD5 eb2187652e148908232872398a82b8f5 feng-svn-0.1.ebuild 2151 +RMD160 9fbb3abd72babf57f67a43db1e89156e9b01a98a feng-svn-0.1.ebuild 2151 +SHA256 b58b66f0ad3ae7b974c478daed45bb37dff3fb073e82eb5c4758598d90373d94 feng-svn-0.1.ebuild 2151 +MD5 d41d8cd98f00b204e9800998ecf8427e files/digest-feng-svn-0.1 0 +RMD160 9c1185a5c5e9fc54612808977ee8f548b2258d31 files/digest-feng-svn-0.1 0 +SHA256 e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 files/digest-feng-svn-0.1 0 diff --git a/media-video/feng-git/feng-svn-0.1.ebuild b/media-video/feng-git/feng-svn-0.1.ebuild new file mode 100644 index 0000000..2f9f14e --- /dev/null +++ b/media-video/feng-git/feng-svn-0.1.ebuild @@ -0,0 +1,73 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-video/fenice/fenice-1.9.ebuild,v 1.6 2006/03/07 16:37:59 flameeyes Exp $ + +inherit subversion eutils + +ESVN_REPO_URI="https://streaming.polito.it/svn/fenice/branches/fenice-ng" +ESVN_BOOTSTRAP="NOCONFIGURE=1 ./autogen.sh" +ESVN_FETCH_CMD="bash $FILESDIR/svnco.sh" + +DESCRIPTION="Experimental rtsp streaming server" +HOMEPAGE="http://streaming.polito.it/server" +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~x86" +IUSE="" + +RDEPEND="media-video/ffmpeg + >=dev-libs/glib-2" +DEPEND="${RDEPEND}" + +pkg_setup() { + enewgroup feng + enewuser feng -1 -1 /var/feng feng +} + +pkg_config() { + einfo "Installing default avroot to ${ROOT}/var/feng/avroot" + mkdir -p "${ROOT}"/var/feng/avroot + cp -R "${ROOT}"/usr/share/doc/${PF}/avroot/* "${ROOT}"/var/feng/avroot + chown -R feng:0 "${ROOT}"/var/feng/avroot +} + +pkg_postinst() { + if [[ -e "${ROOT}/var/feng/avroot" ]] ; then + einfo "The default avroot has not been installed into" + einfo "${ROOT}/var/feng/avroot because the directory already exists" + einfo "and we do not want to overwrite any files you have put there." + einfo + einfo "If you would like to install the latest avroot, please run" + einfo "emerge --config =${PF}" + else + einfo "Installing default avroot to ${ROOT}/var/feng/avroot" + mkdir -p "${ROOT}"/var/feng/avroot + cp -R "${ROOT}"/usr/share/doc/${PF}/avroot/* "${ROOT}"/var/feng/avroot + chown -R feng:0 "${ROOT}"/var/feng/avroot + fi +} + +src_unpack() { + subversion_src_unpack + TZ=UTC svn log -v "${ESVN_REPO_URI}" >ChangeLog +} +src_compile() { + ./configure --prefix=/usr \ + --mandir=/usr/share/man \ + --libdir=/usr/$(get_libdir) \ + --infodir=/usr/share/info \ + --datadir=/usr/share \ + --sysconfdir=/etc \ + --localstatedir=/var \ + --disable-fhs23 || die "econf failed" + emake || die "emake failed" +} + +src_install() { + make DESTDIR=${D} install || die "make install failed" + dodoc README + mv ${D}/var/feng/avroot ${D}/usr/share/doc/${PF}/ + dodoc ChangeLog + newinitd ${FILESDIR}/feng.rc feng + newconfd ${FILESDIR}/feng.confd feng +} diff --git a/media-video/feng-git/files/digest-feng-svn-0.1 b/media-video/feng-git/files/digest-feng-svn-0.1 new file mode 100644 index 0000000..e69de29 diff --git a/media-video/feng-git/files/feng.confd b/media-video/feng-git/files/feng.confd new file mode 100644 index 0000000..540d6e0 --- /dev/null +++ b/media-video/feng-git/files/feng.confd @@ -0,0 +1,8 @@ +# /etc/conf.d/metalog +# $Header: $ + +# Some useful options: +# -s Use syslog +# -c Use alternate configuration conf + +FENG_OPTS="-s" diff --git a/media-video/feng-git/files/feng.rc b/media-video/feng-git/files/feng.rc new file mode 100755 index 0000000..deb8615 --- /dev/null +++ b/media-video/feng-git/files/feng.rc @@ -0,0 +1,27 @@ +#!/sbin/runscript +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +FENG="/usr/bin/feng" +PIDFILE="/var/run/feng.pid" + +depend() { + use net dns +} + +start() { + ebegin "Starting feng" + start-stop-daemon --start --quiet --background \ + --make-pidfile \ + --pidfile ${PIDFILE} \ + --exec /usr/bin/feng \ + -- ${FENG_OPTS} + eend $? +} + +stop() { + ebegin "Stopping feng" + start-stop-daemon --stop -p ${PIDFILE} + eend $? +} diff --git a/media-video/feng-git/files/svnco.sh b/media-video/feng-git/files/svnco.sh new file mode 100644 index 0000000..2b72d34 --- /dev/null +++ b/media-video/feng-git/files/svnco.sh @@ -0,0 +1,3 @@ +#!/bin/bash + +echo p | svn co $@ &>/dev/null diff --git a/media-video/feng-svn/Manifest b/media-video/feng-svn/Manifest deleted file mode 100644 index 17dd34c..0000000 --- a/media-video/feng-svn/Manifest +++ /dev/null @@ -1,19 +0,0 @@ -AUX feng.confd 139 RMD160 8de5be42094595cd9ab4bdbff9bac9381a65a211 SHA1 54528cbbf88560f8cfc5714a744f5712372febc7 SHA256 f5cefb2ea58ab03fcecc7abde631a7df05ca0b1e08133322a24cf0d00e60fadd -MD5 ef498b896eb93a6563e17a6892ffa9f2 files/feng.confd 139 -RMD160 8de5be42094595cd9ab4bdbff9bac9381a65a211 files/feng.confd 139 -SHA256 f5cefb2ea58ab03fcecc7abde631a7df05ca0b1e08133322a24cf0d00e60fadd files/feng.confd 139 -AUX feng.rc 586 RMD160 43b80c7146cb924dd7cf2e657f293d9f0e74249e SHA1 bb589cf2fcd7bfd5b86d81edb0c9e5aab6106adc SHA256 75bc1adfd2da5b6ced0b4ef32d486832c636713422c59b38727a70b3b12e9172 -MD5 df08a44111cdcb5e6fd444b3053ac05d files/feng.rc 586 -RMD160 43b80c7146cb924dd7cf2e657f293d9f0e74249e files/feng.rc 586 -SHA256 75bc1adfd2da5b6ced0b4ef32d486832c636713422c59b38727a70b3b12e9172 files/feng.rc 586 -AUX svnco.sh 44 RMD160 985aa3a1b4e3fe4e79ec8bc9ebe52d8377495a5c SHA1 dd7a59fa54ce56c2c7e93bb47feb6525767ed5db SHA256 c53a6a8c33f57b131a4814bf4afb5afa934e015a6b0d64ed1aaf7436942cdd8f -MD5 e42243afba84be6a1601d7357668f7a7 files/svnco.sh 44 -RMD160 985aa3a1b4e3fe4e79ec8bc9ebe52d8377495a5c files/svnco.sh 44 -SHA256 c53a6a8c33f57b131a4814bf4afb5afa934e015a6b0d64ed1aaf7436942cdd8f files/svnco.sh 44 -EBUILD feng-svn-0.1.ebuild 2151 RMD160 9fbb3abd72babf57f67a43db1e89156e9b01a98a SHA1 5a8c08512d14b05f91ab84ca487a1d34b7a9e0f6 SHA256 b58b66f0ad3ae7b974c478daed45bb37dff3fb073e82eb5c4758598d90373d94 -MD5 eb2187652e148908232872398a82b8f5 feng-svn-0.1.ebuild 2151 -RMD160 9fbb3abd72babf57f67a43db1e89156e9b01a98a feng-svn-0.1.ebuild 2151 -SHA256 b58b66f0ad3ae7b974c478daed45bb37dff3fb073e82eb5c4758598d90373d94 feng-svn-0.1.ebuild 2151 -MD5 d41d8cd98f00b204e9800998ecf8427e files/digest-feng-svn-0.1 0 -RMD160 9c1185a5c5e9fc54612808977ee8f548b2258d31 files/digest-feng-svn-0.1 0 -SHA256 e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 files/digest-feng-svn-0.1 0 diff --git a/media-video/feng-svn/feng-svn-0.1.ebuild b/media-video/feng-svn/feng-svn-0.1.ebuild deleted file mode 100644 index 2f9f14e..0000000 --- a/media-video/feng-svn/feng-svn-0.1.ebuild +++ /dev/null @@ -1,73 +0,0 @@ -# Copyright 1999-2006 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/media-video/fenice/fenice-1.9.ebuild,v 1.6 2006/03/07 16:37:59 flameeyes Exp $ - -inherit subversion eutils - -ESVN_REPO_URI="https://streaming.polito.it/svn/fenice/branches/fenice-ng" -ESVN_BOOTSTRAP="NOCONFIGURE=1 ./autogen.sh" -ESVN_FETCH_CMD="bash $FILESDIR/svnco.sh" - -DESCRIPTION="Experimental rtsp streaming server" -HOMEPAGE="http://streaming.polito.it/server" -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~amd64 ~ppc ~x86" -IUSE="" - -RDEPEND="media-video/ffmpeg - >=dev-libs/glib-2" -DEPEND="${RDEPEND}" - -pkg_setup() { - enewgroup feng - enewuser feng -1 -1 /var/feng feng -} - -pkg_config() { - einfo "Installing default avroot to ${ROOT}/var/feng/avroot" - mkdir -p "${ROOT}"/var/feng/avroot - cp -R "${ROOT}"/usr/share/doc/${PF}/avroot/* "${ROOT}"/var/feng/avroot - chown -R feng:0 "${ROOT}"/var/feng/avroot -} - -pkg_postinst() { - if [[ -e "${ROOT}/var/feng/avroot" ]] ; then - einfo "The default avroot has not been installed into" - einfo "${ROOT}/var/feng/avroot because the directory already exists" - einfo "and we do not want to overwrite any files you have put there." - einfo - einfo "If you would like to install the latest avroot, please run" - einfo "emerge --config =${PF}" - else - einfo "Installing default avroot to ${ROOT}/var/feng/avroot" - mkdir -p "${ROOT}"/var/feng/avroot - cp -R "${ROOT}"/usr/share/doc/${PF}/avroot/* "${ROOT}"/var/feng/avroot - chown -R feng:0 "${ROOT}"/var/feng/avroot - fi -} - -src_unpack() { - subversion_src_unpack - TZ=UTC svn log -v "${ESVN_REPO_URI}" >ChangeLog -} -src_compile() { - ./configure --prefix=/usr \ - --mandir=/usr/share/man \ - --libdir=/usr/$(get_libdir) \ - --infodir=/usr/share/info \ - --datadir=/usr/share \ - --sysconfdir=/etc \ - --localstatedir=/var \ - --disable-fhs23 || die "econf failed" - emake || die "emake failed" -} - -src_install() { - make DESTDIR=${D} install || die "make install failed" - dodoc README - mv ${D}/var/feng/avroot ${D}/usr/share/doc/${PF}/ - dodoc ChangeLog - newinitd ${FILESDIR}/feng.rc feng - newconfd ${FILESDIR}/feng.confd feng -} diff --git a/media-video/feng-svn/files/digest-feng-svn-0.1 b/media-video/feng-svn/files/digest-feng-svn-0.1 deleted file mode 100644 index e69de29..0000000 diff --git a/media-video/feng-svn/files/feng.confd b/media-video/feng-svn/files/feng.confd deleted file mode 100644 index 540d6e0..0000000 --- a/media-video/feng-svn/files/feng.confd +++ /dev/null @@ -1,8 +0,0 @@ -# /etc/conf.d/metalog -# $Header: $ - -# Some useful options: -# -s Use syslog -# -c Use alternate configuration conf - -FENG_OPTS="-s" diff --git a/media-video/feng-svn/files/feng.rc b/media-video/feng-svn/files/feng.rc deleted file mode 100755 index deb8615..0000000 --- a/media-video/feng-svn/files/feng.rc +++ /dev/null @@ -1,27 +0,0 @@ -#!/sbin/runscript -# Copyright 1999-2007 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: $ - -FENG="/usr/bin/feng" -PIDFILE="/var/run/feng.pid" - -depend() { - use net dns -} - -start() { - ebegin "Starting feng" - start-stop-daemon --start --quiet --background \ - --make-pidfile \ - --pidfile ${PIDFILE} \ - --exec /usr/bin/feng \ - -- ${FENG_OPTS} - eend $? -} - -stop() { - ebegin "Stopping feng" - start-stop-daemon --stop -p ${PIDFILE} - eend $? -} diff --git a/media-video/feng-svn/files/svnco.sh b/media-video/feng-svn/files/svnco.sh deleted file mode 100644 index 2b72d34..0000000 --- a/media-video/feng-svn/files/svnco.sh +++ /dev/null @@ -1,3 +0,0 @@ -#!/bin/bash - -echo p | svn co $@ &>/dev/null -- cgit v1.2.3-65-gdbad