1. 09 May, 2012 2 commits
  2. 08 May, 2012 1 commit
  3. 07 May, 2012 5 commits
  4. 04 May, 2012 2 commits
  5. 03 May, 2012 10 commits
  6. 02 May, 2012 1 commit
  7. 01 May, 2012 6 commits
  8. 30 Apr, 2012 13 commits
    • Mike Hibler's avatar
      Clean up patch. · ab6c6c82
      Mike Hibler authored
      ab6c6c82
    • Mike Hibler's avatar
      Older FreeBSD requires an allocated buffer for realpath. · b7ad8d3b
      Mike Hibler authored
      Also fixup clean target.
      b7ad8d3b
    • Mike Hibler's avatar
      Remove hack to avoid mrouted on 9.0. · 91e3b608
      Mike Hibler authored
      Whatever the issue was, I seem to have avoided it through a combo of updating
      all the 9.0 stuff and reverting to an older mrouted port.
      91e3b608
    • Mike Hibler's avatar
      Fix one of the ns source files to include <net/bpf.h> · a4a2384d
      Mike Hibler authored
      A change in the BSD ports causes the libpcap port to be installed along
      with the "built in" version of libpcap. This caused the NS build to drag
      in the wrong version of bpf.h.
      a4a2384d
    • Mike Hibler's avatar
      Make xmlrpc clients work under python 2.7. · f2c58ece
      Mike Hibler authored
      f2c58ece
    • Mike Hibler's avatar
      Add a new class of scripts, SETUID_SUEXEC_SCRIPTS, and put spewlogfile in it. · 8a215268
      Mike Hibler authored
      These are setuid perl scripts that are run by "suexec" from the webserver.
      suexec disallows symlinks so we must make these hard links to runsuid.
      8a215268
    • Mike Hibler's avatar
      A little more scrutiny of the target directory in runsuid. · c30f3d9d
      Mike Hibler authored
      Also, get rid of message about "you must run post-install".
      c30f3d9d
    • Mike Hibler's avatar
      Argh! Syntax error... · 413b3b7c
      Mike Hibler authored
      413b3b7c
    • Mike Hibler's avatar
      A couple of apparently-needed hacks for FBSD9. · adcb9c24
      Mike Hibler authored
      Don't run mrouted, it seems to crash the kernel.
      
      Load ipdivert.ko at boot time, else the ipfw rule for NAT fails.
      adcb9c24
    • Mike Hibler's avatar
      More minor cleanups exposed by FBSD9 install. · ffb52cd0
      Mike Hibler authored
      Bogus param list for AddPerExperimentSwitchStack; can't have scalar args
      after a list arg.
      
      Missing mailing list TBERRORSEMAIL in defs-elabinelab. Caused redundant
      "testbed-ops" addresses in /etc/aliases.
      
      Weed out said redundant mailing list names when creating aliases during
      ops-install.
      
      named.reload script has gone away. Use rndc instead.
      ffb52cd0
    • Mike Hibler's avatar
      Hack to shutup perl 5.12 about unused SOUT variable. · 9d0a5368
      Mike Hibler authored
      The perl warnings can screw up some of our scripts which expect certain
      output; e.g., users of "setsitevar -c" expect to see the value of a sitevar
      and not some nagging perl message.
      
      Don't want to remove SOUT altogether since I don't know how that will
      affect the regular libtblog (which includes libtblog_simple). So I just
      threw in an "if (0)" which prints to SOUT...
      9d0a5368
    • Mike Hibler's avatar
      Fix a couple of nits. · 84572430
      Mike Hibler authored
      Perl 5.12.4 needs the same self-loader patch as 5.10.1.
      
      Doh! Forgot to turn off the debugging in runsuid.c. Hence it wasn't
      actually exec'ing anything!
      84572430
    • Mike Hibler's avatar
      First cut at FreeBSD 9.0 support. · 1f83c9c6
      Mike Hibler authored
      Upgrade to perl 5.12 means no more "suidperl" (setuid perl scripts).
      So we now have yet another little wrapper (security/runsuid.c) which
      runs suid and whose sole function is to exec the perl script of the
      same name in the /usr/testbed/suidbin directory. So a formerly setuid
      perl script install now goes like:
        create /usr/testbed/sbin/mkproj as a symlink to /usr/testbed/libexec/runsuid
        install real mkproj perl script in /usr/testbed/suidbin/mkproj
      When the setuid-wrapper is invoked under the name "mkproj" it execs
      /usr/testbed/suidbin/mkproj. We could almost use sudo for this purpose
      instead (see security/sudoers.in) but sudo loses one of the groups in
      the group list.
      
      /usr/include/utmp.h is gone in FreeBSD 9.0. In most places we nevered
      needed it, but in the one case that did (tg source), it just used a
      couple of the constants exposed (UT_*) and not the struct, so I just
      hardwired values for the constants.
      
      The usual tweakage to the install stuff to reflect yet anothe...
      1f83c9c6