git: 661642c1f029 - main - devel/codeville: Remove expired port

From: Muhammad Moinur Rahman <bofh_at_FreeBSD.org>
Date: Thu, 29 Feb 2024 12:08:25 UTC
The branch main has been updated by bofh:

URL: https://cgit.FreeBSD.org/ports/commit/?id=661642c1f02914393dc2cfe7c83154e6b5b1675c

commit 661642c1f02914393dc2cfe7c83154e6b5b1675c
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2024-02-29 11:44:51 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2024-02-29 11:44:51 +0000

    devel/codeville: Remove expired port
    
    devel/codeville
---
 MOVED                                   |  1 +
 devel/Makefile                          |  1 -
 devel/codeville/Makefile                | 31 --------------
 devel/codeville/distinfo                |  3 --
 devel/codeville/files/patch-MANIFEST.in |  8 ----
 devel/codeville/files/patch-indent      | 75 ---------------------------------
 devel/codeville/files/patch-setup.py    | 11 -----
 devel/codeville/pkg-descr               | 14 ------
 8 files changed, 1 insertion(+), 143 deletions(-)

diff --git a/MOVED b/MOVED
index 2f678770f5be..a06a4f3a0613 100644
--- a/MOVED
+++ b/MOVED
@@ -3003,3 +3003,4 @@ audio/pm3umpdl||2024-02-29|Has expired: Deprecated utility as this is supported
 benchmarks/ramspeed||2024-02-29|Has expired: Upstream is dead and port is unfetchable
 comms/comserv||2024-02-29|Has expired: Abandonware, last release in 2002. Consider using comms/remserial
 comms/sms_client||2024-02-29|Has expired: Abandonware, dead upstream and relies on legacy hardware and or networks that are obsolete
+devel/codeville||2024-02-29|Has expired: Abandonware, dead upstream for at least 10 years. Consider using devel/git or devel/mercurial
diff --git a/devel/Makefile b/devel/Makefile
index 23528ab469e2..dec1f9edede9 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -433,7 +433,6 @@
     SUBDIR += codeblocks
     SUBDIR += codequery
     SUBDIR += codesearch-py
-    SUBDIR += codeville
     SUBDIR += codeworker
     SUBDIR += collada-dom
     SUBDIR += color
diff --git a/devel/codeville/Makefile b/devel/codeville/Makefile
deleted file mode 100644
index 1d754f572176..000000000000
--- a/devel/codeville/Makefile
+++ /dev/null
@@ -1,31 +0,0 @@
-PORTNAME=	codeville
-PORTVERSION=	0.1.18
-CATEGORIES=	devel python
-MASTER_SITES=	https://BSDforge.com/projects/source/devel/codeville/
-
-MAINTAINER=	portmaster@BSDforge.com
-COMMENT=	Anarchic control version system without unnecessary re-merges
-WWW=		https://bsdforge.com/projects/devel/codeville/
-
-LICENSE=	BSD3CLAUSE
-LICENSE_FILE=	${WRKSRC}/LICENSE.txt
-
-DEPRECATED=	Abandonware, dead upstream for at least 10 years. Consider using devel/git or devel/mercurial
-EXPIRATION_DATE=2024-02-29
-
-BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}future>0:devel/py-future@${PY_FLAVOR}
-RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}future>0:devel/py-future@${PY_FLAVOR}
-
-USES=		python tar:txz
-USE_PYTHON=	distutils autoplist noflavors
-NO_ARCH=	yes
-
-PORTEXAMPLES=	cdvserver.conf.sample
-
-OPTIONS_DEFINE=	EXAMPLES
-
-post-install-EXAMPLES-on:
-	@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
-	${INSTALL_DATA} ${WRKSRC}/${PORTEXAMPLES} ${STAGEDIR}${EXAMPLESDIR}
-
-.include <bsd.port.mk>
diff --git a/devel/codeville/distinfo b/devel/codeville/distinfo
deleted file mode 100644
index c5d54c30e215..000000000000
--- a/devel/codeville/distinfo
+++ /dev/null
@@ -1,3 +0,0 @@
-TIMESTAMP = 1612906425
-SHA256 (codeville-0.1.18.txz) = 526fe707bce189b0022d28a35028abf8b165ed093f749934a647fc7e83b27095
-SIZE (codeville-0.1.18.txz) = 74772
diff --git a/devel/codeville/files/patch-MANIFEST.in b/devel/codeville/files/patch-MANIFEST.in
deleted file mode 100644
index e46b76569520..000000000000
--- a/devel/codeville/files/patch-MANIFEST.in
+++ /dev/null
@@ -1,8 +0,0 @@
---- MANIFEST.in.orig	2005-11-21 00:33:02 UTC
-+++ MANIFEST.in
-@@ -1,4 +1,4 @@
--recursive-include Codeville *.py *.pyd
-+recursive-include Codeville *.py
- include cdv cdvserver cdvpasswd cdv-agent cdvupgrade LICENSE.txt
- include cdvserver.conf.sample
- include src/winrand.c
diff --git a/devel/codeville/files/patch-indent b/devel/codeville/files/patch-indent
deleted file mode 100644
index 78679d8335c5..000000000000
--- a/devel/codeville/files/patch-indent
+++ /dev/null
@@ -1,75 +0,0 @@
---- Codeville/SRP.py.orig	2020-12-15 07:22:56 UTC
-+++ Codeville/SRP.py
-@@ -34,7 +34,7 @@ class ImproperKeyValue(Exception): pass
- def hash(s):
-     """Hash a value with some hashing algorithm."""
-     if type(s) != type(''):
--	s = long_to_string(s)
-+        s = long_to_string(s)
- 
-     return sha.new(s).digest()
- 
-@@ -85,7 +85,7 @@ def client_key(user, passphrase, s, B, u, keys, key_fu
-     # We don't trust the host. Perhaps the host is being spoofed.
- 
-     if B <= 0 or n <= B:
--	raise ImproperKeyValue
-+        raise ImproperKeyValue
- 
-     # Calculate the shared, secret session key.
- 
-@@ -93,7 +93,7 @@ def client_key(user, passphrase, s, B, u, keys, key_fu
-     v = 3 * pow(g, x, n)
-     t = B
-     if t < v:
--	t = t + n
-+        t = t + n
-     S = pow(t - v, a + u * x, n)
-     K = hash(S)
- 
-@@ -118,21 +118,21 @@ def host_begin(user, A, s, v):
-     # order to break the protocol.
- 
-     if A <= 0 or n <= A:
--	raise ImproperKeyValue
-+        raise ImproperKeyValue
- 
-     # Pick our random public keys.
- 
-     B = 0
-     while B == 0:
--	b = random_long(ablen)
--	B = ((3*v) + pow(g, b, n)) % n
-+        b = random_long(ablen)
-+        B = ((3*v) + pow(g, b, n)) % n
-     u = pow(g, random_long(tlen), n)
- 
-     # Calculate the (private, shared secret) session key.
- 
-     t = (A * pow(v, u, n)) % n
-     if t <= 1 or t + 1 == n:
--	raise ImproperKeyValue  # WeakKeyValue -- could be our fault so retry
-+        raise ImproperKeyValue  # WeakKeyValue -- could be our fault so retry
-     S = pow(t, b, n)
-     K = hash(S)
- 
---- Codeville/entropy.py.orig	2020-12-15 07:23:19 UTC
-+++ Codeville/entropy.py
-@@ -31,14 +31,14 @@ def string_to_long(s):
-     """Convert a string of bytes into a long integer."""
-     r = 0
-     for c in s:
--	r = (r << 8) + ord(c)
-+        r = (r << 8) + ord(c)
-     return r
- 
- def long_to_string(i, length=0):
-     """Convert a long integer into a string of bytes."""
-     s = ''
-     while i > 0:
--	s = chr(i & 255) + s
--	i = i >> 8
-+        s = chr(i & 255) + s
-+        i = i >> 8
-     s = '\x00' * (length - len(s)) + s
-     return s
diff --git a/devel/codeville/files/patch-setup.py b/devel/codeville/files/patch-setup.py
deleted file mode 100644
index 36e71a600fbd..000000000000
--- a/devel/codeville/files/patch-setup.py
+++ /dev/null
@@ -1,11 +0,0 @@
---- setup.py.orig	2020-12-15 07:58:37 UTC
-+++ setup.py
-@@ -9,7 +9,7 @@ import Codeville
- from distutils.core import setup
- import shutil
- import sys
--assert sys.version >= '2', "Install Python 2.0 or greater"
-+assert sys.version >= '3', "Install Python 3.0 or greater"
- 
- scripts = ["cdv", "cdvserver", "cdvpasswd", "cdv-agent", "cdvupgrade"]
- plat_ext = []
diff --git a/devel/codeville/pkg-descr b/devel/codeville/pkg-descr
deleted file mode 100644
index dbc5021b25ef..000000000000
--- a/devel/codeville/pkg-descr
+++ /dev/null
@@ -1,14 +0,0 @@
-Codeville is a distributed Version Control System. It began with a novel
-idea for a merge algorithm, and has grown from there. It is designed to
-be easy to use, and scale from small personal projects, to very large
-distributed ones. If you'd like to know why there's need for new merge
-algorithms, consider what the lead monotone developer had to say:
-http://article.gmane.org/gmane.comp.version-control.monotone.devel/3264
-
-Codeville works by creating an identifier for each change that is done,
-and remembering the list of all changes which have been applied to each
-file, and the last change which modified each line in each file. When
-there's a conflict, it checks to see if one of the two sides has already
-been applied to the other one, and if so, makes the other side win
-automatically. When there's a non automatically mergeable version conflict,
-Codeville behaves in almost exactly the same way as CVS.