[arch-commits] Commit in minidlna/repos (6 files)

Felix Yan felixonmars at archlinux.org
Tue Jul 7 21:26:55 UTC 2020


    Date: Tuesday, July 7, 2020 @ 21:26:55
  Author: felixonmars
Revision: 660431

archrelease: copy trunk to community-staging-x86_64

Added:
  minidlna/repos/community-staging-x86_64/
  minidlna/repos/community-staging-x86_64/PKGBUILD
    (from rev 660428, minidlna/trunk/PKGBUILD)
  minidlna/repos/community-staging-x86_64/changelog
    (from rev 660428, minidlna/trunk/changelog)
  minidlna/repos/community-staging-x86_64/minidlna.service
    (from rev 660428, minidlna/trunk/minidlna.service)
  minidlna/repos/community-staging-x86_64/minidlna.sysusers
    (from rev 660428, minidlna/trunk/minidlna.sysusers)
  minidlna/repos/community-staging-x86_64/minidlna.tmpfiles
    (from rev 660428, minidlna/trunk/minidlna.tmpfiles)

-------------------+
 PKGBUILD          |   49 +++++++++++++++++++++++++++++++++++++++++++++++++
 changelog         |    4 ++++
 minidlna.service  |   16 ++++++++++++++++
 minidlna.sysusers |    1 +
 minidlna.tmpfiles |    5 +++++
 5 files changed, 75 insertions(+)

Copied: minidlna/repos/community-staging-x86_64/PKGBUILD (from rev 660428, minidlna/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2020-07-07 21:26:55 UTC (rev 660431)
@@ -0,0 +1,49 @@
+# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
+# Maintainer:Biginoz < biginoz AT free point fr>
+# Contributor: Ignacio Galmarino <igalmarino at gmail.com>
+# Contributor: Matthias Sobczyk <matthias.sobczyk at googlemail.com>
+# Contributor: Kamil Kaminski <kyle at kkaminsk.com>
+
+pkgname=minidlna
+pkgver=1.2.1
+pkgrel=5
+pkgdesc="A DLNA/UPnP-AV Media server (aka ReadyDLNA)"
+arch=('x86_64')
+url="https://sourceforge.net/projects/minidlna/"
+license=('GPL')
+depends=('libexif' 'libjpeg' 'libid3tag' 'flac' 'libvorbis' 'ffmpeg' 'sqlite')
+makedepends=('git')
+backup=('etc/minidlna.conf')
+changelog=changelog
+source=("minidlna::git+https://git.code.sf.net/p/minidlna/git#tag=v${pkgver//./_}"
+	minidlna.service
+	minidlna.tmpfiles
+	minidlna.sysusers)
+sha512sums=('SKIP'
+            'f428710f3ad2de007ba2e4e8937a0b9262b5c6b4a63da536190e2866ae48c35be81672e3b097c8eb479d5749dd07be40c5a6a8c98e9c0a10ba08607d56b1a590'
+            'c58631c20416997c538be6258ef9c13b9304d5906b19f063157df70f672b7153b452ffb9612be267a90942bd880af8d665ebe3c53a2926ffa99acc943d875d97'
+            'e3e6c46faac768b283134a47013b77c4152840c61d3503f51fbe154bf25fe8a0e585ed9a40950212254b4a844b007f674875e4d25f55af51914694213fecc420')
+
+prepare() {
+  cd "$srcdir/$pkgname"
+  sed -i 's|#user=.*|user=minidlna|g' minidlna.conf
+}
+
+build() {
+  cd "$srcdir/$pkgname"
+  CFLAGS+=' -fcommon' # https://wiki.gentoo.org/wiki/Gcc_10_porting_notes/fno_common
+  [ -x configure ] || ./autogen.sh
+  ./configure --prefix=/usr --sbindir=/usr/bin
+  make
+}
+
+package() {
+  cd "$srcdir/$pkgname"
+  DESTDIR="$pkgdir" make install
+  install -Dm644 minidlna.conf "$pkgdir"/etc/minidlna.conf
+  install -Dm0644 "$srcdir"/minidlna.tmpfiles "$pkgdir"/usr/lib/tmpfiles.d/minidlna.conf
+  install -Dm0644 "$srcdir"/minidlna.sysusers "$pkgdir"/usr/lib/sysusers.d/minidlna.conf
+  install -Dm0644 "$srcdir"/minidlna.service "$pkgdir"/usr/lib/systemd/system/minidlna.service
+  install -Dm644 "$srcdir"/$pkgname/minidlna.conf.5 "$pkgdir"/usr/share/man/man5/minidlna.conf.5
+  install -Dm644 "$srcdir"/$pkgname/minidlnad.8 "$pkgdir"/usr/share/man/man8/minidlnad.8
+}

Copied: minidlna/repos/community-staging-x86_64/changelog (from rev 660428, minidlna/trunk/changelog)
===================================================================
--- community-staging-x86_64/changelog	                        (rev 0)
+++ community-staging-x86_64/changelog	2020-07-07 21:26:55 UTC (rev 660431)
@@ -0,0 +1,4 @@
+2011-08-29 Sergej Pupykin <sergej at p5n.pp.ru>
+
+	* 1.0.22-3 :
+	add user configuration to /etc/conf.d/minidlna

Copied: minidlna/repos/community-staging-x86_64/minidlna.service (from rev 660428, minidlna/trunk/minidlna.service)
===================================================================
--- community-staging-x86_64/minidlna.service	                        (rev 0)
+++ community-staging-x86_64/minidlna.service	2020-07-07 21:26:55 UTC (rev 660431)
@@ -0,0 +1,16 @@
+[Unit]
+Description=minidlna server
+After=network.target
+
+[Service]
+Type=simple
+User=minidlna
+Group=minidlna
+ExecStart=/usr/bin/minidlnad -S
+ProtectSystem=full
+ProtectHome=on
+PrivateDevices=on
+NoNewPrivileges=on
+
+[Install]
+WantedBy=multi-user.target

Copied: minidlna/repos/community-staging-x86_64/minidlna.sysusers (from rev 660428, minidlna/trunk/minidlna.sysusers)
===================================================================
--- community-staging-x86_64/minidlna.sysusers	                        (rev 0)
+++ community-staging-x86_64/minidlna.sysusers	2020-07-07 21:26:55 UTC (rev 660431)
@@ -0,0 +1 @@
+u minidlna   -      "minidlna server" /var/cache/minidlna

Copied: minidlna/repos/community-staging-x86_64/minidlna.tmpfiles (from rev 660428, minidlna/trunk/minidlna.tmpfiles)
===================================================================
--- community-staging-x86_64/minidlna.tmpfiles	                        (rev 0)
+++ community-staging-x86_64/minidlna.tmpfiles	2020-07-07 21:26:55 UTC (rev 660431)
@@ -0,0 +1,5 @@
+# systemd tmpfile settings for minidlna
+# See tmpfiles.d(5) for details
+
+d /run/minidlna 0755 minidlna minidlna -
+d /var/cache/minidlna 0755 minidlna minidlna -



More information about the arch-commits mailing list