- 16 Jan, 2018 1 commit
-
-
Leigh Stoller authored
Pubsub libraries are now SSL enabled by default, so that we can talk SSL from a perl client. To do this we need another entry point from SWIG into the event code, event_register_withssl. At the same time there is a new entry point called event_set_sockbufsizes that calls a new pubsub entry point pubsub_set_sockbufsizes. The problem is that current swig generates code that does not compile, and since I don't know nothing about swig, I just hand crafted the two new routines that needed in event_wrap.c and the few extra lines that go into event.pm. Also change all the link lines to include the ssl/crypto libraries when linking.
-
- 09 Jan, 2018 1 commit
-
-
Leigh Stoller authored
-
- 21 Sep, 2015 1 commit
-
-
Mike Hibler authored
-
- 24 Jun, 2015 1 commit
-
-
Mike Hibler authored
Big changes a comin' to try to get us back on the supported path. * perl 5.14 -> 5.20 * mysql 5.1 -> 5.5 * php 5.4 -> 5.6 * tcl 8.4 -> 8.6 * number of vim patches up to 683. Not everything tested yet, but getting there. Specific changes: * New install/ports directory. New packages for FreeBSD 10.1 are version 6.1. Cleaned up the ports' Makefiles getting rid of conditionals for all older versions. Also got rid of ports we don't use. Old ports tree is now install/oports. * Install script changes. Make sure /usr/bin/perl and /usr/local/bin/python links exist. Ports no longer make these but we use them in '#!'. Changes to mysql install and startup script--mysql has changed a LOT since we did the support in 4.x. Create syslog entry for named.log. Make sure php.conf loads the legacy "mysql" module rather than using "mysqli". * Elabinelab support. reflect new packages, remove all old packages (except perl) before installing new versions, install "extras" package, make sure sendmail cert get regenerated, make sure /usr/bin/perl link exists, make sure /usr/local/bin/python link exists. * Custom ports. otcl and xerces-c2 have both been removed from the ports tree as of Q2 2015. ipmitool-devel is a port for the latest version of ipmitool. The FreeBSD port is still a rev behind here. We need the newer version as it appears to make our SOL consoles more stable. * Random. Fixed prerender as neato output has changed again. Tweak to sslxmlrpc_server to reflect change in an underlying library. Tweak to db/libdb.py.in to turn on autocommit which matters now as mysql 5.5 will hang on a metadata lock otherwise. Remade eventsys perl/python stubs with SWIG 2.0. SWIG 1.3 did not produce working stubs for perl 5.20. Specific un-changes: * Apache is still at 2.2. I lack the guts and skilz to upgrade to 2.4. * Xerces library is still at (now unsupported) 2.8. Assign will need changes before we can move to 3.x. * Python is still 2.7. Thanks to Keith Sklower for all the work he did converting ports!
-
- 15 Apr, 2013 1 commit
-
-
Leigh Stoller authored
we unregister in an END block, we have to worry about ordering (and get bit by obscure errors).
-
- 24 Sep, 2012 1 commit
-
-
Eric Eide authored
This commit is intended to makes the license status of Emulab and ProtoGENI source files more clear. It replaces license symbols like "EMULAB-COPYRIGHT" and "GENIPUBLIC-COPYRIGHT" with {{{ }}}-delimited blocks that contain actual license statements. This change was driven by the fact that today, most people acquire and track Emulab and ProtoGENI sources via git. Before the Emulab source code was kept in git, the Flux Research Group at the University of Utah would roll distributions by making tar files. As part of that process, the Flux Group would replace the license symbols in the source files with actual license statements. When the Flux Group moved to git, people outside of the group started to see the source files with the "unexpanded" symbols. This meant that people acquired source files without actual license statements in them. All the relevant files had Utah *copyright* statements in them, but without the expanded *license* statements, the licensing status of the source files was unclear. This commit is intended to clear up that confusion. Most Utah-copyrighted files in the Emulab source tree are distributed under the terms of the Affero GNU General Public License, version 3 (AGPLv3). Most Utah-copyrighted files related to ProtoGENI are distributed under the terms of the GENI Public License, which is a BSD-like open-source license. Some Utah-copyrighted files in the Emulab source tree are distributed under the terms of the GNU Lesser General Public License, version 2.1 (LGPL).
-
- 01 Aug, 2012 1 commit
-
-
Mike Hibler authored
NOTE: currently only for FreeBSD 7.3 installs because that is the only set of boss/ops/fs packages I have built so far! This mostly involved minor changes to event agents. Too often we were passing a pointer to a "long" to *get_int32, which on a 64-bit x86 OS would fill the wrong half of a 64-bit variable. There was also one instance of TCL code that had to be tweaked to account for 32- vs 64-bit. These changes also required regeneration of SWIG stubs and an ugly change to the SWIG generated code to use va_copy rather than direct assignment in a couple of places. Also related to SWIG is ensuring that the components that go into the perl/python stub .so files are built with PIC. The amd64 linker requires this. The meta-ports had to be changed to reflect that linuxthreads and ulsshxmlrpcpp don't work on amd64. The former had little effect as we had mostly eliminated uses of linuxthreads already. The one thing that did change was that we do not build nfstrace on amd64 (and we don't currently use this anyway). Removing ulsshxmlrpcpp required switching to the new event scheduler (event/new_sched) that Ryan did awhile back. Note that it is only "new" in the sense that it uses a standard XMLRPC package, there should be no functional differences. However, to be safe we only use new_sched as the standard scheduler on 64-bit server installs. Finally, added support to elabinelab setup to do a 64-bit server install. Just specify FBSD73-64-STD as the boss/ops/fs osid and rc.mkelab should do the rest. That is pretty much it other than some random nits here and there.
-
- 27 Jul, 2011 1 commit
-
-
Leigh Stoller authored
clientside requres it to be there. As noted in previous revision, the full emulab build always includes the clientside subdir, but a clientside build will not necessarily include the rest of Emulab.
-
- 19 Jul, 2011 1 commit
-
-
Leigh Stoller authored
lib subdir.
-
- 29 Apr, 2011 1 commit
-
-
Leigh Stoller authored
This reverts commit 0a3ccf1f.
-
- 22 Apr, 2011 1 commit
-
-
Leigh Stoller authored
lib subdir.
-
- 09 Feb, 2010 1 commit
-
-
Mike Hibler authored
-
- 23 Apr, 2007 1 commit
-
-
Leigh Stoller authored
-
- 02 May, 2006 1 commit
-
-
Kirk Webb authored
Commit perl event wrapper code generated by the new Swig 1.3. Also fix up the makefile to do a better job of detecting the perl version when compiling these.
-
- 07 Feb, 2006 1 commit
-
-
Leigh Stoller authored
-
- 19 Aug, 2004 1 commit
-
-
Leigh Stoller authored
* Add EventRegiser() function to wrap up event_register. Takes a host and a port number, and constructs the URL for the caller. Not really a big change of course. * Change call to event_register(); Now connect on localhost:BOSSEVENTPORT.
-
- 27 Jul, 2004 1 commit
-
-
Leigh Stoller authored
return instead.
-
- 20 May, 2004 1 commit
-
-
Leigh Stoller authored
the tail file of course. Called from TBdbfork() in libdb, EventFork resets the event handle so that the child does a reconnect. Note that I do not disconnect in the child since I have no idea what that is going to do to the parents connection to the elvind, as Elvin makes no mention of what to do in the presence of a process that forks after connecting to the event server. At the least, this avoids a bunch of warnings and errors from vnodesetup!
-
- 14 Jan, 2004 1 commit
-
-
Leigh Stoller authored
on configured variables and libraries.
-
- 10 Nov, 2003 1 commit
-
-
Robert Ricci authored
Leigh's recent security enhancements.
-
- 27 Feb, 2003 1 commit
-
-
Robert Ricci authored
-
- 11 Apr, 2002 1 commit
-
-
Robert Ricci authored
which registering with the event system twice from the same process causes a core dump. EventSend use to register once per call, but now it keeps the connection open between calls. It gets unregistered in an END{} block.
-
- 02 Apr, 2002 1 commit
-
-
Robert Ricci authored
the delivery of multiple notifications. So, instead of a single notification, which could result in missed ones, we now maintain a queue.
-
- 01 Apr, 2002 1 commit
-
-
Robert Ricci authored
basically work like the libdb.pm functions of the same name (and in fact much of the code was stolen from there.) Provides a simple single function call to send events. Intended for use in scripts whose primary purpose is _not_ to interface with the event system, like power and node_reboot. If more control/efficiency is required (for example, these functions reconnect to the event system every time they're called) , it's better to use the C-like API. Example call: EventSendFatal(objtype => "TBEXAMPLE", eventtype => $ARGV[0], host => "*" );
-
- 29 Mar, 2002 1 commit
-
-
Robert Ricci authored
broken. Also, it made me slightly uneasy that there was no way to prevent swig from putting one of its generated files in sorce directory. So, I've just checked in the two major files that get generated by SWIG, so that the make rule that runs it never gets invoked. One of the reasons for doing this is that swig generates slightly broken code when the -exportall (which does perl module exports correctly) arugment is given. A very minor amount of manual tweaking of the generated .pm file can fix this problem. So, the checked in copy of event.pm has these tweaks applied. As a result of all of this, exports work correctly in the event perl module, so the hacky practice of putting your program in the event namespace is no longer necessary.
-