INC=$INC,libboost-thread-dev,libboost-system-dev,git,iperf,htop,valgrind,strace
INC=$INC,gnat,gprbuild,acpid,acpi-support-base,libldns-dev,libunbound-dev
INC=$INC,dnsutils,libsoup2.4-dev,ca-certificates,unzip,libsystemd-dev
-INC=$INC,python,python-setuptools,python-dev,python-pip,apt-transport-https
-INC=$INC,libjson-c-dev,libxslt1-dev,libapache2-mod-wsgi,iptables-dev
+INC=$INC,python3,python3-setuptools,python3-dev,python3-pip,apt-transport-https
+INC=$INC,libjson-c-dev,libxslt1-dev,libapache2-mod-wsgi-py3,iptables-dev
INC=$INC,libxerces-c-dev,libgcrypt20-dev,traceroute
case "$BASEIMGSUITE" in
jessie)
@rm -f .$(PKG)-checkout-* && touch $@
.$(PKG)-built-$(REV): .$(PKG)-checkout-$(REV)
- cd $(PKG) && python ./configure.py $(CONFIG_OPTS) && make -j $(NUM_CPUS)
+ cd $(PKG) && python3 ./configure.py $(CONFIG_OPTS) && make -j $(NUM_CPUS)
@rm -f .$(PKG)-built-* && touch $@
install: .$(PKG)-built-$(REV)
install: build
cd $(BUILDDIR) && make -j install && \
- cd $(DIR)/src/libcharon/plugins/vici/python && python setup.py install
+ cd $(DIR)/src/libcharon/plugins/vici/python && python3 setup.py install
# for Python-based updown scripts
- pip install python-daemon
+ pip3 install python-daemon
#!/usr/bin/make
PKG = strongTNC
-REV = 0.9.9
+REV = 1.0
DIR = $(PKG)-$(REV)
ZIP = $(PKG)-$(REV).zip
SRC = https://github.com/strongswan/$(PKG)/archive/$(REV).zip
.$(PKG)-deps-$(REV): .$(PKG)-unpacked-$(REV)
mkdir -p $(DEPS)
- pip download -d $(DEPS) -r $(DIR)/requirements.txt six
+ pip3 download -d $(DEPS) -r $(DIR)/requirements.txt
@touch $@
install: .$(PKG)-deps-$(REV)
- # six is required for djangorestframework-camel-case
- pip install --no-index --find-links=file://`pwd`/$(DEPS) -r $(DIR)/requirements.txt six
+ pip3 install --no-index --find-links=file://`pwd`/$(DEPS) -r $(DIR)/requirements.txt
cp -r $(DIR) /var/www/tnc && chgrp -R www-data /var/www/tnc && chmod g+sw /var/www/tnc