Date: Sunday, June 5, 2016 @ 23:57:19 Author: seblu Revision: 177994 archrelease: copy trunk to community-any
Added: unifi/repos/community-any/LICENSE (from rev 177993, unifi/trunk/LICENSE) unifi/repos/community-any/PKGBUILD (from rev 177993, unifi/trunk/PKGBUILD) unifi/repos/community-any/unifi.install (from rev 177993, unifi/trunk/unifi.install) unifi/repos/community-any/unifi.service (from rev 177993, unifi/trunk/unifi.service) unifi/repos/community-any/unifi.sysusers (from rev 177993, unifi/trunk/unifi.sysusers) Deleted: unifi/repos/community-any/LICENSE unifi/repos/community-any/PKGBUILD unifi/repos/community-any/unifi.install unifi/repos/community-any/unifi.service unifi/repos/community-any/unifi.sysusers ----------------+ LICENSE | 6 +- PKGBUILD | 112 +++++++++++++++++++++++++++---------------------------- unifi.install | 16 +++---- unifi.service | 24 +++++------ unifi.sysusers | 2 5 files changed, 80 insertions(+), 80 deletions(-) Deleted: LICENSE =================================================================== --- LICENSE 2016-06-05 21:57:05 UTC (rev 177993) +++ LICENSE 2016-06-05 21:57:19 UTC (rev 177994) @@ -1,3 +0,0 @@ -Ubiquiti Networks - All Rights Reserved. -Permission granted to Archlinux to re-package. -https://mailman.archlinux.org/mailman/private/arch-dev/2014-August/015690.html Copied: unifi/repos/community-any/LICENSE (from rev 177993, unifi/trunk/LICENSE) =================================================================== --- LICENSE (rev 0) +++ LICENSE 2016-06-05 21:57:19 UTC (rev 177994) @@ -0,0 +1,3 @@ +Ubiquiti Networks - All Rights Reserved. +Permission granted to Archlinux to re-package. +https://mailman.archlinux.org/mailman/private/arch-dev/2014-August/015690.html Deleted: PKGBUILD =================================================================== --- PKGBUILD 2016-06-05 21:57:05 UTC (rev 177993) +++ PKGBUILD 2016-06-05 21:57:19 UTC (rev 177994) @@ -1,56 +0,0 @@ -# $Id$ -# Maintainer: Sébastien "Seblu" Luttringer <se...@archlinux.org> -# Contributor: Frederik Schwan frederik dot schwan at linux dot com> - -pkgname=unifi -pkgver=4.8.18 -pkgrel=1 -pkgdesc='Centralized management system for Ubiquiti UniFi AP' -arch=('any') -url='https://community.ubnt.com/unifi' -# We are allowed to ship the software in our repository -# https://mailman.archlinux.org/mailman/private/arch-dev/2014-August/015690.html -license=('custom') -depends=('mongodb' 'jre7-openjdk-headless' 'fontconfig') -makedepends=('jdk7-openjdk') -conflicts=('tomcat-native') -install=unifi.install -source=("UniFi-$pkgver.zip::http://dl.ubnt.com/unifi/$pkgver/UniFi.unix.zip" - 'unifi.service' - 'unifi.sysusers' - 'LICENSE') -md5sums=('6530b2a5b2d943353869a25032b80aea' - '79998cabf110d9a96ba4d3367101c94c' - 'a92291a0074a5dcf414da4dfe812bc2a' - '63a6f9e67db6a466f31a40c228c16d63') - -package() { - # lib - install -dm755 "$pkgdir/usr/lib/unifi" - cp -r UniFi/{bin,dl,lib,webapps} "$pkgdir/usr/lib/unifi" - - # data - install -dm750 "$pkgdir/var/lib/unifi" - for _d in data run work; do - install -dm750 "$pkgdir/var/lib/unifi/$_d" - ln -s "../../../var/lib/unifi/$_d" "$pkgdir/usr/lib/unifi/$_d" - done - chown -R 113:113 "$pkgdir/var/lib/unifi" - - # log - install -dm750 "$pkgdir/var/log/unifi" - ln -s ../../../var/log/unifi "$pkgdir/usr/lib/unifi/logs" - chown -R 113:113 "$pkgdir/var/log/unifi" - - # readme - install -Dm644 UniFi/readme.txt "$pkgdir/usr/share/doc/$pkgname/README" - - # license - install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE" - - # systemd - install -Dm644 $pkgname.service "$pkgdir/usr/lib/systemd/system/$pkgname.service" - install -Dm644 $pkgname.sysusers "$pkgdir/usr/lib/sysusers.d/$pkgname.conf" -} - -# vim:set ts=2 sw=2 ft=sh et: Copied: unifi/repos/community-any/PKGBUILD (from rev 177993, unifi/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2016-06-05 21:57:19 UTC (rev 177994) @@ -0,0 +1,56 @@ +# $Id$ +# Maintainer: Sébastien "Seblu" Luttringer <se...@archlinux.org> +# Contributor: Frederik Schwan frederik dot schwan at linux dot com> + +pkgname=unifi +pkgver=5.0.6 +pkgrel=1 +pkgdesc='Centralized management system for Ubiquiti UniFi AP' +arch=('any') +url='https://community.ubnt.com/unifi' +# We are allowed to ship the software in our repository +# https://mailman.archlinux.org/mailman/private/arch-dev/2014-August/015690.html +license=('custom') +depends=('mongodb' 'jre7-openjdk-headless' 'fontconfig') +makedepends=('jdk7-openjdk') +conflicts=('tomcat-native') +install=unifi.install +source=("UniFi-$pkgver.zip::http://dl.ubnt.com/unifi/$pkgver/UniFi.unix.zip" + 'unifi.service' + 'unifi.sysusers' + 'LICENSE') +md5sums=('7e11000a33e36a05b237629d8cde6760' + '79998cabf110d9a96ba4d3367101c94c' + 'a92291a0074a5dcf414da4dfe812bc2a' + '63a6f9e67db6a466f31a40c228c16d63') + +package() { + # lib + install -dm755 "$pkgdir/usr/lib/unifi" + cp -r UniFi/{bin,dl,lib,webapps} "$pkgdir/usr/lib/unifi" + + # data + install -dm750 "$pkgdir/var/lib/unifi" + for _d in data run work; do + install -dm750 "$pkgdir/var/lib/unifi/$_d" + ln -s "../../../var/lib/unifi/$_d" "$pkgdir/usr/lib/unifi/$_d" + done + chown -R 113:113 "$pkgdir/var/lib/unifi" + + # log + install -dm750 "$pkgdir/var/log/unifi" + ln -s ../../../var/log/unifi "$pkgdir/usr/lib/unifi/logs" + chown -R 113:113 "$pkgdir/var/log/unifi" + + # readme + install -Dm644 UniFi/readme.txt "$pkgdir/usr/share/doc/$pkgname/README" + + # license + install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE" + + # systemd + install -Dm644 $pkgname.service "$pkgdir/usr/lib/systemd/system/$pkgname.service" + install -Dm644 $pkgname.sysusers "$pkgdir/usr/lib/sysusers.d/$pkgname.conf" +} + +# vim:set ts=2 sw=2 ft=sh et: Deleted: unifi.install =================================================================== --- unifi.install 2016-06-05 21:57:05 UTC (rev 177993) +++ unifi.install 2016-06-05 21:57:19 UTC (rev 177994) @@ -1,8 +0,0 @@ -# arg 1: the new package version -post_install() { - # https://wiki.archlinux.org/index.php/DeveloperWiki:UID_/_GID_Database - systemd-sysusers unifi.conf - : -} - -# vim:set ts=2 sw=2 et: Copied: unifi/repos/community-any/unifi.install (from rev 177993, unifi/trunk/unifi.install) =================================================================== --- unifi.install (rev 0) +++ unifi.install 2016-06-05 21:57:19 UTC (rev 177994) @@ -0,0 +1,8 @@ +# arg 1: the new package version +post_install() { + # https://wiki.archlinux.org/index.php/DeveloperWiki:UID_/_GID_Database + systemd-sysusers unifi.conf + : +} + +# vim:set ts=2 sw=2 et: Deleted: unifi.service =================================================================== --- unifi.service 2016-06-05 21:57:05 UTC (rev 177993) +++ unifi.service 2016-06-05 21:57:19 UTC (rev 177994) @@ -1,12 +0,0 @@ -[Unit] -Description=Ubiquiti UniFi Server -After=network.target - -[Service] -User=unifi -WorkingDirectory=/usr/lib/unifi -ExecStart=/usr/bin/java -jar /usr/lib/unifi/lib/ace.jar start -ExecStop=/usr/bin/java -jar /usr/lib/unifi/lib/ace.jar stop - -[Install] -WantedBy=multi-user.target Copied: unifi/repos/community-any/unifi.service (from rev 177993, unifi/trunk/unifi.service) =================================================================== --- unifi.service (rev 0) +++ unifi.service 2016-06-05 21:57:19 UTC (rev 177994) @@ -0,0 +1,12 @@ +[Unit] +Description=Ubiquiti UniFi Server +After=network.target + +[Service] +User=unifi +WorkingDirectory=/usr/lib/unifi +ExecStart=/usr/bin/java -jar /usr/lib/unifi/lib/ace.jar start +ExecStop=/usr/bin/java -jar /usr/lib/unifi/lib/ace.jar stop + +[Install] +WantedBy=multi-user.target Deleted: unifi.sysusers =================================================================== --- unifi.sysusers 2016-06-05 21:57:05 UTC (rev 177993) +++ unifi.sysusers 2016-06-05 21:57:19 UTC (rev 177994) @@ -1 +0,0 @@ -u unifi 113 - - Copied: unifi/repos/community-any/unifi.sysusers (from rev 177993, unifi/trunk/unifi.sysusers) =================================================================== --- unifi.sysusers (rev 0) +++ unifi.sysusers 2016-06-05 21:57:19 UTC (rev 177994) @@ -0,0 +1 @@ +u unifi 113 - -