diff options
author | 2010-10-28 03:22:33 +0000 | |
---|---|---|
committer | 2010-10-28 03:22:33 +0000 | |
commit | b0849c1ec4476f76f6ba8c1103696f205f67d3cb (patch) | |
tree | 968d6824f2437aa1f5c6b7358783b227718fb708 /dev-db | |
parent | dev-db/membase-server-community: New ebuild for bug 343021 (diff) | |
download | sunrise-b0849c1ec4476f76f6ba8c1103696f205f67d3cb.tar.gz sunrise-b0849c1ec4476f76f6ba8c1103696f205f67d3cb.tar.bz2 sunrise-b0849c1ec4476f76f6ba8c1103696f205f67d3cb.zip |
dev-db/membase-server-community: Updated ebuild for bug 343021 (dev-db/membase-server-community)
svn path=/sunrise/; revision=11495
Diffstat (limited to 'dev-db')
3 files changed, 12 insertions, 6 deletions
diff --git a/dev-db/membase-server-community/Manifest b/dev-db/membase-server-community/Manifest index 4a139e4f5..970f8b9c6 100644 --- a/dev-db/membase-server-community/Manifest +++ b/dev-db/membase-server-community/Manifest @@ -1,8 +1,8 @@ AUX 1.6.0.1/config 37 RMD160 d5992201e57eb06649eeee27ed5a923055e33882 SHA1 3fdd3d2c59d471dc53720fedea2c095b9618bb32 SHA256 33839d8bdb12509e3a30d333be3592857192be05e975015424403bc1add86d3e -AUX 1.6.0.1/init-epmd 573 RMD160 9210818ca7436ed6b4d4978a941ed5ece35d2a6f SHA1 83bd514f71350dfa764335509cc2604cea168ab0 SHA256 4d4f75b1ffc36276f95b4726ada1c471dd0ae407685aac486d5350b603866bfc +AUX 1.6.0.1/init-epmd 713 RMD160 1118986ba2e5c57f6904f5dfd3912ba01543f036 SHA1 f7b3c51a267d90541330d788c7aa116a9556c5e9 SHA256 a0253f3e194c7baed0db83824b0f2460aab317152bf8d0e70e6f6599165b387d AUX 1.6.0.1/init-server 1477 RMD160 df9552d596f0b81c5ef172ab72c0880b7f2afb9d SHA1 5a20e1832f4d7f9d606fc57f9e6c8486e97089ff SHA256 5a2ecc9254e478e4827de712aed2d0e74999021a679b45e10c72611e9c444a97 AUX 1.6.0.1/limits 88 RMD160 af9a929f2e63b67e40a95afd6a2eaca9043d06b6 SHA1 7ea69a703d0a0c90bb0bc25f4caa41a6fc0ea081 SHA256 8f9005c0ea6f3b97702783cee53509d471d2e5f96d73d95bb634ae9a6a74042e DIST membase-server-community_1.6.0.1_src.tar.gz 11562668 RMD160 0203aff2cb097b979dab75dd5964bc1f61148c46 SHA1 e800bfa11c1ea3f3a0f25db29e1924820a30e638 SHA256 5d88b20e4311a495ec3e7ffd403b0a370db3267d9346aafebd30c8fe97a07e1e -EBUILD membase-server-community-1.6.0.1.ebuild 4088 RMD160 2e70517624ea43d03ce4d59cbba605e5a870345d SHA1 888cb1ae962055d5e2b4564d0ef63cc49adb837d SHA256 d4ad19f46d94577e36fca79373ba186018458079cd0321ca50e2f479301c9571 +EBUILD membase-server-community-1.6.0.1.ebuild 4100 RMD160 b6b340c995f4ec81e9b0091560a87f134774d092 SHA1 5a412c23008bdd5c37ab514ba6fb98d1f13c8d46 SHA256 d2691345ebfc00a129d9f9b6e8388fc5337bfa3987cf250ae5ce53b4b8319f73 MISC ChangeLog 387 RMD160 b0cccde62b8dccefc89329291575cdb8364a191c SHA1 6ea2f0ff2a17fc39cdb7ebedeeb66f7adc09eb76 SHA256 8d769bde18a088635342de724c6ec1a71a43d7e27cbfbc436cc60015d05c7a90 MISC metadata.xml 794 RMD160 14769213fac3a2c8c9ef845ecff9096703754895 SHA1 40b0df9a094c4a4730bcbc897fd8ae7885c82edb SHA256 5980d8e1e218ad174835fc376af6e6116887ac0dcc3e7149ab79d13eea01dac1 diff --git a/dev-db/membase-server-community/files/1.6.0.1/init-epmd b/dev-db/membase-server-community/files/1.6.0.1/init-epmd index a2e7ae61a..625302a0a 100755 --- a/dev-db/membase-server-community/files/1.6.0.1/init-epmd +++ b/dev-db/membase-server-community/files/1.6.0.1/init-epmd @@ -4,6 +4,7 @@ # $Header: $ VER=1.6.0.1 +PIDFILE=/var/run/membase-epmd.pid MEMBASE_USER=membase MEMBASE_PATH=/opt/membase/$VER @@ -12,15 +13,20 @@ depend() { } start() { + ebegin "Starting membase (epmd)" cd $MEMBASE_PATH/ns_server + touch $PIDFILE + chown membase:daemon $PIDFILE + # Initialize distributed erlang on the system (i.e. epmd) start-stop-daemon --start \ - -c membase -m --pidfile /var/run/membase/epmd.pid \ - --exec /usr/bin/erl --oknodo -- \ + --oknodo -c membase -m --pidfile $PIDFILE \ + --exec /usr/bin/erl -- \ -noshell -setcookie nocookie -sname init -run init stop 2>&1 > /dev/null } stop() { + ebegin "Stopping membase (epmd)" start-stop-daemon --stop --name epmd } diff --git a/dev-db/membase-server-community/membase-server-community-1.6.0.1.ebuild b/dev-db/membase-server-community/membase-server-community-1.6.0.1.ebuild index 0e81aa2a0..2a758b2d5 100644 --- a/dev-db/membase-server-community/membase-server-community-1.6.0.1.ebuild +++ b/dev-db/membase-server-community/membase-server-community-1.6.0.1.ebuild @@ -112,9 +112,9 @@ src_compile() { src_install() { # Just copy the whole directory over to /opt until we split out packages # more efficiently (and/or respect the Makefile destinations) - dodir opt/membase + dodir opt/membase/${PV} cp -a "${S}"/{bucket_engine,ep-engine,libconflate,libmemcached,libvbucket,membase-cli,memcached,moxi,ns_server,vbucketmigrator} \ - "${D}/opt/membase" || die "Install failed!" + "${D}/opt/membase/${PV}" || die "Install failed!" # Setup keeps for the data, config, and log dirs dodir "etc/membase/${PV}" |