/usr/share/doc/polyorb-doc/examples/corba/secure_echo/Makefile.local is in polyorb-doc 2.11~20140418-3.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 | ifeq ($(HAVE_SSL),yes)
${current_dir}echo.idl-stamp: idlac_flags := -d
${test_target}: ${current_dir}echo.idl-stamp
ssl_conf_dir := ${top_srcdir}/${current_dir}
${current_dir}echo.idl-stamp: ${current_dir}polyorb.crt
${current_dir}polyorb.crt: force
cd `dirname $@`; \
mkdir -p ca; \
touch ca/index.txt; \
echo "01" > ca/serial; \
$(OPENSSL) genrsa -out root.key 2048; \
$(OPENSSL) req -new -x509 -key root.key -out root.crt \
-config ${ssl_conf_dir}ca_openssl.conf; \
$(OPENSSL) genrsa -out polyorb.key 2048; \
$(OPENSSL) req -new -key polyorb.key -out polyorb.req \
-config ${ssl_conf_dir}polyorb_openssl.conf; \
$(OPENSSL) x509 -days 365 \
-CA root.crt \
-CAkey root.key \
-CAserial ca/serial \
-in polyorb.req -req \
-out polyorb.crt
else
test_target :=
endif
|