>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:
_______________________________________________
freebsd-bugs@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"

Reply via email to