aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYuri Victorovich <yuri@FreeBSD.org>2026-10-24 23:41:53 +0000
committerYuri Victorovich <yuri@FreeBSD.org>2026-10-24 23:49:09 +0000
commit324d08c084ca3f30894f458c33e39f36a9d74462 (patch)
treec57d1b9f5703e66447f523af0e0c3f9696d984d1
parente9e4fc3438ab6a963f368a84be94bb7babbda722 (diff)
net-im/py-unmessage: remove abandonware
PR: 299966 Reported by: Patrick Crandol <patrick@crandol.com>
-rw-r--r--MOVED1
-rw-r--r--net-im/Makefile1
-rw-r--r--net-im/py-unmessage/Makefile34
-rw-r--r--net-im/py-unmessage/distinfo3
-rw-r--r--net-im/py-unmessage/files/patch-2to363
-rw-r--r--net-im/py-unmessage/files/patch-versioneer.py14
-rw-r--r--net-im/py-unmessage/pkg-descr13
7 files changed, 1 insertions, 128 deletions
diff --git a/MOVED b/MOVED
index debade5d4863..11ca6d2f07db 100644
--- a/MOVED
+++ b/MOVED
@@ -5756,3 +5756,4 @@ net-im/tde2e|net-im/tdlib|2026-10-22|No longer necessary; migrate to net-im/tdli
deskutils/p5-Goo||2026-10-22|Has expired: Upstream dists no longer available
devel/shiboken2||2026-10-23|Removed: not needed anymore
graphics/py-agx-emulsion|graphics/py-spektrafilm|2026-10-18|Renamed upstream to spektrafilm
+net-im/py-unmessage||2026-10-24|Remove abandonware, upstream has been inactive for 9 years with code still being for Python-2.x
diff --git a/net-im/Makefile b/net-im/Makefile
index e94accecf6e5..2c0d8b6bc4bb 100644
--- a/net-im/Makefile
+++ b/net-im/Makefile
@@ -122,7 +122,6 @@
SUBDIR += py-slixmpp
SUBDIR += py-smpplib
SUBDIR += py-toxcore-c
- SUBDIR += py-unmessage
SUBDIR += py-zapzap
SUBDIR += qTox
SUBDIR += quaternion
diff --git a/net-im/py-unmessage/Makefile b/net-im/py-unmessage/Makefile
deleted file mode 100644
index 3843f499fb0c..000000000000
--- a/net-im/py-unmessage/Makefile
+++ /dev/null
@@ -1,34 +0,0 @@
-PORTNAME= unmessage
-DISTVERSION= 0.2.0
-PORTREVISION= 10
-CATEGORIES= net-im net-p2p python
-MASTER_SITES= PYPI
-PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
-
-MAINTAINER= yuri@FreeBSD.org
-COMMENT= Privacy enhanced instant messenger
-WWW= https://github.com/AnemoneLabs/unmessage
-
-LICENSE= GPLv3
-LICENSE_FILE= ${WRKSRC}/COPYING
-
-RUN_DEPENDS= tor:security/tor \
- ${PYTHON_PKGNAMEPREFIX}opuslib>=1.1.0:audio/py-opuslib@${PY_FLAVOR} \
- ${PYTHON_PKGNAMEPREFIX}pyaudio>=0.2.10:audio/py-pyaudio@${PY_FLAVOR} \
- ${PYTHON_PKGNAMEPREFIX}pyaxo>=0.7.3:security/py-pyaxo@${PY_FLAVOR} \
- ${PYTHON_PKGNAMEPREFIX}PyNaCl>=1.0.1:security/py-pynacl@${PY_FLAVOR} \
- ${PYTHON_PKGNAMEPREFIX}pyperclip>=1.5.27:devel/py-pyperclip@${PY_FLAVOR} \
- ${PYTHON_PKGNAMEPREFIX}twisted>=16.6.0:devel/py-twisted@${PY_FLAVOR} \
- ${PYTHON_PKGNAMEPREFIX}txtorcon>=0.19.0:security/py-txtorcon@${PY_FLAVOR} \
- ${PYTHON_PKGNAMEPREFIX}tkinter>0:x11-toolkits/py-tkinter@${PY_FLAVOR}
-# Twisted[tls]
-RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}pyopenssl>=16.0.0:security/py-pyopenssl@${PY_FLAVOR} \
- ${PYTHON_PKGNAMEPREFIX}service-identity>0:security/py-service-identity@${PY_FLAVOR} \
- ${PYTHON_PKGNAMEPREFIX}idna>=0.6:dns/py-idna@${PY_FLAVOR}
-
-USES= python
-USE_PYTHON= distutils autoplist
-
-NO_ARCH= yes
-
-.include <bsd.port.mk>
diff --git a/net-im/py-unmessage/distinfo b/net-im/py-unmessage/distinfo
deleted file mode 100644
index 8de86c2f3618..000000000000
--- a/net-im/py-unmessage/distinfo
+++ /dev/null
@@ -1,3 +0,0 @@
-TIMESTAMP = 1504481628
-SHA256 (unmessage-0.2.0.tar.gz) = c55f504ae55d19cbde8565bc668d3c420d6336df0442dd8dd31daf6e3888a7be
-SIZE (unmessage-0.2.0.tar.gz) = 62725
diff --git a/net-im/py-unmessage/files/patch-2to3 b/net-im/py-unmessage/files/patch-2to3
deleted file mode 100644
index 49222316b89b..000000000000
--- a/net-im/py-unmessage/files/patch-2to3
+++ /dev/null
@@ -1,63 +0,0 @@
---- unmessage/cli.py.orig 2017-05-12 04:05:34 UTC
-+++ unmessage/cli.py
-@@ -75,7 +75,7 @@ YELLOW = 5
- def create_help():
- help_lines = list()
- commands = sorted(COMMANDS.keys())
-- longest = max(map(lambda command: len(command), commands))
-+ longest = max([len(command) for command in commands])
- for c in commands:
- padding = (longest - len(c)) * ' '
- info = COMMANDS[c]
-@@ -87,11 +87,11 @@ def create_help():
-
-
- def sum_args_len(args_list):
-- return sum(map(lambda args: len(args[0]), args_list))
-+ return sum([len(args[0]) for args in args_list])
-
-
- def join_args_str(args_list):
-- return ''.join(map(lambda args: args[0], args_list))
-+ return ''.join([args[0] for args in args_list])
-
-
- def get_auth_color(conversation):
-@@ -117,7 +117,7 @@ class Cli(PeerUi):
-
- @property
- def handlers_conv(self):
-- return self._handlers_conv.values()
-+ return list(self._handlers_conv.values())
-
- @property
- def prefix_str(self):
-@@ -211,8 +211,8 @@ class Cli(PeerUi):
- self.remote_mode = remote_mode
-
- if not name:
-- print 'unMessage could not find a name to use'
-- print 'Run unMessage with `-name`'
-+ print('unMessage could not find a name to use')
-+ print('Run unMessage with `-name`')
- else:
- curses.wrapper(self.start_main,
- name,
-@@ -364,7 +364,7 @@ class Cli(PeerUi):
- devices = self.peer.get_audio_devices()
- if devices:
- output = ['Audio devices:']
-- for name, index in devices.items():
-+ for name, index in list(devices.items()):
- output.append('\tDevice {} has index {}'.format(name, index))
- else:
- output = ['There are no audio devices available']
-@@ -697,7 +697,7 @@ class CursesHelper(object):
- @sync_curses
- def _init_color_pairs(cls):
- default_bg = -1
-- for number, fg in cls.Colors.items():
-+ for number, fg in list(cls.Colors.items()):
- curses.init_pair(number, fg, default_bg)
-
- @classmethod
diff --git a/net-im/py-unmessage/files/patch-versioneer.py b/net-im/py-unmessage/files/patch-versioneer.py
deleted file mode 100644
index fad2c6a47128..000000000000
--- a/net-im/py-unmessage/files/patch-versioneer.py
+++ /dev/null
@@ -1,14 +0,0 @@
---- versioneer.py.orig 2026-07-14 01:01:51 UTC
-+++ versioneer.py
-@@ -339,9 +339,9 @@ def get_config_from_root(root):
- # configparser.NoOptionError (if it lacks "VCS="). See the docstring at
- # the top of versioneer.py for instructions on writing your setup.cfg .
- setup_cfg = os.path.join(root, "setup.cfg")
-- parser = configparser.SafeConfigParser()
-+ parser = configparser.ConfigParser()
- with open(setup_cfg, "r") as f:
-- parser.readfp(f)
-+ parser.read_file(f)
- VCS = parser.get("versioneer", "VCS") # mandatory
-
- def get(parser, name):
diff --git a/net-im/py-unmessage/pkg-descr b/net-im/py-unmessage/pkg-descr
deleted file mode 100644
index 202dbd46a27d..000000000000
--- a/net-im/py-unmessage/pkg-descr
+++ /dev/null
@@ -1,13 +0,0 @@
-unMessage is a peer-to-peer instant messaging application designed to enhance
-privacy and anonymity.
-
-Features:
-* Transport makes use of Twisted, Tor Onion Services and txtorcon
-* Encryption is performed using the Double Ratchet Algorithm implemented in
- pyaxo (using PyNaCl)
-* Authentication makes use of the Socialist Millionaire Protocol implemented
- in Cryptully
-* Transport metadata is minimized by Tor and application metadata by the
- unMessage protocol
-* User interfaces are created with Tkinter (graphical) and curses
- (command-line)