ports/170253: [patch] net/freeradius2 fix PgSQL grant statement in admin.sql

Olli Hauer ohauer at FreeBSD.org
Sun Jul 29 09:00:03 UTC 2012


>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 at 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:



More information about the freebsd-ports-bugs mailing list