On Fri, 2003-07-18 at 11:37, Bjoern Vollmer wrote:
> On Thu, 2003-07-17 at 11:37, Massimiliano Pala wrote:
> > Can you send to me the patches for compiling on Solaris ?
> yepp.
sorry.
diff -u OpenCA-OCSPD-0.4.2/src/configuration.c OpenCA-OCSPD-0.4.2.solaris/src/configuration.c
--- OpenCA-OCSPD-0.4.2/src/configuration.c 2003-02-20 13:32:59.000000000 +0100
+++ OpenCA-OCSPD-0.4.2.solaris/src/configuration.c 2003-07-17 10:43:06.000000000 +0200
@@ -55,7 +55,7 @@
lookup_fail(BASE_SECTION,ENV_DEFAULT_OCSPD);
return(NULL);
}
- setenv( ENV_SECTION, *section, 1);
+ putenv("ENV_SECTION=*section");
if( verbose )
syslog(LOG_INFO,"section set to %s", *section );
}
diff -u OpenCA-OCSPD-0.4.2/src/http_request.c OpenCA-OCSPD-0.4.2.solaris/src/http_request.c
--- OpenCA-OCSPD-0.4.2/src/http_request.c 2003-02-20 13:32:59.000000000 +0100
+++ OpenCA-OCSPD-0.4.2.solaris/src/http_request.c 2003-07-18 09:03:08.746023000 +0200
@@ -12,6 +12,10 @@
#include <netinet/in.h>
#endif
+#ifdef __Solaris__
+#include <netinet/in.h>
+#endif
+
#include <resolv.h>
#include <sys/types.h>
#include <sys/socket.h>
diff -u OpenCA-OCSPD-0.4.2/src/ocspd.c OpenCA-OCSPD-0.4.2.solaris/src/ocspd.c
--- OpenCA-OCSPD-0.4.2/src/ocspd.c 2003-02-20 13:32:59.000000000 +0100
+++ OpenCA-OCSPD-0.4.2.solaris/src/ocspd.c 2003-07-18 09:03:41.265383000 +0200
@@ -42,8 +42,8 @@
#include "ocspd.h"
/* General exported variables */
-int debug = 0;
-int verbose = 0;
+int debug = 1;
+int verbose = 1;
static char *ocspd_usage[] = {
"OCSPd - OpenCA OCSP responder daemon\n",
diff -u OpenCA-OCSPD-0.4.2/src/server.c OpenCA-OCSPD-0.4.2.solaris/src/server.c
--- OpenCA-OCSPD-0.4.2/src/server.c 2003-02-20 13:32:59.000000000 +0100
+++ OpenCA-OCSPD-0.4.2.solaris/src/server.c 2003-07-18 09:01:57.717429000 +0200
@@ -12,6 +12,10 @@
#include <netinet/in.h>
#endif
+#ifdef __Solaris__
+#include <netinet/in.h>
+#endif
+
#include <resolv.h>
#include <sys/types.h>
#include <sys/wait.h>