[arch-commits] Commit in unifi/repos/community-any (9 files)
Sébastien Luttringer
seblu at archlinux.org
Thu Jan 12 11:15:43 UTC 2017
Date: Thursday, January 12, 2017 @ 11:15:42
Author: seblu
Revision: 206986
archrelease: copy trunk to community-any
Added:
unifi/repos/community-any/LICENSE
(from rev 206985, unifi/trunk/LICENSE)
unifi/repos/community-any/PKGBUILD
(from rev 206985, unifi/trunk/PKGBUILD)
unifi/repos/community-any/unifi.service
(from rev 206985, unifi/trunk/unifi.service)
unifi/repos/community-any/unifi.sysusers
(from rev 206985, 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 | 109 +++++++++++++++++++++++++++----------------------------
unifi.install | 8 ----
unifi.service | 24 ++++++------
unifi.sysusers | 2 -
5 files changed, 70 insertions(+), 79 deletions(-)
Deleted: LICENSE
===================================================================
--- LICENSE 2017-01-12 11:15:03 UTC (rev 206985)
+++ LICENSE 2017-01-12 11:15:42 UTC (rev 206986)
@@ -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 206985, unifi/trunk/LICENSE)
===================================================================
--- LICENSE (rev 0)
+++ LICENSE 2017-01-12 11:15:42 UTC (rev 206986)
@@ -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 2017-01-12 11:15:03 UTC (rev 206985)
+++ PKGBUILD 2017-01-12 11:15:42 UTC (rev 206986)
@@ -1,55 +0,0 @@
-# $Id$
-# Maintainer: Sébastien "Seblu" Luttringer <seblu at archlinux.org>
-# Contributor: Frederik Schwan frederik dot schwan at linux dot com>
-
-pkgname=unifi
-pkgver=5.3.8
-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' 'java-runtime-headless' 'fontconfig')
-conflicts=('tomcat-native')
-install=unifi.install
-source=("UniFi-$pkgver.zip::https://dl.ubnt.com/unifi/$pkgver/UniFi.unix.zip"
- 'unifi.service'
- 'unifi.sysusers'
- 'LICENSE')
-md5sums=('efbfc22a8e607bbc32631e5ae4751e00'
- '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 206985, unifi/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2017-01-12 11:15:42 UTC (rev 206986)
@@ -0,0 +1,54 @@
+# $Id$
+# Maintainer: Sébastien "Seblu" Luttringer <seblu at archlinux.org>
+# Contributor: Frederik Schwan frederik dot schwan at linux dot com>
+
+pkgname=unifi
+pkgver=5.3.11
+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' 'java-runtime-headless' 'fontconfig')
+conflicts=('tomcat-native')
+source=("UniFi-$pkgver.zip::https://dl.ubnt.com/unifi/$pkgver/UniFi.unix.zip"
+ 'unifi.service'
+ 'unifi.sysusers'
+ 'LICENSE')
+md5sums=('779667ebddd05293e6f3cc624a96db47'
+ '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 2017-01-12 11:15:03 UTC (rev 206985)
+++ unifi.install 2017-01-12 11:15:42 UTC (rev 206986)
@@ -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:
Deleted: unifi.service
===================================================================
--- unifi.service 2017-01-12 11:15:03 UTC (rev 206985)
+++ unifi.service 2017-01-12 11:15:42 UTC (rev 206986)
@@ -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 206985, unifi/trunk/unifi.service)
===================================================================
--- unifi.service (rev 0)
+++ unifi.service 2017-01-12 11:15:42 UTC (rev 206986)
@@ -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 2017-01-12 11:15:03 UTC (rev 206985)
+++ unifi.sysusers 2017-01-12 11:15:42 UTC (rev 206986)
@@ -1 +0,0 @@
-u unifi 113 - -
Copied: unifi/repos/community-any/unifi.sysusers (from rev 206985, unifi/trunk/unifi.sysusers)
===================================================================
--- unifi.sysusers (rev 0)
+++ unifi.sysusers 2017-01-12 11:15:42 UTC (rev 206986)
@@ -0,0 +1 @@
+u unifi 113 - -
More information about the arch-commits
mailing list