diff options
author | Lisa M. Seelye <lisa@gentoo.org> | 2003-07-30 01:43:46 +0000 |
---|---|---|
committer | Lisa M. Seelye <lisa@gentoo.org> | 2003-07-30 01:43:46 +0000 |
commit | 001785c8916a7a597c9f9664c0823d42fc6b6d98 (patch) | |
tree | 305d4478929f586ca07aea3657962b5e2ad13757 /net-www | |
parent | version update. the apis were split into dev-libs/memcached-api-{php,perl} wi... (diff) | |
download | historical-001785c8916a7a597c9f9664c0823d42fc6b6d98.tar.gz historical-001785c8916a7a597c9f9664c0823d42fc6b6d98.tar.bz2 historical-001785c8916a7a597c9f9664c0823d42fc6b6d98.zip |
version update. the apis were split into dev-libs/memcached-api-{php,perl} with IUSE/DEPEND on both
Diffstat (limited to 'net-www')
-rw-r--r-- | net-www/memcached/Manifest | 8 | ||||
-rw-r--r-- | net-www/memcached/files/digest-memcached-1.1.7 | 1 | ||||
-rw-r--r-- | net-www/memcached/files/init | 10 | ||||
-rw-r--r-- | net-www/memcached/memcached-1.1.7.ebuild | 54 |
4 files changed, 64 insertions, 9 deletions
diff --git a/net-www/memcached/Manifest b/net-www/memcached/Manifest index e834def7a67c..eaa0de4b8ea8 100644 --- a/net-www/memcached/Manifest +++ b/net-www/memcached/Manifest @@ -1,7 +1,7 @@ MD5 3c9c5e4121d5c133b57c9d9745bc4712 memcached-1.1.6.ebuild 1588 -MD5 412d7a535256c86c739eed880b0f5e67 ChangeLog 335 -MD5 bed2f2c9395f4af494261ec8a4be05dd memcached-1.1.7.ebuild 1364 -MD5 199047405d8616de8c3488f685c1e93a files/conf 398 -MD5 d6661df2b2dfe3a560007b72755d94d4 files/init 502 +MD5 4c0e0130947a091fc352fa5ecd602d94 ChangeLog 602 +MD5 8e7247a0d09d7d4b027fd0dde8960b82 memcached-1.1.7.ebuild 1392 +MD5 a3c31338ecf5e0cfaba8d2d1c86562b3 files/conf 495 +MD5 770ac0b54ecd8bc46e637cd1fd9adf88 files/init 510 MD5 167f7184d41c13a713a3210c0a99447a files/digest-memcached-1.1.6 66 MD5 8e5c2b32fd357d28c3adfb5b6d7a3fdd files/digest-memcached-1.1.7 66 diff --git a/net-www/memcached/files/digest-memcached-1.1.7 b/net-www/memcached/files/digest-memcached-1.1.7 new file mode 100644 index 000000000000..eb6ac039bdf6 --- /dev/null +++ b/net-www/memcached/files/digest-memcached-1.1.7 @@ -0,0 +1 @@ +MD5 4ce2d12b0ef2ec0e457ae2cf72ffa0e5 memcached-1.1.7.tar.gz 81569 diff --git a/net-www/memcached/files/init b/net-www/memcached/files/init index 963c1cd95b93..fff693631ab9 100644 --- a/net-www/memcached/files/init +++ b/net-www/memcached/files/init @@ -1,5 +1,5 @@ #!/sbin/runscript -# $Header: /var/cvsroot/gentoo-x86/net-www/memcached/files/init,v 1.1 2003/07/26 22:52:16 lisa Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-www/memcached/files/init,v 1.2 2003/07/30 01:43:40 lisa Exp $ depend() { need net @@ -8,15 +8,15 @@ depend() { start() { ebegin "Starting memcached" /sbin/start-stop-daemon --start \ - --exec ${MEMCACHED_BINARY} \ - --pidfile /var/run/memcached.pid \ - -- -d -p ${PORT} -l ${LISTENON} -m ${MEMUSAGE} + --exec ${MEMCACHED_BINARY} --pidfile /var/run/memcached.pid \ + -- -d -p ${PORT} -l ${LISTENON} -m ${MEMUSAGE} \ + -c ${MAXCONN} eend $? } stop() { ebegin "Stopping memcached" - start-stop-daemon --stop --quiet --pidfile /var/run/memcached.pid + start-stop-daemon --stop --quiet --exec ${MEMCACHED_BINARY} rm -f /var/run/memcached.pid eend $? } diff --git a/net-www/memcached/memcached-1.1.7.ebuild b/net-www/memcached/memcached-1.1.7.ebuild new file mode 100644 index 000000000000..bb7bae6590a5 --- /dev/null +++ b/net-www/memcached/memcached-1.1.7.ebuild @@ -0,0 +1,54 @@ +# Copyright 1999-2003 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-www/memcached/memcached-1.1.7.ebuild,v 1.1 2003/07/30 01:43:40 lisa Exp $ + +DESCRIPTION="memcached is a high-performance, distributed memory object caching system, generic in nature, but intended for use in speeding up dynamic web applications by alleviating database load." + +HOMEPAGE="http://www.danga.com/memcached/" + +SRC_URI="http://www.danga.com/memcached/dist/${P}.tar.gz" + +LICENSE="BSD GPL-2" + +SLOT="0" + +KEYWORDS="~x86" + +IUSE="static perl php" + +DEPEND=">=dev-libs/libevent-0.6 + perl? ( dev-libs/memcached-api-perl ) + php? ( dev-libs/memcached-api-php ) +" + +#RDEPEND="" + +S=${WORKDIR}/${P} + +src_compile() { + local myconf="" + use static || myconf="--disable-static ${myconf} " + econf ${myconf} + emake || die +} + +src_install() { + dobin ${S}/memcached + dodoc ${S}/{AUTHORS,COPYING,ChangeLog,INSTALL,NEWS,README} + + insinto /etc/conf.d + newins "${FILESDIR}/conf" memcached + + exeinto /etc/init.d + newexe "${FILESDIR}/init" memcached +} + + +pkg_postinst() { + if ! use php; then + ewarn "This package uses a special \"php\" USE flag to include the PHP" + ewarn "API. If you emerged this without setting that USE flag, you can" + ewarn "still get the API by doing:" + einfo " emerge dev-libs/memcached-api-php" + fi +} |