Skip to content

Commit 54aea13

Browse files
committed
Update for 3.0, remove XKMS, NSS, WinCAPI, Xalan support.
1 parent 7aa876b commit 54aea13

File tree

205 files changed

+146
-44551
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

205 files changed

+146
-44551
lines changed

.gitignore

Lines changed: 61 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,61 @@
1+
*.o
2+
*.lo
3+
*.la
4+
*.al
5+
*.libs
6+
*.so
7+
*.so.[0-9]*
8+
*.a
9+
*.pc
10+
*.pc.in
11+
*.pyc
12+
*.pyo
13+
*.rej
14+
*.aps
15+
*.suo
16+
*.ncb
17+
*.opensdf
18+
*.sdf
19+
*~
20+
*.#*
21+
.*.swp
22+
*.vcxproj.user
23+
.DS_store
24+
Makefile
25+
Makefile.in
26+
stamp-h1
27+
stamp-h2
28+
.deps
29+
.dirstamp
30+
/xmltooling-uninstalled.sh
31+
/aclocal.m4
32+
/autom4te.cache
33+
/config.guess
34+
/config.h
35+
/config.h.in
36+
/config.log
37+
/config.status
38+
/config.sub
39+
/configure
40+
/depcomp
41+
/install-sh
42+
/libtool
43+
/missing
44+
/pkginfo
45+
/.settings
46+
/doxyfile
47+
/*.gz
48+
/*.zip
49+
/*.bz2
50+
/ipch
51+
/build-aux
52+
/build
53+
/Build
54+
/doc/api
55+
/m4/lt~obsolete.m4
56+
/m4/ltsugar.m4
57+
/m4/ltoptions.m4
58+
/m4/libtool.m4
59+
/m4/ltversion.m4
60+
/xsec/framework/XSECConfig.hpp
61+
/xsec/xsec-*

NOTICE.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
Apache Santuario XML-Security-C Library
1+
Formerly the Apache Santuario XML-Security-C Library
22
Copyright 2010-2021 The Apache Software Foundation
33

44
This product includes software developed at

configure.ac

Lines changed: 1 addition & 94 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717

1818
# Process this file with autoreconf
1919
AC_PREREQ(2.50)
20-
AC_INIT([[XML-Security-C]],[2.0.4],[dev@shibboleth.net],[xml-security-c])
20+
AC_INIT([[XML-Security-C]],[3.0.0],[dev@shibboleth.net],[xml-security-c])
2121
AC_CONFIG_SRCDIR(xsec)
2222
AC_CONFIG_AUX_DIR(build-aux)
2323
AC_CONFIG_MACRO_DIR(m4)
@@ -95,77 +95,6 @@ xerces_CXXFLAGS=$xerces_CFLAGS
9595
xerces_CFLAGS=""
9696
AC_SUBST([xerces_CXXFLAGS])
9797

98-
# Get user options
99-
100-
AC_ARG_WITH(xalan,
101-
AS_HELP_STRING([--with-xalan],[Enable Xalan integration. Values = 'yes' or installation directory (Default = yes)]),
102-
use_xalan=$withval, use_xalan=yes)
103-
104-
if test x"$use_xalan" != "xyes" ; then
105-
if test x"$use_xalan" != "xno" ; then
106-
XALANCROOT=$use_xalan
107-
fi
108-
fi
109-
110-
# Now check for Xalan
111-
112-
if test x"$use_xalan" != x"no" ; then
113-
114-
if test $XALANCROOT; then
115-
116-
AC_MSG_NOTICE([looking for Xalan headers in $XALANCROOT])
117-
118-
# Updated to include nls/include as this is generally needed for
119-
# compilation against non-installed xalan.
120-
# Also now include XALANCROOT/include to cater for installed xalan
121-
xalan_CXXFLAGS="-I${XALANCROOT}/src -I${XALANCROOT}/include -I${XALANCROOT}/nls/include"
122-
xalan_LIBS="-L${XALANCROOT}/lib -lxalan-c"
123-
AX_SAVE_FLAGS_WITH_PREFIX([xalan],[[CXXFLAGS]])
124-
AC_CHECK_HEADER([xalanc/Include/XalanVersion.hpp],
125-
[xalan_found=yes])
126-
AX_RESTORE_FLAGS_WITH_PREFIX([xalan],[[CXXFLAGS]])
127-
128-
fi
129-
130-
if test -z "$xalan_found" ; then
131-
132-
AC_MSG_NOTICE([looking for Xalan in system includes])
133-
unset ac_cv_header_xalanc_Include_XalanVersion_hpp
134-
AC_CHECK_HEADER([xalanc/Include/XalanVersion.hpp],
135-
[xalan_found=yes
136-
xalan_CXXFLAGS=""
137-
xalan_LIBS="-lxalan-c"],
138-
[AC_MSG_NOTICE([WARNING - configuring without Xalan])])
139-
140-
fi
141-
fi
142-
143-
if test "${xalan_found}" = "yes" ; then
144-
AX_SAVE_FLAGS_WITH_PREFIX([xalan],[[CXXFLAGS],[LIBS]])
145-
146-
AC_MSG_CHECKING([Xalan version])
147-
AC_COMPILE_IFELSE(
148-
[AC_LANG_PROGRAM([#include <xalanc/Include/XalanVersion.hpp>],
149-
[#if _XALAN_VERSION >= 11100
150-
int i = 0;
151-
#else
152-
#error requires Xalan version 1.11+
153-
#endif])],
154-
[AC_MSG_RESULT(OK)],
155-
[AC_MSG_FAILURE([Xalan-C 1.11+ is required])])
156-
157-
# Do we need xalanMsg.so?
158-
AC_SEARCH_LIBS([XalanInitialize],[xalanMsg],[xalan_LIBS="$LIBS"])
159-
160-
AC_DEFINE([XSEC_HAVE_XALAN],[1],[Define to 1 if Xalan is available.])
161-
AC_SUBST([xalan_CXXFLAGS])
162-
AC_SUBST([xalan_LIBS])
163-
164-
AX_RESTORE_FLAGS_WITH_PREFIX([xalan],[[CXXFLAGS],[LIBS]])
165-
else
166-
AC_MSG_NOTICE([Xalan not included in build - XPath and XSLT will not be available])
167-
fi
168-
16998
AC_LANG(C)
17099

171100
# Crypto provider options (OpenSSL / NSS)
@@ -239,30 +168,8 @@ AS_IF([test x"$with_openssl" != xno],
239168
],[AS_IF([test "x$with_openssl" != xcheck],[AC_MSG_ERROR([Unable to find OpenSSL])])])
240169
])
241170

242-
AC_ARG_WITH([nss],
243-
[AS_HELP_STRING([--with-nss],[use the NSS crypto provider @<:@default=check@:>@])],,
244-
[with_nss=check])
245-
246-
AS_IF([test x"$with_nss" != xno],
247-
[AX_PKG_CHECK_MODULES([nss],,[nss],
248-
[with_nss=found
249-
AC_DEFINE([XSEC_HAVE_NSS],[1],[Define if NSS is in use])
250-
AC_MSG_WARN([NSS is no longer officially supported])
251-
],[AS_IF([test "x$with_nss" != "xcheck"],[AC_MSG_ERROR([Unable to find NSS])])])
252-
])
253-
254-
AC_ARG_ENABLE(xkms,
255-
AS_HELP_STRING([--disable-xkms],[disable XKMS support]),
256-
[have_xkms=${enableval}],
257-
[have_xkms=yes])
258-
if test x"$have_xkms" = "xyes" ; then
259-
AC_DEFINE([XSEC_XKMS_ENABLED],[1],[Define to 1 if XKMS support is included.])
260-
fi
261-
262171
# Populate the Makefile conditionals
263172
AM_CONDITIONAL([XSEC_AM_HAVE_OPENSSL],[test "x$with_openssl" = xfound])
264-
AM_CONDITIONAL([XSEC_AM_HAVE_NSS],[test "x$with_nss" = xfound])
265-
AM_CONDITIONAL(XSEC_AM_HAVE_XKMS, test x"$have_xkms" = "xyes")
266173

267174
# output the Makefiles
268175
AC_OUTPUT

0 commit comments

Comments
 (0)