summaryrefslogtreecommitdiff
path: root/databases/sqsh
AgeCommit message (Collapse)AuthorFilesLines
2008-04-22Restructure the following packages:jlam5-75/+94
databases/sqsh databases/sqsh-motif databases/sqsh-x11 The latter two are now just databases/sqsh built with a specific set of options. Changes include: + Add options.mk that supports three options: sqsh-motif Motif GUI sqsh-xaw Athena GUI sybase-openclient Use real Sybase Note that USE_SYBASE_OPENCLIENT is a legacy variable for the new global "sybase-openclient" option. + Remove Makefile.common and move all logic into sqsh/Makefile and sqsh/options.mk. + Remove section in patch-aa that tried to deal with termcap/curses issues for readline. That is now automatically taken care of in pkgsrc through termcap.buildlink3.mk, which is included here indirectly by readline/buildlink3.mk. + Add full DESTDIR support. + Bump the PKGREVISION for sqsh, sqsh-motif and sqsh-x11 to 5. All three packages now track and use the same PKGREVISION number.
2006-11-10Make the package pass the check-headers test. The ${HOME} that appearsrillig1-1/+3
in the macros will be expanded later.
2006-02-05Recursive revision bump / recommended bump for gettext ABI change.joerg1-2/+2
2006-01-13Fix errno.joerg8-1/+117
2006-01-04In the Makefile.common, remove the freetds subdirectory for thereed2-5/+6
path to the buildlink files. This is due to changes I made to the freetds installation. Fix "man" to PKGMANDIR while I am here. Bump PKGREVISION for all three packages (as the location of libct is uses is different due to the freetds change). I didn't test sqsh-motif packaging, as I couldn't get openmotif to build at this time.
2005-12-29Remove USE_PKGINSTALL from pkgsrc now that mk/install/pkginstall.mkjlam1-2/+1
automatically detects whether we want the pkginstall machinery to be used by the package Makefile.
2005-12-05Fixed pkglint warnings. The warnings are mostly quoting issues, forrillig1-2/+2
example MAKE_ENV+=FOO=${BAR} is changed to MAKE_ENV+=FOO=${BAR:Q}. Some other changes are outlined in http://mail-index.netbsd.org/tech-pkg/2005/12/02/0034.html
2005-06-16Create directories before installing files into them.jlam1-1/+3
2005-04-11Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used.tv1-2/+1
2005-02-23Add RMD160 digests in addition to SHA1 ones.agc1-1/+2
2004-12-03Rename ALL_TARGET to BUILD_TARGET for consistency with other *_TARGETs.wiz1-2/+2
Suggested by Roland Illig, ok'd by various.
2004-11-26dlopen.buildlink3.mk will automatically include dlcompat/buildlink3.mkjlam1-2/+2
only on Darwin, so remove OPSYS check in dlcompat/buildlink3.mk and make packages include dlopen.buildlink3.mk instead.
2004-08-27Replace RPATH_FLAG with LINKER_RPATH_FLAG and COMPILER_RPATH_FLAG,jlam1-2/+2
which are the full option names used to set rpath directives for the linker and the compiler, respectively. In places were we are invoking the linker, use "${LINKER_RPATH_FLAG} <path>", where the space is inserted in case the flag is a word, e.g. -rpath. The default values of *_RPATH_FLAG are set by the compiler/*.mk files, depending on the compiler that you use. They may be overridden on a ${OPSYS}-specific basis by setting _OPSYS_LINKER_RPATH_FLAG and _OPSYS_COMPILER_RPATH_FLAG, respectively. Garbage-collect _OPSYS_RPATH_NAME and _COMPILER_LD_FLAG.
2004-07-18Remove the ${OPSYS} test around inclusion of dlcompat/buildlink3.mk,schmonz1-5/+2
as that test is now done by the buildlink3 file itself.
2004-05-03Convert to bl3.wiz1-5/+5
2004-03-29add CONFLICT on sqsh-motif.grant1-1/+2
2004-03-29improve COMMENT and use ?= so other packages can override it.grant1-2/+2
2004-03-29Updated sqsh to 2.1.grant8-89/+123
pkg related changes: honour PKG_SYSCONFDIR for sqshrc. Major changes since 1.7: * New build system/directory structure. Should build against ASE 12.0 and FreeTDS now. * Added support for varchar2() and varbinary2() for ASE 12.5 (I don't have a 12.5 instance to test against yet though). * Added \if command to perform conditional execution. Please read the manual carefully on how expressions work. * Added \while command to perform basic looping conditional expressions. * Added \break command to break out of current loop * Added \for command to perform basic iteration. * Added \do command to allow the exection of a sqsh script block once per row returned from statement. Also new #[0-9] variables may be used to refer to column names in result set. Also note that \do allows flags -U, -S, -P for execution of statements on other server or as other users. * Added \func command to create a sqsh function for later execution. Also, now ${[0-9]} now refer to the parameters to this function when it is called. Note that by passing -x to \func, the function will be exported as a full sqsh command, and can be called directly without calling \call. * Added \return to return from current function. * Obviously, added \call to call sqsh function. * New variable $? contains: - Return status of command executed on pipe '|' - Return status of expression evaluated for \while or \if. - Last server error number of severity > 10 (@@error). This is useful for flow-of-control using the new conditional statements. * Added a directory of handy filter scripts. * Fixed \rpc command with @variable names. * \exit now exits sqsh, no matter how many \loop nesting levels you are in. * The user will now be re-prompted to enter a password if a "Login failed." message is received from the server. This may be disabled using the new $password_retry variable. * Got rid of error message about ct_exit() not being called. * Created new 'make distrib' option to build a self-contained sqsh binary distribution. * $rcfile and $SQSHRC may now be colon delimited lists of sqshrc files. This allows for system-wide rc files to be loaded first before local files. Also, the default $SQSHRC setting is now "/usr/local/etc/sqshrc:$HOME/.sqshrc" (the /usr/local will be automatically replaced by the contents of --prefix when passed to configure). * Fixed -C. * $SQSHRC no longer needs to be writable. * sqsh no longer pays attention to quotes inside of comments during variable expansion. * Fixed bcp'ing of results from stored procedures. * libsybtcl will now be chosen if available. * 'exact' mode keyword expansion should now work better (thanks to Sean Woolcock. * Added $bcp_colsep and $bcp_rowsep configuration variables to control the separators used during "go -m bcp". * Added $bcp_trim to configure whether or not trailing spaces are trimmed in the bcp output. * Fixed segfault in "pretty" display mode.
2004-03-29we need dlcompat on Darwin (I suspect there is a better way to do thisgrant1-1/+7
in bsd.pkg.mk...)
2004-03-29install sample.sqshrc.grant2-3/+7
bump PKGREVISION.
2004-03-29allow linking against the native Sybase Open Client by defininggrant3-22/+30
USE_SYBASE_OPENCLIENT and setting SYBASE to the root of the Sybase Open Client installation.
2004-01-20Move WRKSRC definition away from the first paragraph in a Makefile.agc1-2/+2
2003-09-29update HOMEPAGE and MASTER_SITES.grant1-3/+3
2003-07-17s/netbsd.org/NetBSD.org/grant1-2/+2
2003-07-13PKGREVISION bump for libiconv update.wiz1-2/+2
2003-06-18Use PKGNAME_NOREV for defining WRKSRCjmc1-2/+2
2003-06-11Bump PKGREVISION because of freetds shlib major bump.wiz1-1/+2
2003-05-06Drop trailing whitespace. Ok'ed by wiz.jmmv1-2/+2
2003-03-14(1) Publicly export the value of _OPSYS_RPATH_NAME as RPATH_FLAG;jlam1-2/+2
Makefiles simply need to use this value often, for better or for worse. (2) Create a new variable FIX_RPATH that lists variables that should be cleansed of -R or -rpath values if ${_USE_RPATH} is "no". By default, FIX_RPATH contains LIBS, X11_LDFLAGS, and LDFLAGS, and additional variables may be appended from package Makefiles.
2002-10-12buildlink1 -> buildlink2.wiz1-8/+8
2002-03-12Install executable and man page in package's Makefile directly.wiz1-1/+5
Work-around for pkg/15385.
2001-11-01Move pkg/ files into package's toplevel directoryzuntum3-3/+3
2001-06-21Convert to use buildlink.mk files and mark as USE_BUILDLINK_ONLY.jlam1-10/+9
2001-06-11The buildlink include and lib directories are added to CFLAGS, CPPFLAGS,jlam1-4/+3
CXXFLAGS, and LDFLAGS by the buildlink.mk files so remove the extra definitions to add them from the package Makefiles. As advised by the bsd.buildlink.mk file, also ensure that the buildlink.mk files are included prior to defining any package-specific CFLAGS/LDFLAGS to ensure that the buildlink directories are at the head of the compiler search paths.
2001-06-10Remove dependency on ${BUILDLINK_TARGETS} in pre-configure and pre-buildjlam1-3/+1
targets as the buildlink.mk files now add the dependency automatically. Remove any NO_CONFIGURE definitions as they seem to be useless.
2001-06-09RCS police.wiz3-3/+7
2001-05-24Standardize name of file to include for build-links to be "buildlink.mk".jlam1-6/+6
Use BUILDLINK_INCDIR, BUILDLINK_LIBDIR for locations of linked headers and libraries. Create a variable BUILDLINK_TARGETS whose value is the list of build-link targets to execute.
2001-05-22Use editline readline emulation when available. Also install the man pagejlam8-37/+92
for sqsh.
2001-04-18Move to sha1 digests, and add distfile sizes.agc1-2/+3
2001-04-17+ move the distfile digest/checksum value from files/md5 to distinfoagc3-6/+4
+ move the patch digest/checksum values from files/patch-sum to distinfo + include distfile filesizes in distinfo
2001-04-04Depend on freedts >= 0.50mjl1-2/+2
2001-02-16Update to new COMMENT style: COMMENT var in Makefile instead of pkg/COMMENT.wiz2-2/+2
2000-09-03remove '^A 'wiz1-1/+1
2000-07-20Depend on version 4.0 or newer of the "readline" package.tron1-2/+2
2000-05-16make makepatchsumtsarna1-0/+3
2000-05-16Initial import of pkg for sqsh 1.7:tsarna6-0/+88
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.