Hi,
Here is a patch for openca-base 1.3.0
Usually OpenCA uses external perl modules (DBI, DBD...) built for use
only with OpenCA. I think this is for "stability" of OpenCA works, as
these module versions are tested.
However these modules are updated more often than OpenCA, so OpenCA uses
old versions and they tend to not build fine in modern perl versions or
they give incompatibilities with another modules.
So, this patch makes OpenCA to ignore these modules and then the perl
system-wide modules are used, and system-wide modules can be upgraded
easily using cpan/cpanp.
Then the required modules are listed in src/ext-modules directory:
Authen-SASL-2.15.tar.gz
Bit-Vector-7.1.tar.gz
CGI-Session-4.48.tar.gz
CGI.pm-3.49.tar.gz
CGI.pm-3.59.tar.gz
Convert-ASN1-0.22.tar.gz
DBD-Pg-2.19.2.tar.gz
DBD-mysql-4.020.tar.gz
DBI-1.618.tar.gz
DB_File-1.826.tar.gz
Digest-HMAC-1.03.tar.gz
Digest-MD5-2.51.tar.gz
Digest-SHA-5.71.tar.gz
Digest-SHA1-2.13.tar.gz
FCGI-0.74.tar.gz
File-Temp-0.22.tar.gz
IO-Socket-SSL-1.31.tar.gz
IO-stringy-2.110.tar.gz
MIME-Base64-3.13.tar.gz
MIME-Lite-3.027.tar.gz
MIME-tools-5.502.tar.gz
MailTools-2.09.tar.gz
Net-SSLeay-1.40.tar.gz
Net-Server-0.99.tar.gz
Parse-RecDescent-1.94.tar.gz
URI-1.52.tar.gz
X500-DN-0.29.tar.gz
XML-Parser-2.36.tar.gz
XML-Parser-2.41.tar.gz
XML-SAX-Base-1.08.tar.gz
XML-Twig-3.39.tar.gz
libintl-perl-1.20.tar.gz
perl-ldap-0.43.tar.gz
Ignoring versions, these modules must be installed in system-wide perl
for OpenCA to work fine.
Using system-wide modules has the drawback that OpenCA code can need
modification if any of these modules is changed and any incompatibility
can arise.
Regards,
Carlos Velasco
diff -ur a/src/Makefile b/src/Makefile
--- a/src/Makefile 2008-10-07 23:13:13.000000000 +0200
+++ b/src/Makefile 2012-09-19 13:06:21.000000000 +0200
@@ -7,7 +7,6 @@
COMMON_DIR = common
MODULE_DIR = modules
-EXT_MODULE_DIR = ext-modules
OCSPD_DIR = ocspd
SCEP_DIR = scep
OPENCA_SV = openca-sv
@@ -17,7 +16,6 @@
SUBDIRS = \
$(COMMON_DIR) \
$(MODULE_DIR) \
- $(EXT_MODULE_DIR) \
$(SCRIPT_DIR) \
$(WEB_DIR)
@@ -48,11 +46,9 @@
@if [ $(package_build) != "yes" ]; then \
echo installing modules because it is not a package build; \
$(MAKE) $(MODULE_DIR) SUBTARGET=install; \
- $(MAKE) $(EXT_MODULE_DIR) SUBTARGET=install; \
else \
echo not installing modules because it is a package build; \
$(MAKE) $(MODULE_DIR) SUBTARGET=install; \
- $(MAKE) $(EXT_MODULE_DIR) SUBTARGET=install; \
fi
# $(MAKE) $(OPENCA_SV) SUBTARGET=install; \
@@ -68,7 +64,6 @@
install-modules:
@$(MAKE) $(MODULE_DIR) SUBTARGET=install
- @$(MAKE) $(EXT_MODULE_DIR) SUBTARGET=install
test clean distclean::
$(MAKE) $(SUBDIRS) SUBTARGET=$@
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Openca-Users mailing list
Openca-Users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openca-users