Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

#2 pkg-config support for openssl detection (+packageing fixs)

1.1.0
closed-accepted
Packaging (4)
5
2009-12-08
2009-10-07
Daniel Black
No

I started as a PKG_CONFIG test for openssl but it started to conflict with the uncommited autoconf patch I send msk yesterday so here it is in full.

reasons for changes:
+#AC_FUNC_FORK
+#AC_FUNC_MALLOC
+#AC_FUNC_MKTIME
+#AC_FUNC_REALLOC
wanted by autoscan however solaris crashes because from them says the cvs changelog for configure.ac

Use PKG_CHEKC_MODULES to search for openssl - much more likely to get a matching headers/library than searching. Fall back on searching if needed or if a path is specified.

libar/Makefile.am:
build static and shared libaries.
add libresolv because needs it on Linux, not sure if this is portable. Without this compulation will fail with LD_FLAGS --as-needed

-man_MANS = ar.3
-EXTRA_DIST = $(man_MANS)
+dist_man_MANS = ar.3
ensure man files are distributed

libopendkim/Makefile.am
changes due to openssl detection

docsdir separated for readability purpose. Used standard $(htmldir) which should be portable.

used libar.la file as linking dynamic libaries to static libraries causes relocation problems.

No tests directly use openssl functions therefore LDFLAGS are not needed.

opendkim/Makefile.am:
dist_sbin_SCRIPTS is simplier than adding it to EXTRA_DIST

$(docdir) is more portable than $(datarootdir)/doc/@PACKAGE@

opendkim - doesn't use milter or unbound directly so removed. Only uses openssl.
doesn't use TRE even with FFR_REPLACE_RULES which uses system(glibc) regex

opendkim_stats only uses LIBDB directly

opendkim_testkey doesn't use openssl or anything else directly

opendkim_testadsp only uses libopendkim

dist_man_ is simpler

Discussion

  • Daniel Black
    Daniel Black
    2009-10-07

    openssl pkg-config detect and dependancy fixes and libar dynamic

     
    • milestone: --> 1.1.0
     
  • This work was merged in from br-dblack-autoimprovements this weekend, for release in 1.2.0.

     
    • assigned_to: nobody --> cm-msk
     
    • status: open --> closed-accepted
     
  • v1.2.0 released.