<pre style='margin:0'>
Craig Treleaven (ctreleaven) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/5b06504e2ea48b73dd430e2e2155c7035dcf40aa">https://github.com/macports/macports-ports/commit/5b06504e2ea48b73dd430e2e2155c7035dcf40aa</a></p>
<pre style="white-space: pre; background: #F8F8F8"><span style='display:block; white-space:pre;color:#808000;'>commit 5b06504e2ea48b73dd430e2e2155c7035dcf40aa
</span>Author: Craig Treleaven <ctreleaven@macports.org>
AuthorDate: Thu Feb 11 19:20:06 2021 -0500
<span style='display:block; white-space:pre;color:#404040;'> uShare: obsolete
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> - no upstream activity in years
</span><span style='display:block; white-space:pre;color:#404040;'> - incompatible with current releases of libupnp
</span><span style='display:block; white-space:pre;color:#404040;'> - no reported users
</span>---
net/ushare/Portfile | 57 +----------------------------------------------------
1 file changed, 1 insertion(+), 56 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/net/ushare/Portfile b/net/ushare/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 4d925d2b02b..91ca44d0c70 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/net/ushare/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/net/ushare/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -1,66 +1,11 @@
</span> # -*- Mode: Tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:et:sw=4:ts=4:sts=4
PortSystem 1.0
<span style='display:block; white-space:pre;background:#e0ffe0;'>+PortGroup obsolete 1.0
</span>
name ushare
version 1.1a
revision 5
categories net multimedia
platforms darwin
<span style='display:block; white-space:pre;background:#ffe0e0;'>-supported_archs x86_64
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-# libdlna does not support i386
</span> maintainers nomaintainer
<span style='display:block; white-space:pre;background:#ffe0e0;'>-description a UPnP (TM) A/V & DLNA Media Server
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-long_description \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- uShare is a UPnP (TM) A/V & DLNA Media Server. It implements the server \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- component that provides UPnP media devices with information on available \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- multimedia files. uShare uses the built-in http server of libupnp to \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- stream the files to clients.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-depends_build port:pkgconfig
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-depends_lib port:gettext \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- port:libupnp \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- port:libdlna
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-configure.args-append --disable-strip \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- --enable-dlna
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-homepage http://ushare.geexbox.org/
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-license GPL-2+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-master_sites ${homepage}releases
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-use_bzip2 yes
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-checksums md5 5bbcdbf1ff85a9710fa3d4e82ccaa251
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-patchfiles patch-configure.diff
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-# following prevents segfaults
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-patchfiles-append patch-add_std_includes.diff
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-# following required due to libupnp changes
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-patchfiles-append patch-ushare-upnp-build-fix.diff
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-configure.cflags-append -std=gnu89 -I${prefix}/include -I${worksrcpath}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-configure.ldflags-append -lintl
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-post-destroot {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- file delete ${destroot}${prefix}/etc/init.d/ushare
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- file rename ${destroot}${prefix}/etc/ushare.conf \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ${destroot}${prefix}/etc/ushare.conf.sample
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-universal_variant no
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-startupitem.create yes
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-startupitem.netchange yes
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-startupitem.executable ${prefix}/bin/uShare --cfg=${prefix}/etc/ushare.conf
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-notes "
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-**** ${name} ****
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Before running ${name}, you must configure it by creating and editing:
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>->> ${prefix}/etc/ushare.conf
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-${prefix}/etc/ushare.conf.sample is provided as a template.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Note that ${name} runs as root. This poses a security risk and you should not use
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-${name} on internet-facing machine
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-When loaded, you may be able to configure ${name} with a web browser at
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>->> <ip.addr.of.host>:<port>/web/ushare.html
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-"
</span></pre><pre style='margin:0'>
</pre>