From nobody Mon Apr 1 11:00:03 2024 X-Original-To: dev-commits-ports-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4V7Shh08Kxz5GDsP; Mon, 1 Apr 2024 11:00:04 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4V7Shg6c1xz57MV; Mon, 1 Apr 2024 11:00:03 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1711969203; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=zU4KqhtduBBV7Esz158/edTHUPwAKjTmLygdy8T81Dk=; b=CClxTgwoJ105zDSRpQG8U/3YSX80H7dtakkQBE3ETCXrS11ZPdUyn2P9pMyS2IsD4+IAVz eGyuAYaP5s7VlluKu6aQFcUf8XBr1Hcimglm3bA3oXlwwIv5sVWpFKyqpRpmshE+NCHp8P Tt2OaGKBeptkPu/2jGLHhBZi2NLTuwpTlxdh3ur1hIWAsOzvQr3uRYV4V9yRUnTraRqPXy lGNkds46ecCMdkHiliBAbN876z+x59OJ5/b3gVeFupr5sNceopra9Ay8895wOtTiSxIunI wDvIO6D+2mnzvpQ6NIBE+fHlu5+cgaAVIZ3lTd058YvW8Fih1n8R+vvqVnf7kg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1711969203; a=rsa-sha256; cv=none; b=FoVzfN9shqsAdvaXh+IND6w1w2RLV6NVsMNu3lGV15nRka9LLQMqOozDRUwgpgi3dTlJko 7fwoR4IkY5cec2y0ys2OFJcHr70B4aK/2TOWl/icgzXknLGWrsTlmpenuvSp+l+8diDPy5 10Smymf6W2vkWYL37rQShnY8FxU1z21rz7xAaek2/8yJRwKcWHqJLWw/VJ3lDvEoEo/UtE odv4CI140BKGzsisOTn6KH4U7STR4Eb7RX/if6tdrlJsnsXUBzFIRREC1LN7PWPrSrDwyv by7y4TWyntmiVMcEJ9G2LPJxc5xYo9RDR50EHr9IrfQDq0fUz8YzEJZQrKqJnQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1711969203; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=zU4KqhtduBBV7Esz158/edTHUPwAKjTmLygdy8T81Dk=; b=sQuumCLLpFSJA0+2KlclzqoGN6lvpW0kHqcWn7/nwUAzNYLlQ6uv3KUzFAvEZ1cPVZqUTv ggPQbtxLBJ4MvsMu/L5uJIfo5lXQS/gBF5+EtoMoioEWSungVB5+16Iz87TysxOb16zEZY IHLCpySFa8/h0G8jlBWWl0gUKDyV4/BVBUL5vBMAPKyMgrrxQ9/7/KbEL0V9Lm6wjqKEmm nWjKbD7Om0zJKpfavn6aMbvWALX4L5WCgCy/7zwSa9IbW0WEILBqYWMtVlYMNzLaYDHwBh EwiFJcBZJadjEvafpdo250XzFySYPiU7yWT9ISq1+ieIWCEHdIi0wUWG0aIzoA== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4V7Shg6C9wz1HM1; Mon, 1 Apr 2024 11:00:03 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 431B036D080956; Mon, 1 Apr 2024 11:00:03 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 431B03Z1080950; Mon, 1 Apr 2024 11:00:03 GMT (envelope-from git) Date: Mon, 1 Apr 2024 11:00:03 GMT Message-Id: <202404011100.431B03Z1080950@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Rene Ladan Subject: git: e0e8e541f1d2 - main - net-p2p/liberator: Remove expired port List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-all@freebsd.org X-BeenThere: dev-commits-ports-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: rene X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: e0e8e541f1d2553a4a05262fe4c08adb4ac4d82d Auto-Submitted: auto-generated The branch main has been updated by rene: URL: https://cgit.FreeBSD.org/ports/commit/?id=e0e8e541f1d2553a4a05262fe4c08adb4ac4d82d commit e0e8e541f1d2553a4a05262fe4c08adb4ac4d82d Author: Rene Ladan AuthorDate: 2024-04-01 10:59:54 +0000 Commit: Rene Ladan CommitDate: 2024-04-01 10:59:54 +0000 net-p2p/liberator: Remove expired port 2024-03-31 net-p2p/liberator: Abandoned project with last release in 2003 --- MOVED | 1 + net-p2p/Makefile | 1 - net-p2p/liberator/Makefile | 59 ---------- net-p2p/liberator/distinfo | 2 - net-p2p/liberator/files/patch-immutable-strings | 141 ------------------------ net-p2p/liberator/files/wrapper.sh | 14 --- net-p2p/liberator/pkg-descr | 2 - net-p2p/liberator/pkg-plist | 24 ---- 8 files changed, 1 insertion(+), 243 deletions(-) diff --git a/MOVED b/MOVED index f6d7556d844a..03345b10108b 100644 --- a/MOVED +++ b/MOVED @@ -3102,3 +3102,4 @@ irc/sirc||2024-04-01|Has expired: Abandonware, upstream is gone and current vers net-p2p/btpd||2024-04-01|Has expired: Abandoned upstream, lacks support for common functionality such as Magnet links, DHT, PEX and HTTPS. Consider net-p2p/qbittorrent or net-p2p/transmission net-im/cawbird||2024-04-01|Has expired: No longer developed due to Twitter changes irc/ninja||2024-04-01|Has expired: Abandonware, last release around 2002 and upstream is gone. Consider irc/ircII or irc/irssi +net-p2p/liberator||2024-04-01|Has expired: Abandoned project with last release in 2003 diff --git a/net-p2p/Makefile b/net-p2p/Makefile index 8db9019ac545..dfe9630cfa75 100644 --- a/net-p2p/Makefile +++ b/net-p2p/Makefile @@ -41,7 +41,6 @@ SUBDIR += jigdo SUBDIR += ktorrent SUBDIR += libbt - SUBDIR += liberator SUBDIR += libktorrent SUBDIR += libswift SUBDIR += libtorrent diff --git a/net-p2p/liberator/Makefile b/net-p2p/liberator/Makefile deleted file mode 100644 index 67cfacbdcab2..000000000000 --- a/net-p2p/liberator/Makefile +++ /dev/null @@ -1,59 +0,0 @@ -PORTNAME= liberator -PORTVERSION= 2.0.2 -PORTREVISION= 2 -CATEGORIES= net-p2p -MASTER_SITES= SF/${PORTNAME}/ofcp/ofcp-${PORTVERSION} -DISTNAME= ofcp-${PORTVERSION} - -MAINTAINER= ports@FreeBSD.org -COMMENT= Command line client to FreeNet Network -WWW= https://sourceforge.net/projects/liberator/ - -LICENSE= LGPL21+ -LICENSE_FILE= ${WRKSRC}/COPYING - -DEPRECATED= Abandoned project with last release in 2003 -EXPIRATION_DATE=2024-03-31 - -USES= tar:bzip2 -USE_OCAML= yes -USE_OCAML_CAMLP4=yes -ALL_TARGET= all opt -MAKE_JOBS_UNSAFE=yes - -DATA_FILES= liber_mimetypes -DOC_FILES= COPYING FREESITE-HOWTO README TODO -LIB_FILES= fcp.cma hlfi.cma asfi.cma fcp.cmxa hlfi.cmxa asfi.cmxa \ - fcp.mli hlfreenet.mli asfreenet.mli fieldset.mli \ - fstream.mli \ - fcp.cmi hlfreenet.cmi asfreenet.cmi fieldset.cmi \ - fstream.cmi - -OPTIONS_DEFINE= DOCS - -post-patch: - @${SED} -e 's|%%PREFIX%%|${PREFIX}|; \ - s|%%DATADIR%%|${DATADIR:S,^${PREFIX}/,,}|' \ - ${FILESDIR}/wrapper.sh > ${WRKDIR}/wrapper.sh - -do-configure: - @${REINPLACE_CMD} -E \ - -e 's|^(PREFIX).*$$|\1=${PREFIX}|; \ - s|^(OCAML_PREFIX).*$$|\1=${PREFIX}/lib/ocaml|' \ - ${WRKSRC}/Makefile - -do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/liber ${STAGEDIR}${PREFIX}/bin/liber-real - ${INSTALL_SCRIPT} ${WRKDIR}/wrapper.sh ${STAGEDIR}${PREFIX}/bin/liber - @${MKDIR} ${STAGEDIR}${DATADIR} - ${INSTALL_DATA} ${DATA_FILES:S|^|${WRKSRC}/|} ${STAGEDIR}${DATADIR} - @${MKDIR} ${STAGEDIR}${PREFIX}/lib/ocaml - ${INSTALL_DATA} ${LIB_FILES:S|^|${WRKSRC}/|} \ - ${STAGEDIR}${PREFIX}/lib/ocaml - -do-install-DOCS-on: - @${MKDIR} ${STAGEDIR}${DOCSDIR} - ${INSTALL_DATA} ${DOC_FILES:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR} - ${INSTALL_DATA} ${WRKSRC}/doc/* ${STAGEDIR}${DOCSDIR} - -.include diff --git a/net-p2p/liberator/distinfo b/net-p2p/liberator/distinfo deleted file mode 100644 index f27bc53e7f52..000000000000 --- a/net-p2p/liberator/distinfo +++ /dev/null @@ -1,2 +0,0 @@ -SHA256 (ofcp-2.0.2.tar.bz2) = 50789e0373b2e33a5d6e82c801d67071ba11ace91f8ff0f8f4459ef981f6534b -SIZE (ofcp-2.0.2.tar.bz2) = 62878 diff --git a/net-p2p/liberator/files/patch-immutable-strings b/net-p2p/liberator/files/patch-immutable-strings deleted file mode 100644 index 9f9262637989..000000000000 --- a/net-p2p/liberator/files/patch-immutable-strings +++ /dev/null @@ -1,141 +0,0 @@ ---- config.ml.orig 2003-04-09 23:32:54 UTC -+++ config.ml -@@ -381,7 +381,7 @@ class configure ~defaults ~files ~required = - let len = in_channel_length file in - let data = String.create len in - really_input file data 0 len; -- let tokens = tokenize data in -+ let tokens = tokenize (Bytes.to_string data) in - if not default then - self#parse_tokens tokens - else self#parse_tokens_default tokens ---- fcp.ml.orig 2003-04-09 23:32:54 UTC -+++ fcp.ml -@@ -82,7 +82,7 @@ class transact connect = object (self) - begin try really_input in_chan data 0 len - with Sys_error _ -> raise Io_error - end; -- data -+ Bytes.to_string data - end - method private recv_soft len = - if not opened then raise Closed -@@ -91,7 +91,7 @@ class transact connect = object (self) - let rlen = - try input in_chan data 0 len - with Sys_error _ -> raise Io_error -- in String.sub data 0 rlen -+ in Bytes.sub_string data 0 rlen - method private recv_line = - if not opened then raise Closed - else try input_line in_chan ---- fstream.ml.orig 2003-04-09 23:32:54 UTC -+++ fstream.ml -@@ -18,8 +18,8 @@ class virtual fstream_in = - method virtual input_line : string - method virtual input : int -> string - method virtual really_input : int -> string -- method virtual input_buf : string -> int -> int -> int -- method virtual really_input_buf : string -> int -> int -> unit -+ method virtual input_buf : bytes -> int -> int -> int -+ method virtual really_input_buf : bytes -> int -> int -> unit - method virtual seek : int -> unit - method virtual pos : int - end -@@ -34,7 +34,7 @@ class fstream_in_channel chan = - let buf = String.create len in - let len_read = input chan buf 0 len in - if len_read > 0 then -- String.sub buf 0 len_read -+ Bytes.sub_string buf 0 len_read - else - if self#pos = self#length then - raise End_of_file -@@ -42,7 +42,7 @@ class fstream_in_channel chan = - method really_input len = - let buf = String.create len in - really_input chan buf 0 len; -- buf -+ Bytes.to_string buf - method input_buf buf off len = - try input chan buf off len - with Invalid_argument _ -> -@@ -165,7 +165,7 @@ class fstream_out_channel chan = - inherit fstream_out - method output_char ch = output_char chan ch - method output_string data = output_string chan data -- method output_buf buf off len = output chan buf off len -+ method output_buf buf off len = output chan (Bytes.of_string buf) off len - method output_byte byte = output_byte chan byte - method clear = seek_out chan 0 - end ---- fstream.mli.orig 2003-04-09 23:32:54 UTC -+++ fstream.mli -@@ -17,8 +17,8 @@ class virtual fstream_in : object - method virtual input_line : string - method virtual input : int -> string - method virtual really_input : int -> string -- method virtual input_buf : string -> int -> int -> int -- method virtual really_input_buf : string -> int -> int -> unit -+ method virtual input_buf : bytes -> int -> int -> int -+ method virtual really_input_buf : bytes -> int -> int -> unit - method virtual seek : int -> unit - method virtual pos : int - end -@@ -29,8 +29,8 @@ class fstream_in_channel : in_channel -> object - method input_line : string - method input : int -> string - method really_input : int -> string -- method input_buf : string -> int -> int -> int -- method really_input_buf : string -> int -> int -> unit -+ method input_buf : bytes -> int -> int -> int -+ method really_input_buf : bytes -> int -> int -> unit - method seek : int -> unit - method pos : int - end -@@ -42,8 +42,8 @@ class fstream_in_string : string -> object - method input_line : string - method input : int -> string - method really_input : int -> string -- method input_buf : string -> int -> int -> int -- method really_input_buf : string -> int -> int -> unit -+ method input_buf : bytes -> int -> int -> int -+ method really_input_buf : bytes -> int -> int -> unit - method seek : int -> unit - method pos : int - end ---- hlfreenet.ml.orig 2003-04-09 23:32:54 UTC -+++ hlfreenet.ml -@@ -653,8 +653,8 @@ let rec insert node_info uri htl map stream = - let len = stream#input_buf buf 0 node_info.nin_block_len in - if len > 0 then begin - if len = node_info.nin_block_len then -- transact#block buf -- else transact#block (String.sub buf 0 len); -+ transact#block (Bytes.to_string buf) -+ else transact#block (Bytes.sub_string buf 0 len); - step () - end else () - with -@@ -820,8 +820,8 @@ let generate_chk node_info map (stream : fstream_in) = - let len = stream#input_buf buf 0 node_info.nin_block_len in - if len > 0 then begin - if len = node_info.nin_block_len then -- transact#block buf -- else transact#block (String.sub buf 0 len); -+ transact#block (Bytes.to_string buf) -+ else transact#block (Bytes.sub_string buf 0 len); - step () - end else () - with ---- liber.ml.orig 2003-04-09 23:32:54 UTC -+++ liber.ml -@@ -463,7 +463,7 @@ let basic_metadata conf (log : Log.log_type) = - let buf = String.create len in - really_input channel buf 0 len; - close_in channel; -- fields_parse buf -+ fields_parse (Bytes.to_string buf) - with Sys_error _ -> - raise (Die_msg ("cannot open or read metadata file " ^ file)) - end diff --git a/net-p2p/liberator/files/wrapper.sh b/net-p2p/liberator/files/wrapper.sh deleted file mode 100644 index 025b61532613..000000000000 --- a/net-p2p/liberator/files/wrapper.sh +++ /dev/null @@ -1,14 +0,0 @@ -#!/bin/sh - -PREFIX="%%PREFIX%%" -PROGRAM="${0}" -DATADIR="%%DATADIR%%" -MIME_FILE=liber_mimetypes - -if [ ! -f ${MIME_FILE} ] -then - cp -f ${PREFIX}/${DATADIR}/${MIME_FILE} \ - ${HOME}/.${MIME_FILE} -fi - -exec ${PREFIX}/bin/${PROGRAM##*/}-real "${@}" diff --git a/net-p2p/liberator/pkg-descr b/net-p2p/liberator/pkg-descr deleted file mode 100644 index 43bc9b5bea43..000000000000 --- a/net-p2p/liberator/pkg-descr +++ /dev/null @@ -1,2 +0,0 @@ -Liberator is the Unix guru's command line interface to the FreeNet -network, inserting and requesting easily and efficiently. diff --git a/net-p2p/liberator/pkg-plist b/net-p2p/liberator/pkg-plist deleted file mode 100644 index 4082e5b7d4d1..000000000000 --- a/net-p2p/liberator/pkg-plist +++ /dev/null @@ -1,24 +0,0 @@ -bin/liber -bin/liber-real -lib/ocaml/asfi.cma -lib/ocaml/asfi.cmxa -lib/ocaml/asfreenet.cmi -lib/ocaml/asfreenet.mli -lib/ocaml/fcp.cma -lib/ocaml/fcp.cmi -lib/ocaml/fcp.cmxa -lib/ocaml/fcp.mli -lib/ocaml/fieldset.cmi -lib/ocaml/fieldset.mli -lib/ocaml/fstream.cmi -lib/ocaml/fstream.mli -lib/ocaml/hlfi.cma -lib/ocaml/hlfi.cmxa -lib/ocaml/hlfreenet.cmi -lib/ocaml/hlfreenet.mli -%%PORTDOCS%%%%DOCSDIR%%/index.html -%%PORTDOCS%%%%DOCSDIR%%/COPYING -%%PORTDOCS%%%%DOCSDIR%%/FREESITE-HOWTO -%%PORTDOCS%%%%DOCSDIR%%/README -%%PORTDOCS%%%%DOCSDIR%%/TODO -%%DATADIR%%/liber_mimetypes