git: 6ebe0d4e84fa - main - net-mgmt/unifi7: Update to 7.1.68
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 31 Jul 2022 21:00:25 UTC
The branch main has been updated by otis: URL: https://cgit.FreeBSD.org/ports/commit/?id=6ebe0d4e84faed0cdd851f3cad77928d57a2c8b5 commit 6ebe0d4e84faed0cdd851f3cad77928d57a2c8b5 Author: Juraj Lutter <otis@FreeBSD.org> AuthorDate: 2022-07-29 13:24:41 +0000 Commit: Juraj Lutter <otis@FreeBSD.org> CommitDate: 2022-07-31 21:00:09 +0000 net-mgmt/unifi7: Update to 7.1.68 - Update to 7.1.68 - Release notes: https://community.ui.com/releases/r/network/7.1.68 --- net-mgmt/unifi7/Makefile | 2 +- net-mgmt/unifi7/distinfo | 10 +++++----- net-mgmt/unifi7/files/pkg-post-install.lua.in | 23 +++++++++++++++++++++++ 3 files changed, 29 insertions(+), 6 deletions(-) diff --git a/net-mgmt/unifi7/Makefile b/net-mgmt/unifi7/Makefile index 89cb23f62004..1501719cd742 100644 --- a/net-mgmt/unifi7/Makefile +++ b/net-mgmt/unifi7/Makefile @@ -1,5 +1,5 @@ PORTNAME= unifi7 -PORTVERSION= 7.1.66 +PORTVERSION= 7.1.68 CATEGORIES= net-mgmt java MASTER_SITES= http://dl.ubnt.com/unifi/%SUBDIR%/:unifi \ https://repo1.maven.org/maven2/%SUBDIR%/:jax diff --git a/net-mgmt/unifi7/distinfo b/net-mgmt/unifi7/distinfo index f9e7034d6018..30987057dcdb 100644 --- a/net-mgmt/unifi7/distinfo +++ b/net-mgmt/unifi7/distinfo @@ -1,5 +1,5 @@ -TIMESTAMP = 1654158011 -SHA256 (unifi7-7.1.66/unifi_sysvinit_all.deb) = 94ba6e75a0d459d50cdc72a7f322c9261d97aea7d0bfb418c184d5db588567b9 -SIZE (unifi7-7.1.66/unifi_sysvinit_all.deb) = 176534254 -SHA256 (unifi7-7.1.66/javax.activation-api-1.2.0.jar) = 43fdef0b5b6ceb31b0424b208b930c74ab58fac2ceeb7b3f6fd3aeb8b5ca4393 -SIZE (unifi7-7.1.66/javax.activation-api-1.2.0.jar) = 56674 +TIMESTAMP = 1658916403 +SHA256 (unifi7-7.1.68/unifi_sysvinit_all.deb) = 375dbfbf5b943c1a54fe55cebe3ec08d22a8fc28d64e31abf52308884fe5745f +SIZE (unifi7-7.1.68/unifi_sysvinit_all.deb) = 176568782 +SHA256 (unifi7-7.1.68/javax.activation-api-1.2.0.jar) = 43fdef0b5b6ceb31b0424b208b930c74ab58fac2ceeb7b3f6fd3aeb8b5ca4393 +SIZE (unifi7-7.1.68/javax.activation-api-1.2.0.jar) = 56674 diff --git a/net-mgmt/unifi7/files/pkg-post-install.lua.in b/net-mgmt/unifi7/files/pkg-post-install.lua.in new file mode 100644 index 000000000000..8e62f488ea14 --- /dev/null +++ b/net-mgmt/unifi7/files/pkg-post-install.lua.in @@ -0,0 +1,23 @@ +--[[ net-mgmt/unifi7 post-install script --]] +local lfs = require "posix" + +--[[ Directory substitution table --]] +local dstable = {} +dstable["/usr/local/share/java/unifi/data"] = "/var/db/unifi/data" +dstable["/usr/local/share/java/unifi/dl"] = "/var/db/unifi/dl" +dstable["/usr/local/share/java/unifi/logs"] = "/var/log/unifi" +dstable["/usr/local/share/java/unifi/run"] = "/var/run/unifi" +dstable["/usr/local/share/java/unifi/work2"] = "/var/run/unifi" + +--[[ Do we have any legacy dirs that need to be migrated? --]] +needmig = 0 + +for dold, dnew in pairs(dstable) do + st = lfs.stat(dold) + if (st ~= nil) then + print("===> " .. dold) + for k,v in pairs(st) do + print("key " .. k .. " value " .. v) + end + end +end