aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRene Ladan <rene@FreeBSD.org>2026-06-30 21:41:27 +0000
committerRene Ladan <rene@FreeBSD.org>2026-06-30 21:41:27 +0000
commit678aa09ea48b5d573869ed3b6873f769b020b29f (patch)
treeeaa5d23ee68b1a363f66ddf9953ccf821b250cff
parent942aeaee07bcec42c292068e944c46349e953105 (diff)
www/twms: Remove expired port
2026-06-30 www/twms: unmaintained port, may not work with newer Python
-rw-r--r--MOVED1
-rw-r--r--www/Makefile1
-rw-r--r--www/twms/Makefile55
-rw-r--r--www/twms/distinfo3
-rw-r--r--www/twms/files/patch-setup.py20
-rw-r--r--www/twms/files/twms.in34
-rw-r--r--www/twms/pkg-descr2
-rw-r--r--www/twms/pkg-plist57
8 files changed, 1 insertions, 172 deletions
diff --git a/MOVED b/MOVED
index cb122bfee72a..bb25f6581a2e 100644
--- a/MOVED
+++ b/MOVED
@@ -5459,3 +5459,4 @@ databases/mariadb106-server||2026-06-30|Has expired: End-of-Life approaching, pl
databases/mysql96-client||2026-06-30|Has expired: EOLed upstream, switch to newer version
databases/mysql96-server||2026-06-30|Has expired: EOLed upstream, switch to newer version
security/gnupg25|security/gnupg|2026-06-30|Has expired: Will roll up into security/gnupg
+www/twms||2026-06-30|Has expired: unmaintained port, may not work with newer Python
diff --git a/www/Makefile b/www/Makefile
index 3935f6b36d50..7c10c6401580 100644
--- a/www/Makefile
+++ b/www/Makefile
@@ -2658,7 +2658,6 @@
SUBDIR += twiki-TwistyContrib
SUBDIR += twiki-TwistyPlugin
SUBDIR += twiki-WysiwygPlugin
- SUBDIR += twms
SUBDIR += typo3-11
SUBDIR += typo3-12
SUBDIR += typo3-13
diff --git a/www/twms/Makefile b/www/twms/Makefile
deleted file mode 100644
index 2502c3d09c48..000000000000
--- a/www/twms/Makefile
+++ /dev/null
@@ -1,55 +0,0 @@
-PORTNAME= twms
-PORTVERSION= 0.06y
-PORTREVISION= 5
-CATEGORIES= www astro
-
-MAINTAINER= ports@FreeBSD.org
-COMMENT= Tiny WMS server
-WWW= https://github.com/Komzpa/twms
-
-LICENSE= GPLv3+
-LICENSE_FILE= ${WRKSRC}/COPYING
-
-DEPRECATED= unmaintained port, may not work with newer Python
-EXPIRATION_DATE=2026-06-30
-
-RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pyproj>0:graphics/py-pyproj@${PY_FLAVOR} \
- ${PYTHON_PKGNAMEPREFIX}webpy>0:www/webpy@${PY_FLAVOR} \
- ${PY_PILLOW} \
- ${PYTHON_PKGNAMEPREFIX}pycairo>0:graphics/py-pycairo@${PY_FLAVOR} \
- ${FREESANS}:x11-fonts/freefont-ttf
-
-USE_GITHUB= yes
-GH_ACCOUNT= Komzpa
-
-USES= python
-USE_PYTHON= distutils py3kplist optsuffix
-NO_ARCH= yes
-
-FREESANS= ${LOCALBASE}/share/fonts/freefont-ttf/FreeSans.ttf
-
-USE_RC_SUBR= twms
-
-USERS= twms
-GROUPS= twms
-
-PLIST_SUB= USER=${USERS} GROUP=${GROUPS}
-SUB_LIST= USER=${USERS} PYTHON_CMD="${PYTHON_CMD}"
-
-OPTIONS_DEFINE= DOCS
-
-post-patch:
- @${REINPLACE_CMD} -e 's|/etc/twms/twms.conf|${PREFIX}/etc/twms/twms.conf|' \
- ${WRKSRC}/twms/twms.py
- @${REINPLACE_CMD} -e '/install_path/ s|/usr/share/twms/|${DATADIR}/|' \
- -e 's|/usr/share/fonts/truetype/freefont/FreeSans.ttf|${FREESANS}|' \
- ${WRKSRC}/twms/twms.conf
-
-post-install:
- @${MV} ${STAGEDIR}${ETCDIR}/twms.conf ${STAGEDIR}${ETCDIR}/twms.conf.sample
- @${RM} ${STAGEDIR}${DOCSDIR}/COPYING
- @${RM} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/twms/twms.conf
- @${MKDIR} ${STAGEDIR}/var/cache/twms/tiles
- @${MKDIR} ${STAGEDIR}/var/cache/twms/traces
-
-.include <bsd.port.mk>
diff --git a/www/twms/distinfo b/www/twms/distinfo
deleted file mode 100644
index 98394cfdf35f..000000000000
--- a/www/twms/distinfo
+++ /dev/null
@@ -1,3 +0,0 @@
-TIMESTAMP = 1526309311
-SHA256 (Komzpa-twms-0.06y_GH0.tar.gz) = bc699f8a947d4e240c8a2b7944893bdf5690de8f57d633f8e2300cfc00e39a71
-SIZE (Komzpa-twms-0.06y_GH0.tar.gz) = 30018
diff --git a/www/twms/files/patch-setup.py b/www/twms/files/patch-setup.py
deleted file mode 100644
index 43470433b551..000000000000
--- a/www/twms/files/patch-setup.py
+++ /dev/null
@@ -1,20 +0,0 @@
---- setup.py.orig 2018-05-08 12:10:19 UTC
-+++ setup.py
-@@ -11,7 +11,7 @@ is_windows = __platform__ in ['Windows']
- __name__ = "twms"
-
- def read(fname):
-- return open(os.path.join(os.path.dirname(__file__), fname)).read()
-+ return open(os.path.join(os.path.dirname(__file__), fname), 'rb').read().decode('utf-8')
-
- def glob(fname):
- return abs_glob(os.path.join(os.path.dirname(__file__), fname))
-@@ -25,7 +25,7 @@ def man_files(pattern):
-
- def config_files():
- if not is_windows:
-- return [(os.path.join('/etc', __name__), [os.path.join('twms', 'twms.conf')])]
-+ return [(os.path.join('etc', __name__), [os.path.join('twms', 'twms.conf')])]
- else:
- return []
-
diff --git a/www/twms/files/twms.in b/www/twms/files/twms.in
deleted file mode 100644
index 4537fb8c1305..000000000000
--- a/www/twms/files/twms.in
+++ /dev/null
@@ -1,34 +0,0 @@
-#!/bin/sh
-#
-# PROVIDE: twms
-# REQUIRE: DAEMON NETWORKING LOGIN
-# KEYWORD: shutdown
-
-# Add the following line to /etc/rc.conf to enable twms:
-# twms_enable="YES"
-
-. /etc/rc.subr
-
-name=twms
-rcvar=twms_enable
-
-load_rc_config $name
-
-: ${twms_enable="NO"}
-: ${twms_user="${name}"}
-
-pidfile=/var/run/${name}.pid
-procname=/usr/local/bin/twms
-command_interpreter="%%PYTHON_CMD%%"
-start_cmd="twms_start"
-
-pidfile=/var/run/${name}.pid
-command="%%PREFIX%%/bin/${name}"
-
-twms_start()
-{
- echo "Starting ${name}."
- /usr/sbin/daemon -c -f -p ${pidfile} -u ${twms_user} ${command_interpreter} ${procname}
-}
-
-run_rc_command "$1"
diff --git a/www/twms/pkg-descr b/www/twms/pkg-descr
deleted file mode 100644
index 3196c9fe11be..000000000000
--- a/www/twms/pkg-descr
+++ /dev/null
@@ -1,2 +0,0 @@
-tWMS is a tiny WMS server written in Python and using tiles as a
-backend storage
diff --git a/www/twms/pkg-plist b/www/twms/pkg-plist
deleted file mode 100644
index 58e1a33f9d34..000000000000
--- a/www/twms/pkg-plist
+++ /dev/null
@@ -1,57 +0,0 @@
-bin/twms
-@sample %%ETCDIR%%/twms.conf.sample
-%%PYTHON_SITELIBDIR%%/twms/__init__.py
-%%PYTHON_SITELIBDIR%%/twms/__init__.pyc
-%%PYTHON_SITELIBDIR%%/twms/__init__.pyo
-%%PYTHON_SITELIBDIR%%/twms/bbox.py
-%%PYTHON_SITELIBDIR%%/twms/bbox.pyc
-%%PYTHON_SITELIBDIR%%/twms/bbox.pyo
-%%PYTHON_SITELIBDIR%%/twms/canvas.py
-%%PYTHON_SITELIBDIR%%/twms/canvas.pyc
-%%PYTHON_SITELIBDIR%%/twms/canvas.pyo
-%%PYTHON_SITELIBDIR%%/twms/capabilities.py
-%%PYTHON_SITELIBDIR%%/twms/capabilities.pyc
-%%PYTHON_SITELIBDIR%%/twms/capabilities.pyo
-%%PYTHON_SITELIBDIR%%/twms/correctify.py
-%%PYTHON_SITELIBDIR%%/twms/correctify.pyc
-%%PYTHON_SITELIBDIR%%/twms/correctify.pyo
-%%PYTHON_SITELIBDIR%%/twms/daemon.py
-%%PYTHON_SITELIBDIR%%/twms/daemon.pyc
-%%PYTHON_SITELIBDIR%%/twms/daemon.pyo
-%%PYTHON_SITELIBDIR%%/twms/drawing.py
-%%PYTHON_SITELIBDIR%%/twms/drawing.pyc
-%%PYTHON_SITELIBDIR%%/twms/drawing.pyo
-%%PYTHON_SITELIBDIR%%/twms/fetchers.py
-%%PYTHON_SITELIBDIR%%/twms/fetchers.pyc
-%%PYTHON_SITELIBDIR%%/twms/fetchers.pyo
-%%PYTHON_SITELIBDIR%%/twms/filter.py
-%%PYTHON_SITELIBDIR%%/twms/filter.pyc
-%%PYTHON_SITELIBDIR%%/twms/filter.pyo
-%%PYTHON_SITELIBDIR%%/twms/gpxparse.py
-%%PYTHON_SITELIBDIR%%/twms/gpxparse.pyc
-%%PYTHON_SITELIBDIR%%/twms/gpxparse.pyo
-%%PYTHON_SITELIBDIR%%/twms/overview.py
-%%PYTHON_SITELIBDIR%%/twms/overview.pyc
-%%PYTHON_SITELIBDIR%%/twms/overview.pyo
-%%PYTHON_SITELIBDIR%%/twms/projections.py
-%%PYTHON_SITELIBDIR%%/twms/projections.pyc
-%%PYTHON_SITELIBDIR%%/twms/projections.pyo
-%%PYTHON_SITELIBDIR%%/twms/reproject.py
-%%PYTHON_SITELIBDIR%%/twms/reproject.pyc
-%%PYTHON_SITELIBDIR%%/twms/reproject.pyo
-%%PYTHON_SITELIBDIR%%/twms/sketch.py
-%%PYTHON_SITELIBDIR%%/twms/sketch.pyc
-%%PYTHON_SITELIBDIR%%/twms/sketch.pyo
-%%PYTHON_SITELIBDIR%%/twms/twms.py
-%%PYTHON_SITELIBDIR%%/twms/twms.pyc
-%%PYTHON_SITELIBDIR%%/twms/twms.pyo
-%%PORTDOCS%%%%DOCSDIR%%/README.md
-share/man/man1/twms.1.gz
-%%DATADIR%%/irs_nxt.jpg
-%%DATADIR%%/tools/compile_correction.py
-%%DATADIR%%/tools/decompile_correction.py
-%%DATADIR%%/yahoo_nxt.jpg
-%%DATADIR%%/yandex_nxt.jpg
-@dir(%%USER%%,%%GROUP%%,775) /var/cache/twms/tiles
-@dir(%%USER%%,%%GROUP%%,775) /var/cache/twms/traces
-@dir /var/cache/twms