First cut at FreeBSD 9.0 support.
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 another set of packages!
Showing
- GNUmakefile.in 1 addition, 0 deletionsGNUmakefile.in
- GNUmakerules 26 additions, 4 deletionsGNUmakerules
- Makeconf.in 1 addition, 0 deletionsMakeconf.in
- clientside/event/trafgen/tg.patch 42 additions, 23 deletionsclientside/event/trafgen/tg.patch
- clientside/tmcc/common/config/rc.mkelab 13 additions, 1 deletionclientside/tmcc/common/config/rc.mkelab
- install/installvars.pm.in 13 additions, 5 deletionsinstall/installvars.pm.in
- install/phases/sperl 12 additions, 0 deletionsinstall/phases/sperl
- install/ports/emulab-boss/Makefile 11 additions, 8 deletionsinstall/ports/emulab-boss/Makefile
- install/ports/emulab-boss/Makefile.emulab 12 additions, 1 deletioninstall/ports/emulab-boss/Makefile.emulab
- install/ports/emulab-fs/Makefile 4 additions, 12 deletionsinstall/ports/emulab-fs/Makefile
- install/ports/emulab-ops/Makefile 10 additions, 7 deletionsinstall/ports/emulab-ops/Makefile
- install/ports/emulab-protogeni/Makefile 9 additions, 20 deletionsinstall/ports/emulab-protogeni/Makefile
- install/ports/emulab-py-m2crypto/distinfo 2 additions, 0 deletionsinstall/ports/emulab-py-m2crypto/distinfo
- install/ports/emulab-tftp-hpa/Makefile 1 addition, 1 deletioninstall/ports/emulab-tftp-hpa/Makefile
- install/ports/net-snmp4/Makefile 3 additions, 1 deletioninstall/ports/net-snmp4/Makefile
- install/ports/net-snmp4/files/patch-agent-emulab 24 additions, 0 deletionsinstall/ports/net-snmp4/files/patch-agent-emulab
- install/ports/ports-install 1 addition, 1 deletioninstall/ports/ports-install
- install/ports/ulsshxmlrpcpp/Makefile 1 addition, 1 deletioninstall/ports/ulsshxmlrpcpp/Makefile
- install/ports/ulsshxmlrpcpp/distinfo 3 additions, 3 deletionsinstall/ports/ulsshxmlrpcpp/distinfo
- ipod/GNUmakefile.in 5 additions, 2 deletionsipod/GNUmakefile.in
Loading
Please register or sign in to comment