ports/89703: [maintainer-update] textproc/refdb to 0.9.6

Paul A.Hoadley paulh at logicsquad.net
Tue Nov 29 01:50:06 UTC 2005


>Number:         89703
>Category:       ports
>Synopsis:       [maintainer-update] textproc/refdb to 0.9.6
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Tue Nov 29 01:50:03 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator:     Paul A. Hoadley
>Release:        FreeBSD 5.3-STABLE i386
>Organization:
Logic Squad
>Environment:
System: FreeBSD bigbird.logicsquad.net 5.3-STABLE FreeBSD 5.3-STABLE
#3: Wed Apr 27 21:13:03 CST 2005
paulh at bigbird.logicsquad.net:/usr/obj/usr/src/sys/BIGBIRD i386
>Description:
RefDB 0.9.6 was released on 2005-11-16.  It requires libdbi-0.8.1 or
greater, and that library's associated drivers from libdbi-drivers.  I
think the following line will be sufficient to express that
dependency:

BUILD_DEPENDS+=	dbi>=0.8.1:${PORTSDIR}/databases/libdbi
>How-To-Repeat:
>Fix:

--- diff begins here ---
diff -ruN /usr/ports/textproc/refdb/Makefile refdb/Makefile
--- /usr/ports/textproc/refdb/Makefile	Fri May 20 18:54:04 2005
+++ refdb/Makefile	Tue Nov 29 11:51:21 2005
@@ -2,11 +2,11 @@
 # Date created:	28 Apr 2005
 # Whom:		paulh at logicsquad.net
 #
-# $FreeBSD: ports/textproc/refdb/Makefile,v 1.1 2005/05/20 09:24:04 pav Exp $
+# $FreeBSD$
 #
 
 PORTNAME=	refdb
-PORTVERSION=	0.9.5a
+PORTVERSION=	0.9.6
 CATEGORIES=	textproc
 MASTER_SITES=	${MASTER_SITE_SOURCEFORGE_EXTENDED}
 MASTER_SITE_SUBDIR=	${PORTNAME}
@@ -15,8 +15,9 @@
 COMMENT=	Bibliographic reference database
 
 LIB_DEPENDS=	expat.5:${PORTSDIR}/textproc/expat2
+BUILD_DEPENDS+=	dbi>=0.8.1:${PORTSDIR}/databases/libdbi
 
-WRKSRC=		${WRKDIR}/refdb-0.9.5
+WRKSRC=		${WRKDIR}/refdb-0.9.6
 USE_GMAKE=	yes
 HAS_CONFIGURE=	yes
 ALL_TARGET=
@@ -29,9 +30,6 @@
 
 XMLCATMGR=	${LOCALBASE}/bin/xmlcatmgr
 
-# For testing:
-#CONFIGURE_ARGS+=	--prefix=/home/paulh/ports/textproc/refdb/install
-
 OPTIONS=	MYSQL	"Use MySQL" on \
 		PGSQL	"Use PostgreSQL" off \
 		SQLITE	"Use SQLite" off \
@@ -86,10 +84,17 @@
 	@${ECHO_MSG} "To complete RefDB installation:"
 .if defined(WITH_MYSQL)
 	@${ECHO_MSG} ""
-	@${ECHO_MSG} "1. To initialise MySQL, run the following commands:"
+	@${ECHO_MSG} "1. To initialise MySQL, run the following command:"
 	@${ECHO_MSG} ""
 	@${ECHO_MSG} "   mysql -u root -e \"CREATE DATABASE refdb\""
-	@${ECHO_MSG} "   mysql -u root refdb < ${PREFIX}/share/refdb/sql/refdb.dump"
+	@${ECHO_MSG} ""
+	@${ECHO_MSG} "   Then, for MySQL older than 4.1, run:"
+	@${ECHO_MSG} ""
+	@${ECHO_MSG} "   mysql -u root refdb < ${PREFIX}/share/refdb/sql/refdb.dump.mysql"
+	@${ECHO_MSG} ""
+	@${ECHO_MSG} "   For MySQL 4.1 and later, run:"
+	@${ECHO_MSG} ""
+	@${ECHO_MSG} "   mysql -u root refdb < ${PREFIX}/share/refdb/sql/refdb.dump.mysql41"
 	@${ECHO_MSG} ""
 .elif defined(WITH_PGSQL)
 	@${ECHO_MSG} ""
@@ -114,6 +119,6 @@
 	@${ECHO_MSG} "3. Customise the configuration scripts in ${PREFIX}/etc/refdb,"
 	@${ECHO_MSG} "   as described in the RefDB documentation at:"
 	@${ECHO_MSG} ""
-	@${ECHO_MSG} "   http://refdb.sourceforge.net/manual/x1390.html#AEN1484"
+	@${ECHO_MSG} "   http://refdb.sourceforge.net/manual/x593.html#SECT1-MYSTERY-INIT-FILES"
 
 .include <bsd.port.post.mk>
diff -ruN /usr/ports/textproc/refdb/distinfo refdb/distinfo
--- /usr/ports/textproc/refdb/distinfo	Fri May 20 18:54:04 2005
+++ refdb/distinfo	Wed Nov 16 17:37:49 2005
@@ -1,2 +1,2 @@
-MD5 (refdb-0.9.5a.tar.gz) = cc8dde53bd1e483c260a6e92d570e610
-SIZE (refdb-0.9.5a.tar.gz) = 1035533
+MD5 (refdb-0.9.6.tar.gz) = 4e03995c0f9fffe50c7caf77be37cd82
+SIZE (refdb-0.9.6.tar.gz) = 2899044
diff -ruN /usr/ports/textproc/refdb/files/patch-scripts-refdb refdb/files/patch-scripts-refdb
--- /usr/ports/textproc/refdb/files/patch-scripts-refdb	Fri May 20 18:54:04 2005
+++ refdb/files/patch-scripts-refdb	Thu Nov 10 12:33:37 2005
@@ -1,18 +1,18 @@
-*** scripts/refdb.orig	Sat Apr 30 16:45:49 2005
---- scripts/refdb	Sat Apr 30 16:46:18 2005
+*** scripts/refdb.orig	Thu Nov 10 12:29:22 2005
+--- scripts/refdb	Thu Nov 10 12:29:40 2005
 ***************
-*** 43,49 ****
-  # set to 'YES' if the OS uses a BSD-style daemon startup system (this is
+*** 45,51 ****
   # true for BSD-UNIX and Unices derived thereof, as well as for the
-  # Slackware Linux distribution)
+  # Slackware Linux distribution). This setting does not perform any black
+  # magic, but it makes the screen messages at startup match the OS style
 ! BSDSTYLE=NO
   
   # don't get interrupted
   trap "" 1
---- 43,49 ----
-  # set to 'YES' if the OS uses a BSD-style daemon startup system (this is
+--- 45,51 ----
   # true for BSD-UNIX and Unices derived thereof, as well as for the
-  # Slackware Linux distribution)
+  # Slackware Linux distribution). This setting does not perform any black
+  # magic, but it makes the screen messages at startup match the OS style
 ! BSDSTYLE=YES
   
   # don't get interrupted
diff -ruN /usr/ports/textproc/refdb/pkg-plist refdb/pkg-plist
--- /usr/ports/textproc/refdb/pkg-plist	Fri May 20 18:54:04 2005
+++ refdb/pkg-plist	Wed Nov 16 18:19:30 2005
@@ -15,10 +15,19 @@
 %%DATADIR%%/dtd/citationlistx.dtd
 %%DATADIR%%/dtd/risx.dtd
 %%DATADIR%%/dtd/xnote.dtd
+%%DATADIR%%/dtd/citationlistx.rnc
+%%DATADIR%%/dtd/citestylex.rnc
+%%DATADIR%%/dtd/risx.rnc
+%%DATADIR%%/dtd/xnote.rnc
+%%DATADIR%%/dtd/citationlistx.rng
+%%DATADIR%%/dtd/citestylex.rng
+%%DATADIR%%/dtd/risx.rng
+%%DATADIR%%/dtd/xnote.rng
 %%DATADIR%%/styles/Eur.J.Pharmacol.xml
 %%DATADIR%%/styles/J.Biol.Chem.xml
 %%DATADIR%%/styles/bibtex-abbrev.xml
 %%DATADIR%%/styles/bibtex-full.xml
+%%DATADIR%%/styles/schemas.xml
 %%DATADIR%%/xsl/common-refdb/refdbvar.xsl
 %%DATADIR%%/xsl/docbk-refdb-xsl/docbk-fo/docbk-refdb-fo.xsl
 %%DATADIR%%/xsl/docbk-refdb-xsl/docbk-html/docbk-refdb-html.xsl
@@ -30,21 +39,21 @@
 %%DATADIR%%/xsl/citations.xsl
 %%DATADIR%%/xsl/bibdb2tei.xsl
 %%DATADIR%%/xsl/makecss.xsl
-%%DATADIR%%/templates/refdbq_foot.html
-%%DATADIR%%/templates/refdbqp_foot.html
-%%DATADIR%%/templates/refdbq_head.html
-%%DATADIR%%/templates/refdbqp_head.html
-%%DATADIR%%/templates/refdbadd_foot.html
-%%DATADIR%%/templates/refdbadd_head.html
 %%DATADIR%%/www/refdbadd.html
-%%DATADIR%%/www/refdbdbquery.html
 %%DATADIR%%/www/refdbkajquery.html
-%%DATADIR%%/www/refdblogout.html
 %%DATADIR%%/www/refdbquery.html
-%%DATADIR%%/www/refdbquerynl.html
 %%DATADIR%%/www/refdbq.css
-%%DATADIR%%/www/access.js
 %%DATADIR%%/www/index.html
+%%DATADIR%%/www/admin.php
+%%DATADIR%%/www/include.php
+%%DATADIR%%/www/login.php
+%%DATADIR%%/www/refdb-prl-del.php
+%%DATADIR%%/www/refdbadd.php
+%%DATADIR%%/www/refdbadmin.php
+%%DATADIR%%/www/refdbdbquery.php
+%%DATADIR%%/www/refdbkajsearch.php
+%%DATADIR%%/www/refdblogout.php
+%%DATADIR%%/www/refdbsearch.php
 %%DATADIR%%/css/refdb.css
 %%DATADIR%%/examples/readme.examples
 %%DATADIR%%/examples/dbtest.short.sgml
@@ -59,7 +68,8 @@
 %%DATADIR%%/examples/testrefs.usmarc
 %%DATADIR%%/examples/Makefile.template
 %%DATADIR%%/examples/xnoteset.xml
-%%DATADIR%%/sql/refdb.dump
+%%DATADIR%%/sql/refdb.dump.mysql
+%%DATADIR%%/sql/refdb.dump.mysql41
 %%DATADIR%%/sql/refdb.dump.pgsql
 %%DATADIR%%/sql/refdb.dump.sqlite
 %%DATADIR%%/sql/empty.mysql.dump
@@ -84,14 +94,9 @@
 bin/refdbctl
 bin/refdbjade
 bin/runbib
-bin/tex2mail
 bin/db2ris
 bin/refdbxml
-bin/marc2ris.pl
-bin/med2ris.pl
-bin/en2ris.pl
 bin/refdbnd
-bin/dos2unix
 bin/refdbd
 bin/refdbib
 bin/refdbc
@@ -117,9 +122,9 @@
 @dirrm share/refdb/xsl/tei-refdb-xsl/tei-lib
 @dirrm share/refdb/xsl/tei-refdb-xsl
 @dirrm share/refdb/xsl
- at dirrm share/refdb/templates
 @dirrm share/refdb/www
 @dirrm share/refdb/css
+ at exec mkdir -p %D/share/refdb/db
 @dirrm share/refdb/db
 @dirrm share/refdb/examples
 @dirrm share/refdb/sql
--- diff ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list