From 8f77bab685f87b29f933fd36076f3c0d4614dc85 Mon Sep 17 00:00:00 2001
From: David Gibson
Date: Sat, 14 Jun 2025 15:44:43 +1000
Subject: [PATCH] Remove ccodearchive.net references
Our former website ccodearchive.net has been taken over by domain
squatters, who've put up a near-duplicate of the former site with sneeaky
advertising links inserted. No idea if they've also subverted the actual
code, but it's possible.
There is, alas, not much we can do about that. We can, at least, stop
linking to it in the repository though. So, remove all references to the
now untrustworthy website.
Signed-off-by: David Gibson
---
Makefile-web | 2 +-
README | 6 +++++-
doc/ccanlint.1 | 2 +-
doc/ccanlint.1.txt | 2 +-
doc/configurator.1 | 2 +-
doc/configurator.1.txt | 3 ++-
web/menulist.html | 1 -
web/static-configuration | 2 +-
web/staticupload.php | 5 ++---
9 files changed, 14 insertions(+), 11 deletions(-)
diff --git a/Makefile-web b/Makefile-web
index ae388c0c..0b105412 100644
--- a/Makefile-web
+++ b/Makefile-web
@@ -2,7 +2,7 @@ default: upload
include Makefile
# This can be overridden on cmdline to generate pages elsewhere.
-WEBDIR=/srv/www/ccodearchive.net
+WEBDIR=
PHP=php
MODS := $(ALL_MODULES:ccan/%=%)
diff --git a/README b/README
index 4c5c0cee..04bd90a6 100644
--- a/README
+++ b/README
@@ -1,4 +1,8 @@
-The C Code Archive Network: http://ccodearchive.net
+The C Code Archive Network
+
+WARNING: The previous website (ccodearchive dot net) has, alas, been
+taken over by domain squatters who have an out of date copy of the
+site with sneaky ad links added.
You can find a set of helper utilities under tools/ and the modules
under ccan/. The recommended way to add ccan modules to your project
diff --git a/doc/ccanlint.1 b/doc/ccanlint.1
index 15260649..231d988f 100644
--- a/doc/ccanlint.1
+++ b/doc/ccanlint.1
@@ -437,7 +437,7 @@ Collect the tests again, but not more features\&.
Rusty Russell wrote \fBccanlint\fR\&. Helping others, but most break Rusty\&.
.SH "RESOURCES"
.sp
-Main web site: http://ccodearchive\&.net/
+Main web site: https://github\&.com/rustyrussell/ccan
.sp
Wiki: https://github\&.com/rustyrussell/ccan/wiki/
.SH "COPYING"
diff --git a/doc/ccanlint.1.txt b/doc/ccanlint.1.txt
index b2f1537a..7627c62f 100644
--- a/doc/ccanlint.1.txt
+++ b/doc/ccanlint.1.txt
@@ -261,7 +261,7 @@ Rusty Russell wrote *ccanlint*. Helping others, but most break Rusty.
RESOURCES
---------
-Main web site: http://ccodearchive.net/
+Main web site: http://github.com/rustyrussell/ccan
Wiki: https://github.com/rustyrussell/ccan/wiki/
diff --git a/doc/configurator.1 b/doc/configurator.1
index aaa92c52..2fe7d5a7 100644
--- a/doc/configurator.1
+++ b/doc/configurator.1
@@ -208,7 +208,7 @@ It will exit with non\-zero status if it has a problem\&. \fB1\fR means bad comm
Rusty Russell wrote \fBconfigurator\fR\&.
.SH "RESOURCES"
.sp
-Main web site: http://ccodearchive\&.net/
+Main web site: https://github\&.com/rustyrussell/ccan
.sp
Wiki: https://github\&.com/rustyrussell/ccan/wiki/
.SH "COPYING"
diff --git a/doc/configurator.1.txt b/doc/configurator.1.txt
index ef9f8ba2..577cca11 100644
--- a/doc/configurator.1.txt
+++ b/doc/configurator.1.txt
@@ -143,7 +143,8 @@ Rusty Russell wrote *configurator*.
RESOURCES
---------
-Main web site: http://ccodearchive.net/
+Main web site: http://github.com/rustyrussell/ccan
+
Wiki: https://github.com/rustyrussell/ccan/wiki/
diff --git a/web/menulist.html b/web/menulist.html
index 8b7fdef8..08919deb 100644
--- a/web/menulist.html
+++ b/web/menulist.html
@@ -12,7 +12,6 @@ $url_prefix = getenv("URLPREFIX");
diff --git a/web/static-configuration b/web/static-configuration
index 66863805..ec77cbdf 100644
--- a/web/static-configuration
+++ b/web/static-configuration
@@ -3,7 +3,7 @@
$tempfolder = "/home/ccan/upload-temp/";
//location of upload script (for posting uploads)
-$uploadscript = "http://ccodearchive.net/uploader.php";
+//$uploadscript = XXX;
//ccan admin
$ccanadmin = "rusty@rustcorp.com.au";
diff --git a/web/staticupload.php b/web/staticupload.php
index 19dbedec..ef1760f9 100644
--- a/web/staticupload.php
+++ b/web/staticupload.php
@@ -13,10 +13,9 @@ Got C code sitting around which might help someone? Put it to work
by uploading here; .tar.gz, .zip or even single C files.
-If it has a valid _info file and a testsuite (see the module creation guide), it'll go into the
+
If it has a valid _info file and a testsuite, it'll go into the
main repository. Otherwise, it'll go into our "junkcode" area where
-people can browse and download it.
-
+people can browse and download it.