Commit graph

27 commits

Author SHA1 Message Date
wiz
285b7dd776 Bump PKGREVISION for libXaw API depends bump due to libXaw8 removal. 2008-11-10 17:21:33 +00:00
jlam
8c191c0ed9 Restructure the following packages:
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.
2008-04-22 16:23:36 +00:00
joerg
5911def816 Recursive revision bump / recommended bump for gettext ABI change. 2006-02-05 23:08:03 +00:00
reed
b666cf33a1 In the Makefile.common, remove the freetds subdirectory for the
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.
2006-01-04 18:30:16 +00:00
grant
67e036976c add CONFLICT on sqsh-motif. 2004-03-29 12:51:54 +00:00
grant
41a006b956 Updated sqsh to 2.1.
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-29 03:11:03 +00:00
grant
63c0932965 we need dlcompat on Darwin (I suspect there is a better way to do this
in bsd.pkg.mk...)
2004-03-29 02:44:30 +00:00
grant
0e5d8cbfb1 install sample.sqshrc.
bump PKGREVISION.
2004-03-29 01:52:11 +00:00
grant
4967aa5872 allow linking against the native Sybase Open Client by defining
USE_SYBASE_OPENCLIENT and setting SYBASE to the root of the Sybase
Open Client installation.
2004-03-29 01:50:39 +00:00
agc
dc52048e01 Move WRKSRC definition away from the first paragraph in a Makefile. 2004-01-20 12:07:06 +00:00
grant
81f649c38b update HOMEPAGE and MASTER_SITES. 2003-09-29 03:29:55 +00:00
grant
91f00f1cbc s/netbsd.org/NetBSD.org/ 2003-07-17 21:21:03 +00:00
wiz
43fa0c7cb6 PKGREVISION bump for libiconv update. 2003-07-13 13:50:19 +00:00
jmc
565f917422 Use PKGNAME_NOREV for defining WRKSRC 2003-06-18 02:07:57 +00:00
wiz
cb35b24d01 Bump PKGREVISION because of freetds shlib major bump. 2003-06-11 13:26:05 +00:00
jlam
3ef633718c (1) Publicly export the value of _OPSYS_RPATH_NAME as RPATH_FLAG;
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.
2003-03-14 19:37:30 +00:00
wiz
562f48a704 buildlink1 -> buildlink2. 2002-10-12 09:40:38 +00:00
wiz
2ce48bdc9e Install executable and man page in package's Makefile directly.
Work-around for pkg/15385.
2002-03-12 01:52:27 +00:00
jlam
e44f195d18 Convert to use buildlink.mk files and mark as USE_BUILDLINK_ONLY. 2001-06-21 02:04:59 +00:00
jlam
dbfde59b14 The buildlink include and lib directories are added to CFLAGS, CPPFLAGS,
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-11 02:05:07 +00:00
jlam
3bc5e40254 Remove dependency on ${BUILDLINK_TARGETS} in pre-configure and pre-build
targets as the buildlink.mk files now add the dependency automatically.
Remove any NO_CONFIGURE definitions as they seem to be useless.
2001-06-10 00:08:41 +00:00
jlam
54718a4db7 Standardize name of file to include for build-links to be "buildlink.mk".
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-24 08:53:54 +00:00
jlam
0cdaf05148 Use editline readline emulation when available. Also install the man page
for sqsh.
2001-05-22 05:28:23 +00:00
mjl
ad9c381c34 Depend on freedts >= 0.50 2001-04-04 14:04:36 +00:00
wiz
417e8bbabf Update to new COMMENT style: COMMENT var in Makefile instead of pkg/COMMENT. 2001-02-16 14:17:22 +00:00
tron
ebcef6eadf Depend on version 4.0 or newer of the "readline" package. 2000-07-20 15:40:58 +00:00
tsarna
6d27df175c 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.
2000-05-16 01:07:05 +00:00