- Completed pointer cleanup in CegoQueryHelper::evalPredicate, added check061 to check pointer cleanup - Fix in CegoTableManager::createBTree, pC object cursor has to be set to 0, otherwise in case of abortion a seg fault occurs - Changed default value for btree cache enabling to false - Improvement in CegoBufferPool::calcSegment for segid calculation. It has been recognized, that with the current calculation ( pageid % numsegment ) not all slots can be reached for special buffer pool configurations. The formula has been changed ( to ( pageid / numpages ) % numsegment ) - Adding missing export / import messages to CegoXPorter - Changed btree cache enabling syntax. Instead of a dedicated switch command ( set btree cache on / off ), the cache option now is directly given with the create btree command ( e.g. create btree b1 on t1(a) cached ) Submitted by: Bjoern Lemke <lemke@lemke-it.com>
47 lines
1.2 KiB
Makefile
47 lines
1.2 KiB
Makefile
# $FreeBSD$
|
|
|
|
PORTNAME= cego
|
|
PORTVERSION= 2.36.0
|
|
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>
|