Import of Sqsh 1.7.

Submitted by Joshua Stein <jcs@rt.fm>.

Sqsh (pronounced skwish) is short for SQshelL.  It is intended as
a replacement for the venerable 'isql' program supplied by Sybase.
This commit is contained in:
naddy 2001-08-11 16:23:16 +00:00
parent d88734cd7e
commit efe33287be
5 changed files with 78 additions and 0 deletions

37
databases/sqsh/Makefile Normal file
View File

@ -0,0 +1,37 @@
# $OpenBSD: Makefile,v 1.1.1.1 2001/08/11 16:23:16 naddy Exp $
# vim:ts=8
DISTNAME= sqsh-1.7
CATEGORIES= databases shells
NEED_VERSION= 1.433
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
COMMENT= "SQL shell"
HOMEPAGE= http://www.voicenet.com/~gray/sqsh.html
MASTER_SITES= http://www.users.voicenet.com/~gray/
EXTRACT_SUFX= -src.tar.gz
MAINTAINER= Joshua Stein <jcs@rt.fm>
LIB_DEPENDS= intl.1::devel/gettext \
tds.0::databases/freetds
CONFIGURE_STYLE= gnu
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib" \
SYBASE="${LOCALBASE}"
CONFIGURE_ARGS= --with-readline
ALL_TARGET=
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/sqsh ${PREFIX}/bin/
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/sqsh
${INSTALL_DATA} ${WRKSRC}/doc/sample.sqshrc \
${PREFIX}/share/examples/sqsh
${INSTALL_MAN} ${WRKSRC}/doc/sqsh.1 ${PREFIX}/man/man1
.include <bsd.port.mk>

3
databases/sqsh/files/md5 Normal file
View File

@ -0,0 +1,3 @@
MD5 (sqsh-1.7-src.tar.gz) = dfdb8eda026ff1fedbbf64d8c173705a
RMD160 (sqsh-1.7-src.tar.gz) = 9126ff396303e744060870ed2c89c466ce66e551
SHA1 (sqsh-1.7-src.tar.gz) = 8526cced3350024ef262a0a572d2822c6059159c

View File

@ -0,0 +1,21 @@
$OpenBSD: patch-configure,v 1.1.1.1 2001/08/11 16:23:16 naddy Exp $
--- configure.orig Tue Jan 5 20:33:39 1999
+++ configure Mon Aug 6 16:26:42 2001
@@ -1095,7 +1095,7 @@
# The basic client libraries that are always needed
# on all platforms.
#
- SYBASE_LIBS="-lblk -lcs -lct -lcomn -ltcl -lintl"
+ SYBASE_LIBS="-lct -lm -ltds -lintl"
MAJOR_VERSION=`echo $SYBASE_VERSION | cut -d '.' -f 1`
@@ -1145,6 +1145,8 @@
dgux*)
SYBASE_OS="-lm -ldl -ldgc";;
aix*)
+ SYBASE_OS="-lm";;
+ openbsd*)
SYBASE_OS="-lm";;
*)
SYBASE_OS="-lm -ldl";;

12
databases/sqsh/pkg/DESCR Normal file
View File

@ -0,0 +1,12 @@
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.
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.
WWW: ${HOMEPAGE}

5
databases/sqsh/pkg/PLIST Normal file
View File

@ -0,0 +1,5 @@
@comment $OpenBSD: PLIST,v 1.1.1.1 2001/08/11 16:23:16 naddy Exp $
bin/sqsh
man/man1/sqsh.1
share/examples/sqsh/sample.sqshrc
@dirrm share/examples/sqsh