>>> Building on exopi-1 under net/tacacs+ BDEPENDS = [lang/python/3;devel/bison] DIST = [net/tacacs+:tacacs-F4.0.4.28.tar.gz] FULLPKGNAME = tacacs+-4.0.4.28p4v0 RDEPENDS = [lang/python/3] (Junk lock obtained for exopi-1 at 1734975044.20) >>> Running depends in net/tacacs+ at 1734975044.23 last junk was in textproc/py-iso8601 /usr/sbin/pkg_add -aI -Drepair bison-3.8.2 was: /usr/sbin/pkg_add -aI -Drepair bison-3.8.2 python-3.12.8p0 /usr/sbin/pkg_add -aI -Drepair bison-3.8.2 >>> Running show-prepare-results in net/tacacs+ at 1734975045.60 ===> net/tacacs+ ===> Building from scratch tacacs+-4.0.4.28p4v0 ===> tacacs+-4.0.4.28p4v0 depends on: bison-* -> bison-3.8.2 ===> tacacs+-4.0.4.28p4v0 depends on: python->=3.12,<3.13 -> python-3.12.8p0 ===> Verifying specs: c pthread ===> found c.100.3 pthread.27.1 bison-3.8.2 python-3.12.8p0 (Junk lock released for exopi-1 at 1734975046.21) distfiles size=530049 >>> Running build in net/tacacs+ at 1734975046.24 ===> net/tacacs+ ===> Checking files for tacacs+-4.0.4.28p4v0 `/exopi-cvs/ports/distfiles/tacacs-F4.0.4.28.tar.gz' is up to date. >> (SHA256) all files: OK ===> Extracting for tacacs+-4.0.4.28p4v0 cd /exopi-obj/pobj/tacacs+-4.0.4.28/tacacs-F4.0.4.28 && 2to3 -w do_auth.py /usr/local/bin/2to3:3: DeprecationWarning: lib2to3 package is deprecated and may not be able to parse Python 3.10+ from lib2to3.main import main RefactoringTool: Skipping optional fixer: buffer RefactoringTool: Skipping optional fixer: idioms RefactoringTool: Skipping optional fixer: set_literal RefactoringTool: Skipping optional fixer: ws_comma RefactoringTool: Refactored do_auth.py RefactoringTool: Files that were modified: RefactoringTool: do_auth.py --- do_auth.py (original) +++ do_auth.py (refactored) @@ -211,7 +211,7 @@ Written by Dan Schmidt - Please visit tacacs.org to check for updates. ''' -import sys,re,getopt,ConfigParser +import sys,re,getopt,configparser from time import strftime # I really don't want to deal with these exceptions more than once @@ -230,23 +230,23 @@ #Should not have any exceptions - BUT, just in case try: attributes = config.get(the_section, the_option) - except ConfigParser.NoSectionError: + except configparser.NoSectionError: log_file.write(strftime("%Y-%m-%d %H:%M:%S: ") + "Error: Section '%s' Doesn't Exist!\n" % (the_section)) sys.exit(1) - except ConfigParser.DuplicateSectionError: + except configparser.DuplicateSectionError: log_file.write(strftime("%Y-%m-%d %H:%M:%S: ") + "Error: Duplicate section '%s'\n" % (the_section)) sys.exit(1) - except ConfigParser.NoOptionError: + except configparser.NoOptionError: log_file.write(strftime("%Y-%m-%d %H:%M:%S: ") + "Error: '%s' not found in section '%s\n'" % (the_option, the_section)) sys.exit(1) #To do: finish exceptions. - except ConfigParser.ParsingError: + except configparser.ParsingError: log_file.write(strftime("%Y-%m-%d %H:%M:%S: ") + "Error: Can't parse file '%s'! (You got me)\n" % (filename)) @@ -298,9 +298,9 @@ argv = sys.argv try: optlist, args = getopt.getopt(sys.argv[1:], 'i:u:f:l:d:?:D', ['fix_crs_bug','?', '-?', 'help', 'Help']) - except getopt.GetoptError, err: - print str(err) - print __doc__ + except getopt.GetoptError as err: + print(str(err)) + print(__doc__) sys.exit(1) for (i, j) in optlist: if i == '-i': @@ -314,15 +314,15 @@ elif i == '-d': device = j elif i in ('?', '-?', 'help', 'Help'): - print __doc__ + print(__doc__) sys.exit(1) elif i == '-D': is_debug = True else: - print 'Unknown option:', i + print('Unknown option:', i) sys.exit(1) if len(argv) < 7: - print __doc__ + print(__doc__) sys.exit(1) log_file = open (log_name, "a") #DEBUG! We at least got CALLED @@ -384,7 +384,7 @@ log_file.write(strftime("%Y-%m-%d %H:%M:%S: ") + "Error: No username entered!\n") sys.exit(1) - config = ConfigParser.SafeConfigParser() + config = configparser.SafeConfigParser() if not (filename in config.read(filename)): log_file.write(strftime("%Y-%m-%d %H:%M:%S: ") + "Error: Can't open/parse '%s'\n" @@ -491,7 +491,7 @@ for item in return_pairs: #DEBUG # log_file.write("Returning:%s\n" % item.strip()) - print item.strip('\n') + print(item.strip('\n')) if want_tac_pairs: #DEBUG # log_file.write("Exiting status 2\n") @@ -507,7 +507,7 @@ for item in return_pairs: #DEBUG # log_file.write("Returning:%s\n" % item.strip()) - print item.strip('\n') + print(item.strip('\n')) log_file.write(strftime("%Y-%m-%d %H:%M:%S: ") + "User '%s' granted access to device '%s' in group '%s' from '%s'\n" % (user_name, device, this_group, ip_addr)) ===> Patching for tacacs+-4.0.4.28p4v0 ===> Applying OpenBSD patch patch-pwlib_c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |Index: pwlib.c |--- pwlib.c.orig |+++ pwlib.c -------------------------- Patching file pwlib.c using Plan A... Hunk #1 succeeded at 312. done ===> Applying OpenBSD patch patch-tac_plus_c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |Index: tac_plus.c |--- tac_plus.c.orig |+++ tac_plus.c -------------------------- Patching file tac_plus.c using Plan A... Hunk #1 succeeded at 271. Hunk #2 succeeded at 576. Hunk #3 succeeded at 595. Hunk #4 succeeded at 930. Hunk #5 succeeded at 982. done ===> Applying OpenBSD patch patch-tac_plus_conf_5_in Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |- fix invalid syntax (semi-colon in config file) |- update accounting file path for setuid user | |Index: tac_plus.conf.5.in |--- tac_plus.conf.5.in.orig |+++ tac_plus.conf.5.in -------------------------- Patching file tac_plus.conf.5.in using Plan A... Hunk #1 succeeded at 36. Hunk #2 succeeded at 1550. done ===> Applying OpenBSD patch patch-tac_plus_h Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |Index: tac_plus.h |--- tac_plus.h.orig |+++ tac_plus.h -------------------------- Patching file tac_plus.h using Plan A... Hunk #1 succeeded at 30. done ===> Compiler link: clang -> /usr/bin/clang ===> Compiler link: clang++ -> /usr/bin/clang++ ===> Compiler link: cc -> /usr/bin/cc ===> Compiler link: c++ -> /usr/bin/c++ ===> Generating configure for tacacs+-4.0.4.28p4v0 ===> Configuring for tacacs+-4.0.4.28p4v0 Using /exopi-obj/pobj/tacacs+-4.0.4.28/config.site (generated) configure: WARNING: unrecognized options: --disable-gtk-doc configure: loading site script /exopi-obj/pobj/tacacs+-4.0.4.28/config.site checking for a BSD-compatible install... /exopi-obj/pobj/tacacs+-4.0.4.28/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... mkdir -p checking for gawk... (cached) awk checking whether /usr/bin/make sets $(MAKE)... yes checking whether /usr/bin/make supports nested variables... yes checking whether to enable maintainer-specific portions of Makefiles... no checking build system type... amd64-unknown-openbsd7.6 checking host system type... amd64-unknown-openbsd7.6 checking for gmake... /usr/bin/make checking whether /usr/bin/make sets $(MAKE)... (cached) yes checking whether to enable maintainer-specific portions of Makefiles... no checking how to print strings... print -r checking for style of include used by /usr/bin/make... GNU checking for gcc... cc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... (cached) o checking whether we are using the GNU C compiler... (cached) yes checking whether cc accepts -g... (cached) yes checking for cc option to accept ISO C89... none needed checking whether cc understands -c and -o together... yes checking dependency style of cc... gcc3 checking for a sed that does not truncate output... (cached) /usr/bin/sed checking for grep that handles long lines and -e... (cached) /usr/bin/grep checking for egrep... (cached) /usr/bin/egrep checking for fgrep... (cached) /usr/bin/fgrep checking for ld used by cc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... BSD nm checking whether ln -s works... yes checking the maximum length of command line arguments... (cached) 131072 checking whether the shell understands some XSI constructs... yes checking whether the shell understands "+="... no checking how to convert amd64-unknown-openbsd7.6 file names to amd64-unknown-openbsd7.6 format... func_convert_file_noop checking how to convert amd64-unknown-openbsd7.6 file names to toolchain format... func_convert_file_noop checking for /usr/bin/ld option to reload object files... -r checking for objdump... objdump checking how to recognize dependent libraries... match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$ checking for dlltool... no checking how to associate runtime and link libraries... print -r -- checking for ar... (cached) ar checking for archiver @FILE support... @ checking for strip... (cached) strip checking for ranlib... (cached) ranlib checking command to parse /usr/bin/nm -B output from cc object... ok checking for sysroot... no checking for mt... mt checking if mt is a manifest tool... no checking how to run the C preprocessor... cc -E checking for ANSI C header files... (cached) yes checking for sys/types.h... (cached) yes checking for sys/stat.h... (cached) yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for memory.h... (cached) yes checking for strings.h... (cached) yes checking for inttypes.h... (cached) yes checking for stdint.h... (cached) yes checking for unistd.h... (cached) yes checking for dlfcn.h... (cached) yes checking for objdir... .libs checking if cc supports -fno-rtti -fno-exceptions... yes checking for cc option to produce PIC... -fPIC -DPIC checking if cc PIC flag -fPIC -DPIC works... yes checking if cc static flag -static works... yes checking if cc supports -c -o file.o... yes checking if cc supports -c -o file.o... (cached) yes checking whether the cc linker (/usr/bin/ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... yes checking dynamic linker characteristics... openbsd7.6 ld.so checking how to hardcode library paths into programs... immediate checking for shl_load... no checking for shl_load in -ldld... no checking for dlopen... yes checking whether a program can dlopen itself... yes checking whether a statically linked program can dlopen itself... no checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... yes checking for the pthreads library -lpthreads... no checking whether pthreads work without any flags... no checking whether pthreads work with -Kthread... no checking whether pthreads work with -kthread... no checking for the pthreads library -llthread... no checking whether pthreads work with -pthread... yes checking for joinable pthread attribute... PTHREAD_CREATE_JOINABLE checking if more special flags are required for pthreads... no checking for gcc... (cached) cc checking whether we are using the GNU C compiler... (cached) yes checking whether cc accepts -g... (cached) yes checking for cc option to accept ISO C89... (cached) none needed checking whether cc understands -c and -o together... (cached) yes checking dependency style of cc... (cached) gcc3 checking how to run the C preprocessor... cc -E checking for an ANSI C-conforming const... (cached) yes checking for inline... inline checking for preprocessor stringizing operator... (cached) yes checking for flex... (cached) flex checking lex output file root... lex.yy checking lex library... -lfl checking whether yytext is a pointer... (cached) yes checking for bison... bison checking whether byte ordering is bigendian... no checking size of long int... 8 checking whether to include symbols... no checking whether to set gcc warnings... no checking whether to use libwrap... no checking whether to include skey support... no checking whether to include RSA SecurID support... no checking whether to setuid()... no checking whether to setgid()... no checking whether to include ACL support... yes checking whether to include user-enable support... yes checking whether to include maximum sessions (maxsess) support... no checking whether to include maxsess finger support... no checking whether to include ARAP DES support... no checking whether to include MSCHAP support... no checking whether to include MSCHAP DES support... no checking for alt pid file FQPN... /var/run/tac_plus.pid checking for alt accounting file FQPN... /var/log/tac_plus/tac.acct checking for alt log file FQPN... var/log/tac_plus/tac.log checking for alt wholog file FQPN... /var/log/tac_plus/tacwho.log checking whether to profile... no checking for pam_start in -lpam... (cached) false checking for ANSI C header files... (cached) yes checking whether time.h and sys/time.h may both be included... (cached) yes checking crypt.h usability... no checking crypt.h presence... no checking for crypt.h... no checking for ctype.h... (cached) yes checking for errno.h... (cached) yes checking for fcntl.h... (cached) yes checking for malloc.h... (cached) no checking shadow.h usability... no checking shadow.h presence... no checking for shadow.h... no checking for stdlib.h... (cached) yes checking for stdint.h... (cached) yes checking for string.h... (cached) yes checking for strings.h... (cached) yes checking for sys/resource.h... (cached) yes checking for sys/socket.h... (cached) yes checking for sys/types.h... (cached) yes checking for sys/wait.h... (cached) yes checking sysexits.h usability... yes checking sysexits.h presence... yes checking for sysexits.h... yes checking for syslog.h... (cached) yes checking for termios.h... (cached) yes checking for unistd.h... (cached) yes checking for utmp.h... (cached) yes checking utmpx.h usability... no checking utmpx.h presence... no checking for utmpx.h... no checking wait.h usability... no checking wait.h presence... no checking for wait.h... no checking return type of signal handlers... (cached) void checking for socklen_t... yes checking for pid_t... (cached) yes checking for getdtablesize... (cached) yes checking for memcpy... (cached) yes checking for memset... (cached) yes checking for random... (cached) yes checking for strchr... (cached) yes checking for strcspn... (cached) yes checking for strerror... (cached) yes checking for strrchr... (cached) yes checking for wait3... (cached) yes checking for wait4... (cached) yes checking for waitpid... (cached) yes checking whether setpgrp takes no argument... no checking if waitpid takes a union wait... no checking if signals need to be re-armed... no checking if children need to be reaped... yes checking if children need to be reaped with SIG_IGN... no checking for gnutar... no checking for gtar... no checking for tar... tar checking for perl5... no checking for perl... /usr/bin/perl checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating version.h config.status: creating pathsl.h config.status: creating tac_plus.8 config.status: creating tac_plus.conf.5 config.status: creating config.h config.status: executing depfiles commands config.status: executing libtool commands configure: WARNING: unrecognized options: --disable-gtk-doc ===> Building for tacacs+-4.0.4.28p4v0 /usr/bin/make all-am /usr/bin/libtool --tag=CC --mode=compile cc -DHAVE_CONFIG_H -I. -O2 -pipe -I/usr/local/include -O2 -pipe -pthread -O2 -pipe -pthread -MT libtacacs_la-fdes.lo -MD -MP -MF .deps/libtacacs_la-fdes.Tpo -c -o libtacacs_la-fdes.lo `test -f 'fdes.c' || echo './'`fdes.c cc -DHAVE_CONFIG_H -I. -O2 -pipe -I/usr/local/include -O2 -pipe -pthread -O2 -pipe -pthread -MT libtacacs_la-fdes.lo -MD -MP -MF .deps/libtacacs_la-fdes.Tpo -c fdes.c -fPIC -DPIC -o .libs/libtacacs_la-fdes.o cc -DHAVE_CONFIG_H -I. -O2 -pipe -I/usr/local/include -O2 -pipe -pthread -O2 -pipe -pthread -MT libtacacs_la-fdes.lo -MD -MP -MF .deps/libtacacs_la-fdes.Tpo -c fdes.c -o libtacacs_la-fdes.o mv -f .deps/libtacacs_la-fdes.Tpo .deps/libtacacs_la-fdes.Plo /usr/bin/libtool --tag=CC --mode=compile cc -DHAVE_CONFIG_H -I. -O2 -pipe -I/usr/local/include -O2 -pipe -pthread -O2 -pipe -pthread -MT libtacacs_la-maxsess.lo -MD -MP -MF .deps/libtacacs_la-maxsess.Tpo -c -o libtacacs_la-maxsess.lo `test -f 'maxsess.c' || echo './'`maxsess.c cc -DHAVE_CONFIG_H -I. -O2 -pipe -I/usr/local/include -O2 -pipe -pthread -O2 -pipe -pthread -MT libtacacs_la-maxsess.lo -MD -MP -MF .deps/libtacacs_la-maxsess.Tpo -c maxsess.c -fPIC -DPIC -o .libs/libtacacs_la-maxsess.o cc -DHAVE_CONFIG_H -I. -O2 -pipe -I/usr/local/include -O2 -pipe -pthread -O2 -pipe -pthread -MT libtacacs_la-maxsess.lo -MD -MP -MF .deps/libtacacs_la-maxsess.Tpo -c maxsess.c -o libtacacs_la-maxsess.o mv -f .deps/libtacacs_la-maxsess.Tpo .deps/libtacacs_la-maxsess.Plo /usr/bin/libtool --tag=CC --mode=compile cc -DHAVE_CONFIG_H -I. -O2 -pipe -I/usr/local/include -O2 -pipe -pthread -O2 -pipe -pthread -MT libtacacs_la-md4.lo -MD -MP -MF .deps/libtacacs_la-md4.Tpo -c -o libtacacs_la-md4.lo `test -f 'md4.c' || echo './'`md4.c cc -DHAVE_CONFIG_H -I. -O2 -pipe -I/usr/local/include -O2 -pipe -pthread -O2 -pipe -pthread -MT libtacacs_la-md4.lo -MD -MP -MF .deps/libtacacs_la-md4.Tpo -c md4.c -fPIC -DPIC -o .libs/libtacacs_la-md4.o cc -DHAVE_CONFIG_H -I. -O2 -pipe -I/usr/local/include -O2 -pipe -pthread -O2 -pipe -pthread -MT libtacacs_la-md4.lo -MD -MP -MF .deps/libtacacs_la-md4.Tpo -c md4.c -o libtacacs_la-md4.o mv -f .deps/libtacacs_la-md4.Tpo .deps/libtacacs_la-md4.Plo /usr/bin/libtool --tag=CC --mode=compile cc -DHAVE_CONFIG_H -I. -O2 -pipe -I/usr/local/include -O2 -pipe -pthread -O2 -pipe -pthread -MT libtacacs_la-md5.lo -MD -MP -MF .deps/libtacacs_la-md5.Tpo -c -o libtacacs_la-md5.lo `test -f 'md5.c' || echo './'`md5.c cc -DHAVE_CONFIG_H -I. -O2 -pipe -I/usr/local/include -O2 -pipe -pthread -O2 -pipe -pthread -MT libtacacs_la-md5.lo -MD -MP -MF .deps/libtacacs_la-md5.Tpo -c md5.c -fPIC -DPIC -o .libs/libtacacs_la-md5.o cc -DHAVE_CONFIG_H -I. -O2 -pipe -I/usr/local/include -O2 -pipe -pthread -O2 -pipe -pthread -MT libtacacs_la-md5.lo -MD -MP -MF .deps/libtacacs_la-md5.Tpo -c md5.c -o libtacacs_la-md5.o mv -f .deps/libtacacs_la-md5.Tpo .deps/libtacacs_la-md5.Plo /usr/bin/libtool --tag=CC --mode=compile cc -DHAVE_CONFIG_H -I. -O2 -pipe -I/usr/local/include -O2 -pipe -pthread -O2 -pipe -pthread -MT libtacacs_la-packet.lo -MD -MP -MF .deps/libtacacs_la-packet.Tpo -c -o libtacacs_la-packet.lo `test -f 'packet.c' || echo './'`packet.c cc -DHAVE_CONFIG_H -I. -O2 -pipe -I/usr/local/include -O2 -pipe -pthread -O2 -pipe -pthread -MT libtacacs_la-packet.lo -MD -MP -MF .deps/libtacacs_la-packet.Tpo -c packet.c -fPIC -DPIC -o .libs/libtacacs_la-packet.o cc -DHAVE_CONFIG_H -I. -O2 -pipe -I/usr/local/include -O2 -pipe -pthread -O2 -pipe -pthread -MT libtacacs_la-packet.lo -MD -MP -MF .deps/libtacacs_la-packet.Tpo -c packet.c -o libtacacs_la-packet.o mv -f .deps/libtacacs_la-packet.Tpo .deps/libtacacs_la-packet.Plo /usr/bin/libtool --tag=CC --mode=link cc -O2 -pipe -pthread -O2 -pipe -pthread -version-info 1:0:0 -version-number 1:0:0 -L/usr/local/lib -L/usr/local/lib -o libtacacs.la -rpath /usr/local/lib libtacacs_la-fdes.lo libtacacs_la-maxsess.lo libtacacs_la-md4.lo libtacacs_la-md5.lo libtacacs_la-packet.lo libtool: link: cc -shared -fPIC -DPIC -o .libs/libtacacs.so.1.0 -pthread -O2 -pipe -O2 -pipe .libs/libtacacs_la-fdes.o .libs/libtacacs_la-maxsess.o .libs/libtacacs_la-md4.o .libs/libtacacs_la-md5.o .libs/libtacacs_la-packet.o -Wl,-soname,libtacacs.so.1.0 libtool: link: ar cru .libs/libtacacs.a libtacacs_la-fdes.o libtacacs_la-maxsess.o libtacacs_la-md4.o libtacacs_la-md5.o libtacacs_la-packet.o libtool: link: ranlib .libs/libtacacs.a cc -DHAVE_CONFIG_H -I. -O2 -pipe -I/usr/local/include -O2 -pipe -pthread -MT tac_pwd.o -MD -MP -MF .deps/tac_pwd.Tpo -c -o tac_pwd.o tac_pwd.c tac_pwd.c:139:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype] char *crypt(); ^ /usr/include/unistd.h:408:7: note: conflicting prototype is here char *crypt(const char *, const char *); ^ 1 warning generated. mv -f .deps/tac_pwd.Tpo .deps/tac_pwd.Po /usr/bin/libtool --tag=CC --mode=link cc -O2 -pipe -pthread -L/usr/local/lib -o tac_pwd tac_pwd.o libtool: link: cc -o tac_pwd -pthread -O2 -pipe tac_pwd.o ld: warning: tac_pwd.c(tac_pwd.o:(get_salt)): warning: random() may return deterministic values, is that what you want? cc -DHAVE_CONFIG_H -I. -O2 -pipe -I/usr/local/include -O2 -pipe -pthread -MT acct.o -MD -MP -MF .deps/acct.Tpo -c -o acct.o acct.c mv -f .deps/acct.Tpo .deps/acct.Po cc -DHAVE_CONFIG_H -I. -O2 -pipe -I/usr/local/include -O2 -pipe -pthread -MT authen.o -MD -MP -MF .deps/authen.Tpo -c -o authen.o authen.c authen.c:62:10: warning: passing arguments to 'do_start' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] do_start(pak); ^ authen.c:26:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void do_start(); ^ authen.c:77:1: note: conflicting prototype is here do_start(u_char *pak) ^ authen.c:144:17: warning: passing arguments to 'choose' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ret = choose(&authen_data, &authen_type); ^ authen.c:149:14: warning: passing arguments to 'authenticate' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] authenticate(&authen_data, &authen_type); ^ authen.c:24:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static int choose(); ^ authen.c:192:1: note: conflicting prototype is here choose(struct authen_data *datap, struct authen_type *typep) ^ authen.c:25:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void authenticate(); ^ authen.c:306:1: note: conflicting prototype is here authenticate(struct authen_data *datap, struct authen_type *typep) ^ authen.c:332:13: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if ((*func)(datap)) { ^ authen.c:403:15: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ((*func)(datap)); ^ authen.c:419:15: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ((*func)(datap)); ^ 9 warnings generated. mv -f .deps/authen.Tpo .deps/authen.Po cc -DHAVE_CONFIG_H -I. -O2 -pipe -I/usr/local/include -O2 -pipe -pthread -MT author.o -MD -MP -MF .deps/author.Tpo -c -o author.o author.c mv -f .deps/author.Tpo .deps/author.Po cc -DHAVE_CONFIG_H -I. -O2 -pipe -I/usr/local/include -O2 -pipe -pthread -MT choose_authen.o -MD -MP -MF .deps/choose_authen.Tpo -c -o choose_authen.o choose_authen.c mv -f .deps/choose_authen.Tpo .deps/choose_authen.Po cc -DHAVE_CONFIG_H -I. -O2 -pipe -I/usr/local/include -O2 -pipe -pthread -MT config.o -MD -MP -MF .deps/config.Tpo -c -o config.o config.c mv -f .deps/config.Tpo .deps/config.Po cc -DHAVE_CONFIG_H -I. -O2 -pipe -I/usr/local/include -O2 -pipe -pthread -MT default_fn.o -MD -MP -MF .deps/default_fn.Tpo -c -o default_fn.o default_fn.c mv -f .deps/default_fn.Tpo .deps/default_fn.Po cc -DHAVE_CONFIG_H -I. -O2 -pipe -I/usr/local/include -O2 -pipe -pthread -MT default_v0_fn.o -MD -MP -MF .deps/default_v0_fn.Tpo -c -o default_v0_fn.o default_v0_fn.c mv -f .deps/default_v0_fn.Tpo .deps/default_v0_fn.Po cc -DHAVE_CONFIG_H -I. -O2 -pipe -I/usr/local/include -O2 -pipe -pthread -MT do_acct.o -MD -MP -MF .deps/do_acct.Tpo -c -o do_acct.o do_acct.c mv -f .deps/do_acct.Tpo .deps/do_acct.Po cc -DHAVE_CONFIG_H -I. -O2 -pipe -I/usr/local/include -O2 -pipe -pthread -MT do_author.o -MD -MP -MF .deps/do_author.Tpo -c -o do_author.o do_author.c mv -f .deps/do_author.Tpo .deps/do_author.Po cc -DHAVE_CONFIG_H -I. -O2 -pipe -I/usr/local/include -O2 -pipe -pthread -MT dump.o -MD -MP -MF .deps/dump.Tpo -c -o dump.o dump.c mv -f .deps/dump.Tpo .deps/dump.Po cc -DHAVE_CONFIG_H -I. -O2 -pipe -I/usr/local/include -O2 -pipe -pthread -MT enable.o -MD -MP -MF .deps/enable.Tpo -c -o enable.o enable.c mv -f .deps/enable.Tpo .deps/enable.Po cc -DHAVE_CONFIG_H -I. -O2 -pipe -I/usr/local/include -O2 -pipe -pthread -MT encrypt.o -MD -MP -MF .deps/encrypt.Tpo -c -o encrypt.o encrypt.c mv -f .deps/encrypt.Tpo .deps/encrypt.Po cc -DHAVE_CONFIG_H -I. -O2 -pipe -I/usr/local/include -O2 -pipe -pthread -MT expire.o -MD -MP -MF .deps/expire.Tpo -c -o expire.o expire.c mv -f .deps/expire.Tpo .deps/expire.Po cc -DHAVE_CONFIG_H -I. -O2 -pipe -I/usr/local/include -O2 -pipe -pthread -MT hash.o -MD -MP -MF .deps/hash.Tpo -c -o hash.o hash.c mv -f .deps/hash.Tpo .deps/hash.Po cc -DHAVE_CONFIG_H -I. -O2 -pipe -I/usr/local/include -O2 -pipe -pthread -MT maxsessint.o -MD -MP -MF .deps/maxsessint.Tpo -c -o maxsessint.o maxsessint.c mv -f .deps/maxsessint.Tpo .deps/maxsessint.Po cc -DHAVE_CONFIG_H -I. -O2 -pipe -I/usr/local/include -O2 -pipe -pthread -MT parse.o -MD -MP -MF .deps/parse.Tpo -c -o parse.o parse.c mv -f .deps/parse.Tpo .deps/parse.Po cc -DHAVE_CONFIG_H -I. -O2 -pipe -I/usr/local/include -O2 -pipe -pthread -MT programs.o -MD -MP -MF .deps/programs.Tpo -c -o programs.o programs.c mv -f .deps/programs.Tpo .deps/programs.Po cc -DHAVE_CONFIG_H -I. -O2 -pipe -I/usr/local/include -O2 -pipe -pthread -MT pw.o -MD -MP -MF .deps/pw.Tpo -c -o pw.o pw.c mv -f .deps/pw.Tpo .deps/pw.Po cc -DHAVE_CONFIG_H -I. -O2 -pipe -I/usr/local/include -O2 -pipe -pthread -MT pwlib.o -MD -MP -MF .deps/pwlib.Tpo -c -o pwlib.o pwlib.c mv -f .deps/pwlib.Tpo .deps/pwlib.Po cc -DHAVE_CONFIG_H -I. -O2 -pipe -I/usr/local/include -O2 -pipe -pthread -MT report.o -MD -MP -MF .deps/report.Tpo -c -o report.o report.c mv -f .deps/report.Tpo .deps/report.Po cc -DHAVE_CONFIG_H -I. -O2 -pipe -I/usr/local/include -O2 -pipe -pthread -MT sendauth.o -MD -MP -MF .deps/sendauth.Tpo -c -o sendauth.o sendauth.c sendauth.c:46:25: warning: passing arguments to 'do_sendauth_fn' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] status = do_sendauth_fn(data); ^ sendauth.c:26:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static int do_sendauth_fn(); ^ sendauth.c:90:1: note: conflicting prototype is here do_sendauth_fn(struct authen_data *data) ^ sendauth.c:108:15: warning: passing arguments to 'outbound_chap' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] outbound_chap(data); ^ sendauth.c:118:14: warning: passing arguments to 'outbound_pap' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] outbound_pap(data); ^ sendauth.c:31:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] void outbound_pap(); ^ sendauth.c:134:1: note: conflicting prototype is here outbound_pap(struct authen_data *data) ^ sendauth.c:27:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void outbound_chap(); ^ sendauth.c:172:1: note: conflicting prototype is here outbound_chap(struct authen_data *data) ^ 6 warnings generated. mv -f .deps/sendauth.Tpo .deps/sendauth.Po cc -DHAVE_CONFIG_H -I. -O2 -pipe -I/usr/local/include -O2 -pipe -pthread -MT sendpass.o -MD -MP -MF .deps/sendpass.Tpo -c -o sendpass.o sendpass.c sendpass.c:47:25: warning: passing arguments to 'do_sendpass_fn' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] status = do_sendpass_fn(data); ^ sendpass.c:26:1: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] do_sendpass_fn(); ^ sendpass.c:71:1: note: conflicting prototype is here do_sendpass_fn(struct authen_data *data) ^ 2 warnings generated. mv -f .deps/sendpass.Tpo .deps/sendpass.Po cc -DHAVE_CONFIG_H -I. -O2 -pipe -I/usr/local/include -O2 -pipe -pthread -MT tac_plus.o -MD -MP -MF .deps/tac_plus.Tpo -c -o tac_plus.o tac_plus.c mv -f .deps/tac_plus.Tpo .deps/tac_plus.Po cc -DHAVE_CONFIG_H -I. -O2 -pipe -I/usr/local/include -O2 -pipe -pthread -MT utils.o -MD -MP -MF .deps/utils.Tpo -c -o utils.o utils.c mv -f .deps/utils.Tpo .deps/utils.Po /usr/bin/libtool --tag=CC --mode=link cc -O2 -pipe -pthread -L. -L/usr/local/lib -o tac_plus acct.o authen.o author.o choose_authen.o config.o default_fn.o default_v0_fn.o do_acct.o do_author.o dump.o enable.o encrypt.o expire.o hash.o maxsessint.o parse.o programs.o pw.o pwlib.o report.o sendauth.o sendpass.o tac_plus.o utils.o -ltacacs libtool: link: cc -o .libs/tac_plus -pthread -O2 -pipe acct.o authen.o author.o choose_authen.o config.o default_fn.o default_v0_fn.o do_acct.o do_author.o dump.o enable.o encrypt.o expire.o hash.o maxsessint.o parse.o programs.o pw.o pwlib.o report.o sendauth.o sendpass.o tac_plus.o utils.o -L.libs -ltacacs -Wl,-rpath-link,/usr/local/lib ld: warning: acct.c(acct.o:(accounting)): warning: strcpy() is almost always misused, please use strlcpy() ld: warning: config.c(config.o:(parse_error)): warning: vsprintf() is often misused, please use vsnprintf() ld: warning: report.c(report.o:(report)): warning: sprintf() is often misused, please use snprintf() ld: warning: report.c(report.o:(report_hex)): warning: strcat() is almost always misused, please use strlcat() rm -f tac_convert tac_convert.tmp; sed -e 's,@bindir\@,/usr/local/bin,g' -e 's,@prefix\@,/usr/local,g' -e 's,@libexecdir\@,/usr/local/libexec,g' -e 's,@localstatedir\@,/var,g' -e 's,@libdir\@,/usr/local/lib,g' -e 's,@pkglibdir\@,/usr/local/lib/tacacs,g' -e 's,@sysconfdir\@,/etc,g' -e 's,@PERLV_PATH\@,/usr/bin/perl,g' -e 's,@TACPLUS_PIDFILE\@,/var/run/tac_plus.pid,g' -e 's,@TACPLUS_LOGFILE\@,var/log/tac_plus/tac.log,g' ./tac_convert.in >tac_convert.tmp; mv tac_convert.tmp tac_convert; chmod 755 tac_convert rm -f users_guide users_guide.tmp; sed -e 's,@bindir\@,/usr/local/bin,g' -e 's,@prefix\@,/usr/local,g' -e 's,@libexecdir\@,/usr/local/libexec,g' -e 's,@localstatedir\@,/var,g' -e 's,@libdir\@,/usr/local/lib,g' -e 's,@pkglibdir\@,/usr/local/lib/tacacs,g' -e 's,@sysconfdir\@,/etc,g' -e 's,@PERLV_PATH\@,/usr/bin/perl,g' -e 's,@TACPLUS_PIDFILE\@,/var/run/tac_plus.pid,g' -e 's,@TACPLUS_LOGFILE\@,var/log/tac_plus/tac.log,g' ./users_guide.in >users_guide.tmp; mv users_guide.tmp users_guide >>> Running package in net/tacacs+ at 1734975073.27 ===> net/tacacs+ ===> Faking installation for tacacs+-4.0.4.28p4v0 /usr/bin/make install-am mkdir -p '/exopi-obj/pobj/tacacs+-4.0.4.28/fake-amd64/usr/local/lib' /usr/bin/libtool --mode=install /exopi-obj/pobj/tacacs+-4.0.4.28/bin/install -c libtacacs.la '/exopi-obj/pobj/tacacs+-4.0.4.28/fake-amd64/usr/local/lib' libtool: install: /exopi-obj/pobj/tacacs+-4.0.4.28/bin/install -c -m 644 ./.libs/libtacacs.a /exopi-obj/pobj/tacacs+-4.0.4.28/fake-amd64/usr/local/lib/libtacacs.a libtool: install: /exopi-obj/pobj/tacacs+-4.0.4.28/bin/install -c -m 644 ./.libs/libtacacs.so.1.0 /exopi-obj/pobj/tacacs+-4.0.4.28/fake-amd64/usr/local/lib/libtacacs.so.1.0 libtool: install: /exopi-obj/pobj/tacacs+-4.0.4.28/bin/install -c -m 644 ./.libs/libtacacs.lai /exopi-obj/pobj/tacacs+-4.0.4.28/fake-amd64/usr/local/lib/libtacacs.la mkdir -p '/exopi-obj/pobj/tacacs+-4.0.4.28/fake-amd64/usr/local/bin' /usr/bin/libtool --mode=install /exopi-obj/pobj/tacacs+-4.0.4.28/bin/install -c -s -m 755 tac_pwd '/exopi-obj/pobj/tacacs+-4.0.4.28/fake-amd64/usr/local/bin' libtool: install: /exopi-obj/pobj/tacacs+-4.0.4.28/bin/install -c -s -m 755 tac_pwd /exopi-obj/pobj/tacacs+-4.0.4.28/fake-amd64/usr/local/bin mkdir -p '/exopi-obj/pobj/tacacs+-4.0.4.28/fake-amd64/usr/local/sbin' /usr/bin/libtool --mode=install /exopi-obj/pobj/tacacs+-4.0.4.28/bin/install -c -s -m 755 tac_plus '/exopi-obj/pobj/tacacs+-4.0.4.28/fake-amd64/usr/local/sbin' libtool: install: /exopi-obj/pobj/tacacs+-4.0.4.28/bin/install -c -s -m 755 ./.libs/tac_plus /exopi-obj/pobj/tacacs+-4.0.4.28/fake-amd64/usr/local/sbin mkdir -p '/exopi-obj/pobj/tacacs+-4.0.4.28/fake-amd64/usr/local/include' /exopi-obj/pobj/tacacs+-4.0.4.28/bin/install -c -m 644 tacacs.h '/exopi-obj/pobj/tacacs+-4.0.4.28/fake-amd64/usr/local/include' mkdir -p '/exopi-obj/pobj/tacacs+-4.0.4.28/fake-amd64/usr/local/man/man5' /exopi-obj/pobj/tacacs+-4.0.4.28/bin/install -c -m 644 tac_plus.conf.5 '/exopi-obj/pobj/tacacs+-4.0.4.28/fake-amd64/usr/local/man/man5' mkdir -p '/exopi-obj/pobj/tacacs+-4.0.4.28/fake-amd64/usr/local/man/man8' /exopi-obj/pobj/tacacs+-4.0.4.28/bin/install -c -m 644 tac_plus.8 tac_pwd.8 '/exopi-obj/pobj/tacacs+-4.0.4.28/fake-amd64/usr/local/man/man8' mkdir -p '/exopi-obj/pobj/tacacs+-4.0.4.28/fake-amd64/usr/local/share/tacacs' /exopi-obj/pobj/tacacs+-4.0.4.28/bin/install -c -m 644 do_auth.py users_guide '/exopi-obj/pobj/tacacs+-4.0.4.28/fake-amd64/usr/local/share/tacacs' mkdir -p '/exopi-obj/pobj/tacacs+-4.0.4.28/fake-amd64/usr/local/share/tacacs' /exopi-obj/pobj/tacacs+-4.0.4.28/bin/install -c -m 755 tac_convert '/exopi-obj/pobj/tacacs+-4.0.4.28/fake-amd64/usr/local/share/tacacs' /exopi-obj/pobj/tacacs+-4.0.4.28/bin/install -c -m 644 /exopi-cvs/ports/net/tacacs+/files/tac_plus.conf.sample /exopi-obj/pobj/tacacs+-4.0.4.28/fake-amd64/usr/local/share/tacacs rm /exopi-obj/pobj/tacacs+-4.0.4.28/fake-amd64/usr/local/bin/tac_pwd /exopi-obj/pobj/tacacs+-4.0.4.28/fake-amd64/usr/local/man/man8/tac_pwd.8 # only works with des/md5 crypt Installing /exopi-cvs/ports/net/tacacs+/pkg/README as /exopi-obj/pobj/tacacs+-4.0.4.28/fake-amd64/usr/local/share/doc/pkg-readmes/tacacs+ Installing /exopi-cvs/ports/net/tacacs+/pkg/tac_plus.rc as /exopi-obj/pobj/tacacs+-4.0.4.28/fake-amd64/etc/rc.d/tac_plus ===> Building package for tacacs+-4.0.4.28p4v0 Create /exopi-cvs/ports/packages/amd64/all/tacacs+-4.0.4.28p4v0.tgz Creating package tacacs+-4.0.4.28p4v0 reading plist| checking dependencies| checking dependencies|lang/python/3,-main checksumming| checksumming| | 0% checksumming|** | 3% checksumming|*** | 5% checksumming|***** | 8% checksumming|****** | 11% checksumming|******** | 13% checksumming|********** | 16% checksumming|*********** | 18% checksumming|************* | 21% checksumming|************** | 24% checksumming|**************** | 26% checksumming|****************** | 29% checksumming|******************* | 32% checksumming|********************* | 34% checksumming|********************** | 37% checksumming|************************ | 39% checksumming|************************** | 42% checksumming|*************************** | 45% checksumming|***************************** | 47% checksumming|******************************* | 50% checksumming|******************************** | 53% checksumming|********************************** | 55% checksumming|*********************************** | 58% checksumming|************************************* | 61% checksumming|*************************************** | 63% checksumming|**************************************** | 66% checksumming|****************************************** | 68% checksumming|******************************************* | 71% checksumming|********************************************* | 74% checksumming|*********************************************** | 76% checksumming|************************************************ | 79% checksumming|************************************************** | 82% checksumming|*************************************************** | 84% checksumming|***************************************************** | 87% checksumming|******************************************************* | 89% checksumming|******************************************************** | 92% checksumming|********************************************************** | 95% checksumming|*********************************************************** | 97% checksumming|*************************************************************|100% archiving| archiving| | 0% archiving|* | 2% archiving|******** | 13% archiving|******************************** | 50% archiving|******************************************************* | 85% archiving|******************************************************** | 87% archiving|*********************************************************** | 92% archiving|*********************************************************** | 93% archiving|************************************************************ | 93% archiving|****************************************************************|100% Link to /exopi-cvs/ports/packages/amd64/ftp/tacacs+-4.0.4.28p4v0.tgz >>> Running clean in net/tacacs+ at 1734975076.90 ===> net/tacacs+ ===> Cleaning for tacacs+-4.0.4.28p4v0 >>> Ended at 1734975077.26 max_stuck=0.00/depends=1.37/show-prepare-results=0.65/build=27.03/package=3.64/clean=0.38