summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSteve Dibb <beandog@gentoo.org>2014-03-14 21:35:03 +0000
committerSteve Dibb <beandog@gentoo.org>2014-03-14 21:35:03 +0000
commit0ae3be97c9fc1ab29c73305bd68f5e7682b6f8a5 (patch)
tree4a1ed473317dfdd93f2382fbe9991ca79e5701a5 /net-misc/minidlna
parentInitial commit for perl-5.18 (diff)
downloadhistorical-0ae3be97c9fc1ab29c73305bd68f5e7682b6f8a5.tar.gz
historical-0ae3be97c9fc1ab29c73305bd68f5e7682b6f8a5.tar.bz2
historical-0ae3be97c9fc1ab29c73305bd68f5e7682b6f8a5.zip
Version bump, bug 490978
Package-Manager: portage-2.2.8-r1/cvs/Linux x86_64
Diffstat (limited to 'net-misc/minidlna')
-rw-r--r--net-misc/minidlna/ChangeLog11
-rw-r--r--net-misc/minidlna/Manifest16
-rw-r--r--net-misc/minidlna/minidlna-1.1.1.ebuild86
-rw-r--r--net-misc/minidlna/minidlna-1.1.2.ebuild86
4 files changed, 186 insertions, 13 deletions
diff --git a/net-misc/minidlna/ChangeLog b/net-misc/minidlna/ChangeLog
index 794dda01e972..2907cc5bcdeb 100644
--- a/net-misc/minidlna/ChangeLog
+++ b/net-misc/minidlna/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for net-misc/minidlna
-# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/minidlna/ChangeLog,v 1.38 2013/09/05 20:25:35 xmw Exp $
+# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/net-misc/minidlna/ChangeLog,v 1.39 2014/03/14 21:34:55 beandog Exp $
+
+*minidlna-1.1.2 (14 Mar 2014)
+*minidlna-1.1.1 (14 Mar 2014)
+
+ 14 Mar 2014; Steve Dibb <steve@gentoo.org> +minidlna-1.1.1.ebuild,
+ +minidlna-1.1.2.ebuild:
+ Version bump, bug 490978
*minidlna-1.1.0-r3 (05 Sep 2013)
diff --git a/net-misc/minidlna/Manifest b/net-misc/minidlna/Manifest
index c216f61142c0..2ec02f861e32 100644
--- a/net-misc/minidlna/Manifest
+++ b/net-misc/minidlna/Manifest
@@ -1,6 +1,3 @@
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA256
-
AUX minidlna-1.0.18-Makefile.patch 452 SHA256 036047d07f5fa9395104ca16c79d332ee17e2b3b83292ba3de019e97d5cafced SHA512 c02629524c257a30e41ec512d61f835ef596f99bfd8d1f7fd96334cb5b3e1089f4e23b2c78e2f2d0e877193fc581c8d2a9f1553eba61664a0a9b4b4500c11113 WHIRLPOOL d9e3deacebde02df612f4db8aa77a8fb61ec83c8b41919b420f1c617b32333e39764ae44a1430a78c63a41ea71c0b93eda440948c2f165d1ddf1c0ad17789561
AUX minidlna-1.0.23-r1.initd 1226 SHA256 26ef5686db85f14c0f7b493c693f7da134a95f58553643581d6e186f68c9c05e SHA512 bf5c68286e3cafd3061bbfb50a074b7c1b66262ade65f54d6dcf9521ef7fbf0c22887381409fa4a0a6a687d5486802ec6989d327cacf1cf999f6cff42f572138 WHIRLPOOL 5694dc14b6f1ae8137420a34dcbe13ec8e355ff0a413caf3031bdece6294087b7c190ad4227e7bfba2ed0127f61a195b87758a96d7cb894756c6e1a1f83b26ba
AUX minidlna-1.0.23.confd 310 SHA256 6c11dee4e893d24900cbe8efcd5f2b0eaf5476d0f3c16b809f48607efe7154a8 SHA512 a8b630d6149301e56555a3030b50d9533ea6d4de6d58ff98a4f4db653d9dbe647c4c69020947ae49f603e493b495100d87180fdfc01d8074d79821fd02a2f168 WHIRLPOOL 787d0519ae31c9f1dfab6cf2d89ba1889c4d79b96c2152bc1e56ed7ba66b20ed972be9291e8534457d45ccdf5b879377b6ba55a4029a622b0e39af5ef759ff10
@@ -17,6 +14,8 @@ AUX minidlna-1.1.0.initd 1230 SHA256 1b4572b74fdaf151108bc0874e866bdbb9bed9866b9
AUX minidlna-1.1.0.service 342 SHA256 766735cdcb3b9287fbdabe30e9a72b76fd7471ee38f003a94b6109def3870fb1 SHA512 3d02e9f250ccf7b61126862d871753c0db0dc430c42125cc049770fa6e74e377b59e60ce386d9698d5db2c2c1cfb091d0eee3ebad2d13b5626bfe346b446c35e WHIRLPOOL 2f929eef70d5732ddc56ece067a3b8f57d03db310dac7299d5c389d3eb0d0bf96a8b44e54058a11fa3c3d475e5eef3177f25a62c0486bd441992cd36475841a7
DIST minidlna-1.0.26.tar.gz 212353 SHA256 8c94dc8bef5602f0dac8d6c9068cf0484200bc1909e62b7e7551eae5af5eee4c SHA512 9e681592cfc637d32244f81d493143a5548f6e607a7c38a909a104492ad39be14831629997095efbc9154e0e087a6181058d4cdeb04b3f6548b99531c65e0631 WHIRLPOOL 29f7571c9e9fba949810c5162f546a6d47f72e7f810a44b56204ee4dd52a9c482da327089ddbaf516c6b718cbb569ff4c2fb0f76add477ff8057d7882d6e30f3
DIST minidlna-1.1.0.tar.gz 423555 SHA256 c2ef2ebe4311d08a60a87ec0c86fbe5e7f4fd25b947841f1d71b0508c60a90e2 SHA512 9240d857fc3927c06183c04c4d657c1b2b0596f63dbc549f331b52032698349e82244870f2ebf6f8bc8bf0ff5f2ff88df69b53d280f5e5f9b618a5de58ac6f57 WHIRLPOOL 6c59fa9f4e05fcd0ca2a7fb23058edb5f86d32a93fbae6791f9224e18bba742997fe140082fadcd95b993041db3ef8c597e820d6fd21b3c873b6ac9db6f8688e
+DIST minidlna-1.1.1.tar.gz 678403 SHA256 9b70082fd6a12e16cea1558ffff05c07e12ef0c405ee806721e75ce1ce9ad037 SHA512 e8be77777f147f95b308d9b10d40f239e3031da1b5b074fd3bff8bb11e0234ca4eaf1a942527755cbc83f97c8dd0a768c284fd63601b3ca05f2bd5db6eb02e49 WHIRLPOOL 90cdaa91bfca26c49219cfe33264972841eb03cd210f2399aabba47e278cc5dc5c0279bc86e5bb76e54ca55b84035db6d5d5b18dc3d605bd389c6666c9e242d6
+DIST minidlna-1.1.2.tar.gz 671295 SHA256 97e2e9141c1190d76ad97f0da083874bccf9f9590841be9eb7668bcf695b7204 SHA512 bfaf99dc5a59635c4cd10bcd9d2668736318b7840d97761fce96cfe78e00bb8e06ab23945126ba8d06d43fb99855ece7d2cd4f96c2c25a5b4f4a2c3697339e26 WHIRLPOOL c5b03d20992439e38b87eb160197f1ba5eff74bc133a280c01597ce06bd574dab6571daf5605b65b971dedd1a4d6af98423f6986b9b54d7168ad3a467e4fb58c
DIST minidlna_1.0.24_src.tar.gz 210775 SHA256 840ac2303c23d63066912750391d1ebef7761b5b23493e590624a17670ceb942 SHA512 bf1c2e7465ad24ae7c57f4270d40875227e0fb0e3db6c20fee7e286d7f93cfa17935475a8e9dda2da539d88f33fc4ec123a55e8cdf8e6656ae0e37306bb9625e WHIRLPOOL 1f12058862d37d9502680a75a4ff6f18ddc6b47638fece54ae24239e683489f346b09e5715a69ef132162fa8c8860830df8b52c9c748ca04a3c20d98392b014d
DIST minidlna_1.0.25_src.tar.gz 211756 SHA256 170560fbe042c2bbcba78c5f15b54f4fac321ff770490b23b55789be463f2851 SHA512 91945d787c06d0f6d6fded206b95d678b223e52dab8506c8b4f3ece10909ad5f304be17c9504b509a0c7fe175c8f55c711f38694adebd6ae302266bcb32196ed WHIRLPOOL c6e321d1fcc1a54e5dc528bafc92e87b3e5a7be9392f90bda247456dd4a2e0d9e487c1fa4b360f63443dd55888ce5825e0b3dc53c73ecaf1a0fc76f53a829369
EBUILD minidlna-1.0.24.ebuild 1204 SHA256 2dabe3dc16701ac34490387f54ed49162af981f2a67d1141303578572a843c9c SHA512 93b432c8992ea2a485222221161bbfcd1fe3daa6f1fb49755151a7060a6d20b194062e081e8220539c0c6ad4d622288cf7d155c5270719fb5e14c438348acb99 WHIRLPOOL bdcaf64f26781dbbf7a851e49b91e246dd5b3c5667b1d7b1f7a13c61d8209bd20daff0368328ced1d13ab674a1355ad07c4cbf72770c2c07f62a4e5cd7a6f94b
@@ -25,12 +24,7 @@ EBUILD minidlna-1.0.25-r2.ebuild 2298 SHA256 b23213b0dd101b3b667aeda00199fc9c041
EBUILD minidlna-1.0.26.ebuild 2271 SHA256 cbb05c6337f230b2d3e165dd9fb4f1f1eeb447909b98a7a125bc45fcf1ac6b03 SHA512 ab710bfa98e84123d5457a945ace0872348ef90d1b35fc8ce3871096b60461aeb7f048bd0ab93dba3fe1fb0f11b6f98f7a8d474c2f1a667c69c2baa6ec98b64a WHIRLPOOL 1659774f849ac64e79a6588f6af94a6add225f6580b906cef534767840c6f6d864fb7028151e641938c060fc9c26f0d85979c8e370f13e2680db775c2c5d02ff
EBUILD minidlna-1.1.0-r2.ebuild 2215 SHA256 2897828e8ea10eee91dde58d17e1434fc6f51f29dbc589c51e4c5d387a7cd7cb SHA512 12ff42aaadd73b5fc5b3e9764155f2302f25668b48cb5faa542eb20e71d8371f99d6666bade61a6b4e30cf4ccc7225109f8e9118b80a2a7a84c59b96915c09e0 WHIRLPOOL 03f5236e04863095d0a2b08282a5dfd07fdb3321c5c219a5dfe56e0f6daf5ea21c8cf54c77d71dd2f131b1571103e8c158b453043f6aaa70cb8065ed5b673bf3
EBUILD minidlna-1.1.0-r3.ebuild 2304 SHA256 85f54717c590f6cc54d39434219eec951f66dda3369ac4443bf13a2b1e37eede SHA512 13718c11148df3d81920c35c0ad8b91d472d451f71331ca3668cb9a2dd1705e4cd35645a4d669a3a6522fa0e03fa77a5194900049248d685a0d99f0868c90cd3 WHIRLPOOL 5be3c03521437e63d0c9b3682781c903a3b646d6891bbb7eb44332dffcca7c0577d9feedd99758b552d2b89c603afa2587ccf778bf4f1127bba330ac5a0ee382
-MISC ChangeLog 6944 SHA256 4572278e85c901f4acdc4fcad37e33839453705f4d1b49ed509c8a413ce11937 SHA512 8d87dae44d200b51464d4031c6ad94fd2b0206f1bc3e829801f6ca32a9705f4c919d45bc5b377e9b69f7f55f75152c59b1946a52cd1693007093d6c63757ad81 WHIRLPOOL 4875adf57e7dba17c0a07a2770ada0cf988ce5305e4465dd0ae3573fc3b36f9a63bab8f6b8e1a11138a9b00f5f54055deb550adba7003e4611fa290142596b44
+EBUILD minidlna-1.1.1.ebuild 2305 SHA256 1efa5655851a306a258c08b1850d16de4f3023405420494d0c18122ba1dfb29f SHA512 61094300caa5b0e11164589aabbb0e363d95e34f30b2a870f22319851a379c77be1c7d160d49aa67564ccecdcd00ea77ee1c960bde925d1787101862da76a54d WHIRLPOOL e564ab2be9be422091ff3e07bdaf0bb106a619609f4c470622c03d2007113baddaa20eb12f119a73e095420a152d7f0fd1ce9aa4df712d7a5af39c2a76e1cd23
+EBUILD minidlna-1.1.2.ebuild 2305 SHA256 7e711fcb5fcbf56638a314b2d7f5d01345448b72fd62c1b2f7f4042ecc3a690d SHA512 b05e7ae6e2cfcd45bcbefad259884df242d0c23e6b0d35365d4709a50fefa5310bcc93962c630b36539a09ccd3e69a3137406f552eda1ad7c4dbe4ca0d4e2e63 WHIRLPOOL 037fa0cc16b5234d3e84af1a07c8db0d0a80c7718736df473900c58e3f6ae85c7270d69ffd3975cff588e0ffc0990bf5fa931d1c64be3524367e9c2d3d3bb233
+MISC ChangeLog 7132 SHA256 b778e39478f08e05f16259bae0a4e2232540112ddabdf7bf6726526770a0b367 SHA512 0765634ef68ed42647bdfd5512d26d9db76e39a21e44fc65a697e106f7688e93c69aaac387a81162c37e9eaeb9cba6362688920e7a253d6bd5094fbed3df1af1 WHIRLPOOL d51bac1c5c11e5cc07e872a78abe3d0b0bdba69ca14dca03dea8dbe1b5abaa8ed67c20891ed9b893c6816f9b0aa2f7592fdfe7cb56044b43a9ed09809c47198b
MISC metadata.xml 490 SHA256 437c8b84c82b3f636e084b0ed4af2533c8eaa4397b070b7f691eba77e9fd0e80 SHA512 ab42dab304129ff7b9b765e430acc9ebbbc74ce51202648082eb00bbd6cbfb6060cf0d25053f2edd7cb1ceea47302067d6962060238d4598760c9b9f31510674 WHIRLPOOL d0be253531451eb824479b72f48d74e32a43cb7b0c6a30963211a2fc299ca4998d12c6606a60ac6a906feadeb4f0e1f10a690fce91f0bdb811aca2e41574e7e5
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v2.0.20 (GNU/Linux)
-
-iF4EAREIAAYFAlIo6MAACgkQknrdDGLu8JA0XQD8D5zv1uM+vHYBvGg8l4vYCi2y
-/dliXx4RtUJfZZ+jPZAA/3cF2Lber1CAoImepJ1N5Tw1sdzmc+RGBxm3PvF/URcR
-=DlGx
------END PGP SIGNATURE-----
diff --git a/net-misc/minidlna/minidlna-1.1.1.ebuild b/net-misc/minidlna/minidlna-1.1.1.ebuild
new file mode 100644
index 000000000000..3a5bc8e49a60
--- /dev/null
+++ b/net-misc/minidlna/minidlna-1.1.1.ebuild
@@ -0,0 +1,86 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-misc/minidlna/minidlna-1.1.1.ebuild,v 1.1 2014/03/14 21:34:55 beandog Exp $
+
+EAPI=4
+
+inherit eutils 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"
+
+LICENSE="BSD GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~x86"
+IUSE="netgear readynas"
+
+RDEPEND="dev-db/sqlite
+ media-libs/flac
+ media-libs/libexif
+ media-libs/libid3tag
+ media-libs/libogg
+ media-libs/libvorbis
+ virtual/ffmpeg
+ virtual/jpeg"
+DEPEND="${RDEPEND}
+ virtual/pkgconfig"
+
+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
+}
+
+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_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}"/${PF}.initd ${PN}
+ systemd_newunit "${FILESDIR}"/${PF}.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.2.ebuild b/net-misc/minidlna/minidlna-1.1.2.ebuild
new file mode 100644
index 000000000000..4334244daa0b
--- /dev/null
+++ b/net-misc/minidlna/minidlna-1.1.2.ebuild
@@ -0,0 +1,86 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-misc/minidlna/minidlna-1.1.2.ebuild,v 1.1 2014/03/14 21:34:55 beandog Exp $
+
+EAPI=4
+
+inherit eutils 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"
+
+LICENSE="BSD GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~x86"
+IUSE="netgear readynas"
+
+RDEPEND="dev-db/sqlite
+ media-libs/flac
+ media-libs/libexif
+ media-libs/libid3tag
+ media-libs/libogg
+ media-libs/libvorbis
+ virtual/ffmpeg
+ virtual/jpeg"
+DEPEND="${RDEPEND}
+ virtual/pkgconfig"
+
+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
+}
+
+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_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}"/${PF}.initd ${PN}
+ systemd_newunit "${FILESDIR}"/${PF}.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."
+}