Another attempt at making our Open Source tooling happy

This commit is contained in:
Cooper Ry Lees 2019-02-10 15:02:42 -08:00
parent 3e65bd2ce1
commit 40e4da9861
31 changed files with 64 additions and 39473 deletions

View File

@ -1,3 +1,2 @@
# Code of Conduct # Code of Conduct
Facebook has adopted a Code of Conduct that we expect project participants to adhere to. Please [read the full text](https://code.facebook.com/codeofconduct) so that you can understand what actions will and will not be tolerated.
Facebook has adopted a Code of Conduct that we expect project participants to adhere to. Please [read the full text](https://code.facebook.com/pages/876921332402685/open-source-code-of-conduct) so that you can understand what actions will and will not be tolerated.

View File

@ -20,3 +20,6 @@ initscripts are /etc/init.d/fb-tac-plus.
Enjoy, and thanks to the facebook guys for the changes that they made Enjoy, and thanks to the facebook guys for the changes that they made
here :-) here :-)
## License
tac_plus is BSD licensed, as found in the LICENSE file.

View File

@ -1,3 +1,4 @@
# Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved
# Default settings for tac_plus. This file is sourced by /bin/sh from # Default settings for tac_plus. This file is sourced by /bin/sh from
# /etc/init.d/fb-tac-plus # /etc/init.d/fb-tac-plus

View File

@ -1,4 +1,5 @@
#!/bin/sh #!/bin/sh
# Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved
### BEGIN INIT INFO ### BEGIN INIT INFO
# Provides: tac_plus # Provides: tac_plus
# Required-Start: $network $local_fs $syslog $remote_fs # Required-Start: $network $local_fs $syslog $remote_fs
@ -12,8 +13,8 @@
PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin
DAEMON=/usr/bin/tac_plus DAEMON=/usr/bin/tac_plus
NAME="fb-tac-plus" NAME="fb-tac-plus"
DESC="TACACS+ authentication daemon" DESC="TACACS+ authentication daemon"
LOGDIR=/var/log/ LOGDIR=/var/log/
STARTTIME=1 STARTTIME=1
PIDFILEBASE=/var/run/tac_plus.pid PIDFILEBASE=/var/run/tac_plus.pid
@ -160,12 +161,12 @@ reload_server() {
check_config() { check_config() {
$DAEMON -P $DAEMON_ARGS $DAEMON -P $DAEMON_ARGS
return $? return $?
} }
check_config_quiet() { check_config_quiet() {
$DAEMON -P $DAEMON_ARGS >/dev/null 2>&1 $DAEMON -P $DAEMON_ARGS >/dev/null 2>&1
return $? return $?
} }
kill_pid() { kill_pid() {
@ -204,7 +205,7 @@ force_stop() {
else else
kill_pid $PIDFN kill_pid $PIDFN
if [ "$?" != "0" ]; then if [ "$?" != "0" ]; then
FAILED=1 FAILED=1
fi fi
fi fi
if [ "$FAILED" != "0" ]; then if [ "$FAILED" != "0" ]; then
@ -232,7 +233,7 @@ case "$1" in
# NOTE: Some servers might die some time after they start, # NOTE: Some servers might die some time after they start,
# this code will detect this issue if STARTTIME is set # this code will detect this issue if STARTTIME is set
# to a reasonable value # to a reasonable value
[ -n "$STARTTIME" ] && sleep $STARTTIME # Wait some time [ -n "$STARTTIME" ] && sleep $STARTTIME # Wait some time
if running ; then if running ; then
# It's ok, the server started and is running # It's ok, the server started and is running
log_end_msg 0 log_end_msg 0
@ -299,7 +300,7 @@ case "$1" in
if reload_server ; then if reload_server ; then
if running ; then if running ; then
log_end_msg 0 log_end_msg 0
else else
log_progress_msg "$NAME not running" log_progress_msg "$NAME not running"
log_end_msg 1 log_end_msg 1
fi fi

View File

@ -1,3 +1,4 @@
# Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved
Format: 3.0 (quilt) Format: 3.0 (quilt)
Source: fb-tac-plus Source: fb-tac-plus
Binary: fb-tac-plus Binary: fb-tac-plus

View File

@ -1,3 +1,4 @@
# Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved
# Default settings for tac_plus. This file is sourced by /bin/sh from # Default settings for tac_plus. This file is sourced by /bin/sh from
# /etc/init.d/fb-tac-plus # /etc/init.d/fb-tac-plus

View File

@ -1,4 +1,5 @@
#!/bin/sh #!/bin/sh
# Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved
### BEGIN INIT INFO ### BEGIN INIT INFO
# Provides: tac_plus # Provides: tac_plus
# Required-Start: $network $local_fs $syslog $remote_fs # Required-Start: $network $local_fs $syslog $remote_fs
@ -12,8 +13,8 @@
PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin
DAEMON=/usr/bin/tac_plus DAEMON=/usr/bin/tac_plus
NAME="fb-tac-plus" NAME="fb-tac-plus"
DESC="TACACS+ authentication daemon" DESC="TACACS+ authentication daemon"
LOGDIR=/var/log/ LOGDIR=/var/log/
STARTTIME=1 STARTTIME=1
PIDFILEBASE=/var/run/tac_plus.pid PIDFILEBASE=/var/run/tac_plus.pid
@ -160,12 +161,12 @@ reload_server() {
check_config() { check_config() {
$DAEMON -P $DAEMON_ARGS $DAEMON -P $DAEMON_ARGS
return $? return $?
} }
check_config_quiet() { check_config_quiet() {
$DAEMON -P $DAEMON_ARGS >/dev/null 2>&1 $DAEMON -P $DAEMON_ARGS >/dev/null 2>&1
return $? return $?
} }
kill_pid() { kill_pid() {
@ -204,7 +205,7 @@ force_stop() {
else else
kill_pid $PIDFN kill_pid $PIDFN
if [ "$?" != "0" ]; then if [ "$?" != "0" ]; then
FAILED=1 FAILED=1
fi fi
fi fi
if [ "$FAILED" != "0" ]; then if [ "$FAILED" != "0" ]; then
@ -232,7 +233,7 @@ case "$1" in
# NOTE: Some servers might die some time after they start, # NOTE: Some servers might die some time after they start,
# this code will detect this issue if STARTTIME is set # this code will detect this issue if STARTTIME is set
# to a reasonable value # to a reasonable value
[ -n "$STARTTIME" ] && sleep $STARTTIME # Wait some time [ -n "$STARTTIME" ] && sleep $STARTTIME # Wait some time
if running ; then if running ; then
# It's ok, the server started and is running # It's ok, the server started and is running
log_end_msg 0 log_end_msg 0
@ -299,7 +300,7 @@ case "$1" in
if reload_server ; then if reload_server ; then
if running ; then if running ; then
log_end_msg 0 log_end_msg 0
else else
log_progress_msg "$NAME not running" log_progress_msg "$NAME not running"
log_end_msg 1 log_end_msg 1
fi fi

View File

@ -1,3 +1,4 @@
# Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved
Format: 3.0 (quilt) Format: 3.0 (quilt)
Source: fb-tac-plus Source: fb-tac-plus
Binary: fb-tac-plus Binary: fb-tac-plus
@ -6,14 +7,14 @@ Version: 4.0.4.19.1-2
Maintainer: Rob Shakir <rjs@jive.com> Maintainer: Rob Shakir <rjs@jive.com>
Standards-Version: 4.0.4.19 Standards-Version: 4.0.4.19
Build-Depends: libaudit0 (>= 1:1.7.18-1.1), libaudit-dev (>= 1:1.7.18-1.1), debhelper (>= 9), libpam0g (>= 1.1.3-7.1), libpam0g-dev (>= 1.1.3-7.1), libwrap0 (>= 7.6.q-24), libwrap0-dev (>= 7.6.q-24), libc6 (>= 2.13-38+deb7u8), libc6-dev (>= 2.13-38+deb7u8), flex (>= 2.5.35-10.1), bison (>= 1:2.5.dfsg-2.1) Build-Depends: libaudit0 (>= 1:1.7.18-1.1), libaudit-dev (>= 1:1.7.18-1.1), debhelper (>= 9), libpam0g (>= 1.1.3-7.1), libpam0g-dev (>= 1.1.3-7.1), libwrap0 (>= 7.6.q-24), libwrap0-dev (>= 7.6.q-24), libc6 (>= 2.13-38+deb7u8), libc6-dev (>= 2.13-38+deb7u8), flex (>= 2.5.35-10.1), bison (>= 1:2.5.dfsg-2.1)
Package-List: Package-List:
fb-tac-plus deb net optional fb-tac-plus deb net optional
Checksums-Sha1: Checksums-Sha1:
b49c51e746fc91857d0eda436a11e53b8fa63ef6 676519 fb-tac-plus_4.0.4.19.1.orig.tar.gz b49c51e746fc91857d0eda436a11e53b8fa63ef6 676519 fb-tac-plus_4.0.4.19.1.orig.tar.gz
672345c12a214f046de18378f7ff35b007082b7e 4789 fb-tac-plus_4.0.4.19.1-2.debian.tar.gz 672345c12a214f046de18378f7ff35b007082b7e 4789 fb-tac-plus_4.0.4.19.1-2.debian.tar.gz
Checksums-Sha256: Checksums-Sha256:
2884bda4579a6ecd82b200ae1737098e5dacef12c6826c2704d92709902cc629 676519 fb-tac-plus_4.0.4.19.1.orig.tar.gz 2884bda4579a6ecd82b200ae1737098e5dacef12c6826c2704d92709902cc629 676519 fb-tac-plus_4.0.4.19.1.orig.tar.gz
336a486acf0c79c7a40eb545a8d9f8a73a439b614f90258baa1326e109609283 4789 fb-tac-plus_4.0.4.19.1-2.debian.tar.gz 336a486acf0c79c7a40eb545a8d9f8a73a439b614f90258baa1326e109609283 4789 fb-tac-plus_4.0.4.19.1-2.debian.tar.gz
Files: Files:
9c8f251ca797b50983f4fb07205f06b3 676519 fb-tac-plus_4.0.4.19.1.orig.tar.gz 9c8f251ca797b50983f4fb07205f06b3 676519 fb-tac-plus_4.0.4.19.1.orig.tar.gz
b71f873264e283aa3b715b089f1f3d36 4789 fb-tac-plus_4.0.4.19.1-2.debian.tar.gz b71f873264e283aa3b715b089f1f3d36 4789 fb-tac-plus_4.0.4.19.1-2.debian.tar.gz

View File

@ -1,3 +1,4 @@
# Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved
## Process this file with automake to produce Makefile.in ## Process this file with automake to produce Makefile.in
## A Makefile.in is supplied, in case you do not have automake. ## A Makefile.in is supplied, in case you do not have automake.

View File

@ -1,6 +1,7 @@
# Makefile.in generated by automake 1.13.4 from Makefile.am. # Makefile.in generated by automake 1.13.4 from Makefile.am.
# @configure_input@ # @configure_input@
# Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved
# Copyright (C) 1994-2013 Free Software Foundation, Inc. # Copyright (C) 1994-2013 Free Software Foundation, Inc.
# This Makefile.in is free software; the Free Software Foundation # This Makefile.in is free software; the Free Software Foundation
@ -152,7 +153,7 @@ libtacacs_la_OBJECTS = $(am_libtacacs_la_OBJECTS)
AM_V_lt = $(am__v_lt_@AM_V@) AM_V_lt = $(am__v_lt_@AM_V@)
am__v_lt_ = $(am__v_lt_@AM_DEFAULT_V@) am__v_lt_ = $(am__v_lt_@AM_DEFAULT_V@)
am__v_lt_0 = --silent am__v_lt_0 = --silent
am__v_lt_1 = am__v_lt_1 =
libtacacs_la_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \ libtacacs_la_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
$(LIBTOOLFLAGS) --mode=link $(CCLD) $(libtacacs_la_CFLAGS) \ $(LIBTOOLFLAGS) --mode=link $(CCLD) $(libtacacs_la_CFLAGS) \
$(CFLAGS) $(libtacacs_la_LDFLAGS) $(LDFLAGS) -o $@ $(CFLAGS) $(libtacacs_la_LDFLAGS) $(LDFLAGS) -o $@
@ -193,11 +194,11 @@ am__v_P_1 = :
AM_V_GEN = $(am__v_GEN_@AM_V@) AM_V_GEN = $(am__v_GEN_@AM_V@)
am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@) am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@)
am__v_GEN_0 = @echo " GEN " $@; am__v_GEN_0 = @echo " GEN " $@;
am__v_GEN_1 = am__v_GEN_1 =
AM_V_at = $(am__v_at_@AM_V@) AM_V_at = $(am__v_at_@AM_V@)
am__v_at_ = $(am__v_at_@AM_DEFAULT_V@) am__v_at_ = $(am__v_at_@AM_DEFAULT_V@)
am__v_at_0 = @ am__v_at_0 = @
am__v_at_1 = am__v_at_1 =
DEFAULT_INCLUDES = -I.@am__isrc@ DEFAULT_INCLUDES = -I.@am__isrc@
depcomp = $(SHELL) $(top_srcdir)/aconf/depcomp depcomp = $(SHELL) $(top_srcdir)/aconf/depcomp
am__depfiles_maybe = depfiles am__depfiles_maybe = depfiles
@ -211,7 +212,7 @@ LTCOMPILE = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
AM_V_CC = $(am__v_CC_@AM_V@) AM_V_CC = $(am__v_CC_@AM_V@)
am__v_CC_ = $(am__v_CC_@AM_DEFAULT_V@) am__v_CC_ = $(am__v_CC_@AM_DEFAULT_V@)
am__v_CC_0 = @echo " CC " $@; am__v_CC_0 = @echo " CC " $@;
am__v_CC_1 = am__v_CC_1 =
CCLD = $(CC) CCLD = $(CC)
LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \ LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
$(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \ $(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
@ -219,7 +220,7 @@ LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
AM_V_CCLD = $(am__v_CCLD_@AM_V@) AM_V_CCLD = $(am__v_CCLD_@AM_V@)
am__v_CCLD_ = $(am__v_CCLD_@AM_DEFAULT_V@) am__v_CCLD_ = $(am__v_CCLD_@AM_DEFAULT_V@)
am__v_CCLD_0 = @echo " CCLD " $@; am__v_CCLD_0 = @echo " CCLD " $@;
am__v_CCLD_1 = am__v_CCLD_1 =
SOURCES = $(libtacacs_la_SOURCES) $(tac_plus_SOURCES) \ SOURCES = $(libtacacs_la_SOURCES) $(tac_plus_SOURCES) \
$(tac_pwd_SOURCES) $(tac_pwd_SOURCES)
DIST_SOURCES = $(libtacacs_la_SOURCES) $(am__tac_plus_SOURCES_DIST) \ DIST_SOURCES = $(libtacacs_la_SOURCES) $(am__tac_plus_SOURCES_DIST) \
@ -444,7 +445,7 @@ libtacacs_la_CFLAGS = @CFLAGS@ $(WARN) $(DBG) @PROFLAGS@
#libtacacs_la_LIBADD = -lxxx #libtacacs_la_LIBADD = -lxxx
libtacacs_la_LDFLAGS = -version-info 1:0:0 -version-number 1:0:0 \ libtacacs_la_LDFLAGS = -version-info 1:0:0 -version-number 1:0:0 \
@LDFLAGS@ @PROFLIBS@ $(am__empty) @LDFLAGS@ @PROFLIBS@ $(am__empty)
BUILT_SOURCES = BUILT_SOURCES =
LDADD = $(PROFLIBS) LDADD = $(PROFLIBS)
AM_CPPFLAGS = $(WRAPINCS) AM_CPPFLAGS = $(WRAPINCS)
# AM_CPPFLAGS += -I$(top_srcdir)/include @PG_CPPFLAGS@ # AM_CPPFLAGS += -I$(top_srcdir)/include @PG_CPPFLAGS@
@ -459,7 +460,7 @@ man_MANS = $(man_gen_MANS) $(man_nogen_MANS)
# scripts that are built # scripts that are built
build_scripts = tac_convert build_scripts = tac_convert
# scripts that are not-built/static # scripts that are not-built/static
static_scripts = static_scripts =
pkgdata_SCRIPTS = $(static_scripts) $(build_scripts) pkgdata_SCRIPTS = $(static_scripts) $(build_scripts)
pkgdata_DATA = do_auth.py users_guide pkgdata_DATA = do_auth.py users_guide
EXTRA_DIST = CHANGES COPYING FAQ INSTALL $(build_scripts:%=%.in) \ EXTRA_DIST = CHANGES COPYING FAQ INSTALL $(build_scripts:%=%.in) \
@ -541,7 +542,7 @@ config.h: stamp-h1
stamp-h1: $(srcdir)/config.h.in $(top_builddir)/config.status stamp-h1: $(srcdir)/config.h.in $(top_builddir)/config.status
@rm -f stamp-h1 @rm -f stamp-h1
cd $(top_builddir) && $(SHELL) ./config.status config.h cd $(top_builddir) && $(SHELL) ./config.status config.h
$(srcdir)/config.h.in: @MAINTAINER_MODE_TRUE@ $(am__configure_deps) $(srcdir)/config.h.in: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
($(am__cd) $(top_srcdir) && $(AUTOHEADER)) ($(am__cd) $(top_srcdir) && $(AUTOHEADER))
rm -f stamp-h1 rm -f stamp-h1
touch $@ touch $@
@ -592,7 +593,7 @@ clean-libLTLIBRARIES:
rm -f $${locs}; \ rm -f $${locs}; \
} }
libtacacs.la: $(libtacacs_la_OBJECTS) $(libtacacs_la_DEPENDENCIES) $(EXTRA_libtacacs_la_DEPENDENCIES) libtacacs.la: $(libtacacs_la_OBJECTS) $(libtacacs_la_DEPENDENCIES) $(EXTRA_libtacacs_la_DEPENDENCIES)
$(AM_V_CCLD)$(libtacacs_la_LINK) -rpath $(libdir) $(libtacacs_la_OBJECTS) $(libtacacs_la_LIBADD) $(LIBS) $(AM_V_CCLD)$(libtacacs_la_LINK) -rpath $(libdir) $(libtacacs_la_OBJECTS) $(libtacacs_la_LIBADD) $(LIBS)
install-binPROGRAMS: $(bin_PROGRAMS) install-binPROGRAMS: $(bin_PROGRAMS)
@$(NORMAL_INSTALL) @$(NORMAL_INSTALL)
@ -693,11 +694,11 @@ clean-sbinPROGRAMS:
echo " rm -f" $$list; \ echo " rm -f" $$list; \
rm -f $$list rm -f $$list
tac_plus$(EXEEXT): $(tac_plus_OBJECTS) $(tac_plus_DEPENDENCIES) $(EXTRA_tac_plus_DEPENDENCIES) tac_plus$(EXEEXT): $(tac_plus_OBJECTS) $(tac_plus_DEPENDENCIES) $(EXTRA_tac_plus_DEPENDENCIES)
@rm -f tac_plus$(EXEEXT) @rm -f tac_plus$(EXEEXT)
$(AM_V_CCLD)$(tac_plus_LINK) $(tac_plus_OBJECTS) $(tac_plus_LDADD) $(LIBS) $(AM_V_CCLD)$(tac_plus_LINK) $(tac_plus_OBJECTS) $(tac_plus_LDADD) $(LIBS)
tac_pwd$(EXEEXT): $(tac_pwd_OBJECTS) $(tac_pwd_DEPENDENCIES) $(EXTRA_tac_pwd_DEPENDENCIES) tac_pwd$(EXEEXT): $(tac_pwd_OBJECTS) $(tac_pwd_DEPENDENCIES) $(EXTRA_tac_pwd_DEPENDENCIES)
@rm -f tac_pwd$(EXEEXT) @rm -f tac_pwd$(EXEEXT)
$(AM_V_CCLD)$(LINK) $(tac_pwd_OBJECTS) $(tac_pwd_LDADD) $(LIBS) $(AM_V_CCLD)$(LINK) $(tac_pwd_OBJECTS) $(tac_pwd_LDADD) $(LIBS)
install-pkgdataSCRIPTS: $(pkgdata_SCRIPTS) install-pkgdataSCRIPTS: $(pkgdata_SCRIPTS)

View File

@ -1,5 +1,6 @@
# generated automatically by aclocal 1.13.4 -*- Autoconf -*- # generated automatically by aclocal 1.13.4 -*- Autoconf -*-
# Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved
# Copyright (C) 1996-2013 Free Software Foundation, Inc. # Copyright (C) 1996-2013 Free Software Foundation, Inc.
# This file is free software; the Free Software Foundation # This file is free software; the Free Software Foundation

View File

@ -1,3 +1,4 @@
# Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved
# =========================================================================== # ===========================================================================
# http://www.nongnu.org/autoconf-archive/acx_pthread.html # http://www.nongnu.org/autoconf-archive/acx_pthread.html
# =========================================================================== # ===========================================================================

View File

@ -1,5 +1,6 @@
#! /bin/sh #! /bin/sh
# Attempt to guess a canonical system name. # Attempt to guess a canonical system name.
# Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved
# Copyright 1992-2013 Free Software Foundation, Inc. # Copyright 1992-2013 Free Software Foundation, Inc.
timestamp='2013-05-16' timestamp='2013-05-16'

View File

@ -1,5 +1,6 @@
#! /bin/sh #! /bin/sh
# Configuration validation subroutine script. # Configuration validation subroutine script.
# Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved
# Copyright 1992-2013 Free Software Foundation, Inc. # Copyright 1992-2013 Free Software Foundation, Inc.
timestamp='2013-04-24' timestamp='2013-04-24'

View File

@ -1,5 +1,6 @@
# libtool.m4 - Configure libtool for the host system. -*-Autoconf-*- # libtool.m4 - Configure libtool for the host system. -*-Autoconf-*-
# #
# Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005, # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
# 2006, 2007, 2008, 2009, 2010, 2011 Free Software # 2006, 2007, 2008, 2009, 2010, 2011 Free Software
# Foundation, Inc. # Foundation, Inc.
@ -1196,7 +1197,7 @@ fi
# Invoke $ECHO with all args, space-separated. # Invoke $ECHO with all args, space-separated.
func_echo_all () func_echo_all ()
{ {
$ECHO "$*" $ECHO "$*"
} }
case "$ECHO" in case "$ECHO" in

View File

@ -2,6 +2,7 @@
# libtool (GNU libtool) 2.4.2 # libtool (GNU libtool) 2.4.2
# Written by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996 # Written by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
# Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005, 2006, # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005, 2006,
# 2007, 2008, 2009, 2010, 2011 Free Software Foundation, Inc. # 2007, 2008, 2009, 2010, 2011 Free Software Foundation, Inc.
# This is free software; see the source for copying conditions. There is NO # This is free software; see the source for copying conditions. There is NO
@ -1432,7 +1433,7 @@ func_infer_tag ()
eval "tag_compilers=\$tag_compilers_${z}" eval "tag_compilers=\$tag_compilers_${z}"
if test -n "$tag_compilers"; then if test -n "$tag_compilers"; then
for zp in $tag_compilers; do for zp in $tag_compilers; do
case $base_compiler in case $base_compiler in
$zp) tagname=$z; break;; $zp) tagname=$z; break;;
esac esac
done done
@ -9703,4 +9704,3 @@ build_old_libs=`case $build_libtool_libs in yes) echo no;; *) echo yes;; esac`
# sh-indentation:2 # sh-indentation:2
# End: # End:
# vi:sw=2 # vi:sw=2

View File

@ -1,5 +1,6 @@
# Helper functions for option handling. -*- Autoconf -*- # Helper functions for option handling. -*- Autoconf -*-
# #
# Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved
# Copyright (C) 2004, 2005, 2007, 2008, 2009 Free Software Foundation, # Copyright (C) 2004, 2005, 2007, 2008, 2009 Free Software Foundation,
# Inc. # Inc.
# Written by Gary V. Vaughan, 2004 # Written by Gary V. Vaughan, 2004

View File

@ -1,5 +1,6 @@
# ltsugar.m4 -- libtool m4 base layer. -*-Autoconf-*- # ltsugar.m4 -- libtool m4 base layer. -*-Autoconf-*-
# #
# Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved
# Copyright (C) 2004, 2005, 2007, 2008 Free Software Foundation, Inc. # Copyright (C) 2004, 2005, 2007, 2008 Free Software Foundation, Inc.
# Written by Gary V. Vaughan, 2004 # Written by Gary V. Vaughan, 2004
# #

View File

@ -1,5 +1,6 @@
# ltversion.m4 -- version numbers -*- Autoconf -*- # ltversion.m4 -- version numbers -*- Autoconf -*-
# #
# Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved
# Copyright (C) 2004 Free Software Foundation, Inc. # Copyright (C) 2004 Free Software Foundation, Inc.
# Written by Scott James Remnant, 2004 # Written by Scott James Remnant, 2004
# #

View File

@ -1,3 +1,4 @@
# Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved
# lt~obsolete.m4 -- aclocal satisfying obsolete definitions. -*-Autoconf-*- # lt~obsolete.m4 -- aclocal satisfying obsolete definitions. -*-Autoconf-*-
# #
# Copyright (C) 2004, 2005, 2007, 2009 Free Software Foundation, Inc. # Copyright (C) 2004, 2005, 2007, 2009 Free Software Foundation, Inc.
@ -25,7 +26,7 @@
# included after everything else. This provides aclocal with the # included after everything else. This provides aclocal with the
# AC_DEFUNs it wants, but when m4 processes it, it doesn't do anything # AC_DEFUNs it wants, but when m4 processes it, it doesn't do anything
# because those macros already exist, or will be overwritten later. # because those macros already exist, or will be overwritten later.
# We use AC_DEFUN over AU_DEFUN for compatibility with aclocal-1.6. # We use AC_DEFUN over AU_DEFUN for compatibility with aclocal-1.6.
# #
# Anytime we withdraw an AC_DEFUN or AU_DEFUN, remember to add it here. # Anytime we withdraw an AC_DEFUN or AU_DEFUN, remember to add it here.
# Yes, that means every name once taken will need to remain here until # Yes, that means every name once taken will need to remain here until

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -1,273 +0,0 @@
# This file was generated.
# It contains the lists of macros which have been traced.
# It can be safely removed.
@request = (
bless( [
'0',
1,
[
'/usr/share/autoconf'
],
[
'/usr/share/autoconf/autoconf/autoconf.m4f',
'-',
'/usr/share/aclocal-1.13/internal/ac-config-macro-dirs.m4',
'/usr/share/aclocal-1.13/amversion.m4',
'/usr/share/aclocal-1.13/auxdir.m4',
'/usr/share/aclocal-1.13/cond.m4',
'/usr/share/aclocal-1.13/depend.m4',
'/usr/share/aclocal-1.13/depout.m4',
'/usr/share/aclocal-1.13/init.m4',
'/usr/share/aclocal-1.13/install-sh.m4',
'/usr/share/aclocal-1.13/lead-dot.m4',
'/usr/share/aclocal-1.13/lex.m4',
'/usr/share/aclocal-1.13/maintainer.m4',
'/usr/share/aclocal-1.13/make.m4',
'/usr/share/aclocal-1.13/missing.m4',
'/usr/share/aclocal-1.13/options.m4',
'/usr/share/aclocal-1.13/runlog.m4',
'/usr/share/aclocal-1.13/sanity.m4',
'/usr/share/aclocal-1.13/silent.m4',
'/usr/share/aclocal-1.13/strip.m4',
'/usr/share/aclocal-1.13/substnot.m4',
'/usr/share/aclocal-1.13/tar.m4',
'aconf/acx_pthread.m4',
'aconf/libtool.m4',
'aconf/ltoptions.m4',
'aconf/ltsugar.m4',
'aconf/ltversion.m4',
'aconf/lt~obsolete.m4',
'configure.ac'
],
{
'AM_ENABLE_STATIC' => 1,
'AC_LIBTOOL_LANG_RC_CONFIG' => 1,
'_LT_AC_SHELL_INIT' => 1,
'AC_DEFUN' => 1,
'_LT_AC_LANG_CXX_CONFIG' => 1,
'AC_PROG_LIBTOOL' => 1,
'AM_AUTOMAKE_VERSION' => 1,
'AM_SUBST_NOTMAKE' => 1,
'AM_MISSING_PROG' => 1,
'AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH' => 1,
'_LT_AC_LANG_C_CONFIG' => 1,
'AM_PROG_INSTALL_STRIP' => 1,
'_m4_warn' => 1,
'AC_LIBTOOL_OBJDIR' => 1,
'AM_SANITY_CHECK' => 1,
'LTOBSOLETE_VERSION' => 1,
'AC_LIBTOOL_LANG_GCJ_CONFIG' => 1,
'AC_LIBTOOL_PROG_COMPILER_PIC' => 1,
'LT_LIB_M' => 1,
'_LT_AC_CHECK_DLFCN' => 1,
'AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE' => 1,
'LTSUGAR_VERSION' => 1,
'_LT_PROG_LTMAIN' => 1,
'_AM_PROG_TAR' => 1,
'AC_LIBTOOL_GCJ' => 1,
'_LT_WITH_SYSROOT' => 1,
'_LT_AC_LANG_F77' => 1,
'AC_LIBTOOL_CONFIG' => 1,
'AC_CONFIG_MACRO_DIR' => 1,
'_AM_SUBST_NOTMAKE' => 1,
'_AM_AUTOCONF_VERSION' => 1,
'AM_DISABLE_SHARED' => 1,
'_LT_PROG_ECHO_BACKSLASH' => 1,
'_LT_AC_LANG_CXX' => 1,
'AM_PROG_LIBTOOL' => 1,
'_LT_AC_FILE_LTDLL_C' => 1,
'AM_PROG_LD' => 1,
'AU_DEFUN' => 1,
'AC_PROG_NM' => 1,
'AC_LIBTOOL_DLOPEN' => 1,
'AC_PROG_LD' => 1,
'AC_ENABLE_FAST_INSTALL' => 1,
'AC_PROG_LD_GNU' => 1,
'AC_LIBTOOL_FC' => 1,
'_AM_SET_OPTION' => 1,
'AC_LTDL_PREOPEN' => 1,
'_LT_LINKER_BOILERPLATE' => 1,
'_LT_PREPARE_SED_QUOTE_VARS' => 1,
'AC_LIBTOOL_LANG_CXX_CONFIG' => 1,
'AC_LIBTOOL_PROG_CC_C_O' => 1,
'LT_SUPPORTED_TAG' => 1,
'AM_OUTPUT_DEPENDENCY_COMMANDS' => 1,
'LT_PROG_RC' => 1,
'AC_DEFUN_ONCE' => 1,
'_LT_AC_LANG_GCJ' => 1,
'AC_LTDL_OBJDIR' => 1,
'_LT_PATH_TOOL_PREFIX' => 1,
'AC_LIBTOOL_RC' => 1,
'AC_DISABLE_FAST_INSTALL' => 1,
'AM_SILENT_RULES' => 1,
'_LT_AC_PROG_ECHO_BACKSLASH' => 1,
'include' => 1,
'_LT_AC_SYS_LIBPATH_AIX' => 1,
'_LT_AC_TRY_DLOPEN_SELF' => 1,
'LT_AC_PROG_SED' => 1,
'AM_ENABLE_SHARED' => 1,
'_LT_AC_LANG_GCJ_CONFIG' => 1,
'AC_ENABLE_SHARED' => 1,
'AC_LIBTOOL_SYS_HARD_LINK_LOCKS' => 1,
'_LT_REQUIRED_DARWIN_CHECKS' => 1,
'AC_ENABLE_STATIC' => 1,
'_LT_AC_TAGVAR' => 1,
'AC_LIBTOOL_LANG_F77_CONFIG' => 1,
'AM_CONDITIONAL' => 1,
'LTVERSION_VERSION' => 1,
'_LT_PROG_F77' => 1,
'_LT_PROG_CXX' => 1,
'AM_PROG_INSTALL_SH' => 1,
'm4_include' => 1,
'AC_PROG_EGREP' => 1,
'AC_PATH_MAGIC' => 1,
'_AC_AM_CONFIG_HEADER_HOOK' => 1,
'AM_MAKE_INCLUDE' => 1,
'_LT_AC_TAGCONFIG' => 1,
'LT_CMD_MAX_LEN' => 1,
'm4_pattern_forbid' => 1,
'_LT_LINKER_OPTION' => 1,
'AC_LIBTOOL_COMPILER_OPTION' => 1,
'AC_DISABLE_SHARED' => 1,
'_LT_COMPILER_BOILERPLATE' => 1,
'AC_LIBTOOL_WIN32_DLL' => 1,
'AC_LIBTOOL_SETUP' => 1,
'AC_PROG_LD_RELOAD_FLAG' => 1,
'AM_MISSING_HAS_RUN' => 1,
'LT_LANG' => 1,
'LT_OUTPUT' => 1,
'AC_LIBTOOL_DLOPEN_SELF' => 1,
'AC_LIBTOOL_PROG_LD_SHLIBS' => 1,
'_AM_CONFIG_MACRO_DIRS' => 1,
'AC_LIBTOOL_LINKER_OPTION' => 1,
'AC_LIBTOOL_CXX' => 1,
'LT_AC_PROG_RC' => 1,
'LT_INIT' => 1,
'LT_SYS_DLOPEN_SELF' => 1,
'LT_AC_PROG_GCJ' => 1,
'AM_DISABLE_STATIC' => 1,
'AM_DEP_TRACK' => 1,
'_LT_AC_PROG_CXXCPP' => 1,
'_AC_PROG_LIBTOOL' => 1,
'_AM_IF_OPTION' => 1,
'AC_PATH_TOOL_PREFIX' => 1,
'm4_pattern_allow' => 1,
'AC_LIBTOOL_F77' => 1,
'AM_SET_LEADING_DOT' => 1,
'LT_AC_PROG_EGREP' => 1,
'_LT_PROG_FC' => 1,
'_AM_DEPENDENCIES' => 1,
'AC_LIBTOOL_LANG_C_CONFIG' => 1,
'LTOPTIONS_VERSION' => 1,
'_LT_AC_SYS_COMPILER' => 1,
'AM_PROG_NM' => 1,
'AC_DEPLIBS_CHECK_METHOD' => 1,
'AM_SET_CURRENT_AUTOMAKE_VERSION' => 1,
'AC_LTDL_ENABLE_INSTALL' => 1,
'AC_LIBTOOL_SYS_DYNAMIC_LINKER' => 1,
'LT_PROG_GCJ' => 1,
'AM_INIT_AUTOMAKE' => 1,
'AC_DISABLE_STATIC' => 1,
'LT_PATH_NM' => 1,
'AM_MAINTAINER_MODE' => 1,
'_LT_AC_LOCK' => 1,
'_LT_AC_LANG_RC_CONFIG' => 1,
'LT_PROG_GO' => 1,
'AC_LIBTOOL_POSTDEP_PREDEP' => 1,
'AM_AUX_DIR_EXPAND' => 1,
'_LT_AC_LANG_F77_CONFIG' => 1,
'AC_LIBTOOL_PROG_COMPILER_NO_RTTI' => 1,
'_LT_COMPILER_OPTION' => 1,
'_AM_SET_OPTIONS' => 1,
'_AM_OUTPUT_DEPENDENCY_COMMANDS' => 1,
'AM_RUN_LOG' => 1,
'AC_LIBTOOL_SYS_OLD_ARCHIVE' => 1,
'AC_LIBTOOL_PICMODE' => 1,
'AM_PROG_LEX' => 1,
'AC_CHECK_LIBM' => 1,
'LT_PATH_LD' => 1,
'ACX_PTHREAD' => 1,
'AC_LIBTOOL_SYS_LIB_STRIP' => 1,
'_AM_MANGLE_OPTION' => 1,
'AC_LIBTOOL_SYS_MAX_CMD_LEN' => 1,
'AC_CONFIG_MACRO_DIR_TRACE' => 1,
'AM_SET_DEPDIR' => 1,
'_LT_CC_BASENAME' => 1
}
], 'Autom4te::Request' ),
bless( [
'1',
1,
[
'/usr/share/autoconf'
],
[
'/usr/share/autoconf/autoconf/autoconf.m4f',
'aclocal.m4',
'configure.ac'
],
{
'AM_PROG_F77_C_O' => 1,
'_LT_AC_TAGCONFIG' => 1,
'AC_INIT' => 1,
'm4_pattern_forbid' => 1,
'AC_CANONICAL_TARGET' => 1,
'_AM_COND_IF' => 1,
'AC_CONFIG_LIBOBJ_DIR' => 1,
'AC_SUBST' => 1,
'AM_EXTRA_RECURSIVE_TARGETS' => 1,
'AC_CANONICAL_HOST' => 1,
'AC_FC_SRCEXT' => 1,
'AC_PROG_LIBTOOL' => 1,
'AM_PROG_MKDIR_P' => 1,
'AM_INIT_AUTOMAKE' => 1,
'AC_CONFIG_SUBDIRS' => 1,
'AM_PATH_GUILE' => 1,
'AM_AUTOMAKE_VERSION' => 1,
'LT_CONFIG_LTDL_DIR' => 1,
'AC_CONFIG_LINKS' => 1,
'AC_REQUIRE_AUX_FILE' => 1,
'LT_SUPPORTED_TAG' => 1,
'm4_sinclude' => 1,
'AM_MAINTAINER_MODE' => 1,
'AM_NLS' => 1,
'AC_FC_PP_DEFINE' => 1,
'AM_GNU_GETTEXT_INTL_SUBDIR' => 1,
'_m4_warn' => 1,
'AM_MAKEFILE_INCLUDE' => 1,
'AM_PROG_CXX_C_O' => 1,
'_AM_MAKEFILE_INCLUDE' => 1,
'_AM_COND_ENDIF' => 1,
'AM_ENABLE_MULTILIB' => 1,
'AM_SILENT_RULES' => 1,
'AM_PROG_MOC' => 1,
'AC_CONFIG_FILES' => 1,
'include' => 1,
'LT_INIT' => 1,
'AM_GNU_GETTEXT' => 1,
'AM_PROG_AR' => 1,
'AC_LIBSOURCE' => 1,
'AC_CANONICAL_BUILD' => 1,
'AM_PROG_FC_C_O' => 1,
'AC_FC_FREEFORM' => 1,
'AC_FC_PP_SRCEXT' => 1,
'AH_OUTPUT' => 1,
'AC_CONFIG_AUX_DIR' => 1,
'_AM_SUBST_NOTMAKE' => 1,
'm4_pattern_allow' => 1,
'AM_PROG_CC_C_O' => 1,
'sinclude' => 1,
'AM_CONDITIONAL' => 1,
'AC_CANONICAL_SYSTEM' => 1,
'AM_XGETTEXT_OPTION' => 1,
'AC_CONFIG_HEADERS' => 1,
'AC_DEFINE_TRACE_LITERAL' => 1,
'AM_POT_TOOLS' => 1,
'm4_include' => 1,
'_AM_COND_ELSE' => 1,
'AC_SUBST_TRACE' => 1
}
], 'Autom4te::Request' )
);

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -1,3 +1,5 @@
# Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved
[Unit] [Unit]
Description=TACACS+ IPv4 Daemon Description=TACACS+ IPv4 Daemon
After=network.target After=network.target

View File

@ -1,4 +1,5 @@
#!/bin/bash #!/bin/bash
# Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved
# #
# /etc/rc.d/init.d/tac_plus # /etc/rc.d/init.d/tac_plus
# #

View File

@ -1,3 +1,4 @@
# Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved
Summary: TACACS+ Daemon Summary: TACACS+ Daemon
Name: tacacs+ Name: tacacs+
Group: Networking/Servers Group: Networking/Servers

View File

@ -7,6 +7,7 @@ Note: this is a DEVELOPER'S KIT. You probably shouldn't be using this
if you don't need source code. Instead, consider using CiscoSecure, if you don't need source code. Instead, consider using CiscoSecure,
Cisco's supported, commercial Tacacs+ daemon. Cisco's supported, commercial Tacacs+ daemon.
Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved
Copyright (c) 1995-1998 by Cisco systems, Inc. Copyright (c) 1995-1998 by Cisco systems, Inc.
Permission to use, copy, modify, and distribute this software for Permission to use, copy, modify, and distribute this software for
@ -2218,5 +2219,3 @@ link-compression
asyncmap asyncmap
x25-addresses (PPP/VPDN) x25-addresses (PPP/VPDN)
frame-relay (PPP/VPDN) frame-relay (PPP/VPDN)

View File

@ -1,3 +1,5 @@
// Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved
#ifndef VERSION_H #ifndef VERSION_H
#define VERSION_H #define VERSION_H

View File

@ -1,3 +1,5 @@
# Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved
Summary: TACACS+ Daemon Summary: TACACS+ Daemon
Name: tacacs Name: tacacs
Group: Networking/Servers Group: Networking/Servers
@ -5,7 +7,7 @@ Version: F4.0.4.28
Release: 6fb Release: 6fb
License: Cisco License: Cisco
Packager: Facebook Networking <neteng@fb.com> Packager: Facebook Networking <neteng@fb.com>
Vendor: Facebook Inc. Vendor: Facebook Inc.
Source: %{name}-%{version}.tar.gz Source: %{name}-%{version}.tar.gz