[arch-commits] Commit in unifi/repos/community-any (8 files)
Sébastien Luttringer
seblu at archlinux.org
Tue Feb 3 22:17:03 UTC 2015
Date: Tuesday, February 3, 2015 @ 23:17:02
Author: seblu
Revision: 127060
archrelease: copy trunk to community-any
Added:
unifi/repos/community-any/LICENSE
(from rev 127059, unifi/trunk/LICENSE)
unifi/repos/community-any/PKGBUILD
(from rev 127059, unifi/trunk/PKGBUILD)
unifi/repos/community-any/unifi.install
(from rev 127059, unifi/trunk/unifi.install)
unifi/repos/community-any/unifi.service
(from rev 127059, unifi/trunk/unifi.service)
Deleted:
unifi/repos/community-any/LICENSE
unifi/repos/community-any/PKGBUILD
unifi/repos/community-any/unifi.install
unifi/repos/community-any/unifi.service
---------------+
LICENSE | 6 +-
PKGBUILD | 120 ++++++++++++++++++++++++++++----------------------------
unifi.install | 32 +++++++-------
unifi.service | 24 +++++------
4 files changed, 91 insertions(+), 91 deletions(-)
Deleted: LICENSE
===================================================================
--- LICENSE 2015-02-03 22:16:43 UTC (rev 127059)
+++ LICENSE 2015-02-03 22:17:02 UTC (rev 127060)
@@ -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 127059, unifi/trunk/LICENSE)
===================================================================
--- LICENSE (rev 0)
+++ LICENSE 2015-02-03 22:17:02 UTC (rev 127060)
@@ -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 2015-02-03 22:16:43 UTC (rev 127059)
+++ PKGBUILD 2015-02-03 22:17:02 UTC (rev 127060)
@@ -1,60 +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=3.2.7
-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')
-makedepends=('jdk7-openjdk')
-conflicts=('tomcat-native')
-install=unifi.install
-source=("UniFi-$pkgver.zip::http://dl.ubnt.com/unifi/$pkgver/UniFi.unix.zip"
- 'unifi.service'
- 'LICENSE')
-md5sums=('7001f419b69882f64f048a74cfb473ab'
- '79998cabf110d9a96ba4d3367101c94c'
- '63a6f9e67db6a466f31a40c228c16d63')
-
-package() {
- # lib
- install -dm755 "$pkgdir/usr/lib/unifi"
- cp -r UniFi/{bin,dl,lib,webapps} "$pkgdir/usr/lib/unifi"
- # unjar
- pushd "$pkgdir/usr/lib/unifi/webapps"
- mkdir ROOT
- cd ROOT
- jar -xf ../ROOT.war
- rm ../ROOT.war
- popd
-
- # 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 unifi.service "$pkgdir/usr/lib/systemd/system/unifi.service"
-}
-
-# vim:set ts=2 sw=2 ft=sh et:
Copied: unifi/repos/community-any/PKGBUILD (from rev 127059, unifi/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2015-02-03 22:17:02 UTC (rev 127060)
@@ -0,0 +1,60 @@
+# $Id$
+# Maintainer: Sébastien "Seblu" Luttringer <seblu at archlinux.org>
+# Contributor: Frederik Schwan frederik dot schwan at linux dot com>
+
+pkgname=unifi
+pkgver=3.2.10
+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')
+makedepends=('jdk7-openjdk')
+conflicts=('tomcat-native')
+install=unifi.install
+source=("UniFi-$pkgver.zip::http://dl.ubnt.com/unifi/$pkgver/UniFi.unix.zip"
+ 'unifi.service'
+ 'LICENSE')
+md5sums=('623b9016c710e2dc5556bdaf9b465580'
+ '79998cabf110d9a96ba4d3367101c94c'
+ '63a6f9e67db6a466f31a40c228c16d63')
+
+package() {
+ # lib
+ install -dm755 "$pkgdir/usr/lib/unifi"
+ cp -r UniFi/{bin,dl,lib,webapps} "$pkgdir/usr/lib/unifi"
+ # unjar
+ pushd "$pkgdir/usr/lib/unifi/webapps"
+ mkdir ROOT
+ cd ROOT
+ jar -xf ../ROOT.war
+ rm ../ROOT.war
+ popd
+
+ # 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 unifi.service "$pkgdir/usr/lib/systemd/system/unifi.service"
+}
+
+# vim:set ts=2 sw=2 ft=sh et:
Deleted: unifi.install
===================================================================
--- unifi.install 2015-02-03 22:16:43 UTC (rev 127059)
+++ unifi.install 2015-02-03 22:17:02 UTC (rev 127060)
@@ -1,16 +0,0 @@
-# arg 1: the new package version
-post_install() {
- # https://wiki.archlinux.org/index.php/DeveloperWiki:UID_/_GID_Database
- getent group unifi >/dev/null || groupadd -g 113 unifi
- getent passwd unifi >/dev/null || useradd -M -d /usr/lib/unifi -u 113 -g 113 unifi
- :
-}
-
-# arg 1: the old package version
-post_remove() {
- userdel -f unifi &>/dev/null
- groupdel unifi &>/dev/null
- :
-}
-
-# vim:set ts=2 sw=2 et:
Copied: unifi/repos/community-any/unifi.install (from rev 127059, unifi/trunk/unifi.install)
===================================================================
--- unifi.install (rev 0)
+++ unifi.install 2015-02-03 22:17:02 UTC (rev 127060)
@@ -0,0 +1,16 @@
+# arg 1: the new package version
+post_install() {
+ # https://wiki.archlinux.org/index.php/DeveloperWiki:UID_/_GID_Database
+ getent group unifi >/dev/null || groupadd -g 113 unifi
+ getent passwd unifi >/dev/null || useradd -M -d /usr/lib/unifi -u 113 -g 113 unifi
+ :
+}
+
+# arg 1: the old package version
+post_remove() {
+ userdel -f unifi &>/dev/null
+ groupdel unifi &>/dev/null
+ :
+}
+
+# vim:set ts=2 sw=2 et:
Deleted: unifi.service
===================================================================
--- unifi.service 2015-02-03 22:16:43 UTC (rev 127059)
+++ unifi.service 2015-02-03 22:17:02 UTC (rev 127060)
@@ -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 127059, unifi/trunk/unifi.service)
===================================================================
--- unifi.service (rev 0)
+++ unifi.service 2015-02-03 22:17:02 UTC (rev 127060)
@@ -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
More information about the arch-commits
mailing list