[arch-commits] Commit in unifi/repos/community-any (8 files)

Sébastien Luttringer seblu at archlinux.org
Tue Nov 11 20:56:12 UTC 2014


    Date: Tuesday, November 11, 2014 @ 21:56:12
  Author: seblu
Revision: 122396

archrelease: copy trunk to community-any

Added:
  unifi/repos/community-any/LICENSE
    (from rev 122395, unifi/trunk/LICENSE)
  unifi/repos/community-any/PKGBUILD
    (from rev 122395, unifi/trunk/PKGBUILD)
  unifi/repos/community-any/unifi.install
    (from rev 122395, unifi/trunk/unifi.install)
  unifi/repos/community-any/unifi.service
    (from rev 122395, 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	2014-11-11 20:55:34 UTC (rev 122395)
+++ LICENSE	2014-11-11 20:56:12 UTC (rev 122396)
@@ -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 122395, unifi/trunk/LICENSE)
===================================================================
--- LICENSE	                        (rev 0)
+++ LICENSE	2014-11-11 20:56:12 UTC (rev 122396)
@@ -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	2014-11-11 20:55:34 UTC (rev 122395)
+++ PKGBUILD	2014-11-11 20:56:12 UTC (rev 122396)
@@ -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.5
-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=('b0229b01fd98970504f644757440ac34'
-         '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 122395, unifi/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2014-11-11 20:56:12 UTC (rev 122396)
@@ -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.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:

Deleted: unifi.install
===================================================================
--- unifi.install	2014-11-11 20:55:34 UTC (rev 122395)
+++ unifi.install	2014-11-11 20:56:12 UTC (rev 122396)
@@ -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 122395, unifi/trunk/unifi.install)
===================================================================
--- unifi.install	                        (rev 0)
+++ unifi.install	2014-11-11 20:56:12 UTC (rev 122396)
@@ -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	2014-11-11 20:55:34 UTC (rev 122395)
+++ unifi.service	2014-11-11 20:56:12 UTC (rev 122396)
@@ -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 122395, unifi/trunk/unifi.service)
===================================================================
--- unifi.service	                        (rev 0)
+++ unifi.service	2014-11-11 20:56:12 UTC (rev 122396)
@@ -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