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

Sébastien Luttringer seblu at archlinux.org
Mon Aug 25 12:53:48 UTC 2014


    Date: Monday, August 25, 2014 @ 14:53:48
  Author: seblu
Revision: 117869

archrelease: copy trunk to community-any

Added:
  unifi/repos/community-any/LICENSE
    (from rev 117868, unifi/trunk/LICENSE)
  unifi/repos/community-any/PKGBUILD
    (from rev 117868, unifi/trunk/PKGBUILD)
  unifi/repos/community-any/unifi.install
    (from rev 117868, unifi/trunk/unifi.install)
  unifi/repos/community-any/unifi.service
    (from rev 117868, 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 |   23 +++++-----
 4 files changed, 91 insertions(+), 90 deletions(-)

Deleted: LICENSE
===================================================================
--- LICENSE	2014-08-25 12:53:34 UTC (rev 117868)
+++ LICENSE	2014-08-25 12:53:48 UTC (rev 117869)
@@ -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 117868, unifi/trunk/LICENSE)
===================================================================
--- LICENSE	                        (rev 0)
+++ LICENSE	2014-08-25 12:53:48 UTC (rev 117869)
@@ -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-08-25 12:53:34 UTC (rev 117868)
+++ PKGBUILD	2014-08-25 12:53:48 UTC (rev 117869)
@@ -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.1
-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=('9b2d59e6be25db2210f4d85512315e6f'
-         'a660012bdaa5c09a789e774514ae5c1e'
-         '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 117868, unifi/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2014-08-25 12:53:48 UTC (rev 117869)
@@ -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.1
+pkgrel=2
+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=('9b2d59e6be25db2210f4d85512315e6f'
+         '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-08-25 12:53:34 UTC (rev 117868)
+++ unifi.install	2014-08-25 12:53:48 UTC (rev 117869)
@@ -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 117868, unifi/trunk/unifi.install)
===================================================================
--- unifi.install	                        (rev 0)
+++ unifi.install	2014-08-25 12:53:48 UTC (rev 117869)
@@ -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-08-25 12:53:34 UTC (rev 117868)
+++ unifi.service	2014-08-25 12:53:48 UTC (rev 117869)
@@ -1,11 +0,0 @@
-[Unit]
-Description=Ubiquiti UniFi Server
-After=network.target
-
-[Service]
-User=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 117868, unifi/trunk/unifi.service)
===================================================================
--- unifi.service	                        (rev 0)
+++ unifi.service	2014-08-25 12:53:48 UTC (rev 117869)
@@ -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