/* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */ /* * * Author : * Bertrand Guiheneuf * * Copyright 1999, 2000 Ximian, Inc. (www.ximian.com) * * This program is free software; you can redistribute it and/or * modify it under the terms of version 2 of the GNU General Public * License as published by the Free Software Foundation. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 * USA */ #ifdef HAVE_CONFIG_H #include #endif #include #ifdef HAVE_NSS #include #include #include "nss.h" /* Don't use <> here or it will include the system nss.h instead */ #include #endif /* HAVE_NSS */ #include "camel.h" #include "camel-mime-utils.h" gboolean camel_verbose_debug = FALSE; #ifdef HAVE_NSS static void camel_shutdown (void) { NSS_Shutdown (); PR_Cleanup (); } #endif /* HAVE_NSS */ gint camel_init (const char *configdir, gboolean nss_init) { #ifdef ENABLE_THREADS #ifdef G_THREADS_ENABLED /*g_thread_init (NULL);*/ #else /* G_THREADS_ENABLED */ g_warning ("Threads are not supported by your version of glib"); #endif /* G_THREADS_ENABLED */ #endif /* ENABLE_THREADS */ if (getenv ("CAMEL_VERBOSE_DEBUG")) camel_verbose_debug = TRUE; /* initialise global camel_object_type */ camel_object_get_type(); camel_mime_utils_init(); #ifdef HAVE_NSS if (nss_init) { PR_Init (PR_SYSTEM_THREAD, PR_PRIORITY_NORMAL, 10); if (NSS_InitReadWrite (configdir) == SECFailure) { /* fall back on using volatile dbs? */ if (NSS_NoDB_Init (configdir) == SECFailure) { g_warning ("Failed to initialize NSS"); return -1; } } NSS_SetDomesticPolicy (); g_atexit (camel_shutdown); } SSL_OptionSetDefault (SSL_ENABLE_SSL2, PR_TRUE); SSL_OptionSetDefault (SSL_ENABLE_SSL3, PR_TRUE); SSL_OptionSetDefault (SSL_ENABLE_TLS, PR_TRUE); SSL_OptionSetDefault (SSL_V2_COMPATIBLE_HELLO, PR_TRUE /* maybe? */); #endif /* HAVE_NSS */ return 0; } .2.2'>dependabot/npm_and_yarn/devel/electron4/files/minimist-1.2.2 FreeBSD GNOME current development ports (https://github.com/freebsd/freebsd-ports-gnome)
aboutsummaryrefslogtreecommitdiffstats
Commit message (Expand)AuthorAgeFilesLines
* - Get Rid MD5 supportmiwi2011-03-191-1/+0
* - Bump PORTREVISION to chase the update of dns/libidnwen2011-03-141-1/+2
* - Chase libextractor shlib raisepav2011-03-071-1/+1
* - Update to 4.53lwhsu2010-01-313-69/+25
* - Update to 4.52amdmi32009-04-272-4/+4
* - Update to 4.51beech2009-01-134-123/+42
* - Chase japanese/chasen-base shlib version bumpamdmi32008-12-302-10/+14
* Update CONFIGURE_ARGS for how we pass CONFIGURE_TARGET to configure script.rafan2008-08-211-1/+0
* - Update to 4.50miwi2008-08-081-1/+1
* - Update to 4.50pav2008-07-293-6/+10
* - Update to 4.49beech2008-02-153-10/+12
* - Update to 4.48miwi2007-10-283-4/+6
* - Update to 4.47miwi2007-07-133-8/+21
* - Update to 4.46miwi2007-04-223-8/+8
* - Update to 4.45.1miwi2007-03-263-9/+9
* - Update to 4.44miwi2007-01-242-4/+4
* - Update to 4.43miwi2006-11-013-4/+10
* - Update to 4.42rafan2006-09-064-7/+26
* - s,INSTALLS_SHLIB,USE_LDCONFIG,gclsung2006-08-151-1/+1
* - Update to 4.41miwi2006-07-253-6/+6
* - Update to 4.40.1pav2006-05-273-6/+8
* - Update to 4.38pav2006-03-183-5/+5
* Conversion to a single libtool environment.ade2006-02-232-1/+4
* Update to 4.37.lawrance2006-02-123-5/+17
* - prepare removal of www/apache2 in favor of www/apache20 for namingclement2005-12-041-1/+1
* - Update to 4.35tdb2005-12-043-4/+24
* - Add SHA256pav2005-11-261-0/+1
* Mass-conversion to the USE_AUTOTOOLS New World Order. The code presentade2005-11-151-1/+1
* Move IDN related ports from devel to dns category:pav2005-11-131-1/+1
* Update to 4.34mnag2005-11-023-3/+51
* - Update to 4.33sem2005-09-163-3/+13
* - Update to 4.32sem2005-07-313-3/+4
* - Update to 4.31 [1]jylefort2005-06-286-12/+23
* change the libtool version to use from 1.3 to 1.5oliver2005-06-042-3/+6
* At Kris's request, back out the MACHINE_ARCH spelling correction untilobrien2005-04-121-1/+1
* - Update to 4.29ahze2005-04-123-9/+13
* Assist getting more ports working on AMD64 by obeying theobrien2005-04-111-1/+1
* Split the postgresql ports into a server and a client part.girgen2005-01-311-5/+4
* - Update to 4.28pav2005-01-203-9/+12
* Clean up SQLite and related ports.nork2004-12-231-1/+2
* Update to 4.26arved2004-11-053-9/+116
* - update to dpsearch-4.25leeym2004-11-055-196/+125
* Add a database dependency for PACKAGE_BUILDINGarved2004-11-031-0/+4
* Chase libraries for new devel/libidn version.krion2004-10-261-1/+1