Hello, I'm the dspam maintainer for Fedora and EPEL packages. I am trying to update the packages in fedora in response to a packaging issue however they fail to build on newer version of fedora. I've narrowed down the issue to a configure issue.
From configure.ac # Daemon support # AC_ARG_ENABLE(daemon, [AS_HELP_STRING(--enable-daemon, Enable support for DSPAM to run in --daemon mode )]) AC_MSG_CHECKING([whether to enable daemon mode]) case x"$enable_daemon" in xyes) # daemon output enabled explicity ;; xno) # daemon output disabled explicity ;; x) # daemon output disabled by default enable_daemon=no ;; *) AC_MSG_ERROR([unexpected value $enable_daemon for --{enable,disable}-daemon configure option]) ;; esac if test x"$enable_daemon" != xyes then enable_daemon=no else enable_daemon=yes # overkill, but convenient AC_DEFINE(DAEMON, 1, [Defined if daemon support is enabled]) fi AC_MSG_RESULT([$enable_daemon]) The following code gets translated into the configure script that does the checking. For each of these snippets in configure.ac if I don't specify yes or no I get configure errors of unexpected value X for .... However with one small change case "x$enable_daemon" in... everything continues to function. So I'd like to bring this to the attention of the DSPAM maintainers. I'm not sure if there is a cleaner way to designate the tests for configure/autotools or if that is indeed the right fix. In the meantime I will be patching the newer packages configure.ac so that they build but thought I would bring up the issue here for the dspam developers. Also as a heads up Fedora is moving towards systemd which allows for socket based activation. It would be nice if dspam in daemon mode could work that way. Here is the information regarding that feature if someone cares to implement it. https://fedoraproject.org/wiki/User:Johannbg/QA/Systemd/Daemon#Socket-Based_Activation ------------------------------------------------------------------------------ Free Software Download: Index, Search & Analyze Logs and other IT data in Real-Time with Splunk. Collect, index and harness all the fast moving IT data generated by your applications, servers and devices whether physical, virtual or in the cloud. Deliver compliance at lower cost and gain new business insights. http://p.sf.net/sfu/splunk-dev2dev _______________________________________________ Dspam-user mailing list Dspam-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspam-user