wok-current rev 13572
Up jabberd2 (2.2.16)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Nov 04 18:18:29 2012 +0100 (2012-11-04) |
parents | 83966e88a5da |
children | 4dc5578e0398 |
files | btrfs-progs/stuff/btrfs-snapshot jabberd2/receipt |
line diff
1.1 --- a/btrfs-progs/stuff/btrfs-snapshot Sun Nov 04 09:14:01 2012 +0000 1.2 +++ b/btrfs-progs/stuff/btrfs-snapshot Sun Nov 04 18:18:29 2012 +0100 1.3 @@ -1,7 +1,10 @@ 1.4 #!/bin/sh 1.5 1.6 -# Keep last 30 daily snapshot with crontab 1.7 -#0 0 * * * /usr/bin/btrfs-snapshot 30 1.8 +# Keep last 30 daily snapshots with crontab 1.9 +#0 * * * * /usr/bin/btrfs-snapshot 5 -hourly 1.10 +#0 0 * * * /usr/bin/btrfs-snapshot 30 -daily 1.11 +#0 0 1 * * /usr/bin/btrfs-snapshot 12 -monthly 1.12 +#0 0 1 1 * /usr/bin/btrfs-snapshot 99 -yearly 1.13 1.14 btrfs_list() 1.15 { 1.16 @@ -10,7 +13,7 @@ 1.17 } 1.18 1.19 which btrfs > /dev/null && for root in $(btrfs_list) ; do 1.20 - dir=${root%/}/.snapshots 1.21 + dir=${root%/}/.snapshots$2 1.22 [ -d $dir ] || mkdir $dir 1.23 cd $dir 1.24 i=0
2.1 --- a/jabberd2/receipt Sun Nov 04 09:14:01 2012 +0000 2.2 +++ b/jabberd2/receipt Sun Nov 04 18:18:29 2012 +0100 2.3 @@ -1,7 +1,7 @@ 2.4 # SliTaz package receipt. 2.5 2.6 PACKAGE="jabberd2" 2.7 -VERSION="2.2.5" 2.8 +VERSION="2.2.16" 2.9 CATEGORY="network" 2.10 SHORT_DESC="XMPP server (real-time communication)." 2.11 MAINTAINER="pascal.bellard@slitaz.org" 2.12 @@ -9,19 +9,23 @@ 2.13 TARBALL="$SOURCE-$VERSION.tar.bz2" 2.14 WEB_SITE="http://$PACKAGE.xiaoka.com/" 2.15 WGET_URL="http://ftp.xiaoka.com/$PACKAGE/releases/$TARBALL" 2.16 +CONFIG_FILES="/etc/jabberd" 2.17 +TAGS="im instant-messaging server" 2.18 + 2.19 DEPENDS="expat gsasl udns libidn zlib openssl libkrb5 libcomerr3" 2.20 BUILD_DEPENDS="expat gsasl gsasl-dev udns udns-dev libidn-dev openssl-dev \ 2.21 -zlib-dev db-dev openldap-dev postgresql mysql sqlite expat-dev" 2.22 -CONFIG_FILES="/etc/jabberd" 2.23 -TAGS="im instant-messaging server" 2.24 +zlib-dev db-dev openldap-dev postgresql mysql sqlite sqlite-dev expat-dev" 2.25 2.26 # Rules to configure and make the package. 2.27 compile_rules() 2.28 { 2.29 cd $src 2.30 CFLAGS="-march=$ARCH -O2 -pipe -fomit-frame-pointer" 2.31 - ./configure --prefix=/usr --infodir=/usr/share/info \ 2.32 - --sysconfdir=/etc/jabberd --mandir=/usr/share/man $CONFIGURE_ARGS && 2.33 + ./configure --prefix=/usr \ 2.34 + --infodir=/usr/share/info \ 2.35 + --enable-sqlite \ 2.36 + --sysconfdir=/etc/jabberd \ 2.37 + --mandir=/usr/share/man $CONFIGURE_ARGS && 2.38 make && 2.39 make DESTDIR=$DESTDIR install 2.40 } 2.41 @@ -30,8 +34,8 @@ 2.42 genpkg_rules() 2.43 { 2.44 mkdir -p $fs/usr/lib/jabberd 2.45 - cp -a $_pkg/etc $fs 2.46 - cp -a $_pkg/usr/bin $fs/usr 2.47 - cp -a $_pkg/usr/lib/jabberd/*so* $fs/usr/lib/jabberd 2.48 + cp -a $install/etc $fs 2.49 + cp -a $install/usr/bin $fs/usr 2.50 + cp -a $install/usr/lib/jabberd/*so* $fs/usr/lib/jabberd 2.51 } 2.52