From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: <gentoo-commits+bounces-939627-garchives=archives.gentoo.org@lists.gentoo.org> Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 6419B139695 for <garchives@archives.gentoo.org>; Sun, 19 Mar 2017 14:41:23 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 7588821C0AA; Sun, 19 Mar 2017 14:41:22 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 3406C21C07E for <gentoo-commits@lists.gentoo.org>; Sun, 19 Mar 2017 14:41:22 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id A9C2134112A for <gentoo-commits@lists.gentoo.org>; Sun, 19 Mar 2017 14:41:20 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 4298E6DA1 for <gentoo-commits@lists.gentoo.org>; Sun, 19 Mar 2017 14:41:19 +0000 (UTC) From: "Michael Weber" <xmw@gentoo.org> To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Michael Weber" <xmw@gentoo.org> Message-ID: <1489934338.602d60245ccc9cb24d4268f25a95e7a8b78bbc80.xmw@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: net-misc/minidlna/files/, net-misc/minidlna/ X-VCS-Repository: repo/gentoo X-VCS-Files: net-misc/minidlna/Manifest net-misc/minidlna/files/minidlna-1.1.2.initd net-misc/minidlna/minidlna-1.1.4.ebuild net-misc/minidlna/minidlna-1.1.5.ebuild X-VCS-Directories: net-misc/minidlna/ net-misc/minidlna/files/ X-VCS-Committer: xmw X-VCS-Committer-Name: Michael Weber X-VCS-Revision: 602d60245ccc9cb24d4268f25a95e7a8b78bbc80 X-VCS-Branch: master Date: Sun, 19 Mar 2017 14:41:19 +0000 (UTC) Precedence: bulk List-Post: <mailto:gentoo-commits@lists.gentoo.org> List-Help: <mailto:gentoo-commits+help@lists.gentoo.org> List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org> List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org> List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org> X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 7eff278a-ad2d-4b37-9e35-916aed63779a X-Archives-Hash: 02a50b541f5c324f2556c3a4e165a8c6 commit: 602d60245ccc9cb24d4268f25a95e7a8b78bbc80 Author: Michael Weber <xmw <AT> gentoo <DOT> org> AuthorDate: Sun Mar 19 11:56:34 2017 +0000 Commit: Michael Weber <xmw <AT> gentoo <DOT> org> CommitDate: Sun Mar 19 14:38:58 2017 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=602d6024 net-misc/minidlna: Remove old versions. Package-Manager: Portage-2.3.4, Repoman-2.3.2 net-misc/minidlna/Manifest | 1 - net-misc/minidlna/files/minidlna-1.1.2.initd | 52 --------------- net-misc/minidlna/minidlna-1.1.4.ebuild | 92 --------------------------- net-misc/minidlna/minidlna-1.1.5.ebuild | 95 ---------------------------- 4 files changed, 240 deletions(-) diff --git a/net-misc/minidlna/Manifest b/net-misc/minidlna/Manifest index c7c7c446b37..03aab3c3ce4 100644 --- a/net-misc/minidlna/Manifest +++ b/net-misc/minidlna/Manifest @@ -1,3 +1,2 @@ -DIST minidlna-1.1.4.tar.gz 494478 SHA256 9814c04a2c506a0dd942c4218d30c07dedf90dabffbdef2d308a3f9f23545314 SHA512 24c2d82222798278d60faa46c6d7b19e44a91868da869f7d2aa2bf3c68e343a6c2a323f67223ea69242919047b08f059ed9c7a49b0b516384244acd98b51db4e WHIRLPOOL 5f82dd2130086e90784b05d67037e9c40e20b539ddc1bfb3733910beee44578027d9c245aa1f6117ba05b3c039a2b32125ea561f71c63cf0e422664e7067007f DIST minidlna-1.1.5.tar.gz 488191 SHA256 8477ad0416bb2af5cd8da6dde6c07ffe1a413492b7fe40a362bc8587be15ab9b SHA512 2a8eaa42fcda6f98648f1726af5cdba6d2358c386440dd0de933364cfbd1ced2fee5f883033e1a5a692b760749beb2c12798020a3591ddcea22663102d4f3dfa WHIRLPOOL 8ed8fd62fb063b042a234c8647fa05c65e4f1e331a66efae8f361002f5cedcd2706d777348332075e3263e0d8bbde7794dd84fc400dfe3a656e5d70952427669 DIST minidlna-gentoo-artwork.patch.xz 49372 SHA256 37ae7228b07b7c81c8962c5dc88a41ed1691bdf1b019b654a9fc93ac1da0c7ce SHA512 3bdaadc2a2331e9ebf37ed80d1de7cebd6307ab068dc9cf067159b2c0754a765b2076c07e988602af4dd2d6c49c819da8a1f668258950e15592027b353f22b5e WHIRLPOOL e243b9b6a002af5e3ee1bb196239790ff86724624ebccb34c84ac072426341db6b5f44e455d13657d5284220fe2688ddf3a2ec0212a7b86525eb02a6c080af80 diff --git a/net-misc/minidlna/files/minidlna-1.1.2.initd b/net-misc/minidlna/files/minidlna-1.1.2.initd deleted file mode 100644 index eeb0786f0b5..00000000000 --- a/net-misc/minidlna/files/minidlna-1.1.2.initd +++ /dev/null @@ -1,52 +0,0 @@ -#!/sbin/openrc-run -# Copyright 1999-2013 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -depend() { - need net -} - -start() { - ebegin "Starting MiniDLNA" - local params="" - local stop=0 - - checkpath -q -d -m 0755 -o ${M_USER:-minidlna}:${M_GROUP:-minidlna} /run/minidlna - - params="$params -P /run/minidlna/minidlna.pid" - - if [[ "${RESCAN}" = "true" || "${RESCAN}" = yes ]]; then - params="$params -R" - fi - - #set the config file and check if it exists - if [ -z "${CONFIG}" ]; then - if [ ! -f "/etc/minidlna.conf" ]; then - ewarn "You did not set the config file correctly" - stop=1 - fi - params="$params -f /etc/minidlna.conf" - else - if [ ! -f "${CONFIG}" ]; then - ewarn "The specified config file does not exist" - stop=1 - fi - params="$params -f ${CONFIG}" - fi - - - if [ $stop -eq 1 ]; then - eend 1 - else - start-stop-daemon --start \ - --user ${M_USER:-minidlna} --group ${M_GROUP:-minidlna} \ - --exec /usr/sbin/minidlnad -- ${params} - eend $? - fi -} - -stop() { - ebegin "Stopping MiniDLNA" - start-stop-daemon --stop --quiet --exec /usr/sbin/minidlnad - eend $? -} diff --git a/net-misc/minidlna/minidlna-1.1.4.ebuild b/net-misc/minidlna/minidlna-1.1.4.ebuild deleted file mode 100644 index 0f2ebcd6d92..00000000000 --- a/net-misc/minidlna/minidlna-1.1.4.ebuild +++ /dev/null @@ -1,92 +0,0 @@ -# Copyright 1999-2015 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="http://minidlna.sourceforge.net/" -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 - - insinto /etc - doins ${PN}.conf - - newconfd "${FILESDIR}"/${PN}-1.0.25.confd ${PN} - newinitd "${FILESDIR}"/${PN}-1.1.2.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.1.5.ebuild b/net-misc/minidlna/minidlna-1.1.5.ebuild deleted file mode 100644 index 7e920f95490..00000000000 --- a/net-misc/minidlna/minidlna-1.1.5.ebuild +++ /dev/null @@ -1,95 +0,0 @@ -# Copyright 1999-2015 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="http://minidlna.sourceforge.net/" -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.2.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." -}