!m4/minuso.m4
build-aux
!build-aux/compile
+mech_eap.spec
+mech_eap*tar*
AUTOMAKE_OPTIONS = foreign
ACLOCAL_AMFLAGS = -I m4
SUBDIRS = libeap mech_eap
+EXTRA_DIST = mech_eap.spec
KRB5_CFLAGS=-I"$check_krb5_dir/include";
KRB5_LIBS="-L$check_krb5_dir/lib/ -lkrb5_32 -lgssapi32";
COMPILE_ET="$check_krb5_dir/bin/compile_et";
+ AC_MSG_RESULT([yes])
else
KRB5_CFLAGS=`$dir/bin/krb5-config gssapi --cflags`;
- KRB5_LIBS=`$dir/bin/krb5-config gssapi --libs`;
- COMPILE_ET="$dir/bin/compile_et";
+ KRB5_LIBS=`$dir/bin/krb5-config gssapi --libs`
+AC_MSG_RESULT([yes])
+ AC_PATH_PROG(COMPILE_ET, [compile_et], [compile_et], [$dir/bin$PATH_SEPARATOr])
fi
break;
fi
done
-AC_MSG_RESULT($found_krb5)
if test x_$found_krb5 != x_yes; then
+ AC_MSG_RESULT($found_krb5)
AC_MSG_ERROR([
----------------------------------------------------------------------
Cannot find GSS-API/Kerberos libraries.
dnl AM_INIT_AUTOMAKE([silent-rules])
AC_USE_SYSTEM_EXTENSIONS
-AC_GNU_SOURCE
AM_INIT_AUTOMAKE
AM_PROG_CC_C_O
AM_MAINTAINER_MODE()
fi
AX_CHECK_LIBMOONSHOT
-AC_CONFIG_FILES([Makefile libeap/Makefile mech_eap/Makefile])
+AC_CONFIG_FILES([Makefile libeap/Makefile mech_eap/Makefile
+ mech_eap.spec])
AC_OUTPUT
-Subproject commit 2ad5208de2f097b0072efe44fc71615f1cee4e2d
+Subproject commit 3c6800594dbfcba5d36cfa5556288eae999f83ba
--- /dev/null
+Name: moonshot-gss-eap
+Version: @VERSION@
+Release: 1%{?dist}
+Summary: Moonshot GSS-API Mechanism
+
+Group: Security Tools
+License: BSD
+URL: http://www.project-moonshot.org/
+Source0: mech_eap-%{version}.tar.gz
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
+
+BuildRequires: krb5-libs >= 1.9.1
+BuildRequires: moonshot-ui-devel
+Requires: moonshot-ui
+
+%description
+Project Moonshot provides federated access management.
+
+
+%prep
+%setup -q -n mech_eap-%{version}
+
+
+%build
+%configure --disable-acceptor --with-libmoonshot=%{_prefix} --with-krb5=%{_prefix}
+make %{?_smp_mflags}
+
+
+%install
+rm -rf $RPM_BUILD_ROOT
+make install DESTDIR=$RPM_BUILD_ROOT
+
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+
+%files
+%defattr(-,root,root,-)
+%doc mech_eap/README
+%{_libdir}/gss/mech_eap.so
+%exclude %{_libdir}/gss/mech_eap.la
+%{_includedir}/gssapi/*.h
+
+
+
+
+%changelog
AUTOMAKE_OPTIONS = foreign
+EXTRA_DIST = gsseap_err.et radsec_err.et \
+ mech_eap.exports mech_eap-noacceptor.exports
+
gssincludedir = $(includedir)/gssapi
gssinclude_HEADERS = gssapi_eap.h
mech_eap_la_CFLAGS = -Werror -Wall -Wunused-parameter
mech_eap_la_CXXFLAGS = -Werror -Wall -Wunused-parameter
endif
+mech_eap_la_DEPENDENCIES = $(GSSEAP_EXPORTS)
mech_eap_la_CPPFLAGS = -DBUILD_GSSEAP_LIB -DSYSCONFDIR=\"${sysconfdir}\" -DDATAROOTDIR=\"${datarootdir}\"
-mech_eap_la_CFLAGS = -Werror -Wall -Wunused-parameter \
+mech_eap_la_CFLAGS += \
@KRB5_CFLAGS@ @RADSEC_CFLAGS@ @TARGET_CFLAGS@ $(EAP_CFLAGS)
-mech_eap_la_CXXFLAGS = -Werror -Wall -Wunused-parameter \
+mech_eap_la_CXXFLAGS += \
@KRB5_CFLAGS@ @RADSEC_CFLAGS@ \
@OPENSAML_CXXFLAGS@ @SHIBRESOLVER_CXXFLAGS@ @SHIBSP_CXXFLAGS@ \
@TARGET_CFLAGS@ $(EAP_CFLAGS)
inquire_cred_by_oid.c \
inquire_mech_for_saslname.c \
inquire_mechs_for_name.c \
- inquire_name.c \
inquire_names_for_mech.c \
inquire_saslname_for_mech.c \
inquire_sec_context_by_oid.c \
wrap.c \
wrap_iov.c \
wrap_iov_length.c \
- wrap_size_limit.c
+ wrap_size_limit.c \
+ gssapiP_eap.h \
+ util_attr.h \
+ util_base64.h \
+ util.h \
+ util_json.h \
+ util_radius.h \
+ util_reauth.h \
+ util_saml.h \
+ util_shib.h
+
if GSSEAP_ENABLE_ACCEPTOR
delete_name_attribute.c \
export_name_composite.c \
get_name_attribute.c \
+ inquire_name.c \
map_name_to_any.c \
release_any_name_mapping.c \
set_name_attribute.c \
endif
-BUILT_SOURCES = gsseap_err.c radsec_err.c
+BUILT_SOURCES = gsseap_err.c radsec_err.c gsseap_err.h radsec_err.h
if GSSEAP_ENABLE_REAUTH
mech_eap_la_SOURCES += util_reauth.c
radius_ad_la_LDFLAGS = -avoid-version -module \
-export-symbols radius_ad.exports -no-undefined
radius_ad_la_LIBADD = @KRB5_LIBS@
-radius_ad_la_SOURCES = util_adshim.c
+radius_ad_la_SOURCES = util_adshim.c authdata_plugin.h
endif
endif
void
gssEapFinalize(void)
{
+#ifdef GSSEAP_ENABLE_ACCEPTOR
OM_uint32 minor;
-#ifdef GSSEAP_ENABLE_ACCEPTOR
gssEapAttrProvidersFinalize(&minor);
#endif
eap_peer_unregister_methods();