Log of /trunk/grid-mw-security/mwsec-utils
Directory Listing
Revision
2477 -
Directory Listing
Modified
Mon Jan 9 10:34:56 2012 UTC
(10 years, 4 months ago)
by
msalle
Removing old link
Revision
2476 -
Directory Listing
Modified
Mon Jan 9 10:26:09 2012 UTC
(10 years, 4 months ago)
by
msalle
Adding macros to test for dynamic library suffix.
Revision
2471 -
Directory Listing
Modified
Fri Jan 6 10:34:26 2012 UTC
(10 years, 4 months ago)
by
msalle
Adding llgt_test: a test tool for running the lcas-lcmaps-gt4-interface.
Revision
2468 -
Directory Listing
Modified
Fri Dec 23 10:30:28 2011 UTC
(10 years, 5 months ago)
by
msalle
Original Path:
trunk/grid-mw-security/glexec/util
Numerous fixes to deal with the reorganised saml2-xacml2-c-lib:
- it automatically figures out if there is a gsoap tarball shipped, if so it
uses it, otherwise use system default
- gsoap-prefix sets --with-gsoap=<path>, also set in configflag file
- component is not renamed inside the script, but an SVN tag can be specified as
-C saml2_xacml2_c_lib,tag:tags/xacml/1_1_0
Revision
2430 -
Directory Listing
Modified
Thu Sep 22 10:24:13 2011 UTC
(10 years, 8 months ago)
by
msalle
Original Path:
trunk/grid-mw-security/glexec/util
Remove extra lcmaps_term calls (already called by the lcmaps_return_*
functions). Add explicit call of va_end. Add (commented-out) calls to setvbuf to
change to unbuffered output.
Revision
2250 -
Directory Listing
Modified
Mon Apr 4 20:06:27 2011 UTC
(11 years, 1 month ago)
by
okoeroo
Original Path:
trunk/grid-mw-security/glexec/util
Able to build most to all interesting permutation of the LCAS and LCMAPS configuration file. (Yes, this is a lot of code monkey work)
Revision
2244 -
Directory Listing
Modified
Mon Apr 4 10:37:31 2011 UTC
(11 years, 1 month ago)
by
okoeroo
Original Path:
trunk/grid-mw-security/glexec/util
Added the ll_certification.sh script. The script revolves around the llrun tool which is a stand-alone tool to test LCAS and LCMAPS. This new script will try out a set of configurations to assess if LCAS, LCMAPS and associated plug-ins are working as designed
Revision
2205 -
Directory Listing
Modified
Thu Feb 24 10:06:22 2011 UTC
(11 years, 3 months ago)
by
msalle
Original Path:
trunk/grid-mw-security/glexec/util
Make failing dist tarball creation a non-fatal and separate error.
Hence dependencies can still be successful. It will still be added to the failed
components file to ease rebuilding.
Also update the default svn root to the non-https Nikhef ndpf svn.
Revision
2174 -
Directory Listing
Modified
Wed Feb 2 15:19:09 2011 UTC
(11 years, 3 months ago)
by
msalle
Original Path:
trunk/grid-mw-security/glexec/util
Rename voms component name into voms instead of org.glite.security.voms, for SVN
and git. Also remove remaining remnants of build.common-cpp.
Revision
2169 -
Directory Listing
Modified
Wed Feb 2 10:52:10 2011 UTC
(11 years, 3 months ago)
by
msalle
Original Path:
trunk/grid-mw-security/glexec/util
- Update usage/help text, in particular to clarify the different supported
(configure) flags, also number of minor clarifications.
- fix voms: no longer need to override default prefix.
- fix bug in lcas-interface: forgot to set the checkout directory.
- fix pep-api: new branch 2.0 does not need to override the prefix and datadir.
Revision
2164 -
Directory Listing
Modified
Tue Feb 1 10:00:46 2011 UTC
(11 years, 3 months ago)
by
msalle
Original Path:
trunk/grid-mw-security/glexec/util
Add more general git support (gitget function)
- gitrepo: and tag: are used to clone and checkout a git repository.
- voms now defaults to git:
* tag starting with glite-security-voms triggers CVS
* tag svn triggers SVN
* other tag git using that tag.
Fix bug when forgetting to specify a component as first entry in a configline.
Revision
2162 -
Directory Listing
Modified
Mon Jan 31 16:09:14 2011 UTC
(11 years, 3 months ago)
by
msalle
Original Path:
trunk/grid-mw-security/glexec/util
Treat voms (git) on same footing as our own compo since it now properly
conformsto the autotools.
Removal of special voms= support, since it only complicates.
Addition of make dist for voms (for git).
Fix of old SVN (formerly devel) and CVS versions of VOMS:
- set libdir correctly
- use either ${prefix}/glite/security or ${myincludedir} (when specified)
Properly use $PROG.
Revision
2160 -
Directory Listing
Modified
Sun Jan 30 17:40:33 2011 UTC
(11 years, 3 months ago)
by
msalle
Original Path:
trunk/grid-mw-security/glexec/util
Number of bug fixes:
- removal globus libdir: it's almost impossible to hack around the hard-coded
/lib
- voms install location is now read in from file
- rename gridsite_core module into gridsite, it wasn't consistent anyway
- only save install locations for globus gridsite and voms when they fail:
they're unimportant for other compos
- properly return/propagate globus exit value.
- fix mistake in setting old-style voms_includes
- remove globus flavor from old-voms, it would not build libvomsapi.so, only
flavoured ones and lcmaps etc. would fail.
- set correct libdir for gsoap configure.
Now builds on RH-5 old-style glite and new-style EPEL
Revision
2156 -
Directory Listing
Modified
Fri Jan 28 13:45:46 2011 UTC
(11 years, 3 months ago)
by
msalle
Original Path:
trunk/grid-mw-security/glexec/util
Many bugfixes, some new features:
- jobrep_api and lcmaps_plugins_jobrep
- make dist support, into DISTDIR which can be set using -F
Only voms doesn't properly produce a dist tarball.
- default DESTDIR is /tmp/build
- removal of lcmaps .la files.
- updates in help text.
- always build in known_targets order, and skip duplicates (instead of error)
- when building lcmaps/lcas don't build lcmaps/lcas-interface
- support for libdir overrides.
- split cvsget into cvsget and cvswebget
- remove obsolete copy_files()
- add warnings about 'created file' to failedfile.txt and configfile.txt
- support for building externals gridsite, globus and voms in separate
directories.
- properly deal with lib vs lib64 in gridsite, voms and globus.
- single flags: not combined lcmaps_flags but separate lcmaps_prefix_flag etc.
- move from exit to myexit, which removes temp file.
Revision
2155 -
Directory Listing
Modified
Tue Jan 25 17:12:52 2011 UTC
(11 years, 4 months ago)
by
msalle
Original Path:
trunk/grid-mw-security/glexec/util
Major rework from glite_from_source.sh. Still in progress.
New features:
- uses the new mwsec svn repo by default.
- installs in DESTDIR: sets correct flags for other components: can use to
package tools.
- saves configure flags for reuse
- saves failed component name for reuse using -i
- can import flags from file and command line (-f and -F)
- can now specify tags etc. on commandline (-C)
Revision
2117 -
Directory Listing
Modified
Thu Dec 16 11:12:55 2010 UTC
(11 years, 5 months ago)
by
okoeroo
Original Path:
trunk/grid-mw-security/glexec/util
Moved the lcmaps function to lcmaps_old.
The new (plain) lcmaps function will NOT copy the .m4 files from the common_cpp directory.
Further more the configure options are tailored to use the Globus non-threaded flavor (if a flavor is to be selected) and the VOMS library location is set.
Revision
2114 -
Directory Listing
Modified
Tue Nov 30 16:33:16 2010 UTC
(11 years, 5 months ago)
by
msalle
Original Path:
trunk/grid-mw-security/glexec/util
- fix for non-existing -n option for old cp: never fail on copy, just ignore
return value.
- removing common_cpp deps on lcmaps and lcmaps_interface
Revision
2093 -
Directory Listing
Modified
Thu Nov 18 14:26:40 2010 UTC
(11 years, 6 months ago)
by
msalle
Original Path:
trunk/grid-mw-security/glexec/util
- Minor update of comments, reordering etc.
- explicitly calling dlerror() before loading symbols to make sure we cannot
fail on an old error (see dlsym manpage).
Revision
2089 -
Directory Listing
Modified
Wed Nov 17 15:34:32 2010 UTC
(11 years, 6 months ago)
by
msalle
Original Path:
trunk/grid-mw-security/glexec/util
New version of the previous lcaslcmaps_getaccount_cli.c:
- code cleanup
- new lcmaps api support: disabling voms
- support for different syslog facility.
- adding a build.sh script to automat(g)ically build cross-platform
Revision
2088 -
Directory Listing
Modified
Sat Nov 13 17:23:49 2010 UTC
(11 years, 6 months ago)
by
okoeroo
Original Path:
trunk/grid-mw-security/glexec/util
Added the use of the lcmaps_account_info_clean() function. It will be dynamically loaded and executed when the LCMAPS framework run is done, or when an error occured and the account information needs to be cleaned up.
It will free the lcmaps_account_info_t struct.
Revision
2076 -
Directory Listing
Modified
Tue Nov 2 16:20:43 2010 UTC
(11 years, 6 months ago)
by
okoeroo
Original Path:
trunk/grid-mw-security/glexec/util
Updated active development version of SCAS to the latest tag. Which solve the build issue that the man page will not be overwritten by GNU install.
Revision
2073 -
Directory Listing
Modified
Tue Nov 2 12:22:02 2010 UTC
(11 years, 6 months ago)
by
msalle
Original Path:
trunk/grid-mw-security/glexec/util
- glite_from_source.sh:
lcmaps_interface no longer needs globus paths, since it no longer needs
globus or voms. Only needs the m4 macros for the AC_DEFUNC() definitions in
the configure.
- OSG_glite32cert.config:
- moving glexec tag to glite32cert part.
- updating lcmaps(-interface) version to 1.4.25-1
- downgrading voms version to 1.9.17-1 (due to 2 voms bugs)
- glite32cert.config:
- updating glexec to new
- downgrading voms version to 1.9.17-1 (due to 2 voms bugs)
- glite32dev.config:
- updating glexec, lcmaps and lcmaps_interface to latest versions.
Revision
2065 -
Directory Listing
Modified
Thu Oct 28 09:01:57 2010 UTC
(11 years, 7 months ago)
by
msalle
Original Path:
trunk/grid-mw-security/glexec/util
- few bug fixes:
removal didn't work, because gLExec 0.8 (and 0.7) no longer stays in cwd if
chdir to homedir fails, but *returns* to cwd. If that fails (e.g. permission
denied) gLExec does a cd to /. Hence securedir must in any case be 711 when
trying to remove tmpdir. Furthermore the argument to rmdir and rm -rf must
be absolute.
- adding -v option: version
- updating help to show all possible options, including -h, -f and the new -v
- fixing problem with options needing an argument, but not getting one: shift 2
failed resulting in an endless loop.
- explicitly adding a path and having script figuring out the location of all
the tools.
- adding variable for rmdir.
- changing one missing chmod into $chmod
Revision
2062 -
Directory Listing
Modified
Thu Oct 21 15:03:37 2010 UTC
(11 years, 7 months ago)
by
msalle
Original Path:
trunk/grid-mw-security/glexec/util
- automatically making source, build and globus directories absolute by adding
cwd. Updating usage() accordingly.
- adding warning() convenience function.
Revision
2061 -
Directory Listing
Modified
Thu Oct 21 13:59:47 2010 UTC
(11 years, 7 months ago)
by
msalle
Original Path:
trunk/grid-mw-security/glexec/util
- adding voms_devel() which is triggered when specifying special voms tag devel
- updating glite32dev to actually use the voms_devel (as used in
glite_branch_3_2_dev
Revision
2052 -
Directory Listing
Modified
Wed Oct 20 09:04:27 2010 UTC
(11 years, 7 months ago)
by
msalle
Original Path:
trunk/grid-mw-security/glexec/util
- included error function
- error when target is included >1
- usage() prints possible exit values
- glexec pre-0.8 and newstyle both build, automatically switches based on given
tag.
- saml2-xacml2-c-lib looks for gsoaps-2.7*.tar.gz, if present: unpack, otherwise
assume it's included in the source. This allows building both 0.0.* and 0.1.*
versions.
- ees svnroot autosetting updated: when no tag or HEAD is given, use trunk/
otherwise use tags/
Revision
2048 -
Directory Listing
Modified
Tue Oct 19 15:00:00 2010 UTC
(11 years, 7 months ago)
by
msalle
Original Path:
trunk/grid-mw-security/glexec/util
- adding possibility to print supported etics download platforms: -p help
- clarifying usage() text
- print warning text when no targets are specified
Revision
2047 -
Directory Listing
Modified
Mon Oct 18 10:41:47 2010 UTC
(11 years, 7 months ago)
by
msalle
Original Path:
trunk/grid-mw-security/glexec/util
- fix lcmaps_interface: it needs globus (unfortunally), now it matches etics
again.
- print total build time in seconds.
Revision
2041 -
Directory Listing
Modified
Fri Oct 15 12:36:56 2010 UTC
(11 years, 7 months ago)
by
msalle
Original Path:
trunk/grid-mw-security/glexec/util
- cvsget/svnget/get now can unpack in a custom dir: needed for lcmaps_interface
which uses same lcmaps source as lcmaps itself.
- when downloading via webcvs always remove old source dir.
Revision
2038 -
Directory Listing
Modified
Thu Oct 14 14:16:13 2010 UTC
(11 years, 7 months ago)
by
msalle
Original Path:
trunk/grid-mw-security/glexec/util
- svn checkout needs explicit download directory.
- fix copy&paste typo for lcmaps_plugins_voms
- add missing setdeps for lcas_interface target
Revision
2033 -
Directory Listing
Modified
Thu Oct 14 12:23:58 2010 UTC
(11 years, 7 months ago)
by
msalle
Original Path:
trunk/grid-mw-security/glexec/util
First checkin glexec_from_source new style, adding
- config file
- input file for targets
- redirect of std{err,out}
- ...
Revision
1980 -
Directory Listing
Modified
Thu Sep 30 13:05:16 2010 UTC
(11 years, 7 months ago)
by
dennisvd
Original Path:
trunk/grid-mw-security/glexec/util
Oscar gets a cookie for finding a copy+paste bug; loadlcmaps with the wrong mode.
LCMAPS_RETURN_ACCOUNT_WITHOUT_GSI instead of LCMAPS_RETURN_POOLINDEX_WITHOUT_GSI.
Revision
1949 -
Directory Listing
Modified
Mon Sep 27 20:35:52 2010 UTC
(11 years, 8 months ago)
by
dennisvd
Original Path:
trunk/grid-mw-security/glexec/util
Extended to include the without_gsi interface calls:
- added command-line option to select mode
- added command-line options to set DN and FQAN
- renamed the lcmaps functions that were under control
of #ifdef blocks to mode specific ones
- conditional loading of symbols from lcmaps library depending on mode
Yet untested.
Revision
1947 -
Directory Listing
Modified
Fri Sep 24 13:42:55 2010 UTC
(11 years, 8 months ago)
by
okoeroo
Original Path:
trunk/grid-mw-security/glexec/util
Split the interfaces by using three different defines:
Used by gLExec:
#define LCMAPS_RETURN_ACCOUNT_FROM_PEM
Use by Without GSI:
#define LCMAPS_RETURN_POOLINDEX_WITHOUT_GSI
#define LCMAPS_RETURN_ACCOUNT_WITHOUT_GSI
Revision
1927 -
Directory Listing
Modified
Tue Sep 21 13:54:45 2010 UTC
(11 years, 8 months ago)
by
msalle
Original Path:
trunk/grid-mw-security/glexec/util
Two fixes:
- mktemp only uses absolute path templates, including the main one for
targetdir. gLExec tries a chmod to the target homedir, so the directory would
have been made there, not in stickydir.
- temporarily open securedir for mktemp, because glexec now runs in / not in the
cwd of the calling user.
Revision
1926 -
Directory Listing
Modified
Tue Sep 21 13:22:27 2010 UTC
(11 years, 8 months ago)
by
msalle
Original Path:
trunk/grid-mw-security/glexec/util
- making sure all paths are absolute, hopefully portable enough. For glexec
itself, the location will be based on GLEXEC_LOCATION if set, or alternatively
GLITE_LOCATION if that is set, or /opt/glite in other cases.
Note that gLExec does not use PATH since it calls execve which ignores PATH.
Note: it seems the current setup is broken, since securedir is 0700, which means
any subdir is unaccessible?!
Revision
1900 -
Directory Listing
Modified
Mon Aug 30 17:03:06 2010 UTC
(11 years, 8 months ago)
by
okoeroo
Original Path:
trunk/grid-mw-security/glexec/util
This fix will address GGUS ticket 58560: "glite-GLEXEC_wn makes uses of GLEXEC_LOCATION instead of GLITE_LOCATION"
The script will build-up a BASEDIR. The GLEXEC_LOCATION will be used first, with a fall back to GLITE_LOCATION and if that is not set, the "/opt/glite" directory will be used as a best guess.
Revision
1859 -
Directory Listing
Modified
Mon Jul 19 11:47:53 2010 UTC
(11 years, 10 months ago)
by
msalle
Original Path:
trunk/grid-mw-security/glexec/util
Making the getMajorVersion() lookup almost failsafe...:
- It first looks in the global symbols using dlopen(NULL,...).
This works when compiled with
-rdynamic
or
-L. -lvomsfix
- It then tries to dlopen libvomsfix.so.
- When that fails, it tries to dlopen liblcas.so
Revision
1858 -
Directory Listing
Modified
Mon Jul 19 10:22:33 2010 UTC
(11 years, 10 months ago)
by
msalle
Original Path:
trunk/grid-mw-security/glexec/util
By compiling with -rdynamic or linking with -export-dynamic, we can remove the
external vomsfix library and instead include the missing symbols internally.
Revision
1838 -
Directory Listing
Modified
Tue Jul 6 14:33:48 2010 UTC
(11 years, 10 months ago)
by
msalle
Original Path:
trunk/grid-mw-security/glexec/util
Moving the voms dirty hack fixes to a separate c file.
By compiling those into a dynamic library we use it at build time and
prevent the missing symbols even without linking/loading LCAS.
Revision
1836 -
Directory Listing
Modified
Tue Jul 6 09:45:31 2010 UTC
(11 years, 10 months ago)
by
msalle
Original Path:
trunk/grid-mw-security/glexec/util
- fix bug for optind: only decrease for -l and -L when no options were given.
- do proper cast at dlsym
- default: no external headers.
- define dummy getMajorVersionNumber() etc. to fix bug with VOMS
Revision
1835 -
Directory Listing
Modified
Tue Jul 6 08:54:36 2010 UTC
(11 years, 10 months ago)
by
msalle
Original Path:
trunk/grid-mw-security/glexec/util
- re-typedef-fing lcas_request_t
- almost re-typedef-fing lcmaps_account_t
- making both easily switchable between using the local typedef, or using the
header file.
Revision
1834 -
Directory Listing
Modified
Tue Jul 6 08:46:56 2010 UTC
(11 years, 10 months ago)
by
msalle
Original Path:
trunk/grid-mw-security/glexec/util
Added more help text:
- includes warnings on unset variables
- these can partially be suppressed using the new option -q.
Revision
1833 -
Directory Listing
Modified
Mon Jul 5 15:37:40 2010 UTC
(11 years, 10 months ago)
by
msalle
Original Path:
trunk/grid-mw-security/glexec/util
Adding a demo LCAS/LCMAPS get account command line program, which mimics the
behaviour of gLExec and can be used to debug the LCAS and LCMAPS config files
setup.
Revision
1811 -
Directory Listing
Modified
Wed Jun 23 19:05:22 2010 UTC
(11 years, 11 months ago)
by
msalle
Original Path:
trunk/grid-mw-security/glexec/util
Adding:
LCMAPS plugins-afs
LCMAPS plugins-gums
SCAS
LCAS-LCMAPS GT4-interface
The GT4 interface needs two extra build targets for globus (only when from
source).
Revision
1752 -
Directory Listing
Modified
Thu Jun 10 14:43:43 2010 UTC
(11 years, 11 months ago)
by
msalle
Original Path:
trunk/grid-mw-security/glexec/util
Heavily reworked the glexec-from-source scripts:
- all builds are done via functions in order to allow the conditional builds,
see next point.
- all builds are conditional: when they are bound to fail, due to missing
dependencies don't build.
- a grand overview of the results is only presented at the end, specifying
SUCCESS, FAILED, or MISSING DEPENDENCIES (=hasn't built)
- use wget+tar instead of cvs co