summaryrefslogtreecommitdiffabout
Unidiff
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--NEWS.xml7
-rw-r--r--configure.ac2
-rw-r--r--lib/Makefile.am2
3 files changed, 9 insertions, 2 deletions
diff --git a/NEWS.xml b/NEWS.xml
index 0d4d2f3..ce60a41 100644
--- a/NEWS.xml
+++ b/NEWS.xml
@@ -1,28 +1,35 @@
1<?xml version="1.0" encoding="us-ascii"?> 1<?xml version="1.0" encoding="us-ascii"?>
2<news> 2<news>
3 <version version="0.3" date="August 9th, 2007">
4 <ni>fixed canonicalization procedure to be specs-compliant. Note, that the old
5 consumer_t::canonicalize is now called consumer_t::normalize and the
6 canonicalize memeber is now virtual to allow caching layer, not static</ni>
7 <ni>robustness improvement in handling associations expiry</ni>
8 <ni>minor documentation updates</ni>
9 </version>
3 <version version="0.2.1" date="June 24th, 2007"> 10 <version version="0.2.1" date="June 24th, 2007">
4 <ni>open id server invalid signature bugfix</ni> 11 <ni>open id server invalid signature bugfix</ni>
5 </version> 12 </version>
6 <version version="0.2" date="June 19th, 2007"> 13 <version version="0.2" date="June 19th, 2007">
7 <ni>A few robustness improvements and optimizations</ni> 14 <ni>A few robustness improvements and optimizations</ni>
8 <ni>More liberal key/values messages parsing</ni> 15 <ni>More liberal key/values messages parsing</ni>
9 <ni>Changed unusable --with-pcre++ configure option to --with-pcrepp</ni> 16 <ni>Changed unusable --with-pcre++ configure option to --with-pcrepp</ni>
10 </version> 17 </version>
11 <version version="0.1.1" date="January 16th, 2007"> 18 <version version="0.1.1" date="January 16th, 2007">
12 <ni>Fixed a bug in curl errors handling</ni> 19 <ni>Fixed a bug in curl errors handling</ni>
13 <ni>added --disable-ssl-verify-host and --disable-ssl-verify-peer options to 20 <ni>added --disable-ssl-verify-host and --disable-ssl-verify-peer options to
14 configure to alter default implementation of consumer's retrieve_links 21 configure to alter default implementation of consumer's retrieve_links
15 behaviour</ni> 22 behaviour</ni>
16 <ni>Build fix that eliminates the need to pass --disable-konforka in the 23 <ni>Build fix that eliminates the need to pass --disable-konforka in the
17 absence of it.</ni> 24 absence of it.</ni>
18 </version> 25 </version>
19 <version version="0.1" date="January 12th, 2007"> 26 <version version="0.1" date="January 12th, 2007">
20 <ni>OpenID simple registration extension implementation</ni> 27 <ni>OpenID simple registration extension implementation</ni>
21 <ni>OpenID extensions framework</ni> 28 <ni>OpenID extensions framework</ni>
22 <ni>Canonicalization bugfix</ni> 29 <ni>Canonicalization bugfix</ni>
23 <ni>Slightly improved interoperability with buggy implementations</ni> 30 <ni>Slightly improved interoperability with buggy implementations</ni>
24 </version> 31 </version>
25 <version version="0.0" date="July 25th, 2005"> 32 <version version="0.0" date="July 25th, 2005">
26 <ni>Initial release</ni> 33 <ni>Initial release</ni>
27 </version> 34 </version>
28</news> 35</news>
diff --git a/configure.ac b/configure.ac
index 97f0eae..eb3f4d6 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1,92 +1,92 @@
1AC_INIT([libopkele], [0.2.1], [libopkele-bugs@klever.net]) 1AC_INIT([libopkele], [0.3], [libopkele-bugs@klever.net])
2AC_CONFIG_SRCDIR([include/opkele/opkele-config.h]) 2AC_CONFIG_SRCDIR([include/opkele/opkele-config.h])
3AC_CONFIG_HEADERS([config.h include/opkele/acconfig.h]) 3AC_CONFIG_HEADERS([config.h include/opkele/acconfig.h])
4AM_INIT_AUTOMAKE([dist-bzip2]) 4AM_INIT_AUTOMAKE([dist-bzip2])
5 5
6AC_PROG_INSTALL 6AC_PROG_INSTALL
7AC_PROG_CXX 7AC_PROG_CXX
8AC_PROG_CC 8AC_PROG_CC
9AC_PROG_LIBTOOL 9AC_PROG_LIBTOOL
10 10
11AC_HEADER_STDC 11AC_HEADER_STDC
12 12
13AC_PATH_PROG([XSLTPROC],[xsltproc],[true]) 13AC_PATH_PROG([XSLTPROC],[xsltproc],[true])
14AC_WITH_PKGCONFIG 14AC_WITH_PKGCONFIG
15 15
16PKG_CHECK_MODULES([OPENSSL],[openssl],,[ 16PKG_CHECK_MODULES([OPENSSL],[openssl],,[
17 AC_MSG_ERROR([no openssl library found. get one from http://www.openssl.org/]) 17 AC_MSG_ERROR([no openssl library found. get one from http://www.openssl.org/])
18]) 18])
19 19
20WANT_KONFORKA="yes" 20WANT_KONFORKA="yes"
21AC_ARG_ENABLE([konforka], 21AC_ARG_ENABLE([konforka],
22 AC_HELP_STRING([--disable-konforka],[do not use konforka library (default: use if found)]), 22 AC_HELP_STRING([--disable-konforka],[do not use konforka library (default: use if found)]),
23 [ 23 [
24 test "${enableval}" = "no" && WANT_KONFORKA="no" 24 test "${enableval}" = "no" && WANT_KONFORKA="no"
25 ] 25 ]
26) 26)
27if test "${WANT_KONFORKA}" = "yes" ; then 27if test "${WANT_KONFORKA}" = "yes" ; then
28 PKG_CHECK_MODULES([KONFORKA],[konforka],[ 28 PKG_CHECK_MODULES([KONFORKA],[konforka],[
29 AC_SUBST([KONFORKA_CFLAGS]) 29 AC_SUBST([KONFORKA_CFLAGS])
30 AC_SUBST([KONFORKA_LIBS]) 30 AC_SUBST([KONFORKA_LIBS])
31 AC_DEFINE([HAVE_KONFORKA],,[defined in presence of konforka library]) 31 AC_DEFINE([HAVE_KONFORKA],,[defined in presence of konforka library])
32 AC_DEFINE([OPKELE_HAVE_KONFORKA],,[defined in presence of konforka library]) 32 AC_DEFINE([OPKELE_HAVE_KONFORKA],,[defined in presence of konforka library])
33 AC_SUBST([KONFORKA_KONFORKA],[konforka]) 33 AC_SUBST([KONFORKA_KONFORKA],[konforka])
34 ],[true]) 34 ],[true])
35fi 35fi
36 36
37WANT_DOXYGEN="yes" 37WANT_DOXYGEN="yes"
38AC_ARG_ENABLE([doxygen], 38AC_ARG_ENABLE([doxygen],
39 AC_HELP_STRING([--disable-doxygen],[do not generate documentation]), 39 AC_HELP_STRING([--disable-doxygen],[do not generate documentation]),
40 [ 40 [
41 test "${enableval}" = "no" && WANT_DOXYGEN="no" 41 test "${enableval}" = "no" && WANT_DOXYGEN="no"
42 ] 42 ]
43) 43)
44if test "${WANT_DOXYGEN}" = "yes" ; then 44if test "${WANT_DOXYGEN}" = "yes" ; then
45 AC_WITH_DOXYGEN 45 AC_WITH_DOXYGEN
46 AC_WITH_DOT 46 AC_WITH_DOT
47else 47else
48 AM_CONDITIONAL([HAVE_DOXYGEN],[false]) 48 AM_CONDITIONAL([HAVE_DOXYGEN],[false])
49 AM_CONDITIONAL([HAVE_DOT],[false]) 49 AM_CONDITIONAL([HAVE_DOT],[false])
50fi 50fi
51 51
52LIBCURL_CHECK_CONFIG(,,,[ 52LIBCURL_CHECK_CONFIG(,,,[
53 AC_MSG_ERROR([no required libcurl library. get one from http://curl.haxx.se/]) 53 AC_MSG_ERROR([no required libcurl library. get one from http://curl.haxx.se/])
54]) 54])
55AC_WITH_PCRE([ 55AC_WITH_PCRE([
56 AC_WITH_PCREPP(,[ 56 AC_WITH_PCREPP(,[
57 AC_MSG_ERROR([no pcre++ library found. get one at http://www.daemon.de/PCRE]) 57 AC_MSG_ERROR([no pcre++ library found. get one at http://www.daemon.de/PCRE])
58 ]) 58 ])
59 ],[ 59 ],[
60 AC_MSG_ERROR([no pcre library found. get one at http://www.pcre.org/]) 60 AC_MSG_ERROR([no pcre library found. get one at http://www.pcre.org/])
61 ] 61 ]
62) 62)
63 63
64curl_ssl_verify_host="true" 64curl_ssl_verify_host="true"
65AC_ARG_ENABLE([ssl-verify-host], 65AC_ARG_ENABLE([ssl-verify-host],
66 AC_HELP_STRING([--disable-ssl-verify-host],[disable cURL cert/host relationships verification]), 66 AC_HELP_STRING([--disable-ssl-verify-host],[disable cURL cert/host relationships verification]),
67 [ test "${enableval}" = "no" && curl_ssl_verify_host="false" ] 67 [ test "${enableval}" = "no" && curl_ssl_verify_host="false" ]
68) 68)
69${curl_ssl_verify_host} || AC_DEFINE([DISABLE_CURL_SSL_VERIFYHOST],,[defined if cURL is not to verify cert/host]) 69${curl_ssl_verify_host} || AC_DEFINE([DISABLE_CURL_SSL_VERIFYHOST],,[defined if cURL is not to verify cert/host])
70 70
71curl_ssl_verify_peer="true" 71curl_ssl_verify_peer="true"
72AC_ARG_ENABLE([ssl-verify-peer], 72AC_ARG_ENABLE([ssl-verify-peer],
73 AC_HELP_STRING([--disable-ssl-verify-peer],[disable cURL cert validity verification]), 73 AC_HELP_STRING([--disable-ssl-verify-peer],[disable cURL cert validity verification]),
74 [ test "${enableval}" = "no" && curl_ssl_verify_peer="false" ] 74 [ test "${enableval}" = "no" && curl_ssl_verify_peer="false" ]
75) 75)
76${curl_ssl_verify_peer} || AC_DEFINE([DISABLE_CURL_SSL_VERIFYPEER],,[defined if cURL is not to verify cert validity]) 76${curl_ssl_verify_peer} || AC_DEFINE([DISABLE_CURL_SSL_VERIFYPEER],,[defined if cURL is not to verify cert validity])
77 77
78postels_law=true 78postels_law=true
79AC_ARG_ENABLE([postels-law], 79AC_ARG_ENABLE([postels-law],
80 AC_HELP_STRING([--disable-postels-law],[Be strict, do not adhere to Postel's Law ("be conservative in what you do, be liberal in what you accept from others", RFC 793)]), 80 AC_HELP_STRING([--disable-postels-law],[Be strict, do not adhere to Postel's Law ("be conservative in what you do, be liberal in what you accept from others", RFC 793)]),
81 [ test "${enableval}" = "no" && postels_law=false ] 81 [ test "${enableval}" = "no" && postels_law=false ]
82) 82)
83$postels_law && AC_DEFINE([POSTELS_LAW],,[defined if we want to adhere to Postel's Law]) 83$postels_law && AC_DEFINE([POSTELS_LAW],,[defined if we want to adhere to Postel's Law])
84 84
85AC_CONFIG_FILES([ 85AC_CONFIG_FILES([
86 Makefile 86 Makefile
87 libopkele.pc 87 libopkele.pc
88 Doxyfile 88 Doxyfile
89 include/Makefile 89 include/Makefile
90 lib/Makefile 90 lib/Makefile
91]) 91])
92AC_OUTPUT 92AC_OUTPUT
diff --git a/lib/Makefile.am b/lib/Makefile.am
index f57b6da..a68faf6 100644
--- a/lib/Makefile.am
+++ b/lib/Makefile.am
@@ -1,27 +1,27 @@
1lib_LTLIBRARIES = libopkele.la 1lib_LTLIBRARIES = libopkele.la
2 2
3INCLUDES = \ 3INCLUDES = \
4 -I${top_srcdir}/include/ \ 4 -I${top_srcdir}/include/ \
5 ${KONFORKA_CFLAGS} \ 5 ${KONFORKA_CFLAGS} \
6 ${OPENSSL_CFLAGS} \ 6 ${OPENSSL_CFLAGS} \
7 ${LIBCURL_CPPFLAGS} \ 7 ${LIBCURL_CPPFLAGS} \
8 ${PCREPP_CFLAGS} 8 ${PCREPP_CFLAGS}
9libopkele_la_LIBADD = \ 9libopkele_la_LIBADD = \
10 ${LIBCURL} \ 10 ${LIBCURL} \
11 ${PCREPP_LIBS} \ 11 ${PCREPP_LIBS} \
12 ${OPENSSL_LIBS} \ 12 ${OPENSSL_LIBS} \
13 ${KONFORKA_LIBS} 13 ${KONFORKA_LIBS}
14 14
15libopkele_la_SOURCES = \ 15libopkele_la_SOURCES = \
16 params.cc \ 16 params.cc \
17 util.cc \ 17 util.cc \
18 server.cc \ 18 server.cc \
19 secret.cc \ 19 secret.cc \
20 data.cc \ 20 data.cc \
21 consumer.cc \ 21 consumer.cc \
22 exception.cc \ 22 exception.cc \
23 extension.cc \ 23 extension.cc \
24 sreg.cc \ 24 sreg.cc \
25 extension_chain.cc 25 extension_chain.cc
26libopkele_la_LDFLAGS = \ 26libopkele_la_LDFLAGS = \
27 -version-info 1:0:0 27 -version-info 2:0:0