diff options
author | Dirkjan Ochtman <djc@gentoo.org> | 2014-06-08 13:00:52 +0000 |
---|---|---|
committer | Dirkjan Ochtman <djc@gentoo.org> | 2014-06-08 13:00:52 +0000 |
commit | 7717f3ce9e1bfb77e2f3c28dadaedeccfa9a1ab5 (patch) | |
tree | 80b05b42b8d7494f110d54f7842fba711665036b /dev-db/couchdb/files | |
parent | Remove old, vulnerable versions (bug 510938) (diff) | |
download | historical-7717f3ce9e1bfb77e2f3c28dadaedeccfa9a1ab5.tar.gz historical-7717f3ce9e1bfb77e2f3c28dadaedeccfa9a1ab5.tar.bz2 historical-7717f3ce9e1bfb77e2f3c28dadaedeccfa9a1ab5.zip |
Remove old, vulnerable versions (bug 506354)
Package-Manager: portage-2.2.10/cvs/Linux x86_64
Manifest-Sign-Key: 0x30380381
Diffstat (limited to 'dev-db/couchdb/files')
-rw-r--r-- | dev-db/couchdb/files/couchdb.conf-0.10 | 15 | ||||
-rw-r--r-- | dev-db/couchdb/files/couchdb.init-0.10 | 47 | ||||
-rw-r--r-- | dev-db/couchdb/files/couchdb.init-2 | 47 | ||||
-rw-r--r-- | dev-db/couchdb/files/couchdb.init-3 | 18 |
4 files changed, 0 insertions, 127 deletions
diff --git a/dev-db/couchdb/files/couchdb.conf-0.10 b/dev-db/couchdb/files/couchdb.conf-0.10 deleted file mode 100644 index 573b5e1eb48e..000000000000 --- a/dev-db/couchdb/files/couchdb.conf-0.10 +++ /dev/null @@ -1,15 +0,0 @@ -# Options for CouchDB - -EXEC="/usr/bin/couchdb" -COUCHDB_USER="couchdb" -COUCHDB_PID_FILE="/var/run/couchdb/couchdb.pid" -COUCHDB_STDOUT_FILE="/dev/null" -COUCHDB_STDERR_FILE="/dev/null" -#COUCHDB_RESPAWN_TIMEOUT= -#COUCHDB_OPTIONS= - -if [ -e /usr/LIBDIR/erlang/erts-*/bin/beam.smp ]; then - COUCHDB_BEAM="beam.smp" -else - COUCHDB_BEAM="beam" -fi diff --git a/dev-db/couchdb/files/couchdb.init-0.10 b/dev-db/couchdb/files/couchdb.init-0.10 deleted file mode 100644 index f2cd9e7ec660..000000000000 --- a/dev-db/couchdb/files/couchdb.init-0.10 +++ /dev/null @@ -1,47 +0,0 @@ -#!/sbin/runscript -# Copyright 2008-2013 Dirkjan Ochtman -# Distributed under the terms of the GNU General Public License v2 - -depend() { - need net -} - -start() { - ebegin "Starting ${SVCNAME}" - - args="-b" - if test -n "$COUCHDB_STDOUT_FILE"; then - args="$args -o $COUCHDB_STDOUT_FILE" - fi - if test -n "$COUCHDB_STDERR_FILE"; then - args="$args -e $COUCHDB_STDERR_FILE" - fi - if test -n "$COUCHDB_RESPAWN_TIMEOUT"; then - args="$args -r $COUCHDB_RESPAWN_TIMEOUT" - fi - if test -n "$COUCHDB_OPTIONS"; then - args="$args $COUCHDB_OPTIONS" - fi - if test -n "$COUCHDB_PID_FILE"; then - args="$args -p $COUCHDB_PID_FILE" - else - echo "* ERROR: COUCHDB_PID_FILE must be set" - return -1 - fi - if test -z "$COUCHDB_USER"; then - echo "* ERROR: COUCHDB_USER must be set" - return -1 - fi - - start-stop-daemon --start --exec ${EXEC} --name ${COUCHDB_BEAM} \ - --user ${COUCHDB_USER} --chuid ${COUCHDB_USER} --pidfile ${COUCHDB_PID_FILE} -- $args - - eend $? "Failed to start ${SVCNAME}" -} - -stop() { - ebegin "Stopping ${SVCNAME}" - start-stop-daemon --stop --exec ${EXEC} --name ${COUCHDB_BEAM} \ - --pidfile ${COUCHDB_PID_FILE} - eend $? "Failed to stop ${SVCNAME}" -} diff --git a/dev-db/couchdb/files/couchdb.init-2 b/dev-db/couchdb/files/couchdb.init-2 deleted file mode 100644 index 94eb9e2e337b..000000000000 --- a/dev-db/couchdb/files/couchdb.init-2 +++ /dev/null @@ -1,47 +0,0 @@ -#!/sbin/runscript -# Copyright 1999-2013 Dirkjan Ochtman -# Distributed under the terms of the Apache License, Version 2.0 - -depend() { - need net -} - -start() { - ebegin "Starting ${SVCNAME}" - - args="-b" - if test -n "$COUCHDB_STDOUT_FILE"; then - args="$args -o $COUCHDB_STDOUT_FILE" - fi - if test -n "$COUCHDB_STDERR_FILE"; then - args="$args -e $COUCHDB_STDERR_FILE" - fi - if test -n "$COUCHDB_RESPAWN_TIMEOUT"; then - args="$args -r $COUCHDB_RESPAWN_TIMEOUT" - fi - if test -n "$COUCHDB_OPTIONS"; then - args="$args $COUCHDB_OPTIONS" - fi - if test -n "$COUCHDB_PID_FILE"; then - args="$args -p $COUCHDB_PID_FILE" - else - echo "* ERROR: COUCHDB_PID_FILE must be set" - return -1 - fi - if test -z "$COUCHDB_USER"; then - echo "* ERROR: COUCHDB_USER must be set" - return -1 - fi - - start-stop-daemon --start --exec ${EXEC} --name ${COUCHDB_BEAM} \ - --user ${COUCHDB_USER} --pidfile ${COUCHDB_PID_FILE} -- $args - - eend $? "Failed to start ${SVCNAME}" -} - -stop() { - ebegin "Stopping ${SVCNAME}" - start-stop-daemon --stop --exec ${EXEC} --name ${COUCHDB_BEAM} \ - --pidfile ${COUCHDB_PID_FILE} - eend $? "Failed to stop ${SVCNAME}" -} diff --git a/dev-db/couchdb/files/couchdb.init-3 b/dev-db/couchdb/files/couchdb.init-3 deleted file mode 100644 index ef9828af7bbd..000000000000 --- a/dev-db/couchdb/files/couchdb.init-3 +++ /dev/null @@ -1,18 +0,0 @@ -#!/sbin/runscript -# Copyright 1999-2013 Dirkjan Ochtman -# Distributed under the terms of the Apache License, Version 2.0 - -pidfile=${COUCHDB_PID_FILE} -command=${EXEC:-/usr/bin/couchdb} -command_args="-b -o ${COUCHDB_STDOUT_FILE} -e ${COUCHDB_STDERR_FILE} -p ${pidfile} ${COUCHDB_OPTIONS}" - -user=${COUCHDB_USER} -group=${COUCHDB_GROUP} - -depend() { - need net -} - -start_pre() { - checkpath -q -d -m 0755 -o couchdb:couchdb /var/run/couchdb -} |