Date: Tue, 8 Oct 2013 17:36:57 GMT From: Mark Felder <feld@FreeBSD.org> To: freebsd-gnats-submit@FreeBSD.org Subject: misc/182836: [PATCH] net/freeradius2: always build against ports openssl Message-ID: <201310081736.r98HavEM038932@oldred.freebsd.org> Resent-Message-ID: <201310081740.r98He0ns049227@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 182836 >Category: misc >Synopsis: [PATCH] net/freeradius2: always build against ports openssl >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Tue Oct 08 17:40:00 UTC 2013 >Closed-Date: >Last-Modified: >Originator: Mark Felder >Release: >Organization: >Environment: >Description: radiusd is extremely sensitive to libssl changes. For example, my server is running FreeBSD 9.1-p7 and when you try to use the package on the pkg-test.freebsd.org repository it does not work libssl version mismatch. Built with: 90818f Linked: 90819f So as it turns out my libssl version is slightly newer than the 9.1-RELEASE on the package repository which breaks this package. We should just build against the one in ports so we always have a working net/freeradius2 package. >How-To-Repeat: >Fix: Patch attached with submission follows: Index: Makefile =================================================================== --- Makefile (revision 329094) +++ Makefile (working copy) @@ -3,6 +3,7 @@ PORTNAME= freeradius DISTVERSION= 2.2.1 +PORTREVISION= 1 CATEGORIES= net MASTER_SITES= ftp://ftp.freeradius.org/pub/freeradius/%SUBDIR%/ \ ftp://ftp.ntua.gr/pub/net/radius/freeradius/%SUBDIR%/ \ @@ -32,6 +33,7 @@ USE_AUTOTOOLS= libltdl libtool autoconf USE_BZIP2= yes USE_OPENSSL= yes +WITH_OPENSSL_PORT=yes MAKE_ARGS+= LDFLAGS="-L${LOCALBASE}/lib ${PTHREAD_LIBS}" CFLAGS+= -I${LOCALBASE}/include -L${LOCALBASE}/lib MAKE_JOBS_UNSAFE= yes >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201310081736.r98HavEM038932>