]> git.ipfire.org Git - people/pmueller/ipfire-2.x.git/commitdiff
stem: New package temp-tor-vanguards
authorPeter Müller <peter.mueller@ipfire.org>
Thu, 3 Mar 2022 21:35:24 +0000 (21:35 +0000)
committerPeter Müller <peter.mueller@ipfire.org>
Thu, 3 Mar 2022 21:35:24 +0000 (21:35 +0000)
This is required as a dependency for the vanguards Tor add-on.
See https://stem.torproject.org/ for this project's homepage.

Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
config/rootfiles/packages/stem [new file with mode: 0644]
lfs/stem [new file with mode: 0644]
make.sh

diff --git a/config/rootfiles/packages/stem b/config/rootfiles/packages/stem
new file mode 100644 (file)
index 0000000..c46341e
--- /dev/null
@@ -0,0 +1,68 @@
+usr/bin/tor-prompt
+#usr/lib/python3.10/site-packages/stem
+#usr/lib/python3.10/site-packages/stem-1.8.0-py3.10.egg-info
+usr/lib/python3.10/site-packages/stem/__init__.py
+usr/lib/python3.10/site-packages/stem/cached_fallbacks.cfg
+usr/lib/python3.10/site-packages/stem/cached_manual.sqlite
+#usr/lib/python3.10/site-packages/stem/client
+usr/lib/python3.10/site-packages/stem/client/__init__.py
+usr/lib/python3.10/site-packages/stem/client/cell.py
+usr/lib/python3.10/site-packages/stem/client/datatype.py
+usr/lib/python3.10/site-packages/stem/connection.py
+usr/lib/python3.10/site-packages/stem/control.py
+#usr/lib/python3.10/site-packages/stem/descriptor
+usr/lib/python3.10/site-packages/stem/descriptor/__init__.py
+usr/lib/python3.10/site-packages/stem/descriptor/bandwidth_file.py
+usr/lib/python3.10/site-packages/stem/descriptor/certificate.py
+usr/lib/python3.10/site-packages/stem/descriptor/collector.py
+usr/lib/python3.10/site-packages/stem/descriptor/export.py
+usr/lib/python3.10/site-packages/stem/descriptor/extrainfo_descriptor.py
+usr/lib/python3.10/site-packages/stem/descriptor/hidden_service.py
+usr/lib/python3.10/site-packages/stem/descriptor/hidden_service_descriptor.py
+usr/lib/python3.10/site-packages/stem/descriptor/microdescriptor.py
+usr/lib/python3.10/site-packages/stem/descriptor/networkstatus.py
+usr/lib/python3.10/site-packages/stem/descriptor/reader.py
+usr/lib/python3.10/site-packages/stem/descriptor/remote.py
+usr/lib/python3.10/site-packages/stem/descriptor/router_status_entry.py
+usr/lib/python3.10/site-packages/stem/descriptor/server_descriptor.py
+usr/lib/python3.10/site-packages/stem/descriptor/tordnsel.py
+usr/lib/python3.10/site-packages/stem/directory.py
+usr/lib/python3.10/site-packages/stem/exit_policy.py
+#usr/lib/python3.10/site-packages/stem/interpreter
+usr/lib/python3.10/site-packages/stem/interpreter/__init__.py
+usr/lib/python3.10/site-packages/stem/interpreter/arguments.py
+usr/lib/python3.10/site-packages/stem/interpreter/autocomplete.py
+usr/lib/python3.10/site-packages/stem/interpreter/commands.py
+usr/lib/python3.10/site-packages/stem/interpreter/help.py
+usr/lib/python3.10/site-packages/stem/interpreter/settings.cfg
+usr/lib/python3.10/site-packages/stem/manual.py
+usr/lib/python3.10/site-packages/stem/prereq.py
+usr/lib/python3.10/site-packages/stem/process.py
+#usr/lib/python3.10/site-packages/stem/response
+usr/lib/python3.10/site-packages/stem/response/__init__.py
+usr/lib/python3.10/site-packages/stem/response/add_onion.py
+usr/lib/python3.10/site-packages/stem/response/authchallenge.py
+usr/lib/python3.10/site-packages/stem/response/events.py
+usr/lib/python3.10/site-packages/stem/response/getconf.py
+usr/lib/python3.10/site-packages/stem/response/getinfo.py
+usr/lib/python3.10/site-packages/stem/response/mapaddress.py
+usr/lib/python3.10/site-packages/stem/response/protocolinfo.py
+usr/lib/python3.10/site-packages/stem/settings.cfg
+usr/lib/python3.10/site-packages/stem/socket.py
+#usr/lib/python3.10/site-packages/stem/util
+usr/lib/python3.10/site-packages/stem/util/__init__.py
+usr/lib/python3.10/site-packages/stem/util/conf.py
+usr/lib/python3.10/site-packages/stem/util/connection.py
+usr/lib/python3.10/site-packages/stem/util/ed25519.py
+usr/lib/python3.10/site-packages/stem/util/enum.py
+usr/lib/python3.10/site-packages/stem/util/log.py
+usr/lib/python3.10/site-packages/stem/util/lru_cache.py
+usr/lib/python3.10/site-packages/stem/util/ordereddict.py
+usr/lib/python3.10/site-packages/stem/util/ports.cfg
+usr/lib/python3.10/site-packages/stem/util/proc.py
+usr/lib/python3.10/site-packages/stem/util/str_tools.py
+usr/lib/python3.10/site-packages/stem/util/system.py
+usr/lib/python3.10/site-packages/stem/util/term.py
+usr/lib/python3.10/site-packages/stem/util/test_tools.py
+usr/lib/python3.10/site-packages/stem/util/tor_tools.py
+usr/lib/python3.10/site-packages/stem/version.py
diff --git a/lfs/stem b/lfs/stem
new file mode 100644 (file)
index 0000000..a3e08b1
--- /dev/null
+++ b/lfs/stem
@@ -0,0 +1,85 @@
+###############################################################################
+#                                                                             #
+# IPFire.org - A linux based firewall                                         #
+# Copyright (C) 2007-2022  IPFire Team  <info@ipfire.org>                     #
+#                                                                             #
+# This program is free software: you can redistribute it and/or modify        #
+# it under the terms of the GNU General Public License as published by        #
+# the Free Software Foundation, either version 3 of the License, or           #
+# (at your option) any later version.                                         #
+#                                                                             #
+# This program is distributed in the hope that it will be useful,             #
+# but WITHOUT ANY WARRANTY; without even the implied warranty of              #
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the               #
+# GNU General Public License for more details.                                #
+#                                                                             #
+# You should have received a copy of the GNU General Public License           #
+# along with this program.  If not, see <http://www.gnu.org/licenses/>.       #
+#                                                                             #
+###############################################################################
+
+###############################################################################
+# Definitions
+###############################################################################
+
+include Config
+
+SUMMARY    = Python controller library for Tor
+
+VER        = 1.8.0
+
+THISAPP    = stem-$(VER)
+DL_FILE    = $(THISAPP).tar.gz
+DL_FROM    = $(URL_IPFIRE)
+DIR_APP    = $(DIR_SRC)/$(THISAPP)
+TARGET     = $(DIR_INFO)/$(THISAPP)
+PROG       = stem
+PAK_VER    = 1
+
+DEPS       =
+
+###############################################################################
+# Top-level Rules
+###############################################################################
+
+objects = $(DL_FILE)
+
+$(DL_FILE) = $(DL_FROM)/$(DL_FILE)
+
+$(DL_FILE)_MD5 = 7b8476daa1e1c0e6652664ca29ced023
+
+install : $(TARGET)
+
+check : $(patsubst %,$(DIR_CHK)/%,$(objects))
+
+download :$(patsubst %,$(DIR_DL)/%,$(objects))
+
+md5 : $(subst %,%_MD5,$(objects))
+
+dist:
+       @$(PAK)
+
+###############################################################################
+# Downloading, checking, md5sum
+###############################################################################
+
+$(patsubst %,$(DIR_CHK)/%,$(objects)) :
+       @$(CHECK)
+
+$(patsubst %,$(DIR_DL)/%,$(objects)) :
+       @$(LOAD)
+
+$(subst %,%_MD5,$(objects)) :
+       @$(MD5)
+
+###############################################################################
+# Installation Details
+###############################################################################
+
+$(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
+       @$(PREBUILD)
+       @rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar axf $(DIR_DL)/$(DL_FILE)
+       cd $(DIR_APP) && python3 setup.py build
+       cd $(DIR_APP) && python3 setup.py install --root=/
+       @rm -rf $(DIR_APP)
+       @$(POSTBUILD)
diff --git a/make.sh b/make.sh
index 054827badef231d632ca0f0f759b79306e28967c..61e8b2aa445401267c8bb4041b6162545b3079e0 100755 (executable)
--- a/make.sh
+++ b/make.sh
@@ -1669,6 +1669,7 @@ buildipfire() {
   lfsmake2 perl-File-Tail
   lfsmake2 perl-TimeDate
   lfsmake2 swatch
+  lfsmake2 stem
   lfsmake2 tor
   lfsmake2 wavemon
   lfsmake2 iptraf-ng