Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 29 Jul 2012 08:53:34 GMT
From:      Olli Hauer <ohauer@FreeBSD.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/170253: [patch] net/freeradius2 fix PgSQL grant statement in admin.sql
Message-ID:  <201207290853.q6T8rYM3018916@freefall.freebsd.org>
Resent-Message-ID: <201207290900.q6T9031m019083@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         170253
>Category:       ports
>Synopsis:       [patch] net/freeradius2 fix PgSQL grant statement in admin.sql
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sun Jul 29 09:00:02 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator:     Olli Hauer <ohauer@FreeBSD.org>
>Release:        
>Organization:
>Environment:


>Description:
Fix SQL grant statement (PgSQL != MySQL)

https://bugzilla.redhat.com/show_bug.cgi?id=690756

>How-To-Repeat:

>Fix:

--- freeradius2.diff begins here ---
Index: freeradius2/Makefile
===================================================================
--- freeradius2/Makefile	(revision 301674)
+++ freeradius2/Makefile	(working copy)
@@ -366,6 +366,9 @@
 # Patch scripts/Makefile not to install (unnecessary) rc.radiusd
 	@${REINPLACE_CMD} -Ee 's:^(.+rc\.radiusd.+)$$:#\1:g' \
 		${WRKSRC}/scripts/Makefile
+# Fix PgSQL statement
+	@${REINPLACE_CMD} -i '' -e 's|ius.rad||' \
+		${WRKSRC}/raddb/sql/postgresql/admin.sql
 
 pre-configure:
 # Replace -pthread with ${PTHREAD_LIBS} in configure(.in) files
--- freeradius2.diff ends here ---


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201207290853.q6T8rYM3018916>