summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCaleb Tennis <caleb@gentoo.org>2008-08-01 15:56:55 +0000
committerCaleb Tennis <caleb@gentoo.org>2008-08-01 15:56:55 +0000
commitb584282ae7a5a128f70b0268a85d254fb589b12e (patch)
treef59c4e11d2fc0e9f588715c696405a0a601ba0ad /net-misc/memcached
parentbump to new version (diff)
downloadgentoo-2-b584282ae7a5a128f70b0268a85d254fb589b12e.tar.gz
gentoo-2-b584282ae7a5a128f70b0268a85d254fb589b12e.tar.bz2
gentoo-2-b584282ae7a5a128f70b0268a85d254fb589b12e.zip
bump to new version
(Portage version: 2.1.5.2) (Unsigned Manifest commit)
Diffstat (limited to 'net-misc/memcached')
-rw-r--r--net-misc/memcached/Manifest6
-rw-r--r--net-misc/memcached/files/1.2.6/conf32
-rw-r--r--net-misc/memcached/files/1.2.6/init77
3 files changed, 114 insertions, 1 deletions
diff --git a/net-misc/memcached/Manifest b/net-misc/memcached/Manifest
index f2e28b236812..831886b2defe 100644
--- a/net-misc/memcached/Manifest
+++ b/net-misc/memcached/Manifest
@@ -6,6 +6,8 @@ AUX 1.2.4/conf 813 RMD160 b299bd4c1b30da82ff97bef6c53ebb742250cba5 SHA1 fa1d7d8a
AUX 1.2.4/init 2124 RMD160 54926ee68c86e7e0607649ab6e69a831553eafff SHA1 706a3d3403c52e8b467af778be7c3d4bbf518ef0 SHA256 fe09e6dd9b0a83dd4d9265c6bd689c17866b396be1bf98daff7d0c6b5f329820
AUX 1.2.5/conf 811 RMD160 816215be39e3bdb3163df90c88e864337d47e37a SHA1 8a38d0322f894b3afc60d3a5657dcb0f7c16af2f SHA256 3bf5f7dbcbe8bf8a8a521a55599a1a674243af2541b0de83e674533cb7af9f7f
AUX 1.2.5/init 2122 RMD160 5fd5deba348febbf2d5396404225486d0d0edb41 SHA1 2a0309dbdaed5ce2aef09fe8ab9e5125ee98e9b2 SHA256 27cfbb1be26725327bd3abc9e7702ff34b805c6361221ecb4d21b51f037db4c0
+AUX 1.2.6/conf 811 RMD160 816215be39e3bdb3163df90c88e864337d47e37a SHA1 8a38d0322f894b3afc60d3a5657dcb0f7c16af2f SHA256 3bf5f7dbcbe8bf8a8a521a55599a1a674243af2541b0de83e674533cb7af9f7f
+AUX 1.2.6/init 2122 RMD160 5fd5deba348febbf2d5396404225486d0d0edb41 SHA1 2a0309dbdaed5ce2aef09fe8ab9e5125ee98e9b2 SHA256 27cfbb1be26725327bd3abc9e7702ff34b805c6361221ecb4d21b51f037db4c0
AUX conf 537 RMD160 5de199b3d9a76ef0efed7ee6105594e904e9f8ad SHA1 5213df426a6bb9f19893fdbc77a5e060dc3ab8b4 SHA256 c93f522dd0fdcdd8c92c34114bc830b66edbd612f464a648c313ddc3f1ec00dd
AUX init 571 RMD160 ddaa6e2e9464618920cc3b6cb02d7ded1d164bdb SHA1 db92dc23707f261bdaa23b692a22b1495c3195fd SHA256 8ae8fa692c9dec80403840205cfb16295b843392f446bd8dc7715607bc43d31f
AUX memcached-1.2.2-fbsd.patch 328 RMD160 669542854d9cbca5495db2ac2fe280502dbe96e6 SHA1 c783c1f1b89da8f61f170641dcf4d0987b9c3b08 SHA256 a0e91bd63a01a1a3361b0465fb9c63d091627d8714f3f64c853723b31da54b2f
@@ -15,11 +17,13 @@ DIST memcached-1.1.13.tar.gz 133734 RMD160 57b6da75e45af66f5d2a0c4a7a2a22a256cfb
DIST memcached-1.2.1.tar.gz 148755 RMD160 0b275591af74440f3de22946fb7ccc658f6578af SHA1 07ce5441874c052d28484070438822eedd7cc8ec SHA256 d489c1e8f9b149d7cde2bb1cb2c509ca6acedc32baed4e9b5f9e17d722c78c86
DIST memcached-1.2.4.tar.gz 363196 RMD160 13b20a6a0f01b8b741901ed7555814383324c611 SHA1 97861b538805a55c3b616e87e4173560480d5cef SHA256 33796120ad4e806cf23b8e8b1ecc249cc027f55c9f0b491ed6d4d80a2dc3f8f9
DIST memcached-1.2.5.tar.gz 208801 RMD160 71442adf109aab6ef42eefae239faa710f45f9ab SHA1 f7c13cf39ca2d948de1a5648b3d1a2ccfeb0a45b SHA256 f5c763229a4a2a83d6b14d193795f64ef961b81c48f5e194f740aea6be6ffb0b
+DIST memcached-1.2.6.tar.gz 217651 RMD160 9e6b6ad6e7cbe97b6a69f6e33f665b72659f81b1 SHA1 675a2576efac3d1333181e33fdd43f45f1f5d3fa SHA256 365c5719997af9477aedf4ff0435fbd83aadf5fa9b1c7a2e0d744f865aac578e
EBUILD memcached-1.1.12-r2.ebuild 1239 RMD160 33f5f859b1f29674e8670524a5ae08be025c3f52 SHA1 ffd0b62a858f89b82a9e955e5ed87c8ceca665d9 SHA256 70793be39fb3fd35516868e00d8406d2e721ff0a4f6af2f92b237eb328e64d99
EBUILD memcached-1.1.13-r1.ebuild 1638 RMD160 dec94934ef333ce82957982a87efe822bf93f7b4 SHA1 0de155e965ab1d73acf1ecec2ec4d6a68b348093 SHA256 80e929b814fe3bdd8c1696726cbb73cc7f15fd454388bab2ddf06c8b227de332
EBUILD memcached-1.1.13.ebuild 1629 RMD160 17d29a1b9339f5d7bef3495058e59b941cda057e SHA1 3b5ef6cb7f43ddbbcdf7c370548ce52b97920097 SHA256 45c959a62b927445416fd2abd4b37d0351cbd98f2f27a529eb4e95cf2b8f0513
EBUILD memcached-1.2.1-r1.ebuild 1620 RMD160 a135abe0416575dc4285d4f5f912e33030389e9b SHA1 68d46909aa0870da09b1efea62963e0b331a9208 SHA256 e5892e109ae0e02a867da4e22fe68de5c31f91ef058444e9a2368b705a70e640
EBUILD memcached-1.2.4.ebuild 1616 RMD160 865b796b4dce2218b37e42fc18afda1bb75d6166 SHA1 e996948dd4dad87b4cbad3fa9257ce0d721ff963 SHA256 7a1617dfa35d53a37e87dcf0733af5360d24d6c20e7cb91d4c1e854f27da39ea
EBUILD memcached-1.2.5.ebuild 1618 RMD160 3072f3e8ecb58c9250120e0da4752c7968f40379 SHA1 bb50afef3574285e36cabf453264b2740ea3db22 SHA256 a02106967a085316f799922b4d819216ee11d988bd1bb7518d642b2757f12291
-MISC ChangeLog 12888 RMD160 4a9bb99b047b12ca7ab62e421797a751e730a907 SHA1 2dd69b5d99595751714ccaef697af03401f5038c SHA256 8b94e209c1a1e1456c977ad91a62f13a4401cf6f58c43057105f041c73fd82b5
+EBUILD memcached-1.2.6.ebuild 1624 RMD160 4e82ddfa326b64ff572c0c4cec13574414aa2ddc SHA1 1eee46f558fa538696c5c06d0186730fab8fef09 SHA256 68f451cb52112667520ea0f5f9fa7785b2084f1df4cda46c1edd383d36cfe78f
+MISC ChangeLog 13053 RMD160 8548ac37864bf4dedd27334d2398193a739f7d9b SHA1 cec8d4b01bd1fb58e7db91b3d333662b7ed26756 SHA256 f07f69579268fc0ba6f218978e8a9dae6fbbb92b6d148e10f208c7b96818b68a
MISC metadata.xml 841 RMD160 60a5beb49a85e92147066ead33afb1961bb00eec SHA1 11a620a9e2336f2dcee196b60c4d4e8127ca5c1e SHA256 6ecc5efcf267f183adeac1a372a306042849384a67f86d3543397dcaf62ff64e
diff --git a/net-misc/memcached/files/1.2.6/conf b/net-misc/memcached/files/1.2.6/conf
new file mode 100644
index 000000000000..14e75e851272
--- /dev/null
+++ b/net-misc/memcached/files/1.2.6/conf
@@ -0,0 +1,32 @@
+# Copyright 2003 Gentoo Technologies, Inc
+# $Header: /var/cvsroot/gentoo-x86/net-misc/memcached/files/1.2.6/conf,v 1.1 2008/08/01 15:56:55 caleb Exp $
+# memcached config file
+
+MEMCACHED_BINARY="/usr/bin/memcached"
+
+#Specify memory usage in megabytes (do not use letters)
+#64MB is default
+MEMUSAGE="64"
+
+#User to run as
+MEMCACHED_RUNAS="memcached"
+
+#Specify maximum number of concurrent connections
+#1024 is default
+MAXCONN="1024"
+
+#Listen for connections on what address?
+# If this is empty, memcached will listen on 0.0.0.0
+# be sure you have a firewall in place!
+LISTENON=""
+
+#Listen for connections on what port?
+PORT="11211"
+
+#PID file location
+# '-${PORT}.${CONF}.pid' will be appended to this!
+# You do not normally need to change this.
+PIDBASE="/var/run/memcached/memcached"
+
+#Other Options
+MISC_OPTS=""
diff --git a/net-misc/memcached/files/1.2.6/init b/net-misc/memcached/files/1.2.6/init
new file mode 100644
index 000000000000..e4efc5a09cd4
--- /dev/null
+++ b/net-misc/memcached/files/1.2.6/init
@@ -0,0 +1,77 @@
+#!/sbin/runscript
+# $Header: /var/cvsroot/gentoo-x86/net-misc/memcached/files/1.2.6/init,v 1.1 2008/08/01 15:56:55 caleb Exp $
+
+CONF="${SVCNAME#*.}"
+CONFBASE="/etc/conf.d/memcached"
+
+[ -z "${PIDBASE}" ] && PIDBASE="/var/run/memcached/memcached"
+[ "${CONF}" == "memcached" ] && CONF=''
+
+if [ -n "${CONF}" ]; then
+ PIDFILE="${PIDBASE}-${PORT}.${CONF}.pid"
+ CONFSRC="${CONFBASE}.${CONF}"
+ if [ -f "${CONFSRC}" ]; then
+ source "${CONFSRC}"
+ else
+ eerror "The configuration file $CONFSRC was not found!"
+ fi
+else
+ PIDFILE="${PIDBASE}-${PORT}.pid"
+ CONFSRC="${CONFBASE}"
+fi
+
+depend() {
+ need net
+}
+
+checkconfig() {
+ if [ -z "${LISTENON}" ]; then
+ ewarn "You should edit $CONFSRC and specify an address to listen on."
+ ewarn "Listening on any address (check your firewall!)"
+ fi
+
+}
+
+start() {
+ if [ -n "${CONF}" ]; then
+ ebegin "Starting memcached (${CONF})"
+ else
+ ebegin "Starting memcached"
+ fi
+ checkconfig
+ local dir="$(dirname ${PIDFILE})"
+ if [ ! -d "${dir}" ]; then
+ einfo " Creating ${dir}"
+ mkdir -p "${dir}"
+ fi
+ chown ${MEMCACHED_RUNAS} "${dir}"
+ if [ -f "${PIDFILE}" ]; then
+ einfo " Removing stale pidfile ${PIDFILE}"
+ rm -f "${PIDFILE}" 1>/dev/null
+ fi
+
+ if [ -z "${LISTENON}" ]; then
+ c_LISTENON=""
+ else
+ c_LISTENON="-l ${LISTENON}"
+ fi
+
+ /sbin/start-stop-daemon --start --pidfile "${PIDFILE}" \
+ --exec "${MEMCACHED_BINARY}" \
+ --startas "${MEMCACHED_BINARY}" -- \
+ -d -p ${PORT} ${c_LISTENON} -m ${MEMUSAGE} \
+ -c ${MAXCONN} -u ${MEMCACHED_RUNAS} -P "${PIDFILE}" \
+ ${MISC_OPTS}
+ eend $?
+}
+
+stop() {
+ if [ -n "${CONF}" ]; then
+ ebegin "Stopping memcached (${CONF})"
+ else
+ ebegin "Stopping memcached"
+ fi
+ start-stop-daemon --stop --quiet --pidfile "${PIDFILE}"
+ rm -f "${PIDFILE}"
+ eend $?
+}