Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 11 May 2009 06:18:32 GMT
From:      "Philip M. Gollucci" <pgollucci@FreeBSD.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        janos.mohacsi@bsd.hu
Subject:   ports/134445: [PATCH] databases/mysqlman: lots of cleanups
Message-ID:  <200905110618.n4B6IW6g052376@freefall.freebsd.org>
Resent-Message-ID: <200905110620.n4B6K1k7052411@freefall.freebsd.org>

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

>Number:         134445
>Category:       ports
>Synopsis:       [PATCH] databases/mysqlman: lots of cleanups
>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:   Mon May 11 06:20:01 UTC 2009
>Closed-Date:
>Last-Modified:
>Originator:     Philip M. Gollucci
>Release:        FreeBSD 7.1-PRERELEASE i386
>Organization:
Riderway Inc.
>Environment:
System: FreeBSD freefall.freebsd.org 7.1-PRERELEASE FreeBSD 7.1-PRERELEASE #36: Mon Dec 29 15:15:30 UTC 2008
>Description:
- Remove apache from RUN_DEPENDS
- APACHE_COMPAT is deprecated, replace with USE_APACHE=1.3
- USE_MYSQL=yes instead of p5-DBD-mysql (databases/mysql*-client depend on it)
- Use WWWOWN and WWWGRP

Port maintainer (janos.mohacsi@bsd.hu) is cc'd.

Generated with FreeBSD Port Tools 0.77
>How-To-Repeat:
>Fix:

--- mysqlman-1.09_2.patch begins here ---
Index: Makefile
===================================================================
RCS file: /home/pcvs/ports/databases/mysqlman/Makefile,v
retrieving revision 1.9
diff -u -u -r1.9 Makefile
--- Makefile	19 Sep 2005 11:52:11 -0000	1.9
+++ Makefile	11 May 2009 06:16:44 -0000
@@ -6,25 +6,24 @@
 
 PORTNAME=	mysqlman
 PORTVERSION=	1.09
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	databases www
 MASTER_SITES=	http://www.gossamer-threads.com/scripts/source/
-DISTNAME=	mysqlman
+DISTNAME=	${PORTNAME}
 
 MAINTAINER=	janos.mohacsi@bsd.hu
 COMMENT=	MySQLMan is a web based MySQL database manager written in perl
 
-RUN_DEPENDS=	${WWW_DIR}:${PORTSDIR}/${APACHE_PORT} \
-		${SITE_PERL}/${PERL_ARCH}/DBD/mysql.pm:${PORTSDIR}/databases/p5-DBD-mysql
+RESTRICTED=	not redistributable, license agreement required
 
-WRKSRC=		${WRKDIR}/${DISTNAME}-${PORTVERSION}
-RESTRICTED=	"not redistributable, license agreement required"
 USE_PERL5=	yes
+USE_APACHE=	1.3
+USE_MYSQL=	yes
+
 NO_BUILD=	yes
-APACHE_COMPAT=	yes
 
-# to determine whether apache installed
-WWW_DIR=	${LOCALBASE}/www/
+WRKSRC=	${WRKDIR}/${PORTNAME}-${PORTVERSION}
+
 #install dir of mysqlman
 MYMANDIR=	www/mysqlman-${PORTVERSION}
 
@@ -35,7 +34,7 @@
 f="mysql.cgi"
 
 #Web user
-WEBUSER?=	www:www
+WEBUSER?=	${WWWOWN}:${WWWGRP}
 
 .include <bsd.port.pre.mk>
 
--- mysqlman-1.09_2.patch ends here ---

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



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