From 7a3ce31ef736cfd2c9ec83f0f3a42928001aaf4a Mon Sep 17 00:00:00 2001 From: =?utf8?q?Daniel=20Kou=C5=99il?= Date: Tue, 8 Mar 2005 12:51:23 +0000 Subject: [PATCH] - Removed unused code - enabled (and partly rewritten) support for renewal of VOMS attributes - internal VOMS headers added -- they are necessary to work with ASN.1 encoded VOMS attribures (hopefully new version of the VOMS API will provide better support) --- org.glite.security.proxyrenewal/Makefile | 10 +- .../project/configure.properties.xml | 4 +- org.glite.security.proxyrenewal/src/acstack.h | 79 ++ org.glite.security.proxyrenewal/src/commands.c | 6 +- org.glite.security.proxyrenewal/src/newformat.h | 195 +++++ org.glite.security.proxyrenewal/src/renew.c | 811 +-------------------- org.glite.security.proxyrenewal/src/renewd.c | 88 +-- org.glite.security.proxyrenewal/src/renewd_locl.h | 20 +- org.glite.security.proxyrenewal/src/voms.c | 287 ++++++++ 9 files changed, 606 insertions(+), 894 deletions(-) create mode 100755 org.glite.security.proxyrenewal/src/acstack.h create mode 100755 org.glite.security.proxyrenewal/src/newformat.h create mode 100644 org.glite.security.proxyrenewal/src/voms.c diff --git a/org.glite.security.proxyrenewal/Makefile b/org.glite.security.proxyrenewal/Makefile index 539736d..cf745c2 100644 --- a/org.glite.security.proxyrenewal/Makefile +++ b/org.glite.security.proxyrenewal/Makefile @@ -35,7 +35,6 @@ PREFIX=/opt/glite glite_location=$PREFIX globus_prefix=/opt/globus -voms_prefix=/opt/glite nothrflavour=gcc32 thrflavour=gcc32pthr myproxy_prefix=$globus_prefix @@ -55,10 +54,7 @@ MYPROXYTHRINC:= -I${myproxy_prefix}/include/${thrflavour} DEBUG:=-g -O0 -# XXX: until VOMS is ready in SCM -CFLAGS:= -DNOVOMS \ - ${DEBUG} \ - -DVOMS_INSTALL_PATH=\"${voms_prefix}\"\ +CFLAGS:= ${DEBUG} \ ${MYPROXYINC} \ -I${top_srcdir}/src -I${top_srcdir}/interface \ -I${glite_location}/include @@ -75,7 +71,7 @@ COMPILE:=libtool --mode=compile ${CC} ${CFLAGS} LINK:=libtool --mode=link ${CC} ${LDFLAGS} INSTALL:=libtool --mode=install install -DAEMONOBJ:=renewd.o renew.o common.o commands.o api.o +DAEMONOBJ:=renewd.o renew.o common.o commands.o api.o voms.o LIBOBJ:=api.o common.o CLIENTOBJ:=client.o @@ -100,7 +96,7 @@ ${THRLIB}: ${THRLIBOBJ} ${LINK} -o $@ ${THRLIBLOBJ} -rpath ${glite_location}/lib ${DAEMON}: ${DAEMONOBJ} - ${LINK} -o $@ ${DAEMONOBJ} ${JOBIDLIB} ${MYPROXY_LIB} -lglobus_gss_assist_${nothrflavour} ${GLOBUS_LIBS} + ${LINK} -o $@ ${DAEMONOBJ} ${JOBIDLIB} ${MYPROXY_LIB} -lvomsc -lglobus_gss_assist_${nothrflavour} ${GLOBUS_LIBS} ${CLIENT}: ${CLIENTOBJ} ${LIB} ${LINK} -o $@ ${CLIENTOBJ} ${LIB} ${GLOBUS_LIBS} diff --git a/org.glite.security.proxyrenewal/project/configure.properties.xml b/org.glite.security.proxyrenewal/project/configure.properties.xml index 4122b9d..5118d20 100644 --- a/org.glite.security.proxyrenewal/project/configure.properties.xml +++ b/org.glite.security.proxyrenewal/project/configure.properties.xml @@ -20,6 +20,9 @@ Revision history: $Log$ + Revision 1.2 2004/07/12 16:18:37 dimeglio + Modified to use myproxy from the repository if available + -->