summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbad <bad>2012-10-07 18:52:16 +0000
committerbad <bad>2012-10-07 18:52:16 +0000
commit4bd6498c88f3a23752a12976c7160176337bba04 (patch)
tree0a1c52785b487c4f51c4e3fdb41565d496763152
parent17a1a18ebcfef7e86ce7ce54bc91bafd42f6a62a (diff)
downloadpkgsrc-4bd6498c88f3a23752a12976c7160176337bba04.tar.gz
Update Jdb to p5-Fsdb 2.26. Jdb was renamed to Fsdb with version 2.12.
FSDB is package of commands for manipulating flat-ASCII databases from shell scripts. FSDB is useful to process medium amounts of data (with very little data you'd do it by hand, with megabytes you might want a real database).
-rw-r--r--databases/Makefile4
-rw-r--r--databases/jdb/DESCR12
-rw-r--r--databases/jdb/Makefile23
-rw-r--r--databases/jdb/PLIST50
-rw-r--r--databases/jdb/distinfo5
-rw-r--r--databases/p5-Fsdb/DESCR23
-rw-r--r--databases/p5-Fsdb/Makefile23
-rw-r--r--databases/p5-Fsdb/distinfo5
8 files changed, 53 insertions, 92 deletions
diff --git a/databases/Makefile b/databases/Makefile
index 5c8370a51f1..f51d18417e9 100644
--- a/databases/Makefile
+++ b/databases/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.409 2012/10/05 21:09:02 adam Exp $
+# $NetBSD: Makefile,v 1.410 2012/10/07 18:52:16 bad Exp $
#
COMMENT= Databases
@@ -42,7 +42,6 @@ SUBDIR+= ipa_sdb
SUBDIR+= java-db3
SUBDIR+= java-qdbm
SUBDIR+= java-tokyocabinet
-SUBDIR+= jdb
SUBDIR+= jdbc-mysql31
SUBDIR+= jdbc-mysql5
SUBDIR+= jdbc-postgresql83
@@ -152,6 +151,7 @@ SUBDIR+= p5-DB_File
SUBDIR+= p5-DB_File-Lock
SUBDIR+= p5-Data-Table
SUBDIR+= p5-DublinCore-Record
+SUBDIR+= p5-Fsdb
SUBDIR+= p5-Ima-DBI
SUBDIR+= p5-Jifty-DBI
SUBDIR+= p5-MARC
diff --git a/databases/jdb/DESCR b/databases/jdb/DESCR
deleted file mode 100644
index f977254b3ae..00000000000
--- a/databases/jdb/DESCR
+++ /dev/null
@@ -1,12 +0,0 @@
-JDB is package of commands for manipulating flat-ASCII databases from
-shell scripts. JDB is useful to process medium amounts of data (with
-very little data you'd do it by hand, with megabytes you might want a
-real database). JDB is very good at doing things like:
-
- - extracting measurements from experimental output
- - re-examining data to address different hypotheses
- - joining data from different experiments
- - eliminating/detecting outliers
- - computing statistics on data (mean, confidence intervals,
- correlations, histograms)
- - reformatting data for graphing programs
diff --git a/databases/jdb/Makefile b/databases/jdb/Makefile
deleted file mode 100644
index 244ff46d5f7..00000000000
--- a/databases/jdb/Makefile
+++ /dev/null
@@ -1,23 +0,0 @@
-# $NetBSD: Makefile,v 1.17 2012/10/03 21:54:12 wiz Exp $
-
-DISTNAME= jdb-1.13
-PKGREVISION= 2
-CATEGORIES= databases
-MASTER_SITES= http://www.isi.edu/~johnh/SOFTWARE/JDB/
-
-MAINTAINER= bad@NetBSD.org
-HOMEPAGE= http://www.isi.edu/~johnh/SOFTWARE/JDB/index.html
-COMMENT= Commands for manipulating flat-ASCII databases
-
-GNU_CONFIGURE= yes
-USE_TOOLS+= perl:run
-
-CONFIGURE_ARGS+= --with-perl=${LOCALBASE}/bin
-CONFIGURE_ARGS+= --datadir=${PREFIX}/share/jdb
-
-REPLACE_PERL+= crl_to_db *.pm dblib.pl
-
-INSTALL_MAKE_FLAGS+= BINDIR=${DESTDIR}${PREFIX}/bin \
- LIBDIR=${DESTDIR}${PREFIX}/share/jdb
-
-.include "../../mk/bsd.pkg.mk"
diff --git a/databases/jdb/PLIST b/databases/jdb/PLIST
deleted file mode 100644
index e0f670bcc21..00000000000
--- a/databases/jdb/PLIST
+++ /dev/null
@@ -1,50 +0,0 @@
-@comment $NetBSD: PLIST,v 1.5 2009/06/14 17:43:16 joerg Exp $
-bin/crl_to_db
-bin/db2dcliff
-bin/db_to_html_table
-bin/dbcol
-bin/dbcolcreate
-bin/dbcoldefine
-bin/dbcoldiff
-bin/dbcolhisto
-bin/dbcolize
-bin/dbcolmerge
-bin/dbcolmovingstats
-bin/dbcolmultiscale
-bin/dbcolneaten
-bin/dbcolpercentile
-bin/dbcolrename
-bin/dbcolscorrelate
-bin/dbcolsplit
-bin/dbcolstats
-bin/dbcoltighten
-bin/dbfilesplit
-bin/dbformmail
-bin/dbjoin
-bin/dblistize
-bin/dbmultistats
-bin/dbrecolize
-bin/dbrow
-bin/dbrowaccumulate
-bin/dbrowdiff
-bin/dbrowenumerate
-bin/dbroweval
-bin/dbrowsplituniq
-bin/dbrowuniq
-bin/dbsort
-bin/dbstats
-bin/dbstripcomments
-bin/dbstripextraheaders
-bin/dbstripleadingspace
-bin/dmalloc_to_db
-bin/ipchain_logs_to_db
-bin/kitrace_to_db
-bin/ns_to_db
-bin/tabdelim_to_db
-bin/tcpdump_to_db
-share/jdb/COPYING
-share/jdb/DbGetopt.pm
-share/jdb/DbTDistr.pm
-share/jdb/README
-share/jdb/dblib.pl
-share/jdb/release
diff --git a/databases/jdb/distinfo b/databases/jdb/distinfo
deleted file mode 100644
index 11063a6f8a4..00000000000
--- a/databases/jdb/distinfo
+++ /dev/null
@@ -1,5 +0,0 @@
-$NetBSD: distinfo,v 1.7 2005/02/23 16:33:06 agc Exp $
-
-SHA1 (jdb-1.13.tar.gz) = 112a113fb11fdc69c8352707a3480a5c90c247db
-RMD160 (jdb-1.13.tar.gz) = 15cc7a5a17d99ea25531845ee26467b7f2e02524
-Size (jdb-1.13.tar.gz) = 143843 bytes
diff --git a/databases/p5-Fsdb/DESCR b/databases/p5-Fsdb/DESCR
new file mode 100644
index 00000000000..07a5893137e
--- /dev/null
+++ b/databases/p5-Fsdb/DESCR
@@ -0,0 +1,23 @@
+FSDB is package of commands for manipulating flat-ASCII databases from
+shell scripts. FSDB is useful to process medium amounts of data (with
+very little data you'd do it by hand, with megabytes you might want a
+real database).
+
+Fsdb was known as Jdb from 1991 to Oct. 2008.
+
+Fsdb is very good at doing things like:
+
+ - extracting measurements from experimental output
+ - re-examining data to address different hypotheses
+ - joining data from different experiments
+ - eliminating/detecting outliers
+ - computing statistics on data (mean, confidence intervals,
+ correlations, histograms)
+ - reformatting data for graphing programs
+
+Rather than hand-code scripts to do each special case, FSDB provides
+higher-level functions. Although it's often easy throw together a
+custom script to do any single task, I believe that there are several
+advantages to using this library: it is higher-level than raw perl,
+control uses names intead of column numbers, it is self-documenting,
+and it is very robust (error cases, careful memory handling, etc.).
diff --git a/databases/p5-Fsdb/Makefile b/databases/p5-Fsdb/Makefile
new file mode 100644
index 00000000000..e26c1e2bd14
--- /dev/null
+++ b/databases/p5-Fsdb/Makefile
@@ -0,0 +1,23 @@
+# $NetBSD: Makefile,v 1.1 2012/10/07 18:52:17 bad Exp $
+
+DISTNAME= Fsdb-2.26
+PKGNAME= p5-${DISTNAME}
+CATEGORIES= databases
+MASTER_SITES= http://www.isi.edu/~johnh/SOFTWARE/FSDB/
+
+MAINTAINER= bad@NetBSD.org
+HOMEPAGE= http://www.isi.edu/~johnh/SOFTWARE/FSDB/index.html
+COMMENT= Commands for manipulating flat-ASCII databases
+LICENSE= gnu-gpl-v2
+
+CONFLICTS= jdb-[0-9]*
+
+USE_TOOLS+= perl
+
+DEPENDS+= p5-HTML-Parser>=3.69:../../www/p5-HTML-Parser
+DEPENDS+= p5-Text-CSV_XS>=0.91:../../textproc/p5-Text-CSV_XS
+
+PERL5_PACKLIST= auto/Fsdb/.packlist
+
+.include "../../lang/perl5/module.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/databases/p5-Fsdb/distinfo b/databases/p5-Fsdb/distinfo
new file mode 100644
index 00000000000..b89bc5a14d9
--- /dev/null
+++ b/databases/p5-Fsdb/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1 2012/10/07 18:52:17 bad Exp $
+
+SHA1 (Fsdb-2.26.tar.gz) = 5df321c6ea45424a7fff57e120b1f809b2dd4895
+RMD160 (Fsdb-2.26.tar.gz) = 20af75ba9711c5de73fbdda3993906b32560fe53
+Size (Fsdb-2.26.tar.gz) = 315213 bytes