diff options
author | erich <erich@FreeBSD.org> | 1996-12-12 10:41:11 +0800 |
---|---|---|
committer | erich <erich@FreeBSD.org> | 1996-12-12 10:41:11 +0800 |
commit | 04862ba426dffd466d4c531175630086a97ba643 (patch) | |
tree | d167988b1c5deaea92a7944f3813b0ccecee6c6b /databases/typhoon | |
parent | 6af8c1f7470d93c9a48ed89cbb6186e240999dd8 (diff) | |
download | freebsd-ports-graphics-04862ba426dffd466d4c531175630086a97ba643.tar.gz freebsd-ports-graphics-04862ba426dffd466d4c531175630086a97ba643.tar.zst freebsd-ports-graphics-04862ba426dffd466d4c531175630086a97ba643.zip |
import of typhoon, a relational database patterened after
Raima's dbvista
Diffstat (limited to 'databases/typhoon')
-rw-r--r-- | databases/typhoon/Makefile | 30 | ||||
-rw-r--r-- | databases/typhoon/distinfo | 1 | ||||
-rw-r--r-- | databases/typhoon/files/patch-aa | 48 | ||||
-rw-r--r-- | databases/typhoon/files/patch-ab | 145 | ||||
-rw-r--r-- | databases/typhoon/files/patch-ac | 40 | ||||
-rw-r--r-- | databases/typhoon/pkg-comment | 1 | ||||
-rw-r--r-- | databases/typhoon/pkg-descr | 11 | ||||
-rw-r--r-- | databases/typhoon/pkg-plist | 37 |
8 files changed, 313 insertions, 0 deletions
diff --git a/databases/typhoon/Makefile b/databases/typhoon/Makefile new file mode 100644 index 00000000000..ac76faed910 --- /dev/null +++ b/databases/typhoon/Makefile @@ -0,0 +1,30 @@ +# New ports collection makefile for: typhoon +# Version required: 1.10.3 +# Date created: Wed Dec 11 15:16:19 CST 1996 +# Whom: erich@FreeBSD.org +# +# $Id: Makefile,v 1.3 1996/11/18 10:19:15 asami Exp $ +# + +DISTNAME= typhoon-1.10.3 +CATEGORIES= databases +MASTER_SITES= ${MASTER_SITE_SUNSITE} +MASTER_SITE_SUBDIR=devel/db +EXTRACT_SUFX= .tgz +MAINTAINER= erich@FreeBSD.org + +MAN3=d_close.3 d_crget.3 d_crread.3 d_crset.3 d_dbdpath.3 d_dbfpath.3 \ + d_dbget.3 d_dbset.3 d_delete.3 d_fillnew.3 d_getsequence.3 d_keyfind.3 \ + d_keyfrst.3 d_keylast.3 d_keynext.3 d_keyprev.3 d_keyread.3 d_open.3 \ + d_recfrst.3 d_reclast.3 d_recnext.3 d_recprev.3 d_recread.3 \ + d_recwrite.3 d_setfiles.3 +MAN1=ddlp.1 + +HAS_CONFIGURE= yes + +post-install: + @mkdir -p ${PREFIX}/share/typhoon + @cp ${WRKSRC}/man/manual.asc ${PREFIX}/share/typhoon + @cp ${WRKSRC}/include/environ.h ${WRKSRC}/include/typhoon.h ${PREFIX}/include + +.include <bsd.port.mk> diff --git a/databases/typhoon/distinfo b/databases/typhoon/distinfo new file mode 100644 index 00000000000..2036fa43e96 --- /dev/null +++ b/databases/typhoon/distinfo @@ -0,0 +1 @@ +MD5 (typhoon-1.10.3.tgz) = ded3f534564f0d12bd2c634753befc90 diff --git a/databases/typhoon/files/patch-aa b/databases/typhoon/files/patch-aa new file mode 100644 index 00000000000..5e68d555690 --- /dev/null +++ b/databases/typhoon/files/patch-aa @@ -0,0 +1,48 @@ +--- configure~ Wed Dec 11 15:21:16 1996 ++++ configure Wed Dec 11 15:22:18 1996 +@@ -1,6 +1,7 @@ + # + # configure script + # ++alias type=which + CC=cc + + compile='$CC -o conftest conftest.c >/dev/null 2>&1' +@@ -152,10 +153,10 @@ + echo Checking for cc + if test -z "$CC" && type cc >/dev/null 2>/dev/null ; then + CC=cc +- CFLAGS="-g $(DEFINES)" ++ CFLAGS="-O2 $(DEFINES)" + else + CC=gcc +- CFLAGS="-g -W -Wunused -Wpointer-arith -Wswitch \$(DEFINES)" ++ CFLAGS="-O2 -W -Wunused -Wpointer-arith -Wswitch \$(DEFINES)" + fi + + # +--- Makefile.orig Sun May 21 11:47:05 1995 ++++ Makefile Wed Dec 11 16:33:44 1996 +@@ -1,11 +1,10 @@ + # Makefile for: typhoon - top level makefile + + MANEXT = l +-PREFIX = /usr/local + DESTMAN = $(PREFIX)/man/man$(MANEXT) + DESTCAT = $(PREFIX)/man/cat$(MANEXT) +-DESTOWN = root +-DESTGRP = local ++DESTOWN = bin ++DESTGRP = bin + SHELL = /bin/sh + MAKE = make + +@@ -14,8 +13,6 @@ + all install uninstall: include/ansi.h include/environ.h + cd src; $(MAKE) $@ + cd util; $(MAKE) $@ +- cd examples; $(MAKE) $@ +- cd man; $(MAKE) $@ + + include/ansi.h include/environ.h: + configure diff --git a/databases/typhoon/files/patch-ab b/databases/typhoon/files/patch-ab new file mode 100644 index 00000000000..1da0a4c2853 --- /dev/null +++ b/databases/typhoon/files/patch-ab @@ -0,0 +1,145 @@ +--- src/os.c~ Wed Dec 11 15:24:29 1996 ++++ src/os.c Wed Dec 11 15:25:06 1996 +@@ -42,7 +42,7 @@ + # include <sys/stat.h> + # include <unistd.h> + #endif +-#ifdef __linux__ ++#if defined( __linux__ ) || defined( __FreeBSD__ ) + # include <sys/file.h> + # define F_TLOCK LOCK_NB + # define F_LOCK LOCK_EX +--- src/unix.c~ Wed Dec 11 15:26:04 1996 ++++ src/unix.c Wed Dec 11 15:26:20 1996 +@@ -50,7 +50,7 @@ + #include <stdio.h> + #include <errno.h> + #include <typhoon.h> +-#ifdef __linux__ ++#if defined( __linux__ ) || defined( __FreeBSD__ ) + # include <sys/file.h> + # define F_TLOCK LOCK_NB + # define F_LOCK LOCK_EX +--- src/Makefile.in.orig Sun May 21 11:47:27 1995 ++++ src/Makefile.in Wed Dec 11 16:09:00 1996 +@@ -6,15 +6,20 @@ + CC = @cc@ + CFLAGS = @cflags@ + RANLIB = @ranlib@ +-PREFIX = /usr/local +-DESTLIB = $(PREFIX)/lib ++SHLIB_MAJOR = 1 ++SHLIB_MINOR = 10 ++DESTDIR = ++LIBDIR = $(PREFIX)/lib ++MANDIR = ${PREFIX}/man/man ++NOMANCOMPRESS= yup + DESTHDR = $(PREFIX)/include +-DESTOWN = root +-DESTGRP = local ++DESTHDR = $(PREFIX)/include ++LIBOWN = bin ++LIBGRP = bin + SHELL = /bin/sh +-LIBRARY = libtyphoon.a ++LIB = typhoon + LIBHDRS = ../include/environ.h ../include/typhoon.h +-LIBID = TYPHOON 1.0 $(DESTLIB)/$(LIBRARY) ++ + SRCS = bt_del.c bt_funcs.c bt_io.c bt_open.c cmpfuncs.c os.c \ + readdbd.c record.c ty_auxfn.c ty_find.c ty_ins.c \ + ty_io.c ty_log.c ty_open.c ty_refin.c ty_repl.c \ +@@ -27,67 +31,30 @@ + ty_repl.o ty_util.o unix.o vlr.o ansi.o sequence.o + UNUSED = dos.c os2.c ty_lock.c + +-.DEFAULT: +- co $@ +- +-.PHONY: all lint tags install uninstall clean +- +-.c.o: +- $(CC) -c $(CFLAGS) $< +-# -mcs -d -a '@(#)$(LIBID)' $@ +- +-all: $(LIBRARY) +- +-$(LIBRARY): $(OBJS) +- ar cru $(LIBRARY) $(OBJS) +- $(RANLIB) $(LIBRARY) +- +-#catalog.dbd: catalog.ddl +-# ddlp -f -hcatalog.h -a4 catalog +- +-lint: +- lint -u $(DEFINES) $(SRCS) +- +-tags: $(HDRS) $(SRCS) +- ctags -w $(HDRS) $(SRCS) +- +-install: $(LIBRARY) +- cp $(LIBRARY) $(DESTLIB) +- -ranlib $(DESTLIB)/$(LIBRARY) +- chmod 644 $(DESTLIB)/$(LIBRARY) +- chown $(DESTOWN) $(DESTLIB)/$(LIBRARY) +- chgrp $(DESTGRP) $(DESTLIB)/$(LIBRARY) +- cp $(LIBHDRS) $(DESTHDR) +- cd $(DESTHDR) && chmod 644 $(LIBHDRS) +- cd $(DESTHDR) && chown $(DESTOWN) $(LIBHDRS) +- cd $(DESTHDR) && chgrp $(DESTGRP) $(LIBHDRS) +- +-uninstall: +- rm -f $(DESTLIB)/$(LIBRARY) +- cd $(DESTHDR) && rm -f $(LIBHDRS) +- +-clean: +- -rcsclean -u +- -rm -f $(LIBRARY) $(OBJS) +- -rm -f Makefile lib.a tags made *.o ++MAN3=../man/d_close.3 \ ++ ../man/d_crget.3 \ ++ ../man/d_crread.3 \ ++ ../man/d_crset.3 \ ++ ../man/d_dbdpath.3 \ ++ ../man/d_dbfpath.3 \ ++ ../man/d_dbget.3 \ ++ ../man/d_dbset.3 \ ++ ../man/d_delete.3 \ ++ ../man/d_fillnew.3 \ ++ ../man/d_getsequence.3 \ ++ ../man/d_keyfind.3 \ ++ ../man/d_keyfrst.3 \ ++ ../man/d_keylast.3 \ ++ ../man/d_keynext.3 \ ++ ../man/d_keyprev.3 \ ++ ../man/d_keyread.3 \ ++ ../man/d_open.3 \ ++ ../man/d_recfrst.3 \ ++ ../man/d_reclast.3 \ ++ ../man/d_recnext.3 \ ++ ../man/d_recprev.3 \ ++ ../man/d_recread.3 \ ++ ../man/d_recwrite.3 \ ++ ../man/d_setfiles.3 + +-### Do NOT edit this or the following lines. +-bt_del.o: ty_dbd.h ty_type.h ty_prot.h ty_glob.h btree.h +-bt_funcs.o: ty_dbd.h ty_type.h ty_prot.h ty_glob.h btree.h +-bt_io.o: ty_dbd.h ty_type.h btree.h +-bt_open.o: ty_dbd.h ty_type.h ty_prot.h ty_glob.h btree.h +-cmpfuncs.o: ty_dbd.h ty_type.h ty_glob.h ty_prot.h +-readdbd.o: ty_dbd.h ty_type.h ty_glob.h +-record.o: ty_dbd.h ty_type.h ty_prot.h ty_glob.h +-ty_auxfn.o: ty_dbd.h ty_type.h ty_glob.h ty_prot.h +-ty_find.o: ty_dbd.h ty_type.h ty_glob.h ty_prot.h +-ty_ins.o: ty_dbd.h ty_type.h ty_glob.h ty_prot.h +-ty_io.o: ty_dbd.h ty_type.h ty_glob.h ty_prot.h +-ty_log.o: ty_dbd.h ty_type.h ty_glob.h ty_prot.h ty_log.h +-ty_open.o: ty_dbd.h ty_type.h ty_glob.h ty_prot.h +-ty_refin.o: ty_dbd.h ty_type.h ty_glob.h ty_prot.h +-ty_repl.o: ty_dbd.h ty_type.h ty_glob.h ty_prot.h ty_repif.h catalog.h +-ty_util.o: ty_dbd.h ty_type.h ty_glob.h ty_prot.h +-unix.o: ty_dbd.h ty_type.h +-vlr.o: ty_dbd.h ty_type.h ty_prot.h ty_glob.h +-sequence.o: ty_dbd.h ty_type.h ty_prot.h ty_glob.h ++.include <bsd.lib.mk> diff --git a/databases/typhoon/files/patch-ac b/databases/typhoon/files/patch-ac new file mode 100644 index 00000000000..c2d8b3c929f --- /dev/null +++ b/databases/typhoon/files/patch-ac @@ -0,0 +1,40 @@ +--- examples/Makefile.in~ Wed Dec 11 15:42:53 1996 ++++ examples/Makefile.in Wed Dec 11 15:41:41 1996 +@@ -28,7 +28,7 @@ + $(CC) $(LDFLAGS) $(OBJS) $(LIBS) -o $(PROGRAM) + + demo.h demo.dbd: demo.ddl +- ../util/ddlp -a4 -f demo ++ env LD_LIBRARY_PATH=../src ../util/ddlp -a4 -f demo + + lint: + lint -u $(DEFINES) $(SRCS) +--- util/Makefile.in~ Wed Dec 11 16:10:14 1996 ++++ util/Makefile.in Wed Dec 11 16:14:42 1996 +@@ -8,11 +8,10 @@ + CC = @cc@ + CFLAGS = @cflags@ + LIBS = -ltyphoon +-PREFIX = /usr/local + LDFLAGS = -L../src + DESTBIN = $(PREFIX)/bin +-DESTOWN = root +-DESTGRP = local ++DESTOWN = bin ++DESTGRP = bin + SHELL = /bin/sh + PROGRAMS = ddlp dbdview tyexport tyimport # tybackup tyrestore + MADESRCS = ddl.c exp.c imp.c +@@ -74,11 +74,11 @@ + + install: $(PROGRAMS) + cp $(PROGRAMS) $(DESTBIN) +- cd $(DESTBIN) && -mcs -c $(PROGRAMS) + cd $(DESTBIN) && strip $(PROGRAMS) + cd $(DESTBIN) && chmod 755 $(PROGRAMS) + cd $(DESTBIN) && chown $(DESTOWN) $(PROGRAMS) + cd $(DESTBIN) && chgrp $(DESTGRP) $(PROGRAMS) ++ install -m 644 ../man/ddlp.1 ${PREFIX}/man/man1 + + uninstall: + cd $(DESTBIN) && rm -f $(PROGRAMS) diff --git a/databases/typhoon/pkg-comment b/databases/typhoon/pkg-comment new file mode 100644 index 00000000000..39c2d286aaf --- /dev/null +++ b/databases/typhoon/pkg-comment @@ -0,0 +1 @@ +a relational database library diff --git a/databases/typhoon/pkg-descr b/databases/typhoon/pkg-descr new file mode 100644 index 00000000000..f6ef403fb84 --- /dev/null +++ b/databases/typhoon/pkg-descr @@ -0,0 +1,11 @@ +Typhoon is a freely available relational database management system for +the UNIX and OS/2 environments. + +The system works fine and is currently used in a number of professional +applications in Denmark, some of them mission critical. + +The system was originally inspired by Raima's db_VISTA (today Raima Data +Manager) but is relational rather than network based. Typhoon lacks some of +db_VISTA's features, but also contains a number of nice features not found in +db_VISTA. + diff --git a/databases/typhoon/pkg-plist b/databases/typhoon/pkg-plist new file mode 100644 index 00000000000..beb1bde489b --- /dev/null +++ b/databases/typhoon/pkg-plist @@ -0,0 +1,37 @@ +bin/tyexport +bin/tyimport +bin/ddlp +bin/dbdview +lib/libtyphoon.a +lib/libtyphoon.so.1.10 +lib/libtyphoon_p.a +include/environ.h +include/typhoon.h +man/man3/d_crget.3.gz +man/man3/d_crread.3.gz +man/man3/d_delete.3.gz +man/man3/d_fillnew.3.gz +man/man3/d_getsequence.3.gz +man/man3/d_keyfind.3.gz +man/man3/d_keyfrst.3.gz +man/man3/d_keynext.3.gz +man/man3/d_keyprev.3.gz +man/man3/d_keyread.3.gz +man/man3/d_open.3.gz +man/man3/d_recfrst.3.gz +man/man3/d_reclast.3.gz +man/man3/d_recprev.3.gz +man/man3/d_recread.3.gz +man/man3/d_recwrite.3.gz +man/man3/d_setfiles.3.gz +man/man3/d_close.3.gz +man/man3/d_crset.3.gz +man/man3/d_dbdpath.3.gz +man/man3/d_dbfpath.3.gz +man/man3/d_dbget.3.gz +man/man3/d_dbset.3.gz +man/man3/d_keylast.3.gz +man/man3/d_recnext.3.gz +man/man1/ddlp.1.gz +share/typhoon/manual.asc +@dirrm share/typhoon |