Index: head/databases/cego/files/cego.in =================================================================== --- head/databases/cego/files/cego.in (revision 379041) +++ head/databases/cego/files/cego.in (nonexistent) @@ -1,110 +0,0 @@ -#!/bin/sh -# -# $FreeBSD$ -# - -# PROVIDE: cego -# REQUIRE: LOGIN cleanvar -# KEYWORD: shutdown - -# -# Add the following lines to /etc/rc.conf to enable cego: -# cego_enable (bool): Set to "NO" by default. -# Set it to "YES" to enable cego -# cego_profiles (str): Set to "" by default. -# Define your profiles here. -# cego_tablespc (str): Set it to the tablespace -# cego_flags (str): Set to "" by default. -# Extra flags passed to start command. - -. /etc/rc.subr - -name="cego" -rcvar=cego_enable - -command="%%PREFIX%%/bin/cego" - -: ${cego_enable="NO"} -: ${cego_conf="%%PREFIX%%/cego"} -: ${cego_root="%%PREFIX%%/cego"} -: ${cego_user="%%USER%%"} - -flags="--mode=daemon" - -_pidprefix="/var/run/cego" -pidfile="${_pidprefix}.pid" - -command_arg="--mode=daemon" -_pidprefix="/var/run/cego" - -flags="--mode=daemon" - -load_rc_config $name - -if [ -n "$2" ]; then - profile="$2" - if [ "x${cego_profiles}" != "x" ]; then - pidfile="${_pidprefix}.${profile}.pid" - - echo profile is $profile - - eval cego_tablespc="\${cego_${profile}_tablespc:-}" - if [ "x${cego_tablespc}" = "x" ]; then - err 1 "You must define a tableset for db instance cego_${profile}_tablespc" - fi - - eval cego_conf="\${cego_${profile}_conf:-${cego_conf}}" - eval cego_root="\${cego_${profile}_root:-${cego_root}}" - - required_files="${cego_conf}/${profile}.xml" - eval cego_enable="\${cego_${profile}_enable:-${cego_enable}}" - command_args="--dbxml=${required_files} --tableset=${cego_tablespc} --lockfile=${cego_root}/${profile}.lck --logfile=${cego_root}/${profile}.log" - echo "Setting command_args $command_args" - else - warn "$0: extra argument ignored" - fi -else - if [ "x${cego_profiles}" != "x" -a "x$1" != "x" ]; then - for profile in ${cego_profiles}; do - eval _enable="\${cego_${profile}_enable}" - case "x${_enable:-${cego_enable}}" in - x|x[Nn][Oo]|x[Nn][Oo][Nn][Ee]) - continue - ;; - x[Yy][Ee][Ss]) - ;; - *) - if test -z "$_enable"; then - _var=cego_enable - else - _var=cego_"${profile}"_enable - fi - warn "Bad value" \ - "'${_enable:-${cego_enable}}'" \ - "for ${_var}. " \ - "Profile ${profile} skipped." - continue - ;; - esac - echo "===> cego profile: ${profile}" - %%PREFIX%%/etc/rc.d/cego $1 ${profile} - retcode="$?" - if [ "0${retcode}" -ne 0 ]; then - failed="${profile} (${retcode}) ${failed:-}" - else - success="${profile} ${success:-}" - fi - done - exit 0 - fi -fi - - -cego_requirepidfile() -{ - if [ ! "0`check_pidfile ${pidfile} ${command}`" -gt 1 ]; then - err 1 "${name} not running? (check $pidfile)." - fi -} - -run_rc_command "$1" Property changes on: head/databases/cego/files/cego.in ___________________________________________________________________ Deleted: svn:eol-style ## -1 +0,0 ## -native \ No newline at end of property Deleted: svn:keywords ## -1 +0,0 ## -FreeBSD=%H \ No newline at end of property Deleted: svn:mime-type ## -1 +0,0 ## -text/plain \ No newline at end of property Index: head/databases/cego/Makefile =================================================================== --- head/databases/cego/Makefile (revision 379041) +++ head/databases/cego/Makefile (revision 379042) @@ -1,43 +1,45 @@ # $FreeBSD$ PORTNAME= cego -PORTVERSION= 2.20.19 +PORTVERSION= 2.20.20 CATEGORIES= databases MASTER_SITES= http://www.lemke-it.com/ MAINTAINER= pi@FreeBSD.org COMMENT= Relational and transactional database system LICENSE= GPLv3 LIB_DEPENDS= liblfcbase.so:${PORTSDIR}/devel/lfcbase \ liblfcxml.so:${PORTSDIR}/devel/lfcxml GNU_CONFIGURE= yes CPPFLAGS+= -I${LOCALBASE}/include USE_LDCONFIG= yes -USE_RC_SUBR= cego USES= ncurses readline libtool 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/ post-stage: ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libcego.so.1.0.0 ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libcgwrap.so.1.0.0 .include Index: head/databases/cego/distinfo =================================================================== --- head/databases/cego/distinfo (revision 379041) +++ head/databases/cego/distinfo (revision 379042) @@ -1,2 +1,2 @@ -SHA256 (cego-2.20.19.tar.gz) = ce4c41b618594cc39f8f4d7aad8918a1bf3ec2d26a0dbfff1a0864855bee14ba -SIZE (cego-2.20.19.tar.gz) = 924463 +SHA256 (cego-2.20.20.tar.gz) = 7f006656d5fc60ffe415e5c607be4a4578518acf1f9b90f143f337b8e9478bb9 +SIZE (cego-2.20.20.tar.gz) = 924349 Index: head/databases/cego/pkg-plist =================================================================== --- head/databases/cego/pkg-plist (revision 379041) +++ head/databases/cego/pkg-plist (revision 379042) @@ -1,41 +1,42 @@ bin/cego bin/cgadm bin/cgblow bin/cgclt bin/cglog +etc/rc.d/cego include/cego/CegoAdmNet.h include/cego/CegoAdminHandler.h include/cego/CegoBlob.h include/cego/CegoCheckObject.h include/cego/CegoContentObject.h include/cego/CegoDataPointer.h include/cego/CegoDataType.h include/cego/CegoDbHandler.h include/cego/CegoDecodableObject.h include/cego/CegoField.h include/cego/CegoFieldValue.h include/cego/CegoJoinObject.h include/cego/CegoKeyObject.h include/cego/CegoModule.h include/cego/CegoNet.h include/cego/CegoObject.h include/cego/CegoOutput.h include/cego/CegoProcObject.h include/cego/CegoProcVar.h include/cego/CegoSerial.h include/cego/CegoTableObject.h include/cego/CegoViewObject.h include/cego/cgwrap.h lib/libcego.a lib/libcego.so lib/libcego.so.1 lib/libcego.so.1.0.0 lib/libcgwrap.a lib/libcgwrap.so lib/libcgwrap.so.1 lib/libcgwrap.so.1.0.0 %%DATADIR%%/cgbackup %%DATADIR%%/cgmkdb %%DATADIR%%/cgrecover %%DATADIR%%/startdb %%DATADIR%%/stopdb