From nobody Sun Jul 31 21:00:25 2022 X-Original-To: dev-commits-ports-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4Lwtty0YWcz4XB0R; Sun, 31 Jul 2022 21:00:26 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Lwttx4yVyz3YS4; Sun, 31 Jul 2022 21:00:25 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1659301225; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=yGJuFqYixOltnvUNxmPDKrjuXZYOaKY8OS9cavmXJFI=; b=J9Yj0YZ86WJG+6S6XZljSa03wl0B2hhzQTD6H9TRgKpBVb/chOQkROk3E+SWLmAw6LOm5u byLH5WpPLsfA6EFBLZ/vPyMmcHL4JOQZTkGxqnXdIruiADPdh5QG2UMvUvNdbdksTKafaE bvvb2U+Q3bKMujGj9xO3c0j8Xe6YcPjBFOGYACbZzoinosEbDg24DVS53S4FdaP/spnB7m Q3GxhpL5ZGYpbsbeFpOK286fupHrk6tr9T3+QnOu292H3TaH0roVa6GoR+CyWtHBdLdlyC K/ZjFu+xNg7M6MuIA3M8qq4RWjpZvGlyW6YxGVR0ZfUj+ojlsRlMuFeMhj6b+g== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4Lwttx44K2z1793; Sun, 31 Jul 2022 21:00:25 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 26VL0Ph0025143; Sun, 31 Jul 2022 21:00:25 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 26VL0PXs025142; Sun, 31 Jul 2022 21:00:25 GMT (envelope-from git) Date: Sun, 31 Jul 2022 21:00:25 GMT Message-Id: <202207312100.26VL0PXs025142@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Juraj Lutter Subject: git: 6ebe0d4e84fa - main - net-mgmt/unifi7: Update to 7.1.68 List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: otis X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 6ebe0d4e84faed0cdd851f3cad77928d57a2c8b5 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1659301225; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=yGJuFqYixOltnvUNxmPDKrjuXZYOaKY8OS9cavmXJFI=; b=fxe324ka1T2S8YR+5Yd6tpPuvAhM08Ly77JXFJP0SdpaV3jtt22FWVWLSqJNOa2YK8fmT2 pqOx6SpEjlBRg9XyGj+XRSgMpD9eWFCM1EK9XDtLyGpGIIAwTonKTZsX1NxwuDgBrdtejO XD2fndssIBA9eNd1vZUA5k/c2b63zpBdAOutBapXWvwTUFqnA9eMhJ4XG/U/cgOjiVGz2k 3/cYlX466nauxCJtWK7bhahKKuYNJPPDS1WHsFQehN5TF4ExKuwvWjVnZ6cWWEbHNhaZRD 5hze6cqMCpDXYTyz6ksnH30kzx2WooFja7gmEN9XGJ+J4B0MR+jXocE1j7PY/g== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1659301225; a=rsa-sha256; cv=none; b=TRwHA2FtYOrn5m2AEpPc7otsZI8LDBbWlDw029X07haZyR+YWIMj3rORZZ9hbdZKJhgRSW 7GunxqGbjM+XGCyFyNrIcCf0tuxghSrNcMXG2jv0FtvEGMG9XW5xr3aEtDdUgyrBTk9iOn ZCwHIN225ds5SNLS0t05ZYpksdSxuxKuLGp9AdkxbogSc/s7ie8aBAS8B5+MJ/DbGTIeP/ mXdZ0BzrsycCjfxjrsNuZlj5wVSCSBC9R+bo46vW2QHys/GbpFva3mrN76wQa1JmadZmIe SPXlsoFA8mawIHVinX9Ae3XKA/aO9YShOEwvIoAzNwKYEpt5rCWqqTX3eyWGSA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by otis: URL: https://cgit.FreeBSD.org/ports/commit/?id=6ebe0d4e84faed0cdd851f3cad77928d57a2c8b5 commit 6ebe0d4e84faed0cdd851f3cad77928d57a2c8b5 Author: Juraj Lutter AuthorDate: 2022-07-29 13:24:41 +0000 Commit: Juraj Lutter 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