Alessandro Razeto wrote:
Something very simple: diff -ruN openca-0.9.2-RC5/src/ocspd/src/Makefile.am openca-0.9.2-RC5-debian/src/ocspd/src/Makefile.am --- openca-0.9.2-RC5/src/ocspd/src/Makefile.am 2004-06-14 20:49:50.000000000 +0200 +++ openca-0.9.2-RC5-debian/src/ocspd/src/Makefile.am 2004-07-29 14:55:00.000000000 +0200 @@ -59,5 +59,5 @@
openca_ocspd_LDADD = $(openssl_cflags) $(openssl_libs)\ $(openldap_cflags) $(openldap_libs) \ - $(OCSPD_INCLUDE_LIBS) $(LDAP_LIBS_INCLUDE) + $(OCSPD_INCLUDE_LIBS) But it is implemented in the debian patch engine so it can be used with RC5 version; I can commit it in the debian module folder.
I coded exactly this patch and commited it on today's morning.
2) I found the error Alexei was talking (see previus mail in this
thread) about problem of packaging:
make[5]: Entering directory `/home/lex/lex/src/openca/20040303/openca-0.9/src/scripts'
/usr/bin/install -c -D -c -o root -g root -m 755 openca-addcert /usr/bin/openca-addcert
/usr/bin/install: cannot create regular file `/usr/bin/openca-addcert': Permission denied
The problem is not that the DESTDIR is not passed to the makefile, since
the parent makefile of level 1 which is invoked by the debian engine is
/usr/bin/make install-common DESTDIR=/home/razeto/openca/openca-0.9.2-RC5/debian/openca-common
Which is fine.
Instead I found in Makefile.global-vars.in a definition of exec_prefix
not depending on $(DESTDIR). Changing that line fixes all the problem in
the creating debs.
I do not know for what else is used in openca that exec_prefix.
Sorry, but this is the wrong solution. We don't use exec_prefix in src/scripts/Makefile but we use DEST_BINDIR in this Makefile. The correct fix would be to add $(DESTDIR) to all DEST_* variables in Makefile.global_var.in (e.g. DEST_BINDIR, DEST_DATADIR, DEST_LIBDIR etc.). The name DEST_BINDIR means that it is the real destination including DESTDIR which is in fact missing in Makefile.global_vars.in. So please give these variables a second chance :)
If this fixes your problems then please commit it too because an empty variable should not break our build system.
It does, but let me check the packages until monday.
Ok, then I delay the RC6 until your commit. All other issues are ready for RC6 (except one OpenSC problem).
Michael -- ------------------------------------------------------------------- Michael Bell Email: [EMAIL PROTECTED] ZE Computer- und Medienservice Tel.: +49 (0)30-2093 2482 (Computing Centre) Fax: +49 (0)30-2093 2704 Humboldt-University of Berlin Unter den Linden 6 10099 Berlin Email (private): [EMAIL PROTECTED] Germany http://www.openca.org
------------------------------------------------------- This SF.Net email is sponsored by OSTG. Have you noticed the changes on Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now, one more big change to announce. We are now OSTG- Open Source Technology Group. Come see the changes on the new OSTG site. www.ostg.com _______________________________________________ OpenCA-Devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/openca-devel