Update of /cvsroot/fink/dists/10.4/unstable/main/finkinfo/devel
In directory sc8-pr-cvs17:/tmp/cvs-serv2348

Modified Files:
        memcached.info 
Log Message:
New upstream version by new maintainer. See:
http://sourceforge.net/support/tracker.php?aid=1689017


Index: memcached.info
===================================================================
RCS file: /cvsroot/fink/dists/10.4/unstable/main/finkinfo/devel/memcached.info,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- memcached.info      26 Sep 2006 00:47:12 -0000      1.1
+++ memcached.info      18 May 2007 12:05:28 -0000      1.2
@@ -1,32 +1,91 @@
 Package: memcached
-Version: 1.1.12
+Version: 1.2.1
 Revision: 1
-Source: mirror:debian:/pool/main/m/memcached/%n_%v.orig.tar.gz
-SourceRename: %n-%v.tar.gz
-Maintainer: Mike Walder <[EMAIL PROTECTED]>
-Homepage: http://danga.com/memcached/
-License: BSD
-BuildDepends: libevent (>= 0.8-1)
-Patch: %n.patch
+DocFiles: AUTHORS COPYING ChangeLog NEWS README TODO doc/CONTRIBUTORS 
doc/memory_management.txt doc/protocol.txt
 Description: High-performance object caching system
+License: BSD
+Maintainer: Alexey Zakhlestin <[EMAIL PROTECTED]>
+Homepage: http://danga.com/memcached/
+
 DescDetail: <<
- Memcached is a distributed memory object caching system, 
- intended for use in speeding up dynamic web applications. 
- Client modules exist for PHP, Ruby, Perl, Java, C and C sharp
+  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.
 <<
 DescUsage: <<
  to start the server just type:
  memcached -d -m 2048 -l 10.0.0.40 -p 11211
  
- This starts memcached up as a daemon, using 2GB of memory, 
- and listening on IP 10.0.0.40, port 11211. 
- Because a 32-bit process can only address 4GB of virtual 
- memory (usually significantly less, depending on your operating system), 
- if you have a 32-bit server with 4-64GB of memory using PAE you can just 
- run multiple processes on the machine, each using 2 or 3GB of memory.
+ This starts memcached up as a daemon, using 2GB of memory, and listening on
+ IP 10.0.0.40, port 11211. 
+<<
+
+BuildDepends: fink (>= 0.24.12), libevent1
+Depends: daemonic, libevent1-shlibs
+
+Source: http://danga.com/memcached/dist/%n-%v.tar.gz
+Source-MD5: 6ff64fb974d131fdb7f9d5fdf955dc9a
+
+ConfigureParams: --disable-dependency-tracking --with-libevent=%p
+CompileScript: <<
+  ./configure %c
+  make
+  make test
 <<
-Source-MD5: a1236dad33e9ac6c36d53faa8da61780
 InstallScript: <<
-#! /bin/sh -ev
- make install prefix=%i mandir=%i/share/man datadir=%i/share/doc/%n
+ make install prefix=%i bindir=%i/sbin mandir=%i/share/man 
datadir=%i/share/doc/%n
+ rm -f %i/sbin/memcached-debug
+ mkdir -p %i/var/run/%n
+<<
+
+DaemonicName: %n
+DaemonicFile: <<
+<service>
+       <description>memcached server</description>
+       <message>memcached %v</message>
+
+       <daemon name="%n">
+               <executable background="yes">%p/sbin/memcached</executable>
+               <parameters>-d -u nobody -l 127.0.0.1 -m 128 -P 
%p/var/run/%n/%n.pid</parameters>
+               <pidfile>%p/var/run/%n.pid</pidfile>
+       </daemon>
+</service>
+<<
+
+PostInstScript: <<
+set +e
+if [ "$1" = "configure" ]; then
+  chown nobody:nobody %p/var/run/%n
+  %p/bin/daemonic install %n
+  echo 
'###########################################################################'
+  echo ' use daemonic to configure and run memcached, please:'
+  echo '  %p/etc/daemons/%n.xml -- service definition'
+  echo '  daemonic update %n -- load new xml definition'
+  echo '  daemonic enable %n -- add to startup'
+  echo '  daemonic disable %n -- remove from startup'
+  echo '  /Library/StartupItems/daemonic-%n/daemonic-%n start -- start 
immediately'
+  echo 
'###########################################################################'
+fi
+
+if [ "$1" = "upgrade" ]; then
+  %p/bin/daemonic update %n
+
+  if [ -f /Library/StartupItems/daemonic-%n/daemonic-%n ]; then
+    echo "Stopping %n"
+    killall %n 2>/dev/null
+    /Library/StartupItems/daemonic-%n/daemonic-%n start
+  fi
+fi
+<<
+
+PreRmScript: <<
+set +e
+if [ "$1" != "upgrade" ]; then
+  if [ -f %p/var/run/%n.pid ]; then
+    echo "Stopping %n"
+    killall %n 2>/dev/null
+  fi
+
+  %p/bin/daemonic disable %n
+fi
 <<


-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Fink-commits mailing list
Fink-commits@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-commits

Reply via email to