helpfully, if you try to use it it segfaults, leaving around a core with your password and the sql password. you could use tmux lock-client instead, which uses lock(1) or a command of your choice.
43 lines
939 B
Makefile
43 lines
939 B
Makefile
# $OpenBSD: Makefile,v 1.27 2015/11/21 01:19:33 sthen Exp $
|
|
|
|
COMMENT= SQL shell for FreeTDS
|
|
|
|
DISTNAME= sqsh-2.5.16.1
|
|
REVISION= 0
|
|
WRKDIST= ${WRKDIR}/sqsh-2.5
|
|
EXTRACT_SUFX= .tgz
|
|
|
|
CATEGORIES= databases shells
|
|
|
|
HOMEPAGE= http://sourceforge.net/projects/sqsh/
|
|
|
|
# GPLv2+
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
WANTLIB += c ct>=2 ncurses m pthread readline
|
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=sqsh/}
|
|
|
|
MODULES= converters/libiconv
|
|
LIB_DEPENDS= databases/freetds
|
|
|
|
CONFIGURE_STYLE= autoconf
|
|
AUTOCONF_VERSION= 2.69
|
|
CONFIGURE_ARGS= --with-readline
|
|
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
|
|
LDFLAGS="-L${LOCALBASE}/lib" \
|
|
SYBASE="${LOCALBASE}"
|
|
|
|
NO_TEST= Yes
|
|
|
|
ALL_TARGET=
|
|
FAKE_TARGET= install install.man
|
|
FAKE_FLAGS= SQSHRC_GLOBAL="${PREFIX}/share/examples/sqsh/global.sqshrc"
|
|
|
|
# disable broken session-locking support.
|
|
post-configure:
|
|
perl -pi -e 's,^#define HAVE_CRYPT.*,#undef HAVE_CRYPT,' \
|
|
${WRKSRC}/src/config.h
|
|
|
|
.include <bsd.port.mk>
|