summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2022-05-06 15:19:55 +0200
committerMichał Górny <mgorny@gentoo.org>2022-05-06 15:19:55 +0200
commit19f170afad196e74b2eff334a68f59144c71eb33 (patch)
tree2c5d2fd958bb96885d4fb0252991bf425b25e673 /net-misc/minidlna
parentdev-python/pytesseract: add pillow as test dep (diff)
downloadgentoo-19f170afad196e74b2eff334a68f59144c71eb33.tar.gz
gentoo-19f170afad196e74b2eff334a68f59144c71eb33.tar.bz2
gentoo-19f170afad196e74b2eff334a68f59144c71eb33.zip
net-misc/minidlna: Remove old
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'net-misc/minidlna')
-rw-r--r--net-misc/minidlna/Manifest1
-rw-r--r--net-misc/minidlna/files/minidlna-1.3.0-fd-leak.patch28
-rw-r--r--net-misc/minidlna/files/minidlna-1.3.0-fno-common.patch23
-rw-r--r--net-misc/minidlna/minidlna-1.3.0-r2.ebuild102
4 files changed, 0 insertions, 154 deletions
diff --git a/net-misc/minidlna/Manifest b/net-misc/minidlna/Manifest
index 17670f3ba3c8..24bdf5cb0ea0 100644
--- a/net-misc/minidlna/Manifest
+++ b/net-misc/minidlna/Manifest
@@ -1,3 +1,2 @@
-DIST minidlna-1.3.0.tar.gz 509576 BLAKE2B 3574d48ee63f8c391d1beac653587b87460522178d9f100fe4b0e49f33398b8e527ee74af02d5ea36b23338f7ac73ef3c177edae6be8eed24e94f9db5c8323b0 SHA512 92a5ec0e59244c65dad5360ca68856ecc66fd32ec2aaddb9e49c142b866d2642726c7c62898059e5fa56431d2bbb644bbe60c7ae5eb0aba4fe2255c8e69dd2d6
DIST minidlna-1_3_1.tar.gz 299749 BLAKE2B 0c4e5b5dc8b4fb14609cc71eafb008dfab0ef81350ac5c7f1a83e65f54b1d87296b3f0a063dbda3bd642fc777c36a0f839d5426c03ae852b07827a2b7d38c765 SHA512 6e94f33070db04660b83285a13942173537866ab53f9375e3162131fd86948349991a6c60cb2800c46546d73e58222a008d4cee1914c826f3a2f450f1c95a0e5
DIST minidlna-gentoo-artwork.patch.xz 49372 BLAKE2B 37a5691ec0a6558ecfb0748b0d25a513e7339beaf4816f8e0265f3954db07c3e87eb436855cde5f3daa95b1c3af550c0cf544efaf0a81fa91563507f35414416 SHA512 3bdaadc2a2331e9ebf37ed80d1de7cebd6307ab068dc9cf067159b2c0754a765b2076c07e988602af4dd2d6c49c819da8a1f668258950e15592027b353f22b5e
diff --git a/net-misc/minidlna/files/minidlna-1.3.0-fd-leak.patch b/net-misc/minidlna/files/minidlna-1.3.0-fd-leak.patch
deleted file mode 100644
index eec2bcd020e7..000000000000
--- a/net-misc/minidlna/files/minidlna-1.3.0-fd-leak.patch
+++ /dev/null
@@ -1,28 +0,0 @@
-diff --git a/upnpevents.c b/upnpevents.c
-index 4de6ce8..1126fa7 100644
---- a/upnpevents.c
-+++ b/upnpevents.c
-@@ -290,18 +290,17 @@ upnp_event_create_notify(struct subscriber *sub)
- addr.sin_family = AF_INET;
- inet_aton(obj->addrstr, &addr.sin_addr);
- addr.sin_port = htons(port);
-- DPRINTF(E_DEBUG, L_HTTP, "%s: '%s' %hu '%s'\n", "upnp_event_notify_connect",
-+ DPRINTF(E_DEBUG, L_HTTP, "%s: '%s' %hu '%s'\n", "upnp_event_create_notify",
- obj->addrstr, port, obj->path);
- obj->state = EConnecting;
-+ obj->ev = (struct event ){ .fd = s, .rdwr = EVENT_WRITE,
-+ .process = upnp_event_process_notify, .data = obj };
-+ event_module.add(&obj->ev);
- if(connect(s, (struct sockaddr *)&addr, sizeof(addr)) < 0) {
- if(errno != EINPROGRESS && errno != EWOULDBLOCK) {
-- DPRINTF(E_ERROR, L_HTTP, "%s: connect(): %s\n", "upnp_event_notify_connect", strerror(errno));
-+ DPRINTF(E_ERROR, L_HTTP, "%s: connect(): %s\n", "upnp_event_create_notify", strerror(errno));
- obj->state = EError;
- }
-- } else {
-- obj->ev = (struct event ){ .fd = s, .rdwr = EVENT_WRITE,
-- .process = upnp_event_process_notify, .data = obj };
-- event_module.add(&obj->ev);
- }
-
- return;
diff --git a/net-misc/minidlna/files/minidlna-1.3.0-fno-common.patch b/net-misc/minidlna/files/minidlna-1.3.0-fno-common.patch
deleted file mode 100644
index 50da196377f1..000000000000
--- a/net-misc/minidlna/files/minidlna-1.3.0-fno-common.patch
+++ /dev/null
@@ -1,23 +0,0 @@
---- a/tivo_utils.c
-+++ b/tivo_utils.c
-@@ -27,6 +27,7 @@
- #include <sqlite3.h>
- #include "tivo_utils.h"
-
-+struct sqlite3PrngType sqlite3Prng;
- /* This function based on byRequest */
- char *
- decodeString(char *string, int inplace)
---- a/tivo_utils.h
-+++ b/tivo_utils.h
-@@ -30,7 +30,9 @@ struct sqlite3PrngType {
- unsigned char isInit; /* True if initialized */
- unsigned char i, j; /* State variables */
- unsigned char s[256]; /* State variables */
--} sqlite3Prng;
-+};
-+
-+extern struct sqlite3PrngType sqlite3Prng;
-
- char *
- decodeString(char *string, int inplace);
diff --git a/net-misc/minidlna/minidlna-1.3.0-r2.ebuild b/net-misc/minidlna/minidlna-1.3.0-r2.ebuild
deleted file mode 100644
index 37b1bb9ceac0..000000000000
--- a/net-misc/minidlna/minidlna-1.3.0-r2.ebuild
+++ /dev/null
@@ -1,102 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit systemd tmpfiles
-
-DESCRIPTION="DLNA/UPnP-AV compliant media server"
-HOMEPAGE="https://sourceforge.net/projects/minidlna/"
-SRC_URI="
- https://downloads.sourceforge.net/project/minidlna/${PN}/${PV}/${P}.tar.gz
- mirror://gentoo/minidlna-gentoo-artwork.patch.xz"
-
-LICENSE="BSD GPL-2"
-SLOT="0"
-KEYWORDS="amd64 arm x86"
-IUSE="netgear readynas zeroconf"
-
-RDEPEND="
- acct-group/minidlna
- acct-user/minidlna
- dev-db/sqlite:3
- media-libs/flac
- media-libs/libexif
- media-libs/libid3tag:=
- media-libs/libogg
- media-libs/libvorbis
- media-video/ffmpeg:0=
- virtual/jpeg:0=
- elibc_musl? ( sys-libs/queue-standalone )
- zeroconf? ( net-dns/avahi )"
-DEPEND=${RDEPEND}
-BDEPEND="
- virtual/pkgconfig"
-
-CONFIG_CHECK="~INOTIFY_USER"
-
-PATCHES=(
- "${WORKDIR}"/minidlna-gentoo-artwork.patch
- "${FILESDIR}"/${P}-fno-common.patch
- "${FILESDIR}"/${P}-fd-leak.patch
-)
-
-src_prepare() {
- sed -e "/log_dir/s:/var/log:/var/log/minidlna:" \
- -e "/db_dir/s:/var/cache/:/var/lib/:" \
- -i minidlna.conf || die
-
- default
-}
-
-src_configure() {
- local myconf=(
- --with-db-path=/var/lib/minidlna
- --with-log-path=/var/log/minidlna
- --enable-tivo
- $(use_enable netgear)
- $(use_enable readynas)
- )
- use zeroconf || myconf+=(
- ac_cv_lib_avahi_client_avahi_threaded_poll_new=no
- )
-
- econf "${myconf[@]}"
-}
-
-src_test() {
- :
-}
-
-src_install() {
- default
-
- #bug 536532
- dosym ../sbin/minidlnad /usr/bin/minidlna
-
- insinto /etc
- doins minidlna.conf
-
- newconfd "${FILESDIR}"/minidlna-1.0.25.confd minidlna
- newinitd "${FILESDIR}"/minidlna-1.1.5.initd minidlna
- systemd_newunit "${FILESDIR}"/minidlna-1.1.2.service minidlna.service
- newtmpfiles - minidlna.conf <<-EOF
- d /run/minidlna 0755 minidlna minidlna -
- EOF
-
- keepdir /var/{lib,log}/minidlna
-
- doman minidlnad.8 minidlna.conf.5
-}
-
-pkg_preinst() {
- local my_is_new=yes
- [[ -d ${EROOT}/var/lib/minidlna ]] && my_is_new=no
-
- fowners minidlna:minidlna /var/{lib,log}/minidlna
- fperms 0750 /var/{lib,log}/minidlna
-}
-
-pkg_postinst() {
- tmpfiles_process minidlna.conf
-}