summaryrefslogtreecommitdiff
path: root/databases/sqsh
diff options
context:
space:
mode:
authortsarna <tsarna>2000-05-16 01:07:05 +0000
committertsarna <tsarna>2000-05-16 01:07:05 +0000
commit796ab09b60a15704a2dbe1a0911fac9ae75f6843 (patch)
tree7769c29fdcf36ae5875595b27f44f4e2ae784d8b /databases/sqsh
parent8596146bc3d73f48b21e88ec22bf7d11cde2ef5a (diff)
downloadpkgsrc-796ab09b60a15704a2dbe1a0911fac9ae75f6843.tar.gz
Initial import of pkg for sqsh 1.7:
Sqsh (pronounced skwish) is short for SQshelL (pronounced s-q-shell), it is intended as a replacement for the venerable 'isql' program supplied by Sybase. It came about due to years of frustration of trying to do real work with a program that was never meant to perform real work. Sqsh is much more than a nice prompt, it is intended to provide much of the functionality provided by a good shell, such as variables, redirection, pipes, back-grounding, job control, history, command completion, and dynamic configuration. Also, as a by-product of the design, it is remarkably easy to extend and add functionality.
Diffstat (limited to 'databases/sqsh')
-rw-r--r--databases/sqsh/Makefile24
-rw-r--r--databases/sqsh/files/md53
-rw-r--r--databases/sqsh/patches/patch-aa48
-rw-r--r--databases/sqsh/pkg/COMMENT1
-rw-r--r--databases/sqsh/pkg/DESCR10
-rw-r--r--databases/sqsh/pkg/PLIST2
6 files changed, 88 insertions, 0 deletions
diff --git a/databases/sqsh/Makefile b/databases/sqsh/Makefile
new file mode 100644
index 00000000000..88ef2e34702
--- /dev/null
+++ b/databases/sqsh/Makefile
@@ -0,0 +1,24 @@
+# $NetBSD: Makefile,v 1.1.1.1 2000/05/16 01:07:05 tsarna Exp $
+
+DISTNAME= sqsh-1.7-src
+PKGNAME= sqsh-1.7
+CATEGORIES= databases
+MASTER_SITES= http://www.voicenet.com/~gray/
+
+MAINTAINER= tsarna@netbsd.org
+HOMEPAGE= http://www.voicenet.com/~gray/sqsh.html
+
+DEPENDS+= freetds-0.50:../../databases/freetds
+DEPENDS+= readline-4.0:../../devel/readline
+
+ALL_TARGET= sqsh
+
+GNU_CONFIGURE= yes
+CONFIGURE_ARGS+= --with-readline
+CONFIGURE_ENV+= INCDIRS="${PREFIX}/include" \
+ LIBDIRS="${PREFIX}/lib" \
+ SYBASE="${PREFIX}/freetds"
+
+WRKSRC= ${WRKDIR}/${PKGNAME}
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/databases/sqsh/files/md5 b/databases/sqsh/files/md5
new file mode 100644
index 00000000000..588eeb34501
--- /dev/null
+++ b/databases/sqsh/files/md5
@@ -0,0 +1,3 @@
+$NetBSD: md5,v 1.1.1.1 2000/05/16 01:07:05 tsarna Exp $
+
+MD5 (sqsh-1.7-src.tar.gz) = dfdb8eda026ff1fedbbf64d8c173705a
diff --git a/databases/sqsh/patches/patch-aa b/databases/sqsh/patches/patch-aa
new file mode 100644
index 00000000000..aa42fb18766
--- /dev/null
+++ b/databases/sqsh/patches/patch-aa
@@ -0,0 +1,48 @@
+$NetBSD: patch-aa,v 1.1.1.1 2000/05/16 01:07:05 tsarna Exp $
+
+--- configure.orig Tue Jan 5 21:33:39 1999
++++ configure Fri May 12 22:48:38 2000
+@@ -1088,14 +1088,14 @@
+ then
+ SYBASE_LIBDIR='-L$(SYBASE)/devlib'
+ else
+- SYBASE_LIBDIR='-L$(SYBASE)/lib'
++ SYBASE_LIBDIR='-L$(SYBASE)/lib -R$(SYBASE)/lib'
+ fi
+
+ #
+ # The basic client libraries that are always needed
+ # on all platforms.
+ #
+- SYBASE_LIBS="-lblk -lcs -lct -lcomn -ltcl -lintl"
++ SYBASE_LIBS="-lct"
+
+ MAJOR_VERSION=`echo $SYBASE_VERSION | cut -d '.' -f 1`
+
+@@ -1146,6 +1146,8 @@
+ SYBASE_OS="-lm -ldl -ldgc";;
+ aix*)
+ SYBASE_OS="-lm";;
++ netbsd*)
++ SYBASE_OS="-lm";;
+ *)
+ SYBASE_OS="-lm -ldl";;
+ esac
+@@ -1298,7 +1300,7 @@
+ fi
+
+ if test "${READLINE_LIBDIR}" != ""; then
+- CPPFLAGS="${CPPFLAGS} -L${READLINE_LIBDIR}"
++ CPPFLAGS="${CPPFLAGS} -L${READLINE_LIBDIR} -R${READLINE_LIBDIR}"
+ fi
+
+ for lib in "-lHcurses" "-lcurses" "-lncurses" "-ltermcap" \
+@@ -1373,7 +1375,7 @@
+ then
+ READLINE_LIBDIR="# -L${READLINE_LIBDIR}"
+ else
+- READLINE_LIBDIR="-L${READLINE_LIBDIR}"
++ READLINE_LIBDIR="-L${READLINE_LIBDIR} -R${READLINE_LIBDIR}"
+ fi
+ fi
+ fi
diff --git a/databases/sqsh/pkg/COMMENT b/databases/sqsh/pkg/COMMENT
new file mode 100644
index 00000000000..c13cf9aad3d
--- /dev/null
+++ b/databases/sqsh/pkg/COMMENT
@@ -0,0 +1 @@
+A Sybase SQL shell
diff --git a/databases/sqsh/pkg/DESCR b/databases/sqsh/pkg/DESCR
new file mode 100644
index 00000000000..fa04e1180f6
--- /dev/null
+++ b/databases/sqsh/pkg/DESCR
@@ -0,0 +1,10 @@
+Sqsh (pronounced skwish) is short for SQshelL (pronounced s-q-shell), it
+is intended as a replacement for the venerable 'isql' program supplied
+by Sybase. It came about due to years of frustration of trying to do
+real work with a program that was never meant to perform real work.
+
+Sqsh is much more than a nice prompt, it is intended to provide much of
+the functionality provided by a good shell, such as variables,
+redirection, pipes, back-grounding, job control, history, command
+completion, and dynamic configuration. Also, as a by-product of the
+design, it is remarkably easy to extend and add functionality.
diff --git a/databases/sqsh/pkg/PLIST b/databases/sqsh/pkg/PLIST
new file mode 100644
index 00000000000..f1bdb2813f5
--- /dev/null
+++ b/databases/sqsh/pkg/PLIST
@@ -0,0 +1,2 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2000/05/16 01:07:05 tsarna Exp $
+bin/sqsh