Delete old
This commit is contained in:
@@ -1,17 +0,0 @@
|
||||
# ChangeLog for media-video/ushare
|
||||
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/media-video/ushare/ChangeLog,v 1.2 2009/12/29 05:21:57 darkside Exp $
|
||||
|
||||
19 Nov 2011; Mario Fetka <mario.fetka@gmail.com> ushare-1.1a.ebuild:
|
||||
add mp4 support and move config file to /etc
|
||||
|
||||
29 Dec 2009; Jeremy Olexa <darkside@gentoo.org> ushare-1.1a.ebuild:
|
||||
Fix building with USE=nls, bug 298207
|
||||
|
||||
*ushare-1.1a (23 Dec 2009)
|
||||
|
||||
23 Dec 2009; Jeremy Olexa <darkside@gentoo.org> +ushare-1.1a.ebuild,
|
||||
+files/ushare.conf.d, +files/ushare.init.d, +metadata.xml:
|
||||
Initial import. Many thanks to all the contributors on bug 192561. Moved
|
||||
from sunrise overlay with modifications by myself
|
||||
|
||||
@@ -1,7 +0,0 @@
|
||||
AUX ushare-mp4-support.patch 605 SHA256 1cf93c0b988725be7b619e6148cafad1f17a3a632949aade7990818620549774 SHA512 f222f1311aaef6b0cf54e6b86008183bf16a8a402486bb7b9c39497ff1a92628a0b5215a498e526e630b5c64c7e7cff3a7ea5fc5627c23bd37c7b795242a001d WHIRLPOOL ad9b2619beab94679086cd98b326cd7777125d109f62c1f0a705a45817f800d3436bdee2adf8522f8089af3bda60949b0befd66749b49488869ad10252c8fd2a
|
||||
AUX ushare.conf.d 896 SHA256 cf333cc495177828c8a5bf3fde9462190435843ffd51d95ef676c3c6df1c5563 SHA512 60256fdc900c93948120f172722f19e52fc3869952d60fefc25d2728ed14f5e57a0e93eb71613cbc48b83d38cd2c5b4c476fa3e1cd2eeff17204b50c4b6a3b83 WHIRLPOOL f4af8734f15bdb1edb92d0d4eb2793a4a5b9e4c65285bfdef1132b58306f8dcadef48e6e27bfc76ff5be1415fcc0e68d4802dfd776f9af1c5eed0c7915ee018e
|
||||
AUX ushare.init.d 2164 SHA256 7a8c4c06aacf9a87ae2036df24751a74a29e741a39e89e0c704c63a27ad2a4c2 SHA512 3b8debabbb0c31699d74d9e7f9a15d71ee66cb6b7e1b3704fac74497d2d2e18cc937953e1c700052858e1112437881bcb00d462d1bf7a8a5387524b503e12832 WHIRLPOOL a1626ac3fb2be0645c3d818311a99f1ceb68f6d96e5bc373845b5c748affa53a2e8285f636d8a4668e9bda4472b6009679037dca05887b9c9f4701e7ecd8b7da
|
||||
DIST ushare-1.1a.tar.bz2 65864 SHA256 7b9b85c79968d4f4560f02a99e33c6a33ff58f9d41d8faea79e31cce2ee78665
|
||||
EBUILD ushare-1.1a.ebuild 1574 SHA256 c110082da112353c16b1b17eab99735480fc996ed85e3db1f7c77d3f31533a90 SHA512 ea16afaac744dd545f638b8c2cfc78c633a3862617e0df618cce7710808fb69148616e0d9ccdb4b55ddeb4022e42e7b2ba28d15c6a4e4712befd2c78b6f157f4 WHIRLPOOL d2dfa17715bf4c943b3ca4fc3fb84d2c63cd096af6983b4f33ef471da14576cf42342109b9966654ee7ef26413631313e2e0c5254fa8f8412d0dcbd8c99cfac8
|
||||
MISC ChangeLog 729 SHA256 c8ad783c918df4b5718057b5a535b73a237a428f0622fb49aabbf011847aa75e SHA512 d7ab76a742785114b725d53deffd4043f6a42c434a0c8e9a278cfc43a544c152a710bc97b6d833a7651234ff44e207c8dbfa35cfc303af82f10d639a838c70b1 WHIRLPOOL d3917d1f4e41aa97c15ca3b46121c6e360951ca4fe22cd57a6a5cdc77b82c2164a7c02fc06e39616a358b8fcac05d36700d47efaf135efedd80eb0ac71346efc
|
||||
MISC metadata.xml 325 SHA256 24b9cc6b2e1e3c8011e0133aea0e8156bfdf6896f42bac864d444672bc6c9ad3 SHA512 de37683744fed10bd08acb28dca840980935bf75b6004301370e8e9d4cd6c78911a77cec1510bb985d0a11f30f6c5ea7a74acc5412343be735a2273a74d8e7e0 WHIRLPOOL 0a303fc6c310fbdb508cc308f939f5b168ebd82ca44ab536b24999a6cb8baebea1458279e5251e6ccab3823e04645111b273938438cfb42bf6aaa5d69ff5a9dd
|
||||
@@ -1,13 +0,0 @@
|
||||
diff -crB ushare-1.1a-orig/src/mime.c ushare-1.1a/src/mime.c
|
||||
*** ushare-1.1a-orig/src/mime.c Mon Oct 25 13:21:01 2010
|
||||
--- ushare-1.1a/src/mime.c Mon Oct 25 13:21:45 2010
|
||||
***************
|
||||
*** 53,58 ****
|
||||
--- 53,59 ----
|
||||
{ "mpeg2", UPNP_VIDEO, "http-get:*:video/mpeg2:"},
|
||||
{ "m4v", UPNP_VIDEO, "http-get:*:video/mp4:"},
|
||||
{ "m4p", UPNP_VIDEO, "http-get:*:video/mp4:"},
|
||||
+ { "mp4", UPNP_VIDEO, "http-get:*:video/mp4:"},
|
||||
{ "mp4ps", UPNP_VIDEO, "http-get:*:video/x-nerodigital-ps:"},
|
||||
{ "ts", UPNP_VIDEO, "http-get:*:video/mpeg2:"},
|
||||
{ "ogm", UPNP_VIDEO, "http-get:*:video/mpeg:"},
|
||||
@@ -1,38 +0,0 @@
|
||||
# Copyright 1999-2007 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/media-video/ushare/files/ushare.conf.d,v 1.1 2009/12/23 22:27:37 darkside Exp $
|
||||
|
||||
# User to run ushare daemon (if none, root will be used)
|
||||
USHARE_USER="ushare"
|
||||
|
||||
# UPNP Friendly Name:
|
||||
USHARE_NAME="uShare"
|
||||
|
||||
# The interface to bind to:
|
||||
USHARE_IFACE="eth0"
|
||||
|
||||
# Static ushare port:
|
||||
USHARE_PORT=""
|
||||
|
||||
# Enable/Disable telnet:
|
||||
USHARE_TELNET="yes"
|
||||
|
||||
# Choose different telnet port:
|
||||
USHARE_TELNET_PORT=""
|
||||
|
||||
# Enable/Disable web component:
|
||||
USHARE_WEB="yes"
|
||||
|
||||
# A List of directories to share, each precieded by '-c':
|
||||
USHARE_DIRS=""
|
||||
|
||||
# Enable/Disable XboX 360 compliant profile:
|
||||
USHARE_XBOX="no"
|
||||
|
||||
# Enable/Disable DLNA compliant profile (Playstation3 requires this):
|
||||
USHARE_DLNA="no"
|
||||
|
||||
# Misc. options:
|
||||
USHARE_OPTS=""
|
||||
|
||||
# Check ushare --help or man ushare for more options.
|
||||
@@ -1,79 +0,0 @@
|
||||
#!/sbin/runscript
|
||||
# Copyright 1999-2007 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/media-video/ushare/files/ushare.init.d,v 1.1 2009/12/23 22:27:37 darkside Exp $
|
||||
|
||||
depend() {
|
||||
use net
|
||||
}
|
||||
|
||||
start() {
|
||||
ebegin "Starting uShare"
|
||||
|
||||
# Sanity check to avoid ushare failling on booting with no
|
||||
# shared dirs
|
||||
if [[ -z "${USHARE_DIRS}" ]] ; then
|
||||
eerror "Please set shared dirs in /etc/conf.d/ushare"
|
||||
return 1
|
||||
fi
|
||||
|
||||
if [[ -z "${USHARE_PORT}" ]] ; then
|
||||
einfo "${USHARE_NAME} runs on a dynamic port"
|
||||
local ushare_port=
|
||||
else
|
||||
local ushare_port="--port ${USHARE_PORT}"
|
||||
einfo "${USHARE_NAME} using port ${USHARE_PORT}"
|
||||
fi
|
||||
|
||||
if [[ "${USHARE_TELNET}" == "yes" ]] ; then
|
||||
local ushare_telnet=
|
||||
else
|
||||
local ushare_telnet="--no-telnet"
|
||||
fi
|
||||
|
||||
if [[ -z "${ushare_telnet}" ]] ; then
|
||||
if [[ -z "${USHARE_TELNET_PORT}" ]] ; then
|
||||
local ushare_telnet_port=
|
||||
einfo "${USHARE_NAME} runs telnet on the default port"
|
||||
else
|
||||
local ushare_telnet_port="--telnet-port ${USHARE_TELNET_PORT}"
|
||||
einfo "${USHARE_NAME} runs telnet on port ${USHARE_TELNET_PORT}"
|
||||
fi
|
||||
else
|
||||
local ushare_telnet_port=
|
||||
fi
|
||||
|
||||
if [[ "${USHARE_WEB}" == "yes" ]] ; then
|
||||
local ushare_web=
|
||||
else
|
||||
local ushare_web="--no-web"
|
||||
fi
|
||||
|
||||
if [[ "${USHARE_XBOX}" == "yes" ]] ; then
|
||||
local ushare_xbox="--xbox"
|
||||
else
|
||||
local ushare_xbox=
|
||||
fi
|
||||
|
||||
if [[ "${USHARE_DLNA}" == "yes" ]] ; then
|
||||
local ushare_dlna="--dlna"
|
||||
else
|
||||
local ushare_dlna=
|
||||
fi
|
||||
|
||||
start-stop-daemon --start --quiet -c ${USHARE_USER:-root} \
|
||||
--exec /usr/bin/ushare -- -D -i ${USHARE_IFACE} \
|
||||
-n ${USHARE_NAME} ${USHARE_OPTS} ${USHARE_DIRS} \
|
||||
${ushare_port} \
|
||||
${ushare_telnet} ${ushare_telnet_port} \
|
||||
${ushare_web} \
|
||||
${ushare_xbox} \
|
||||
${ushare_dlna}
|
||||
eend $?
|
||||
}
|
||||
|
||||
stop() {
|
||||
ebegin "Stopping uShare"
|
||||
start-stop-daemon --stop --quiet --exec /usr/bin/ushare
|
||||
eend $?
|
||||
}
|
||||
@@ -1,11 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<herd>video</herd>
|
||||
<maintainer>
|
||||
<email>darkside@gentoo.org</email>
|
||||
</maintainer>
|
||||
<use>
|
||||
<flag name='dlna'>Add DLNA (<pkg>media-libs/libdlna</pkg>) support</flag>
|
||||
</use>
|
||||
</pkgmetadata>
|
||||
@@ -1,60 +0,0 @@
|
||||
# Copyright 1999-2011 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/media-video/ushare/ushare-1.1a.ebuild,v 1.2 2009/12/29 05:21:57 darkside Exp $
|
||||
|
||||
EAPI="2"
|
||||
|
||||
inherit eutils
|
||||
|
||||
DESCRIPTION="uShare is a UPnP (TM) A/V & DLNA Media Server"
|
||||
HOMEPAGE="http://ushare.geexbox.org/"
|
||||
SRC_URI="http://ushare.geexbox.org/releases/${P}.tar.bz2"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="dlna nls"
|
||||
|
||||
RDEPEND="net-libs/libupnp
|
||||
dlna? ( media-libs/libdlna )"
|
||||
DEPEND="${RDEPEND}
|
||||
dev-util/pkgconfig"
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}/ushare-mp4-support.patch"
|
||||
|
||||
elog "Replacing Original init.d File"
|
||||
sed -i \
|
||||
-e '/(INSTALL) -d $(sysconfdir)\/init\.d/d' \
|
||||
-e '/$(INSTALL) -m 755 $(INITD_FILE) $(sysconfdir)\/init.d/d' \
|
||||
scripts/Makefile || die
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local myconf
|
||||
|
||||
myconf="--prefix=/usr --sysconfdir=/etc --disable-strip $(use_enable dlna)"
|
||||
# nls can only be disabled, on by default.
|
||||
use nls || myconf="${myconf} --disable-nls"
|
||||
|
||||
./configure ${myconf} || die "Configure failed"
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake || die "Make failed"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" install || die "make install failed"
|
||||
doman src/ushare.1 || die
|
||||
newconfd "${FILESDIR}"/ushare.conf.d ushare || die
|
||||
newinitd "${FILESDIR}"/ushare.init.d ushare || die
|
||||
dodoc NEWS README TODO THANKS AUTHORS || die
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
enewuser ushare
|
||||
elog "Please edit /etc/conf.d/ushare to set the shared directories"
|
||||
elog "and other important settings. Check system log if ushare is"
|
||||
elog "not booting."
|
||||
}
|
||||
Reference in New Issue
Block a user