I have a FreeBSD system that has the SSL libraries not built from ports. Apparently the syslog-ng port expects ssl to be installed from ports. I'd prefer not to do that at this time. However, when building syslog-ng from source, it expects pkg-config (or gnome-config as this FreeBSD still refers to it) for SSL, which also is not going to work. I've not tried the balabit supplied FreeBSD package. Any guidance on the best approach to get syslog-ng with SSL support installed onto this FreeBSD box? Keep in mind I'd like to avoid changing the installed openssl libaries at this time. Will the balabit package do the trick? Perhaps it is better to modify the build process from source? John
John Kristoff <jtk@cymru.com> writes:
I have a FreeBSD system that has the SSL libraries not built from ports. Apparently the syslog-ng port expects ssl to be installed from ports. I'd prefer not to do that at this time.
The newest sysutils/syslog-ng3 from ports should be able to build with the system SSL aswell. I'd suggest upgrading your ports collection, or at least sysutils/syslog-ng3. The trick is to set OPENSSL_CFLAGS and OPENSSL_LIBS environment variables prior to configure, as they override the pkg-config supplied ones (which won't even be tried in this case). Nevertheless, I'd suggest upgrading your ports collection, as building with the system openssl has been supported there for a while now (since late january, according to the $FreeBSD$ tag in the Makefile). -- |8]
On Mon, Mar 14, 2011 at 10:02:32AM -0500, John Kristoff wrote:
However, when building syslog-ng from source, it expects pkg-config (or gnome-config as this FreeBSD still refers to it) for SSL, which also is not going to work.
I had thought that whoever creates the package, base system, ports, or self-compiled, should be creating a pkgconfig file for it under the relevant path?
John
Matthew.
On Mon, 2011-03-14 at 23:33 -0700, Matthew Hall wrote:
On Mon, Mar 14, 2011 at 10:02:32AM -0500, John Kristoff wrote:
However, when building syslog-ng from source, it expects pkg-config (or gnome-config as this FreeBSD still refers to it) for SSL, which also is not going to work.
I had thought that whoever creates the package, base system, ports, or self-compiled, should be creating a pkgconfig file for it under the relevant path?
Yup, that's my assumption too. But you can always override pkg-config using environment variables, like Algernon has written. -- Bazsi
On 03/15/2011 07:33 AM, Matthew Hall wrote:
On Mon, Mar 14, 2011 at 10:02:32AM -0500, John Kristoff wrote:
However, when building syslog-ng from source, it expects pkg-config (or gnome-config as this FreeBSD still refers to it) for SSL, which also is not going to work.
I had thought that whoever creates the package, base system, ports, or self-compiled, should be creating a pkgconfig file for it under the relevant path?
SSL in the FreeBSD base system does not have it. Algernon helped to find the correct ./configure arguments, so using SSL from the base system works now in sysutils/syslog-ng3. I hope to update sysutils/syslog-ng3-devel to 3.3alpha2 later this week, so it will also be available from ports, making compilation a lot more easy. Bye, -- Peter Czanik (CzP) <czanik@balabit.hu> BalaBit IT Security / syslog-ng upstream http://czanik.blogs.balabit.com/
participants (5)
-
Balazs Scheidler
-
Gergely Nagy
-
John Kristoff
-
Matthew Hall
-
Peter Czanik