ports/72001: [UPDATE] port www/phpgedview to ver.3.1
Alexander Novitsky
alecn2002 at yandex.ru
Wed Sep 22 16:30:29 UTC 2004
>Number: 72001
>Category: ports
>Synopsis: [UPDATE] port www/phpgedview to ver.3.1
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: update
>Submitter-Id: current-users
>Arrival-Date: Wed Sep 22 16:30:28 GMT 2004
>Closed-Date:
>Last-Modified:
>Originator: Alexander Novitsky
>Release: FreeBSD 5.2-RELEASE i386
>Organization:
Inzhcomcentre VVD
>Environment:
System: FreeBSD server.v42of.icc-vvd.ru 5.2-RELEASE FreeBSD 5.2-RELEASE #2: Mon Jul 12 21:45:44 MSD 2004 root at server.v42of.icc-vvd.ru:/usr/src/sys/i386/compile/ORACLE i386
>Description:
[UPDATE] port www/phpgedview to ver.3.1
'pkg-plist' file was deleted, it's generated on-the-fly now
As I've got the following message from Hubert Tournier,
I suppose I could take maintenance of port www/phpgedview on myself
(alecn at icc-vvd.ru is my work mail address which I don't use for ports):
------
Received: from postfix4-2.free.fr (postfix4-2.free.fr [213.228.0.176])
by mail.icc-vvd.ru (8.12.10/8.12.9) with ESMTP id i8HL66pO004905
for <alecn at icc-vvd.ru>; Sat, 18 Sep 2004 01:06:07 +0400 (MSD)
(envelope-from hubert.tournier at online.fr)
Received: from [192.168.1.1] (chaville-2-82-227-103-20.fbx.proxad.net [82.227.103.20])
by postfix4-2.free.fr (Postfix) with ESMTP id D8CB81EB140
for <alecn at icc-vvd.ru>; Fri, 17 Sep 2004 23:06:03 +0200 (CEST)
Message-ID: <414B51F1.9000004 at online.fr>
Date: Fri, 17 Sep 2004 23:06:57 +0200
From: Hubert Tournier <hubert.tournier at online.fr>
Reply-To: hubert at tournier.org
To: Alexander Novitsky <alecn at icc-vvd.ru>
Subject: Re: FreeBSD port "www/phpgedview" (Online genealogy viewer)
References: <200409171803.25475.alecn at icc-vvd.ru>
In-Reply-To: <200409171803.25475.alecn at icc-vvd.ru>
Hello Alexander,
Alexander Novitsky wrote:
> You are mentioned as the maintainer for the FreeBSD port
> "www/phpgedview" (Online genealogy viewer). Current version of phpGedView is
> 3.1, but your port relates to ver.2.65.3.
> Are you going to update the port in the near future?
Between kids and attempts to get a new job, I haven't much free time these days.
> If no - could I take maintaining of this port on myself? (I've made the port
> of ver.3.1 for myself, it works OK)
You're welcome to do so !
I suppose I will have to post a message stating this maintainership drop
in your favor ?
Best regards,
------
By the way: as I'm the ports contributor, could I get an address
alecn at freebsd.org?
>How-To-Repeat:
>Fix:
--- phpgedview-2.65.3-3.1.diff begins here ---
diff -ubB --exclude=CVS www/phpgedview/Makefile local/phpgedview/Makefile
--- www/phpgedview/Makefile Fri May 28 12:52:58 2004
+++ local/phpgedview/Makefile Wed Sep 22 20:12:19 2004
@@ -2,38 +2,66 @@
# Date created: 20 fevrier 2004
# Whom: Hubert Tournier <hubert at frbsd.org>
#
-# $FreeBSD: ports/www/phpgedview/Makefile,v 1.2 2004/05/28 08:52:58 erwin Exp $
+# $FreeBSD$
#
-PORTNAME= phpgedview
-PORTVERSION= 2.65.3
+PORTNAME= phpGedView
+PORTVERSION= 3.1
CATEGORIES= www
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
-MASTER_SITE_SUBDIR= ${PORTNAME}
-DISTNAME= phpGedView-${PORTVERSION}
+MASTER_SITE_SUBDIR= phpgedview
-MAINTAINER= hubert at frbsd.org
+MAINTAINER= alecn2002 at yandex.ru
COMMENT= Online genealogy viewer
+.if defined(WITH_APACHE1)
+RUN_DEPENDS= ${LOCALBASE}/sbin/httpd:${PORTSDIR}/www/apache13
+.else
+RUN_DEPENDS= ${LOCALBASE}/sbin/httpd:${PORTSDIR}/www/apache2
+.endif
+
+.if defined(WITH_MYSQL) || defined(WITH_MYSQL41)
+RUN_DEPENDS+= ${LOCALBASE}/bin/mysql_config:${PORTSDIR}/database/mysql41-server
+.endif
+.if defined(WITH_MYSQL40)
+RUN_DEPENDS+= ${LOCALBASE}/sbin/mysqlcc:${PORTSDIR}/database/mysql40-server
+.endif
+# .if defined(WITH_MYSQL50)
+# RUN_DEPENDS+= ${LOCALBASE}/sbin/mysqlcc:${PORTSDIR}/database/mysql50-server
+# .endif
+
+WRKSRC= ${WRKDIR}/${PORTNAME}
+
USE_PHP= yes
-WRKSRC= ${WRKDIR}/phpGedView
NO_BUILD= yes
GEDVIEWDIR?= www/data/phpGedView
+FULLGWDIR= ${LOCALBASE}/${GEDVIEWDIR}
PLIST_SUB+= GEDVIEWDIR=${GEDVIEWDIR}
+PLIST= ${WRKDIR}/pkg-plist
+
+FILES_TO_DISTATE= authentication_index.php \
+ authentication_mysql.php \
+ config.php \
+ config_download.php \
+ config_gedcom.php
+
+pre-install:
+.for f in ${FILES_TO_DISTATE}
+ ${CP} ${WRKSRC}/${f} ${WRKSRC}/${f}-dist
+.endfor
+ ${FIND} -s -d ${WRKSRC} -type f | ${SED} "s?${WRKSRC}?%%GEDVIEWDIR%%?g" >${PLIST}
+ ${FIND} -s -d ${WRKSRC} -type d | ${SED} "s?${WRKSRC}?@dirrm %%GEDVIEWDIR%%?g" >> ${PLIST}
+
do-install:
- ${MKDIR} ${PREFIX}/${GEDVIEWDIR}
- ${LN} -f ${WRKSRC}/authenticate.php ${WRKSRC}/authenticate.php-dist
- ${LN} -f ${WRKSRC}/config.php ${WRKSRC}/config.php-dist
- ${CP} -Rn ${WRKSRC}/* ${PREFIX}/${GEDVIEWDIR}
- ${RM} ${PREFIX}/${GEDVIEWDIR}/GPL.txt
- ${RM} ${PREFIX}/${GEDVIEWDIR}/changelog.txt
- ${RM} ${PREFIX}/${GEDVIEWDIR}/languages/LANG_CHANGELOG.txt
- ${FIND} ${PREFIX}/${GEDVIEWDIR} -type d -exec ${CHMOD} a+x {} \;
- ${CHMOD} a+w ${PREFIX}/${GEDVIEWDIR}/authenticate.php
- ${CHMOD} a+w ${PREFIX}/${GEDVIEWDIR}/config.php
- ${CHMOD} a+w ${PREFIX}/${GEDVIEWDIR}/index
+ ${INSTALL_DATA} -d ${FULLGWDIR}
+ ${CP} -Rnv ${WRKSRC}/* ${FULLGWDIR}
+ ${FIND} ${FULLGWDIR} -type d -exec ${CHMOD} a+x {} \;
+.for f in ${FILES_TO_DISTATE}
+ ${CHMOD} a+w ${FULLGWDIR}/${f}
+.endfor
+ ${CHMOD} a+w ${FULLGWDIR}/index
post-install:
@${CAT} ${PKGMESSAGE}
diff -ubB --exclude=CVS www/phpgedview/distinfo local/phpgedview/distinfo
--- www/phpgedview/distinfo Fri May 28 02:03:08 2004
+++ local/phpgedview/distinfo Fri Sep 17 22:34:11 2004
@@ -1 +1,2 @@
-MD5 (phpGedView-2.65.3.tar.gz) = 0c38d2b9dfad9f43ff69764c068c67b9
+MD5 (phpGedView-3.1.tar.gz) = bc71b3fce5af8f76d1de12ea8fa80dda
+SIZE (phpGedView-3.1.tar.gz) = 1951798
Only in www/phpgedview/: pkg-plist
--- phpgedview-2.65.3-3.1.diff ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list