Browse Source

Remove expired ports:

2021-05-16 www/py-django30: Has expired: Extended support has expired on April 6th, 2021. Use www/py-django31 or www/py-django32 instead
2021-05-16 net-mgmt/unifi-devel: Use net-mgmt/unifi6 instead
main
Rene Ladan 1 month ago
parent
commit
dcb66ed296
  1. 1
      LEGAL
  2. 2
      MOVED
  3. 1
      net-mgmt/Makefile
  4. 75
      net-mgmt/unifi-devel/Makefile
  5. 3
      net-mgmt/unifi-devel/distinfo
  6. 58
      net-mgmt/unifi-devel/files/unifi.in
  7. 6
      net-mgmt/unifi-devel/pkg-descr
  8. 1
      www/Makefile
  9. 75
      www/py-django30/Makefile
  10. 3
      www/py-django30/distinfo
  11. 10
      www/py-django30/pkg-descr

1
LEGAL

@ -222,6 +222,5 @@ charm-uiuc-* net/charm No commercial use: commercial use requires a commercial
namd-* science/namd No commercial use: commercial use requires a commercial license
vmd-* science/vmd No commercial use: commercial use requires a commercial license
msms-* science/msms No commercial use, only for use by individuals in scientific research
unifi-devel-* net-mgmt/unifi-devel License restrictions, see https://www.ubnt.com/eula/
netio* benchmarks/netio No commercial use: commercial use requires a commercial license
zerotier-* net/zerotier No SaaS or Govt usage: https://github.com/zerotier/ZeroTierOne/blob/master/LICENSE.txt

2
MOVED

@ -16329,3 +16329,5 @@ devel/gecode|math/gecode|2021-05-04|Move to a proper category
net-im/libqmatrixclient|net-im/libquotient|2021-05-08|Has expired: Use libQuotient (devel/libquotient) instead
devel/electron11|devel/electron12|2021-05-12|VSCode update requires a newer major version
dns/opendd||2021-05-15|Has expired: Abandonware
www/py-django30|www/py-django31|2021-05-16|Has expired: Has expired: Extended support has expired on April 6th, 2021. Use www/py-django31 or www/py-django32 instead
net-mgmt/unifi-devel|net-mgmt/unifi6|2021-05-16|Has expired: Use net-mgmt/unifi6 instead

1
net-mgmt/Makefile

@ -373,7 +373,6 @@
SUBDIR += torrus
SUBDIR += triton-guesttools
SUBDIR += unbound_exporter
SUBDIR += unifi-devel
SUBDIR += unifi-lts
SUBDIR += unifi-poller
SUBDIR += unifi5

75
net-mgmt/unifi-devel/Makefile

@ -1,75 +0,0 @@
# Created by: Alban MAIRE <a.maire@s2mi.fr>
PORTNAME= unifi
PORTVERSION= 5.11.39
PORTREVISION= 0
CATEGORIES= net-mgmt java
MASTER_SITES= https://dl.ui.com/unifi/${PORTVERSION}/
PKGNAMESUFFIX= -devel
DISTNAME= unifi_sysvinit_all
EXTRACT_SUFX= .deb
DIST_SUBDIR= ${PORTNAME}-${PORTVERSION}
MAINTAINER= bryce@bryce.net
COMMENT= UniFi Controller development release
LICENSE= EULA
LICENSE_NAME= End User License Agreement
LICENSE_TEXT= License restrictions, see https://www.ubnt.com/eula/
LICENSE_PERMS= no-dist-mirror no-dist-sell no-pkg-mirror no-pkg-sell no-auto-accept
DEPRECATED= Use net-mgmt/unifi6 instead
EXPIRATION_DATE= 2021-05-16
RUN_DEPENDS= mongodb36>0:databases/mongodb36 \
snappyjava>0:archivers/snappy-java
USES= cpe
CPE_VENDOR= ubnt
CPE_PRODUCT= unifi_controller
USE_JAVA= yes
JAVA_VERSION= 1.8
JAVA_OS= native
JAVA_VENDOR= openjdk bsdjava
JAVA_RUN= yes
USE_RC_SUBR= unifi
EXTRACT_CMD= ${AR}
EXTRACT_BEFORE_ARGS= -p
EXTRACT_AFTER_ARGS= data.tar.xz | ${TAR} -xf -
NO_BUILD= yes
NO_ARCH= yes
NO_WRKSUBDIR= yes
USERS= unifi
GROUPS= unifi
SUB_LIST= USERS=${USERS} GROUPS=${GROUPS} JAVASHAREDIR=${JAVASHAREDIR} \
JAVA=${JAVA}
CONFLICTS= unifi5-*
DIR_LIST= conf data logs run work
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/)
${LN} -sf ${PREFIX}/bin/mongod ${STAGEDIR}${JAVASHAREDIR}/unifi/bin/mongod
# Create directories that will be writable by unifi
.for i in data logs run work
${MKDIR} ${STAGEDIR}/${JAVASHAREDIR}/unifi/${i}
.endfor
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 <bsd.port.mk>

3
net-mgmt/unifi-devel/distinfo

@ -1,3 +0,0 @@
TIMESTAMP = 1566723189
SHA256 (unifi-5.11.39/unifi_sysvinit_all.deb) = d2736dababcf96596a2c9ad82ee2fcbd02ee4d3a864284175b43f5afdab62f6c
SIZE (unifi-5.11.39/unifi_sysvinit_all.deb) = 97384556

58
net-mgmt/unifi-devel/files/unifi.in

@ -1,58 +0,0 @@
#!/bin/sh
#
# Created by: Mark Felder <feld@FreeBSD.org>
# PROVIDE: unifi
# REQUIRE: LOGIN
# KEYWORD: shutdown
#
# Add the following line to /etc/rc.conf to enable `unifi':
#
# unifi_enable="YES"
. /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_javaflags:="-Djava.awt.headless=true -Xmx1024M"}
pidfile="/var/run/unifi/${name}.pid"
procname=%%JAVA%%
command="/usr/sbin/daemon"
command_args="-f -p ${pidfile} %%JAVA%% ${unifi_javaflags} -jar lib/ace.jar start"
start_precmd=start_precmd
stop_precmd=stop_precmd
stop_postcmd=stop_postcmd
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"

6
net-mgmt/unifi-devel/pkg-descr

@ -1,6 +0,0 @@
The UniFi Controller allows you to manage Wireless, Routing & Switching,
VoIP and Video of Ubiquiti Networks.
This port tracks the development releases.
WWW: http://wiki.ubnt.com/UniFi_FAQ

1
www/Makefile

@ -1558,7 +1558,6 @@
SUBDIR += py-django-webpack-loader
SUBDIR += py-django-widget-tweaks
SUBDIR += py-django22
SUBDIR += py-django30
SUBDIR += py-django31
SUBDIR += py-django32
SUBDIR += py-django_compressor

75
www/py-django30/Makefile

@ -1,75 +0,0 @@
# Created by: Jose Alonso Cardenas Marquez <acardenas@bsd.org.pe>
PORTNAME= django
PORTVERSION= 3.0.14
CATEGORIES= www python
MASTER_SITES= CHEESESHOP \
https://www.djangoproject.com/m/releases/${PORTVERSION}/
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
PKGNAMESUFFIX= 30
DISTNAME= Django-${PORTVERSION}
DIST_SUBDIR= python
MAINTAINER= python@FreeBSD.org
COMMENT= High-level Python Web Framework
LICENSE= BSD3CLAUSE
LICENSE_FILE= ${WRKSRC}/LICENSE
DEPRECATED= Has expired: Extended support has expired on April 6th, 2021. Use www/py-django31 or www/py-django32 instead
EXPIRATION_DATE= 2021-05-16
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytz>0:devel/py-pytz@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}asgiref>0:www/py-asgiref@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}sqlparse>=0:databases/py-sqlparse@${PY_FLAVOR}
TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}tblib>0:devel/py-tblib@${PY_FLAVOR}
USES= cpe python:3.6+ shebangfix
USE_PYTHON= autoplist distutils
NO_ARCH= yes
DOCSDIR= ${PREFIX}/share/doc/py-django
PLIST_FILES= man/man1/django-admin.1.gz
PORTDOCS= *
SHEBANG_FILES= django/bin/django-admin.py \
django/conf/project_template/manage.py-tpl
CONFLICTS_INSTALL= ${PYTHON_PKGNAMEPREFIX}django111 ${PYTHON_PKGNAMEPREFIX}django22 \
${PYTHON_PKGNAMEPREFIX}django31 ${PYTHON_PKGNAMEPREFIX}django32
CPE_VENDOR= djangoproject
# Upstream archive contains files with UTF-8 names
EXTRACT_CMD= ${SETENV} LC_ALL=en_US.UTF-8 /usr/bin/bsdtar
OPTIONS_DEFINE= DOCS HTMLDOCS
OPTIONS_GROUP= DATABASE
OPTIONS_GROUP_DATABASE= PGSQL MYSQL SQLITE
OPTIONS_DEFAULT=SQLITE
HTMLDOCS_DESC= Install HTML documentation (requires Sphinx)
HTMLDOCS_BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}sphinx>=0,1:textproc/py-sphinx@${PY_FLAVOR}
HTMLDOCS_IMPLIES= DOCS
PGSQL_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}psycopg2>0:databases/py-psycopg2@${PY_FLAVOR}
MYSQL_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}mysqlclient>=1.3.13:databases/py-mysqlclient@${PY_FLAVOR}
SQLITE_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}sqlite3>0:databases/py-sqlite3@${PY_FLAVOR}
post-build-HTMLDOCS-on:
cd ${WRKSRC}/docs && ${MAKE} html SPHINXBUILD=sphinx-build-${PYTHON_VER}
post-install:
${INSTALL_MAN} ${WRKSRC}/docs/man/* ${STAGEDIR}/${MAN1PREFIX}/man/man1
@${ECHO_MSG} ""
@${ECHO_MSG} " * See http://docs.djangoproject.com/ for complete documentation"
@${ECHO_MSG} ""
post-install-HTMLDOCS-on:
${MKDIR} ${STAGEDIR}/${DOCSDIR}
${CP} -R ${WRKSRC}/docs/_build/html ${STAGEDIR}/${DOCSDIR}
do-test:
@cd ${WRKSRC} && ${PYTHON_CMD} tests/runtests.py --settings=test_sqlite
.include <bsd.port.mk>

3
www/py-django30/distinfo

@ -1,3 +0,0 @@
TIMESTAMP = 1617850013
SHA256 (python/Django-3.0.14.tar.gz) = d58d8394036db75a81896037d757357e79406e8f68816c3e8a28721c1d9d4c11
SIZE (python/Django-3.0.14.tar.gz) = 9259569

10
www/py-django30/pkg-descr

@ -1,10 +0,0 @@
Django is a high-level Python Web framework that encourages rapid development
and clean, pragmatic design.
Developed and used over the past two years by a fast-moving online-news
operation, Django was designed from scratch to handle two challenges: the
intensive deadlines of a newsroom and the stringent requirements of experienced
Web developers. It has convenient niceties for developing content-management
systems, but it's an excellent tool for building any Web site.
WWW: https://www.djangoproject.com/
Loading…
Cancel
Save