Date: Thu, 05 Jan 2006 09:45:34 +0000 From: Geraint Edwards <gedge-oss@yadn.org> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/91340: ircd-hybrid ssl broken, prefix documentation, halfops option Message-ID: <E1EuRgc-0004bu-2a@stretcher.cymru.serf.org> Resent-Message-ID: <200601050950.k059o40R094267@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 91340 >Category: ports >Synopsis: ircd-hybrid ssl broken, prefix documentation, halfops option >Confidential: no >Severity: serious >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Thu Jan 05 09:50:03 GMT 2006 >Closed-Date: >Last-Modified: >Originator: Geraint Edwards >Release: FreeBSD 5.4-RELEASE-p7 i386 >Organization: >Environment: System: FreeBSD stretcher 5.4-RELEASE-p7 FreeBSD 5.4-RELEASE-p7 #0: Fri Sep 23 16:34:21 BST 2005 root@stretcher:/usr/obj/usr/src/sys/GENERIC i386 >Description: (i) The Makefile states that PREFIX defaults to /usr/local/ircd - this is not true. (minor doc error). (ii) If SSL is chosen (WITH_OPENSSL), the Makefile passes --enable-openssl=${OPENSSLINC}/openssl to configure, but configure tests by appending include/openssl, so SSL option fails (because it cannot find headers). (iii) Add option for halfops (WITH_HALFOPS). >How-To-Repeat: (i) compare "make configure" and "make PREFIX=/usr/local/ircd configure". Or use install and compare where the binaries, ircd-hybrid.sh (etc) get put (not the same!). (ii) Try to get SSL enabled in configure with: make WITH_OPENSSL=1 configure Then use my patch (below) and run, for non-port openssl: make OPENSSLINC=/usr WITH_OPENSSL=1 configure Or, for the openssl port (untested): make OPENSSLINC=/usr/local WITH_OPENSSL=1 configure (iii) With the patch, use: make WITH_HALFOPS=1 configure >Fix: Here's the patch --- /usr/local/ports/irc/ircd-hybrid/Makefile.20060101010203 Thu Jan 5 09:20:16 2006 +++ Makefile Wed Jan 4 09:41:13 2006 @@ -28,7 +28,7 @@ # # User Configurable Variables # -# PREFIX - Where to install ircd-hybrid. Default is /usr/local/ircd +# PREFIX - Where to install ircd-hybrid. Default is /usr/local # WITH_OPENSSL - Enable openssl. Allows use of CHALLENGE and encrypted links. # WITHOUT_SHARED_MODULES - Disable shared modules. More secure but reduces flexability. # WITHOUT_ASSERT - Disable parts of the debugging code. @@ -42,7 +42,11 @@ .if defined(WITH_OPENSSL) USE_OPENSSL= yes -CONFIGURE_ARGS+= --enable-openssl=${OPENSSLINC}/openssl +CONFIGURE_ARGS+= --enable-openssl=${OPENSSLINC} +.endif + +.if defined(WITH_HALFOPS) +CONFIGURE_ARGS+= --enable-halfops .endif .if defined(WITHOUT_SHARED_MODULES) >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?E1EuRgc-0004bu-2a>