Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 386856 Details for
Bug 525234
net-misc/stunnel-5.05 - stunnel.c: undefined reference to `sd_listen_fds'
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Remove automagic dependency on systemd
stunnel-enable-systemd.patch (text/plain), 2.17 KB, created by
Anthony Basile
on 2014-10-18 01:52:24 UTC
(
hide
)
Description:
Remove automagic dependency on systemd
Filename:
MIME Type:
Creator:
Anthony Basile
Created:
2014-10-18 01:52:24 UTC
Size:
2.17 KB
patch
obsolete
>diff -Naur stunnel-5.07.orig/configure.ac stunnel-5.07/configure.ac >--- stunnel-5.07.orig/configure.ac 2014-10-16 00:38:32.000000000 -0400 >+++ stunnel-5.07/configure.ac 2014-10-17 21:44:52.768542403 -0400 >@@ -168,7 +168,6 @@ > # AC_HEADER_SYS_WAIT > AC_CHECK_HEADERS([malloc.h ucontext.h pthread.h poll.h tcpd.h stropts.h grp.h unistd.h util.h libutil.h pty.h]) > AC_CHECK_HEADERS([sys/types.h sys/select.h sys/poll.h sys/socket.h sys/un.h sys/ioctl.h sys/filio.h sys/resource.h sys/uio.h sys/syscall.h]) >-AC_CHECK_HEADERS([systemd/sd-daemon.h]) > AC_CHECK_MEMBERS([struct msghdr.msg_control], > [AC_DEFINE([HAVE_MSGHDR_MSG_CONTROL], [1], > [Define to 1 if you have 'msghdr.msg_control' structure.])], [], [ >@@ -193,8 +192,6 @@ > AC_SEARCH_LIBS([dlopen], [dl]) > AC_SEARCH_LIBS([shl_load], [dld]) > AC_SEARCH_LIBS([inflateEnd], [z]) >-# the library name has changed to -lsystemd in systemd 209 >-AC_SEARCH_LIBS([sd_listen_fds], [systemd systemd-daemon]) > > # Add BeOS libraries > if test "$host_os" = "beos"; then >@@ -418,6 +415,34 @@ > ] > ) > >+# Systemd >+AC_MSG_CHECKING([whether to enable systemd socket activation]) >+AC_ARG_ENABLE(systemd, >+[ --enable-systemd Enable systemd socket activation], >+ [ >+ case "$enableval" in >+ yes) AC_MSG_RESULT([yes]) >+ AC_CHECK_HEADERS([systemd/sd-daemon.h]) >+ # the library name has changed to -lsystemd in systemd 209 >+ AC_SEARCH_LIBS([sd_listen_fds], [systemd systemd-daemon]) >+ if test $ac_cv_search_sd_listen_fds = "no"; then >+ AC_MSG_ERROR([systemd socket activation requested but no systemd library found]) >+ fi >+ ;; >+ no) AC_MSG_RESULT([no]) >+ ;; >+ *) AC_MSG_RESULT([error]) >+ AC_MSG_ERROR([bad value \"${enableval}\"]) >+ ;; >+ esac >+ ], >+ [ >+ # We revert to autodetection if no enable/disable flag was given >+ AC_CHECK_HEADERS([systemd/sd-daemon.h]) >+ AC_SEARCH_LIBS([sd_listen_fds], [systemd systemd-daemon]) >+ ] >+) >+ > AC_MSG_NOTICE([**************************************** SSL]) > check_ssl_dir() { : > SSLDIR="$1"
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 525234
:
386592
|
386680
|
386856
|
386858