From nobody Thu Feb 29 12:52:52 2024 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 4Tlrjd1ZGtz5C7Cd; Thu, 29 Feb 2024 12:52:53 +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 4Tlrjc6Yc1z4RDn; Thu, 29 Feb 2024 12:52:52 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1709211172; 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=BBz2Qhz9s5iYgqn2/E0Ba3dHGV2OQKt3ZX/2zpzOJ5E=; b=kPi6IXFdMM8VD38A0V78q0eqeWRzZlhUxRxgbl+FGF3ZzPo+tz6uk2OVMJiL/KPVptawE+ XFWOh0E2VVgzDMR0AQLND6luz/nPwwDsrE6XHY7EMPW1EK5ncZoPnls8vC60j+reQ+hyay rMTHOsa1+zHaompjxYxOqDrvI3NFW8r84Eqnijlew8ygGGpc8EAiJrOcJE9Avx/sQEPrt3 Hfyo3t/q9vFEs2F6WMunZ5Wi99lH5Lz/6SviG5gZgV8STMuh9IB9o6EN++YsfaXPG0wP/9 WjLyzO8WELmyddmhXm54ITSI7traPYiOLOfUec2awQEhvvqs/LDrNw86Z2/S/w== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1709211172; a=rsa-sha256; cv=none; b=hWLdevvdR1Xy2/ie89jhaKOBXYaUQvddtooXl680zcSTXKEIIm5Vz3C68ZVHXdGUoKd0h9 g7jB/0HN4p0/7gs4RUeEE/QOQTGZ3XjmwUMoZkqJMGK79G9VbRFEah3n6K+zUC7teInlsz Wg7xVRUoR5JtN5qPBGFOzq0OF1AqTSMWfl+XWNk2KXmgQe629FSP/UbvH2Ek3UBdn2PvXN OvKFyaOjxErvkxV4Q8HseZE1sn6+M0bLt//vdB59ZeLNduHMpAatxhWtansbBnKf5F9n3H iM7dVkWcr28fzD5F680ormCut+beGqzjiY79s/lk77X0pG4e4Z9C021CYUftHQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1709211172; 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=BBz2Qhz9s5iYgqn2/E0Ba3dHGV2OQKt3ZX/2zpzOJ5E=; b=T5fEjRVQUZL6zei2tPuQPVeHYxwqS6zI7tGxnHteHBaQqBxZAigXkRaS/R70U5GfOz1kdJ Bfmz7gFycijlmGBppA37HTjxuYzs9JHzgzam15cffvufXsG6As7ffML8Xhd+nPr5eBqlxn 62/yUpWVYVGBtFY0JqOWFGnDUknQWTjpODOC6fNYrBGgDNQUcHyXnOiIgwe/LUet26XCM5 cVNcbbC+2WeO9axIuVwqYiWqvPlnUtUsSY3NaVu/F8uS80hKTihZmBK3MNQpj1ZRGrYRqv 1+tuvZp1GcpamgKpmu/eQG2AacVtX6PXwGBUrWJI4o3GKX4ubVT3UalAwWCKhw== 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 4Tlrjc64HCzjXy; Thu, 29 Feb 2024 12:52:52 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 41TCqqEm067784; Thu, 29 Feb 2024 12:52:52 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 41TCqqYQ067781; Thu, 29 Feb 2024 12:52:52 GMT (envelope-from git) Date: Thu, 29 Feb 2024 12:52:52 GMT Message-Id: <202402291252.41TCqqYQ067781@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Muhammad Moinur Rahman Subject: git: 772d041007a1 - main - net-mgmt/unifi7: Remove expired port 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: bofh X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 772d041007a1fda854fc1d9fb62908535f6022ce Auto-Submitted: auto-generated The branch main has been updated by bofh: URL: https://cgit.FreeBSD.org/ports/commit/?id=772d041007a1fda854fc1d9fb62908535f6022ce commit 772d041007a1fda854fc1d9fb62908535f6022ce Author: Muhammad Moinur Rahman AuthorDate: 2024-02-29 12:26:25 +0000 Commit: Muhammad Moinur Rahman CommitDate: 2024-02-29 12:52:28 +0000 net-mgmt/unifi7: Remove expired port net-mgmt/unifi7 --- MOVED | 1 + net-mgmt/Makefile | 1 - net-mgmt/unifi7/Makefile | 102 ----------------------------- net-mgmt/unifi7/distinfo | 5 -- net-mgmt/unifi7/files/pkg-message.extdb.in | 19 ------ net-mgmt/unifi7/files/pkg-message.in | 39 ----------- net-mgmt/unifi7/files/unifi.in | 89 ------------------------- net-mgmt/unifi7/pkg-descr | 2 - 8 files changed, 1 insertion(+), 257 deletions(-) diff --git a/MOVED b/MOVED index 41ffc8f4cbb8..1c231c39e743 100644 --- a/MOVED +++ b/MOVED @@ -3017,3 +3017,4 @@ multimedia/camserv||2024-02-29|Has expired: Last upstream release was in 2002, r multimedia/flvstreamer||2024-02-29|Has expired: Last release 2010 and no active development since, consider using multimedia/ffmpeg devel/ptypes||2024-02-29|Has expired: Abandoned upstream, doesn't fetch misc/skyutils||2024-02-29|Has expired: Library used for deprecated port misc/smssend +net-mgmt/unifi7||2024-02-29|Has expired: EOLed upstream, switch to newer version diff --git a/net-mgmt/Makefile b/net-mgmt/Makefile index ce8cbe57cc37..a7d20601fe6b 100644 --- a/net-mgmt/Makefile +++ b/net-mgmt/Makefile @@ -392,7 +392,6 @@ SUBDIR += torrus SUBDIR += triton-guesttools SUBDIR += unbound_exporter - SUBDIR += unifi7 SUBDIR += unifi8 SUBDIR += victoria-metrics SUBDIR += virt-viewer diff --git a/net-mgmt/unifi7/Makefile b/net-mgmt/unifi7/Makefile deleted file mode 100644 index ac647af7dc64..000000000000 --- a/net-mgmt/unifi7/Makefile +++ /dev/null @@ -1,102 +0,0 @@ -PORTNAME= unifi7 -PORTVERSION= 7.5.187 -PORTREVISION= 2 -CATEGORIES= net-mgmt java -MASTER_SITES= http://dl.ubnt.com/unifi/%SUBDIR%/:unifi \ - https://repo1.maven.org/maven2/%SUBDIR%/:jax -MASTER_SITE_SUBDIR= ${PORTVERSION}/:unifi \ - javax/activation/${_JAX_DISTNAME}/${_JAX_VERSION}/:jax -DISTFILES= unifi_sysvinit_all.deb:unifi \ - ${_JAX_DISTNAME}-${_JAX_VERSION}.jar:jax -DIST_SUBDIR= ${PORTNAME}-${PORTVERSION} -EXTRACT_ONLY= unifi_sysvinit_all.deb - -MAINTAINER= otis@FreeBSD.org -COMMENT= UniFi Controller v7 -WWW= https://help.ui.com/hc/en-us/categories/200320654-UniFi-Wireless - -DEPRECATED= EOLed upstream, switch to newer version -EXPIRATION_DATE= 2024-02-29 - -RUN_DEPENDS= snappyjava>0:archivers/snappy-java - -FLAVORS= default externaldb -FLAVOR?= ${FLAVORS:[1]} - -externaldb_PKGNAMESUFFIX= -externaldb - -USES= cpe - -CPE_VENDOR= ui -CPE_PRODUCT= unifi_controller -USE_JAVA= yes -JAVA_VERSION= 17 -JAVA_RUN= jre -USE_RC_SUBR= unifi - -CONFLICTS_INSTALL= unifi8 - -EXTRACT_CMD= ${AR} -EXTRACT_BEFORE_ARGS= -p -EXTRACT_AFTER_ARGS= data.tar.xz | ${TAR} -xf - - -NO_ARCH= yes -NO_BUILD= yes - -SUB_FILES= pkg-message -SUB_LIST+= GROUPS=${GROUPS} \ - JAVA=${JAVA} \ - JAVA_HOME=${JAVA_HOME} \ - JAVASHAREDIR=${JAVASHAREDIR} \ - USERS=${USERS} - -NO_WRKSUBDIR= yes - -USERS= unifi -GROUPS= unifi - -OPTIONS_DEFINE= EXTERNALDB - -.if ${FLAVOR:U} == externaldb -OPTIONS_DEFAULT+= EXTERNALDB -.endif - -EXTERNALDB_DESC= Use external MongoDB server -EXTERNALDB_VARS= PKGMESSAGE+=${WRKSRC}/pkg-message.extdb \ - SUB_FILES+=pkg-message.extdb -EXTERNALDB_VARS_OFF= RUN_DEPENDS+=mongodb44>0:databases/mongodb44 - -_DIR_LIST= conf data logs run work -_JAX_DISTNAME= javax.activation-api -_JAX_VERSION= 1.2.0 - -post-extract: - ${INSTALL_DATA} ${DISTDIR}/${DIST_SUBDIR}/${_JAX_DISTNAME}-${_JAX_VERSION}.jar \ - ${WRKSRC}/usr/lib/unifi/lib/ - -post-patch: - (cd ${WRKSRC}/usr/lib/unifi/lib && \ - ${LN} -f -s ${JAVAJARDIR}/snappy-java.jar snappy-java-*.jar) - ${RM} -r ${WRKSRC}/usr/lib/unifi/lib/native - -do-install: - ${MKDIR} ${STAGEDIR}${JAVASHAREDIR}/unifi - (cd ${WRKSRC}/usr/lib/unifi && \ - ${COPYTREE_SHARE} \* ${STAGEDIR}${JAVASHAREDIR}/unifi/) -# Create directories that will be writable by unifi -.for i in data logs run work - ${MKDIR} ${STAGEDIR}/${JAVASHAREDIR}/unifi/${i} -.endfor - -do-install-EXTERNALDB-off: - ${LN} -sf ${PREFIX}/bin/mongod ${STAGEDIR}${JAVASHAREDIR}/unifi/bin/mongod - -post-install: - @${FIND} -s ${STAGEDIR}${JAVASHAREDIR}/unifi -not -type d | \ - ${SORT} | ${SED} -e 's#^${STAGEDIR}${PREFIX}/##' >> ${TMPPLIST} -.for dir in ${_DIR_LIST} - @${ECHO} "@dir(unifi,wheel,) ${JAVASHAREDIR}/unifi/${dir}" >> \ - ${TMPPLIST} -.endfor - -.include diff --git a/net-mgmt/unifi7/distinfo b/net-mgmt/unifi7/distinfo deleted file mode 100644 index 98d8dc6f0722..000000000000 --- a/net-mgmt/unifi7/distinfo +++ /dev/null @@ -1,5 +0,0 @@ -TIMESTAMP = 1697637669 -SHA256 (unifi7-7.5.187/unifi_sysvinit_all.deb) = 6b9925f2065b467852fe9d6298f97bb28334fd04851dd334fb66cd9837dcd666 -SIZE (unifi7-7.5.187/unifi_sysvinit_all.deb) = 149836568 -SHA256 (unifi7-7.5.187/javax.activation-api-1.2.0.jar) = 43fdef0b5b6ceb31b0424b208b930c74ab58fac2ceeb7b3f6fd3aeb8b5ca4393 -SIZE (unifi7-7.5.187/javax.activation-api-1.2.0.jar) = 56674 diff --git a/net-mgmt/unifi7/files/pkg-message.extdb.in b/net-mgmt/unifi7/files/pkg-message.extdb.in deleted file mode 100644 index 945b333966c7..000000000000 --- a/net-mgmt/unifi7/files/pkg-message.extdb.in +++ /dev/null @@ -1,19 +0,0 @@ -[ -{ type: install - message: < - -# PROVIDE: unifi -# REQUIRE: LOGIN -# KEYWORD: shutdown - -# -# Add the following line to /etc/rc.conf to enable `unifi': -# -# unifi_enable="YES" -# -# Other configuration settings for unifi that can be set in /etc/rc.conf: -# -# unifi_user (str) -# This is the user that unifi runs as -# Set to %%USERS%% by default -# -# unifi_group (str) -# This is the group that unifi runs as -# Set to %%GROUPS%% by default -# -# unifi_chdir (str) -# This is the directory that unifi chdirs into before starting -# Set to %%JAVASHAREDIR%%/unifi by default -# -# unifi_java_home (str) -# The path to the base directory for the Java to use to run unifi -# Defaults to %%JAVA_HOME%% -# -# unifi_javaflags (str) -# Flags passed to Java to run unifi -# Set to "-Djava.awt.headless=true -Xmx1024M" by default -# - -. /etc/rc.subr -name=unifi - -rcvar=unifi_enable -load_rc_config ${name} - -: ${unifi_enable:=NO} -: ${unifi_user:=%%USERS%%} -: ${unifi_group:=%%GROUPS%%} -: ${unifi_chdir=%%JAVASHAREDIR%%/unifi} -: ${unifi_java_home=%%JAVA_HOME%%} -: ${unifi_javaflags="-Djava.awt.headless=true -Xmx1024M \ - --add-opens java.base/java.lang=ALL-UNNAMED \ - --add-opens java.base/java.time=ALL-UNNAMED \ - --add-opens java.base/sun.security.util=ALL-UNNAMED \ - --add-opens java.base/java.io=ALL-UNNAMED \ - --add-opens java.rmi/sun.rmi.transport=ALL-UNNAMED"} - -pidfile="/var/run/unifi/${name}.pid" -procname=${unifi_java_home}/bin/java -command=/usr/sbin/daemon -command_args="-f -p ${pidfile} ${unifi_java_home}/bin/java ${unifi_javaflags} -jar lib/ace.jar start" -start_precmd=start_precmd -stop_precmd=stop_precmd -stop_postcmd=stop_postcmd - -export CLASSPATH=$(echo ${unifi_chdir}/lib/*.jar | tr ' ' ':') - -start_precmd() -{ - if [ ! -e /var/run/unifi ] ; then - install -d -o %%USERS%% -g %%GROUPS%% /var/run/unifi; - fi -} - -stop_precmd() -{ - if [ -r ${pidfile} ]; then - _UNIFIPID=$(check_pidfile ${pidfile} ${procname}) - export _UNIFI_CHILDREN=$(pgrep -P ${_UNIFIPID}) - fi -} - -stop_postcmd() -{ - if ! [ -z ${_UNIFI_CHILDREN} ]; then - echo "Cleaning up leftover child processes." - kill $sig_stop ${_UNIFI_CHILDREN} - wait_for_pids ${_UNIFI_CHILDREN} - fi -} - -run_rc_command "$1" diff --git a/net-mgmt/unifi7/pkg-descr b/net-mgmt/unifi7/pkg-descr deleted file mode 100644 index 36573c9e0af5..000000000000 --- a/net-mgmt/unifi7/pkg-descr +++ /dev/null @@ -1,2 +0,0 @@ -The UniFi Controller allows you to manage Wireless, Routing & Switching, -VoIP and Video of Ubiquiti Networks.