[PATCH] 21 Removed OS subsystem.
by Endi Sukma Dewata
The OS subsystem was previously used to get the PID and to handle
shutdown signals using the OSUtil. It has been removed because the
functionalities can be obtained without using native code. The PID
will now be read from an external PID file created by the wrapper
script. The shutdown signals will now be handled by shutdown hook.
Ticket #90
--
Endi S. Dewata
12 years, 1 month
[PATCH] 0019 - add client auth user to install
by Ade Lee
Add client auth user to default install
When a subsystem is configured, a user is created to facilitate communication
between subsystems. This user is created on the security domain ca, and is
has the subsystem certificate in its user record.
This user will be reused as a user that can talk to the database using the
subsystem certificate for client auth. To do this, this patch does the following:
1. If not the security domain master CA, adds this user to the subsystem, and
adds the subsystem cert.
2. Adds the subsystem cert subject dn to the user's record in the seeAlso attribute
3. Adds acis for this user for the $basedn and for cn=config (for VLV searches)
By default, this user and acls will be added when the system is configured.
To actually use the user and client auth, more config steps are required. They
will be doc'ed in https://fedorahosted.org/pki/ticket/5
Please review.
Ade
12 years, 1 month
Java fixes
by Andreas Schneider
Here are the fixes so that it stops looking up for the java compiler.
-- andreas
--
Andreas Schneider GPG-ID: 8B7EB4B8
Red Hat asn(a)redhat.com
Samba Team asn(a)samba.org
12 years, 1 month
CMake questions
by Endi Sukma Dewata
Andreas,
Here is a summary of our conversation. The PKI project consists of
several components (e.g. util, common, ca, kra) and each might have
source codes and test codes. We want to use CMake to generate the
following Makefile targets:
* all: This is the default target which should build only the main
source code, not the test code.
* test: This target will build and run the test code. It will use 2
subtargets: build-test and run-test.
They need to be separate targets because we might need to fix either the
source or the test and then rerun the test without having to rebuild
everything.
Currently this is what we have (see
http://fedorapeople.org/gitweb?p=edewata/public_git/pki.git;a=tree;f=pki;...).
The main CMakeLists.txt defines the main 'test' target:
add_custom_target(test)
This target is empty, but each component can attach itself to the main
'test' target. For example the util package contains the following
script (see base/util/test/CMakeLists.txt):
...
# build util test
add_jar(pki-util-test ...)
...
# define util test target
add_junit_test(test-pki-util ...)
# attach util test to the main test target
add_dependencies(test test-pki-util)
The problem is the add_jar() is defined at the top level, so the test
code will be built when we call 'make all', which is not what we want.
Is there a way to move add_jar() into a function/target such that the
test code will be built only when the 'test' target is called?
So the main CMakeLists.txt will be something like this:
# define the test target
add_custom_target(test)
# define the build-test subtarget
add_custom_target(build-test)
add_dependencies(test build-test)
# define the run-test subtarget
add_custom_target(run-test)
add_dependencies(test run-test)
and the util's CMakeLists.txt will be like this:
# define a function/target to build util test
function(build-pki-util-test ...)
...
add_jar(pki-util-test ...)
...
endfunction(build-pki-util-test ...)
# attach the function/target to build-test
add_dependencies(build-test build-pki-util-test)
# define a function/target to run util test
add_junit_test(run-pki-util-test ...)
# attach the function/target to run-test
add_dependencies(run-test run-pki-util-test)
If this is not possible, what would be the best alternative? Thanks!
PS: We also talked about compiling Java codes without having to specify
the files explicitly, but that's for a separate discussion.
--
Endi S. Dewata
12 years, 2 months