Age | Commit message (Collapse) | Author |
|
vty.
|
|
* vtysh.c: (vtysh_client_execute) fix the sync fix. The 4th and
final sync byte is not ASCII NULL, it's actually a status integer,
and only ASCII NULL if CMD_SUCCESS is returned by daemon.
Fix pointed out by Hasso.
|
|
|
|
|
|
|
|
|
|
* vtysh.c: (vtysh_client_execute) trailling NULLs can be arbitrarily
split across reads, dont get confused by this and block forever.
|
|
* Makefile.am: remove zebra/irdp.c from list - dead.
* extract.pl.in: Substitute in the autoconf srcdir/builddir paths
for includes to cpp.
|
|
* Makefile.am: extract.pl isnt in srcdir, it's always in the
builddir.
* extract.pl.in: match on end of filenames, filename could contain
various preamble due to out of tree builds.
|
|
|
|
conflict the ones in lib/sigevent.c. Fixes compiling with --disable-shared.
|
|
|
|
|
|
|
|
|
|
reorganization of this spagetti will follow soon.
|
|
|
|
2004-07-23 Greg Troxel <gdt@poblano.ir.bbn.com>
* */Makefile.am: Use ../dir/libfoo.la, rather than "-L../dir
-lfoo", to avoid linking against installed libraries from a
previous version.
* {lib,ospfd,ospfclient}/Makefile.am: explicitly define the shared
library version number to be 0.0
* configure.ac: remove spurious , so extract.pl is chmod'd +x.
* HACKING: explain shared library versioning rules
|
|
|
|
libzebra and libospfapiclient are now built shared, and linked shared
with the daemons. This reduces the memory needed when running
multiple daemons; each daemon is at least 150k smaller. Static
libraries are still built, and libtool should use them on platforms
which don't have shared libaries. As with autoconf, the user of a
distribution does not need libtool; one just needs that to build from
CVS.
libospf.a is still a non-shared library, and still installed, not
because that makese sense, but because I don't understand why it is
the way it is now.
Note that the tree was tagged 'libtool-before' just before this commit.
|
|
if --enable-vtysh, look for perl, and substitute into vtysh/extract.pl,
rather than assuming perl is in /usr/bin
Look for tputs in libtermcap and libcurses, in addition to
previously-searched locations. Follow GNU readlines search order.
Clean up --enable-vtysh definition in configure.ac.
Add vtysh/vtysh_cmds.c to CLEANFILES. This is important if
extract.pl fails, so that 'make clean && make' will regenerate
vtysh_cmds.c rhather than using the old zero-length file.
|
|
|
|
|
|
|
|
* replace -e with -c
* don't save command in history if last line is the same one
* doc/help fixes
|
|
* (many) reference <lib/version.h> rather than "version.h",
because version.h is a generated file and not present in the
source tree when using objdir builds.
(committed by gdt)
works fine with normal builds; didn't try objdir
|
|
from vtysh ([quagga-dev 932]).
|
|
* vtysh_config.c: Fix up strlen to use correct string.
|
|
without message. Fingers worked faster than brain ;(.
|
|
|
|
* configure.ac (and everywhere a regular file is opened for
writing): use file permissions from configure rather than
compiled-in umask.
|
|
files, defaulting to sysconfdir (matching previous behavior).
This is needed to support (cleanly) NetBSD pkgsrc, which requires that
example config files go in $(prefix)/share/examples/pkgname, rather
than in $(prefix)/etc/pkgname.
|
|
* vtysh/Makefile.am: vtysh_cmd.c rebuild was broken because it
depended against source files without specification, i.e. it
used ../zebra instead of $(top_srcdir)/zebra.
|
|
* vtysh/Makefile.am: do not include vtysh_cmd.c in dists, its
configure dependent. (still need to find a way to make building of
it dependent on configure options or include all commands.)
|
|
* vtysh/vtysh_user.c: include lib/version.h, for QUAGGA_PROGNAME.
|
|
* lib/version.h: Add QUAGGA_PROGNAME
* lib/smux.c: hardcoded zebra/quagga -> QUAGGA_PROGNAME
* lib/command.c: ditto
* vtysh/vtysh_user.c: ditto
|
|
* vtysh/Makefile.am: explicitely list the files required for
vtysh_cmd.c to be generated, to minimise spurious rebuilds.
|
|
|
|
* Merge of zebra privileges
|
|
|
|
|
|
same idea as in lib/distribute.c to allow extract.pl to pick up commands
for vtysh.
|
|
|
|
Add the 'no interface' command to all the daemons and vtysh. now it's
possible to delete interface from routeing daemons as well only if it
doesn't exist in os.
http://hasso.linux.ee/zebra/ht-no_interface_fix.patch
|
|
|
|
http://hasso.linux.ee/zebra/ht-no_interface-23052003.patch
Add the 'no interface' command to all the daemons and vtysh.
|
|
Subject: [zebra 19125] vtysh bogus perms check
vtysh checks that the zebra.vty socket uid is == to its own euid, this is
bogus - let the kernel decide whether permissions match, vtysh shouldnt
try second guess. (this becomes noticeable when neither zebra nor vtysh
are run as root :) )
|
|
Subject: [zebra 19120] [PATCH] Vtysh
I really don't know how I could miss that one. Opsf(6)d have
prefix-lists as well.
|
|
|
|
Subject: [zebra 18947] [PATCH] openpam patch
configure support for openpam (freebsd5.0)
|