freebsd-ports/databases/cego/Makefile
Kurt Jaeger eda6267601 databases/cego: upgrade 2.45.1 -> 2.45.5
- Fix in CegoQuery::execute for INSERTBYSELECT_QUERY case.
  Since the selected tuples are clustered ( MAX_CLUSTERED_INSERT) we have
  to create a local copy for the corresponding field values.
  Otherwise, tuple information could be invalidated by relocated
  buffer pool pages
- Fix in CegoFieldValue::fastComp, the castTo method calls for t1
  and t2 have to be switched, since first ist has to be checked to
  cast to native btree datatype ( used in CegoBTreeCursor::traceLog,
  inRange and fullMatch )
  example:
  create table t1 ( a int, d datetime);
  create btree b1 on t1(b);
  select a from t1 where b = '12.07.2019'; -- should be casted
					   -- from string to datetime
- Code cleanup to avoid warnings with -Wswitch-enum
- In CegoClient, added input data check via File::hasData ( available
  with lfcbase 1.14.0 ). Now, pipe input is autodetected, so the
  command line argument "--pipe" has been removed

Submitted by:	Bjoern Lemke <lemke@lemke-it.com>
2019-07-14 07:48:01 +00:00

47 lines
1.2 KiB
Makefile

# $FreeBSD$
PORTNAME= cego
PORTVERSION= 2.45.5
CATEGORIES= databases
MASTER_SITES= http://www.lemke-it.com/
MAINTAINER= pi@FreeBSD.org
COMMENT= Relational and transactional database system
LICENSE= GPLv3
LICENSE_FILE= ${WRKSRC}/COPYING
LIB_DEPENDS= liblfcbase.so:devel/lfcbase \
liblfcxml.so:devel/lfcxml
RUN_DEPENDS= ${LOCALBASE}/bin/sudo:security/sudo \
bash:shells/bash
USES= libtool localbase ncurses readline shebangfix
SHEBANG_FILES= tools/cgbackup tools/cgrecover tools/cgsimload \
tools/logManager tools/backupManager
USE_LDCONFIG= yes
GNU_CONFIGURE= yes
TEST_TARGET= check
USERS= cego
GROUPS= cego
PLIST_SUB+= USER=${USERS}
post-patch:
${REINPLACE_CMD} -e 's,-O3,,g' \
${WRKSRC}/src/Makefile.in \
${WRKSRC}/samples/cgplustest/Makefile.in \
${WRKSRC}/samples/cgwraptest/Makefile.in
post-install:
${MKDIR} ${STAGEDIR}${DATADIR}
${CP} ${WRKSRC}/tools/* ${STAGEDIR}${DATADIR}
${MKDIR} ${STAGEDIR}${PREFIX}/etc/rc.d
${REINPLACE_CMD} -e 's/%%USER%%/${USERS}/g' ${WRKSRC}/samples/rc/cego
${CP} ${WRKSRC}/samples/rc/cego ${STAGEDIR}${PREFIX}/etc/rc.d/
${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libcego.so.2.0.0
${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libcgwrap.so.2.0.0
.include <bsd.port.mk>