+2008-12-13 [colin] 3.6.1cvs75
+
+ * Makefile.am
+ * src/Makefile.am
+ * src/common/ssl.c
+ * src/common/utils.c
+ * src/common/utils.h
+ * tools/Makefile.am
+ Finish previous patch
+
2008-12-13 [colin] 3.6.1cvs74
* tools/Makefile.am
ACLOCAL_AMFLAGS = -I m4
AUTOMAKE_OPTIONS = dist-bzip2
-if PLATFORM_WIN32
-tools =
-else
-tools = tools
-endif
-
-SUBDIRS = m4 po src $(tools) config doc manual
+SUBDIRS = m4 po src tools config doc manual
EXTRA_DIST = \
ChangeLog \
( cvs diff -u -r 1.654.2.3718 -r 1.654.2.3719 configure.ac; cvs diff -u -r 1.1.2.3 -r 1.1.2.4 src/plugins/pgpinline/claws.def; ) > 3.6.1cvs72.patchset
( cvs diff -u -r 1.25.2.28 -r 1.25.2.29 tools/Makefile.am; diff -u /dev/null tools/ca-certificates.crt; cvs diff -u -r 1.24.2.18 -r 1.24.2.19 src/common/Makefile.am; cvs diff -u -r 1.9.2.37 -r 1.9.2.38 src/common/ssl.c; ) > 3.6.1cvs73.patchset
( cvs diff -u -r 1.25.2.29 -r 1.25.2.30 tools/Makefile.am; ) > 3.6.1cvs74.patchset
+( cvs diff -u -r 1.24.2.24 -r 1.24.2.25 Makefile.am; cvs diff -u -r 1.155.2.94 -r 1.155.2.95 src/Makefile.am; cvs diff -u -r 1.9.2.38 -r 1.9.2.39 src/common/ssl.c; cvs diff -u -r 1.36.2.156 -r 1.36.2.157 src/common/utils.c; cvs diff -u -r 1.20.2.64 -r 1.20.2.65 src/common/utils.h; cvs diff -u -r 1.25.2.30 -r 1.25.2.31 tools/Makefile.am; ) > 3.6.1cvs75.patchset
MICRO_VERSION=1
INTERFACE_AGE=0
BINARY_AGE=0
-EXTRA_VERSION=74
+EXTRA_VERSION=75
EXTRA_RELEASE=
EXTRA_GTK2_VERSION=
etpan_library =
endif
-SUBDIRS = common gtk $(etpan_dir) . plugins
+SUBDIRS = common gtk $(etpan_dir) . plugins
bin_PROGRAMS = claws-mail
install-exec-hook:
}
return NULL;
#else
- const gchar *cert_file = NULL;
- if (cert_file == NULL)
- cert_file = g_strconcat(DATAROOTDIR,
- G_DIR_SEPARATOR_S,
- "ca-certificates.crt",
- NULL);
- return cert_file;
+ return get_cert_file();
#endif
}
return template_dir;
}
+#ifdef G_OS_WIN32
+const gchar *get_cert_file(void)
+{
+ const gchar *cert_file = NULL;
+ if (!cert_file)
+ cert_file = g_strconcat(w32_get_module_dir(),
+ "\\share\\claws-mail\\",
+ "ca-certificates.crt",
+ NULL);
+ return cert_file;
+}
+#endif
+
/* Return the default directory for Plugins. */
const gchar *get_plugin_dir(void)
{
const gchar *get_locale_dir (void);
gchar *get_tmp_file (void);
const gchar *get_domain_name (void);
-
+#ifdef G_OS_WIN32
+const gchar *get_cert_file(void);
+#endif
/* file / directory handling */
off_t get_file_size (const gchar *file);
off_t get_file_size_as_crlf (const gchar *file);
if PLATFORM_WIN32
install-data-local:
- cp ca-certificates.crt ${pkgdatadir}
+ mkdir -p ${pkgdatadir}
+ cp ${top_srcdir}/tools/ca-certificates.crt ${pkgdatadir}/
endif