From af4ab3a7bc06f0e27281a7a77e643742c08bf492 Mon Sep 17 00:00:00 2001 From: Jason Rhinelander Date: Tue, 20 Apr 2021 19:15:57 -0300 Subject: [PATCH] Remove stable old debian/ dir Debian packaging has been on separate debian/* and ubuntu/* branches for a long time. --- debian/changelog | 97 ------------------------------ debian/compat | 1 - debian/control | 19 ------ debian/copyright | 27 --------- debian/loki-service-nodes.7 | 22 ------- debian/lokinet-bootstrap.1 | 30 --------- debian/lokinet.1 | 60 ------------------ debian/lokinet.install | 2 - debian/lokinet.lokinet-vpn.service | 13 ---- debian/lokinet.manpages | 3 - debian/lokinet.service | 14 ----- debian/postinst | 3 - debian/rules | 27 --------- debian/source/format | 1 - 14 files changed, 319 deletions(-) delete mode 100644 debian/changelog delete mode 100644 debian/compat delete mode 100644 debian/control delete mode 100644 debian/copyright delete mode 100644 debian/loki-service-nodes.7 delete mode 100644 debian/lokinet-bootstrap.1 delete mode 100644 debian/lokinet.1 delete mode 100644 debian/lokinet.install delete mode 100644 debian/lokinet.lokinet-vpn.service delete mode 100644 debian/lokinet.manpages delete mode 100644 debian/lokinet.service delete mode 100644 debian/postinst delete mode 100755 debian/rules delete mode 100644 debian/source/format diff --git a/debian/changelog b/debian/changelog deleted file mode 100644 index 47e18fe09..000000000 --- a/debian/changelog +++ /dev/null @@ -1,97 +0,0 @@ -lokinet (0.4.2) UNRELEASED; urgency=medium - - * bug fix release - - -- Jeff Becker (probably not evil) Sat, 11 May 2019 10:45:49 -0400 - -lokinet (0.4.1) disco; urgency=medium - - - [ Jeff Becker (probably not evil) ] - * MANDITORY UPGRADE FOR TOYNET (again) - - * crypto protocol fixes in utp preventing fragment replaying - - * rewrite dns subsystem - - * snode tld resolution to service nodes - - * random.snode CNAME records giving a random service node - - * localhost.loki A and CNAME records for giving IP and Hostnames (respectively) for all locally owned endpoints - - * stability tweaks - - * crash fixes - - * much refactoring - - * such documentation updates - - * many C++ 17 isms - - * very vendor updates - - * wow ! - - -- Jeff Becker (probably not evil) Sat, 11 May 2019 10:45:46 -0400 - -lokinet (0.2.3) bionic; urgency=medium - - [ Jeff Becker (probably not evil) ] - * MANDITORY UPGRADE FOR TOYNET - - * remove iwp and replace with utp - - * use sntrup for introset public key (backwards incompatable) - - * hidden service tags (backwards incompatable) - - * add nicknames to RC (backwards incompatable) - - * change kdf for path keys (backwards incompatable) - - * various dht fixes - - * various dns fixes (still unused in lokinet executable) - - * hidden services should sorta work (no client interfacing code yet) - - * initial win32 port (may sorta work) - - * initial android point (should compile) - - * fix shadow testnet - - * moved netloop and logic into same thread - - * update motto - - * debian packaging - - * windows port - - * cross compile targets - - * continous integration - - * android port - - * android glue code ( will be moved later ) - - * snap network namespace isolation, untested - - [ jeff ] - - * bump versions - - * add lokinet-bootstrap script - - * dns automapping - - * hidden serivce junk - - * systemd unit - * 0.4.0 - - -- jeff Thu, 28 Feb 2019 08:44:59 -0500 diff --git a/debian/compat b/debian/compat deleted file mode 100644 index b4de39476..000000000 --- a/debian/compat +++ /dev/null @@ -1 +0,0 @@ -11 diff --git a/debian/control b/debian/control deleted file mode 100644 index b95ff1ba3..000000000 --- a/debian/control +++ /dev/null @@ -1,19 +0,0 @@ -Source: lokinet -Section: net -Priority: optional -Maintainer: Jeff Becker (probably not evil) -Build-Depends: debhelper (>= 9), dpkg-dev (>= 1.17.2~), gcc (>= 4.7) | clang (>= 3.3), cmake (>= 3.0), libcap-dev (>= 2.25) -Standards-Version: 3.9.6 -Homepage: https://loki.network/ -Vcs-Git: git://github.com/loki-project/lokinet-builder.git -Vcs-Browser: https://github.com/loki-project/lokinet-builder - -Package: lokinet -Architecture: any -Pre-Depends: adduser -Depends: ${shlibs:Depends}, ${misc:Depends}, lsb-base, libcap2-bin, curl -Description: Reference implementation for LLARP. - Lokinet is a private, decentralized and Market based, Sybil - resistant overlay network for the internet. - . - This package contains the reference implementation of LLARP. diff --git a/debian/copyright b/debian/copyright deleted file mode 100644 index 621af36fe..000000000 --- a/debian/copyright +++ /dev/null @@ -1,27 +0,0 @@ -Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ -Upstream-Name: lokinet -Source: https://github.com/loki-project/loki-network - -Files: * -Copyright: 2018 Jeff Becker -License: ZLIB - -License: ZLIB - - Copyright (c) 2018 Jeff Becker - . - This software is provided 'as-is', without any express or implied - warranty. In no event will the authors be held liable for any damages - arising from the use of this software. - . - Permission is granted to anyone to use this software for any purpose, - including commercial applications, and to alter it and redistribute it - freely, subject to the following restrictions: - . - 1. The origin of this software must not be misrepresented; you must not - claim that you wrote the original software. If you use this software - in a product, an acknowledgment in the product documentation would be - appreciated but is not required. - 2. Altered source versions must be plainly marked as such, and must not be - misrepresented as being the original software. - 3. This notice may not be removed or altered from any source distribution. diff --git a/debian/loki-service-nodes.7 b/debian/loki-service-nodes.7 deleted file mode 100644 index c5a78e8d0..000000000 --- a/debian/loki-service-nodes.7 +++ /dev/null @@ -1,22 +0,0 @@ -.TH "loki-service-nodes" "7" "Dec 3, 2018" - -.SH "NAME" -loki-service-nodes \- a note on lokinet's crypto-economics -.SH "The Quick Rundown" - -.PP -Loki's service nodes are a blockchain based PKI management infrastructure used as a psuedo directory authority for lokinet routers. -While using the network as a client costs absolutely nothing, -in order to run machines participating in routing one must stake loki tokens, -locking tokens for a period of time. -During this time the router with the identity key provided in the staking transaction on the loki blockchain will commit to participation for the duration the tokens are locked for. - -.PP -Periodically the network performs self-tests on service nodes to ensure service nodes are functional and well behaved. -Functional and well behaved service nodes get a block reward for providing routing of traffic. -In the event of many test failures the network dergesisters the service node, -effectively kicking it from the network as a participating router. - -.PP -In conclusion, -it is conjectured that the net effect is that well behaved reliable routing infrastucture is incentivesed economically. diff --git a/debian/lokinet-bootstrap.1 b/debian/lokinet-bootstrap.1 deleted file mode 100644 index 3e404fb8b..000000000 --- a/debian/lokinet-bootstrap.1 +++ /dev/null @@ -1,30 +0,0 @@ -.TH "lokinet-bootstrap" "1" "Dec 03, 2018" - -.SH "NAME" -lokinet-bootstrap \- lokinet network bootstrap utilitiy -.SH "SYNOPSIS" -.B lokinet-bootstrap -[\fI nodeinfo-url ] -.SH "DESCRIPTION" - -.PP -This script bootstraps lokinet into the main network by downloading a trusted signed router contact. - -.SH "OPTIONS" - -.IP \fBnodeinfo-url\fR -use an alternative url for bootstrap. - -.RE - -.SH "SEE ALSO" - -lokinet configuration. \fBlokinet(1)\fR - -.SH "AUTHOR" -This manual page was written by Jeff <\m[blue]\fBjeff@i2p\&.rocks\fR\m[]> -.PP -Permission is granted to copy, distribute and/or modify this document under the terms of the same license of lokinet source code. -.RE -See the LICENSE file for more information. - diff --git a/debian/lokinet.1 b/debian/lokinet.1 deleted file mode 100644 index c1d9bca83..000000000 --- a/debian/lokinet.1 +++ /dev/null @@ -1,60 +0,0 @@ -.TH "lokinet" "1" "Dec 3, 2018" - -.SH "NAME" -lokinet \- Reference implementation for LLARP. -.SH "SYNOPSIS" -.B lokinet -[\fI options ... \fR] [\fI config.ini \fR] -.SH "DESCRIPTION" - -.PP -For a number of years, work has been proceeding in order to bring prefection -to the crudely concieved idea of a packet based onion routing protocol with a -cryptoeconomical sybil resistence incentive that not only would be able to -provide low latency anonymous internet access but also be capable of -automatically tunneling all local network traffic over said mixnet. Such an a -program would be the turbo encabu...\fBlokinet\fR . Now basically the only new -principle involved is that now instead of restricting the user to using TCP and -exposing a socks proxy or transparent proxy like Tor, an ip tunnel is provided -with a dns resolver for intercepting lookups for the .loki tld. The original -implementation was in C but eventually devolved into C++ in such a way that -there is a public C api but internally entirely implemented with C++11 wrapped -with a foriegn function interface. The latter being more rapidly developable, -but I digress ... - -.SH "OPTIONS" - -.IP \fB-g\fR -Generate config file -.IP \fB-f\fR -Force overwrite of existing config file -.IP \fB-r\fR -Configure to be a relay - -.RE - -.SH "FILES" - -.I $HOME/.lokinet/ - -.IP -The default runtime directory - -.RE - -.I $HOME/.lokinet/lokinet.ini - -.IP -The default config file. - -.RE -.SH "SEE ALSO" - -Documentation for lokinet configuration with loki service nodes. \fBloki-service-nodes(7)\fR - -.SH "AUTHOR" -This manual page was written by Jeff <\m[blue]\fBjeff@i2p\&.rocks\fR\m[]> -.PP -Permission is granted to copy, distribute and/or modify this document under the terms of the same license of lokinet source code. -.RE -See the LICENSE file for more information. diff --git a/debian/lokinet.install b/debian/lokinet.install deleted file mode 100644 index cc424a6da..000000000 --- a/debian/lokinet.install +++ /dev/null @@ -1,2 +0,0 @@ -lokinet usr/bin/ -lokinet-bootstrap usr/bin/ \ No newline at end of file diff --git a/debian/lokinet.lokinet-vpn.service b/debian/lokinet.lokinet-vpn.service deleted file mode 100644 index dfd63ac57..000000000 --- a/debian/lokinet.lokinet-vpn.service +++ /dev/null @@ -1,13 +0,0 @@ -[Unit] -Description=LokiNET VPN tunnel: shove all traffic over lokinet -Wants=lokinet.service -After=lokinet.service - -[Service] -Type=oneshot -ExecStart=/usr/bin/lokinet-vpn --up -ExecStop=/usr/bin/lokinet-vpn --down -RemainAfterExit=true - -[Install] -WantedBy=multi-user.target \ No newline at end of file diff --git a/debian/lokinet.manpages b/debian/lokinet.manpages deleted file mode 100644 index a540df618..000000000 --- a/debian/lokinet.manpages +++ /dev/null @@ -1,3 +0,0 @@ -debian/lokinet.1 -debian/lokinet-bootstrap.1 -debian/loki-service-nodes.7 \ No newline at end of file diff --git a/debian/lokinet.service b/debian/lokinet.service deleted file mode 100644 index 36832e34e..000000000 --- a/debian/lokinet.service +++ /dev/null @@ -1,14 +0,0 @@ -[Unit] -Description=LokiNET: Anonymous Network layer thingydoo. -Wants=network-online.target -After=network-online.target - -[Service] -User=debian-lokinet -SyslogIdentifier=lokinet -ExecStartPre=/bin/bash -c "/usr/bin/lokinet-bootstrap && /usr/bin/lokinet -g" -ExecStart=/usr/bin/lokinet -Restart=always - -[Install] -WantedBy=multi-user.target \ No newline at end of file diff --git a/debian/postinst b/debian/postinst deleted file mode 100644 index 8ee7a7981..000000000 --- a/debian/postinst +++ /dev/null @@ -1,3 +0,0 @@ -#!/bin/sh -e -setcap cap_net_admin,cap_net_bind_service=+eip /usr/bin/lokinet || echo "failed to setcap lokinet" -adduser --quiet --system --home /var/lib/lokinet debian-lokinet || echo "debian-lokinet user not added" diff --git a/debian/rules b/debian/rules deleted file mode 100755 index 96792d504..000000000 --- a/debian/rules +++ /dev/null @@ -1,27 +0,0 @@ -#!/usr/bin/make -f -# -*- makefile -*- - -%: - dh $@ --parallel - -ifneq (,$(filter noopt,$(DEB_BUILD_OPTIONS))) - CFLAGS += -O0 -else - CFLAGS += -O2 -endif -ifeq (,$(filter nostrip,$(DEB_BUILD_OPTIONS))) - INSTALL_PROGRAM += -s -endif -ifneq (,$(filter parallel=%,$(DEB_BUILD_OPTIONS))) - NUMJOBS = $(patsubst parallel=%,%,$(filter parallel=%,$(DEB_BUILD_OPTIONS))) - MAKEFLAGS += -j$(NUMJOBS) -endif - -override_dh_auto_build: - $(MAKE) debian - -override_dh_auto_test: - $(MAKE) debian-test - -override_dh_auto_install: - $(MAKE) debian-install diff --git a/debian/source/format b/debian/source/format deleted file mode 100644 index 46ebe0266..000000000 --- a/debian/source/format +++ /dev/null @@ -1 +0,0 @@ -3.0 (quilt) \ No newline at end of file