Download raw body.
switch tacacs+ to python3
Hello Jan, ports@,
Please see below for a small update so tacacs+ doesn't need python2.
It also looks like python2 is not needed at build time, but only at run
time.
ok to commit the diff below?
Index: Makefile
===================================================================
RCS file: /cvs/ports/net/tacacs+/Makefile,v
diff -u -p -u -r1.25 Makefile
--- Makefile 27 Sep 2023 14:18:34 -0000 1.25
+++ Makefile 17 Feb 2024 21:16:00 -0000
@@ -4,7 +4,7 @@ V = 4.0.4.28
DISTNAME = tacacs-F${V}
PKGNAME = tacacs+-${V}
EPOCH = 0
-REVISION = 1
+REVISION = 2
SHARED_LIBS += tacacs 1.0
@@ -20,7 +20,9 @@ WANTLIB += c pthread
SITES = ftp://ftp.shrubbery.net/pub/tac_plus/
MODULES = lang/python
-MODPY_VERSION = ${MODPY_DEFAULT_VERSION_2}
+
+MODPY_BUILDDEP = No
+
MODPY_ADJ_FILES = do_auth.py
BUILD_DEPENDS = devel/bison
Index: pkg/PLIST
===================================================================
RCS file: /cvs/ports/net/tacacs+/pkg/PLIST,v
diff -u -p -u -r1.12 PLIST
--- pkg/PLIST 8 Nov 2022 11:17:02 -0000 1.12
+++ pkg/PLIST 17 Feb 2024 21:16:00 -0000
@@ -3,7 +3,7 @@
@extraunexec rm -f /var/log/tac_plus/*
@rcscript ${RCDIR}/tac_plus
include/tacacs.h
-lib/libtacacs.a
+@static-lib lib/libtacacs.a
lib/libtacacs.la
@lib lib/libtacacs.so.${LIBtacacs_VERSION}
@man man/man5/tac_plus.conf.5
switch tacacs+ to python3