summaryrefslogtreecommitdiff
path: root/network/memcached/memcached.SlackBuild
diff options
context:
space:
mode:
authorNishant Limbachia <nishant@mnspace.net>2014-11-21 01:23:21 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2014-11-21 01:28:38 +0700
commitd5093c172a774f6ca08f012dd83f13ce6a1248a2 (patch)
tree7cbdccbcb0f8e47f2d57ed410c9dff0081b32d32 /network/memcached/memcached.SlackBuild
parentb91f3318e9e0a8f9ceae915f60ef21c7ed2c4420 (diff)
downloadslackbuilds-d5093c172a774f6ca08f012dd83f13ce6a1248a2.tar.gz
network/memcached: Updated for version 1.4.21.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'network/memcached/memcached.SlackBuild')
-rw-r--r--network/memcached/memcached.SlackBuild11
1 files changed, 7 insertions, 4 deletions
diff --git a/network/memcached/memcached.SlackBuild b/network/memcached/memcached.SlackBuild
index 812cbbe98f..07f70fb69c 100644
--- a/network/memcached/memcached.SlackBuild
+++ b/network/memcached/memcached.SlackBuild
@@ -26,9 +26,10 @@
# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
# Originally written by Conrado Ruch Jr conradojr@gmail.com
+# Added rc startup script contributed by Miguel De Anda
PRGNAM="memcached"
-VERSION=${VERSION:-1.4.17}
+VERSION=${VERSION:-1.4.21}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -79,7 +80,7 @@ find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
-o -perm 511 \) -exec chmod 755 {} \; -o \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
- -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
CFLAGS="$SLKCFLAGS" \
./configure \
@@ -97,13 +98,15 @@ make install-strip DESTDIR=$PKG
find $PKG/usr/man -type f -exec gzip -9 {} \;
for i in $(find $PKG/usr/man -type l) ; do ln -s $(readlink $i).gz $i.gz ; rm $i ; done
+install -D -m 0644 $CWD/rc.memcached $PKG/etc/rc.d/rc.memcached.new
+
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a AUTHORS COPYING ChangeLog \
- NEWS README.md $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a AUTHORS COPYING ChangeLog NEWS README.md $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
+cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}