import ports/www/phpmemcachedadmin, ok okan@

This program allows to see in real-time (top-like) or from the start of
the server, stats for get, set, delete, increment, decrement, evictions,
reclaimed, cas command, as well as server stats (network, items, server
version) with googlecharts and server internal configuration. You can go
further to see each server slabs, occupation, memory wasted and items (key
& value). Another part can execute commands on any memcached server: get,
set, delete, flush_all, as well as execute any commands (like stats) with
telnet.
This commit is contained in:
sthen 2012-05-18 20:53:56 +00:00
parent cad94fa7af
commit f31f618baf
4 changed files with 106 additions and 0 deletions

View File

@ -0,0 +1,41 @@
# $OpenBSD: Makefile,v 1.1.1.1 2012/05/18 20:53:56 sthen Exp $
COMMENT= memcached server admin in PHP
V= 1.2.1
DISTNAME= phpMemcachedAdmin-$V-r233
PKGNAME= phpmemcachedadmin-$V
CATEGORIES= www databases
HOMEPAGE= http://phpmemcacheadmin.googlecode.com/
# Apache 2.0
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
MASTER_SITES= ${HOMEPAGE}files/
MODULES= lang/php
RUN_DEPENDS= www/pecl-memcache
NO_BUILD= Yes
NO_REGRESS= Yes
PKG_ARCH= *
WRKDIST= ${WRKDIR}
PREFIX= /var/www
post-extract:
cd ${WRKSRC} && mkdir phpMemcachedAdmin && \
mv [A-Z]* *php phpMemcachedAdmin
do-install:
cd ${WRKSRC} && pax -rw phpMemcachedAdmin ${PREFIX}/
chown -R ${SHAREOWN}:${SHAREGRP} ${PREFIX}/phpMemcachedAdmin
mv ${PREFIX}/phpMemcachedAdmin/Config/Memcache.php \
${PREFIX}/phpMemcachedAdmin/Config/Memcache.php.dist
.include <bsd.port.mk>

View File

@ -0,0 +1,5 @@
MD5 (phpMemcachedAdmin-1.2.1-r233.tar.gz) = pXV/OaVuHbUomZ6C3VE5KQ==
RMD160 (phpMemcachedAdmin-1.2.1-r233.tar.gz) = hT2U4AjONES1/6GtEs7oXnbanPw=
SHA1 (phpMemcachedAdmin-1.2.1-r233.tar.gz) = OIPbwQhX0WLQHs6neu7V90W689o=
SHA256 (phpMemcachedAdmin-1.2.1-r233.tar.gz) = R4DYsXwUV1wdT/1igbNvnam/PEFqCeZlXqW4IYrX+IM=
SIZE (phpMemcachedAdmin-1.2.1-r233.tar.gz) = 28977

View File

@ -0,0 +1,8 @@
This program allows to see in real-time (top-like) or from the start of
the server, stats for get, set, delete, increment, decrement, evictions,
reclaimed, cas command, as well as server stats (network, items, server
version) with googlecharts and server internal configuration. You can go
further to see each server slabs, occupation, memory wasted and items (key
& value). Another part can execute commands on any memcached server: get,
set, delete, flush_all, as well as execute any commands (like stats) with
telnet.

View File

@ -0,0 +1,52 @@
@comment $OpenBSD: PLIST,v 1.1.1.1 2012/05/18 20:53:56 sthen Exp $
phpMemcachedAdmin/
phpMemcachedAdmin/Config/
phpMemcachedAdmin/Config/Memcache.php.dist
@owner www
@sample phpMemcachedAdmin/Config/Memcache.php
@owner
phpMemcachedAdmin/Library/
phpMemcachedAdmin/Library/Analysis.php
phpMemcachedAdmin/Library/Command/
phpMemcachedAdmin/Library/Command/Factory.php
phpMemcachedAdmin/Library/Command/Interface.php
phpMemcachedAdmin/Library/Command/Memcache.php
phpMemcachedAdmin/Library/Command/Memcached.php
phpMemcachedAdmin/Library/Command/Server.php
phpMemcachedAdmin/Library/Configuration/
phpMemcachedAdmin/Library/Configuration/Loader.php
phpMemcachedAdmin/Library/Data/
phpMemcachedAdmin/Library/Data/Error.php
phpMemcachedAdmin/Library/HTML/
phpMemcachedAdmin/Library/HTML/Components.php
phpMemcachedAdmin/Library/Loader.php
phpMemcachedAdmin/Public/
phpMemcachedAdmin/Public/Images/
phpMemcachedAdmin/Public/Images/635855.png
phpMemcachedAdmin/Public/Images/b5463f.png
phpMemcachedAdmin/Public/Scripts/
phpMemcachedAdmin/Public/Scripts/Script.js
phpMemcachedAdmin/Public/Styles/
phpMemcachedAdmin/Public/Styles/Style.css
@owner www
phpMemcachedAdmin/Temp/
@owner
phpMemcachedAdmin/View/
phpMemcachedAdmin/View/Commands/
phpMemcachedAdmin/View/Commands/Commands.tpl
phpMemcachedAdmin/View/Configure/
phpMemcachedAdmin/View/Configure/Configure.tpl
phpMemcachedAdmin/View/Footer.tpl
phpMemcachedAdmin/View/Header.tpl
phpMemcachedAdmin/View/LiveStats/
phpMemcachedAdmin/View/LiveStats/Frame.tpl
phpMemcachedAdmin/View/LiveStats/Stats.tpl
phpMemcachedAdmin/View/Stats/
phpMemcachedAdmin/View/Stats/Error.tpl
phpMemcachedAdmin/View/Stats/Items.tpl
phpMemcachedAdmin/View/Stats/Slabs.tpl
phpMemcachedAdmin/View/Stats/Stats.tpl
phpMemcachedAdmin/commands.php
phpMemcachedAdmin/configure.php
phpMemcachedAdmin/index.php
phpMemcachedAdmin/stats.php