commit:     e80b5179de2a49355d5acb15e651a05e0d5c1654
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sun Apr  7 07:12:10 2019 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sun Apr  7 07:27:05 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e80b5179

net-misc/minidlna: Drop old

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 net-misc/minidlna/Manifest                         |   1 -
 .../files/minidlna-1.2.1-buildsystem.patch         |  20 -----
 net-misc/minidlna/minidlna-1.1.5-r1.ebuild         |  95 --------------------
 net-misc/minidlna/minidlna-1.2.1.ebuild            | 100 ---------------------
 4 files changed, 216 deletions(-)

diff --git a/net-misc/minidlna/Manifest b/net-misc/minidlna/Manifest
index 97f34707209..3ea400075f2 100644
--- a/net-misc/minidlna/Manifest
+++ b/net-misc/minidlna/Manifest
@@ -1,3 +1,2 @@
-DIST minidlna-1.1.5.tar.gz 488191 BLAKE2B 
bda7d9099a11578919387f6d4f0e04c162556fb3557352446f0e7c69ee7dfe8f2c19d002b3fde1af2e6ff9c8b1436177f0b47dcc5c86a96e4dfd35de57610d60
 SHA512 
2a8eaa42fcda6f98648f1726af5cdba6d2358c386440dd0de933364cfbd1ced2fee5f883033e1a5a692b760749beb2c12798020a3591ddcea22663102d4f3dfa
 DIST minidlna-1.2.1.tar.gz 459549 BLAKE2B 
db757b31945cb6cdb8449847f845777cc4a3962ffd53305777f0cfb78c9ff68d2f7531bce63093c339914fb51039f75758056c69703db38220425eb36e7863ac
 SHA512 
17827155bfbfd2b51939bc86080e8724dcded138af8fede9c7715c225524e86d3c21bfd8d40dbf201861ef154189d9c5e223b719bf7695251212b26ec290462b
 DIST minidlna-gentoo-artwork.patch.xz 49372 BLAKE2B 
37a5691ec0a6558ecfb0748b0d25a513e7339beaf4816f8e0265f3954db07c3e87eb436855cde5f3daa95b1c3af550c0cf544efaf0a81fa91563507f35414416
 SHA512 
3bdaadc2a2331e9ebf37ed80d1de7cebd6307ab068dc9cf067159b2c0754a765b2076c07e988602af4dd2d6c49c819da8a1f668258950e15592027b353f22b5e

diff --git a/net-misc/minidlna/files/minidlna-1.2.1-buildsystem.patch 
b/net-misc/minidlna/files/minidlna-1.2.1-buildsystem.patch
deleted file mode 100644
index 10154dd5165..00000000000
--- a/net-misc/minidlna/files/minidlna-1.2.1-buildsystem.patch
+++ /dev/null
@@ -1,20 +0,0 @@
---- minidlna-1.2.1/configure.ac
-+++ minidlna-1.2.1/configure.ac
-@@ -477,6 +477,9 @@
-         AM_CONDITIONAL(NEED_VORBIS, true),
-         -logg)
- 
-+AC_ARG_ENABLE([avahi], AS_HELP_STRING([--enable-avahi], [Enable search for 
avahi]))
-+
-+AS_IF([test "x$enable_avahi" = "xyes"], [
- AC_CHECK_LIB(avahi-client, avahi_threaded_poll_new,
-         [AC_CHECK_HEADERS([avahi-common/thread-watch.h],
-          AM_CONDITIONAL(HAVE_AVAHI, true)
-@@ -484,6 +487,7 @@
-          AM_CONDITIONAL(HAVE_AVAHI, false))],
-          AM_CONDITIONAL(HAVE_AVAHI, false),
-         -lavahi-client -lavahi-common)
-+], [AM_CONDITIONAL(HAVE_AVAHI, false)])
- 
- 
################################################################################################################
- ### Header checks

diff --git a/net-misc/minidlna/minidlna-1.1.5-r1.ebuild 
b/net-misc/minidlna/minidlna-1.1.5-r1.ebuild
deleted file mode 100644
index c964214a45e..00000000000
--- a/net-misc/minidlna/minidlna-1.1.5-r1.ebuild
+++ /dev/null
@@ -1,95 +0,0 @@
-# Copyright 1999-2018 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-
-inherit eutils linux-info systemd toolchain-funcs user
-
-DESCRIPTION="DLNA/UPnP-AV compliant media server"
-HOMEPAGE="https://sourceforge.net/projects/minidlna/";
-SRC_URI="mirror://sourceforge/${PN}/${PV}/${P}.tar.gz
-       https://dev.gentoo.org/~xmw/${PN}-gentoo-artwork.patch.xz";
-
-LICENSE="BSD GPL-2"
-SLOT="0"
-KEYWORDS="amd64 arm x86"
-IUSE="netgear readynas"
-
-RDEPEND="dev-db/sqlite:3
-       media-libs/flac
-       media-libs/libexif
-       media-libs/libid3tag
-       media-libs/libogg
-       media-libs/libvorbis
-       virtual/ffmpeg
-       virtual/jpeg:0"
-DEPEND="${RDEPEND}
-       virtual/pkgconfig"
-
-CONFIG_CHECK="~INOTIFY_USER"
-
-pkg_setup() {
-       local my_is_new="yes"
-       [ -d "${EPREFIX}"/var/lib/${PN} ] && my_is_new="no"
-       enewgroup ${PN}
-       enewuser ${PN} -1 -1 /var/lib/${PN} ${PN}
-       if [ -d "${EPREFIX}"/var/lib/${PN} ] && [ "${my_is_new}" == "yes" ] ; 
then
-               # created by above enewuser command w/ wrong group and 
permissions
-               chown ${PN}:${PN} "${EPREFIX}"/var/lib/${PN} || die
-               chmod 0750 "${EPREFIX}"/var/lib/${PN} || die
-               # if user already exists, but /var/lib/minidlna is missing
-               # rely on ${D}/var/lib/minidlna created in src_install
-       fi
-
-       linux-info_pkg_setup
-}
-
-src_prepare() {
-       sed -e "/log_dir/s:/var/log:/var/log/${PN}:" \
-               -e "/db_dir/s:/var/cache/:/var/lib/:" \
-               -i ${PN}.conf || die
-
-       epatch "${WORKDIR}"/${PN}-gentoo-artwork.patch
-
-       epatch_user
-}
-
-src_configure() {
-       econf \
-               --disable-silent-rules \
-               --with-db-path=/var/lib/${PN} \
-               --with-log-path=/var/log/${PN} \
-               --enable-tivo \
-               $(use_enable netgear) \
-               $(use_enable readynas)
-}
-
-src_install() {
-       default
-
-       #bug 536532
-       dosym /usr/sbin/${PN}d /usr/bin/${PN}
-
-       insinto /etc
-       doins ${PN}.conf
-
-       newconfd "${FILESDIR}"/${PN}-1.0.25.confd ${PN}
-       newinitd "${FILESDIR}"/${PN}-1.1.5.initd ${PN}
-       systemd_newunit "${FILESDIR}"/${PN}-1.1.2.service ${PN}.service
-       echo "d /run/${PN} 0755 ${PN} ${PN} -" > "${T}"/${PN}.conf
-       systemd_dotmpfilesd "${T}"/${PN}.conf
-
-       dodir /var/{lib,log}/${PN}
-       fowners ${PN}:${PN} /var/{lib,log}/${PN}
-       fperms 0750 /var/{lib,log}/${PN}
-
-       dodoc AUTHORS NEWS README TODO
-       doman ${PN}d.8 ${PN}.conf.5
-}
-
-pkg_postinst() {
-       elog "minidlna now runs as minidlna:minidlna (bug 426726),"
-       elog "logfile is moved to /var/log/minidlna/minidlna.log,"
-       elog "cache is moved to /var/lib/minidlna."
-       elog "Please edit /etc/conf.d/${PN} and file ownerships to suit your 
needs."
-}

diff --git a/net-misc/minidlna/minidlna-1.2.1.ebuild 
b/net-misc/minidlna/minidlna-1.2.1.ebuild
deleted file mode 100644
index 40ee4bd7a8c..00000000000
--- a/net-misc/minidlna/minidlna-1.2.1.ebuild
+++ /dev/null
@@ -1,100 +0,0 @@
-# Copyright 1999-2018 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-inherit autotools eutils linux-info systemd toolchain-funcs user
-
-DESCRIPTION="DLNA/UPnP-AV compliant media server"
-HOMEPAGE="https://sourceforge.net/projects/minidlna/";
-SRC_URI="mirror://sourceforge/${PN}/${PV}/${P}.tar.gz
-       https://dev.gentoo.org/~xmw/${PN}-gentoo-artwork.patch.xz";
-
-LICENSE="BSD GPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ~arm ~x86"
-IUSE="avahi netgear readynas"
-
-RDEPEND="dev-db/sqlite:3
-       media-libs/flac
-       media-libs/libexif
-       media-libs/libid3tag
-       media-libs/libogg
-       media-libs/libvorbis
-       virtual/ffmpeg
-       virtual/jpeg:0
-       avahi? ( net-dns/avahi )"
-DEPEND="${RDEPEND}
-       virtual/pkgconfig"
-
-CONFIG_CHECK="~INOTIFY_USER"
-
-PATCHES=( "${WORKDIR}"/${PN}-gentoo-artwork.patch
-       "${FILESDIR}"/${P}-buildsystem.patch )
-
-pkg_setup() {
-       local my_is_new="yes"
-       [ -d "${EPREFIX}"/var/lib/${PN} ] && my_is_new="no"
-       enewgroup ${PN}
-       enewuser ${PN} -1 -1 /var/lib/${PN} ${PN}
-       if [ -d "${EPREFIX}"/var/lib/${PN} ] && [ "${my_is_new}" == "yes" ] ; 
then
-               # created by above enewuser command w/ wrong group and 
permissions
-               chown ${PN}:${PN} "${EPREFIX}"/var/lib/${PN} || die
-               chmod 0750 "${EPREFIX}"/var/lib/${PN} || die
-               # if user already exists, but /var/lib/minidlna is missing
-               # rely on ${D}/var/lib/minidlna created in src_install
-       fi
-
-       linux-info_pkg_setup
-}
-
-src_prepare() {
-       sed -e "/log_dir/s:/var/log:/var/log/${PN}:" \
-               -e "/db_dir/s:/var/cache/:/var/lib/:" \
-               -i ${PN}.conf || die
-
-       default
-
-       eautoreconf
-}
-
-src_configure() {
-       econf \
-               --disable-silent-rules \
-               --with-db-path=/var/lib/${PN} \
-               --with-log-path=/var/log/${PN} \
-               --enable-tivo \
-               $(use_enable avahi ) \
-               $(use_enable netgear) \
-               $(use_enable readynas)
-}
-
-src_install() {
-       default
-
-       #bug 536532
-       dosym /usr/sbin/${PN}d /usr/bin/${PN}
-
-       insinto /etc
-       doins ${PN}.conf
-
-       newconfd "${FILESDIR}"/${PN}-1.0.25.confd ${PN}
-       newinitd "${FILESDIR}"/${PN}-1.1.5.initd ${PN}
-       systemd_newunit "${FILESDIR}"/${PN}-1.1.2.service ${PN}.service
-       echo "d /run/${PN} 0755 ${PN} ${PN} -" > "${T}"/${PN}.conf
-       systemd_dotmpfilesd "${T}"/${PN}.conf
-
-       dodir /var/{lib,log}/${PN}
-       fowners ${PN}:${PN} /var/{lib,log}/${PN}
-       fperms 0750 /var/{lib,log}/${PN}
-
-       dodoc AUTHORS NEWS README TODO
-       doman ${PN}d.8 ${PN}.conf.5
-}
-
-pkg_postinst() {
-       elog "minidlna now runs as minidlna:minidlna (bug 426726),"
-       elog "logfile is moved to /var/log/minidlna/minidlna.log,"
-       elog "cache is moved to /var/lib/minidlna."
-       elog "Please edit /etc/conf.d/${PN} and file ownerships to suit your 
needs."
-}

Reply via email to