Merge branch 'testing' of gitorious.org:chakra-packages/apps into testing

This commit is contained in:
Manuel 2011-01-12 23:54:50 +00:00
commit 95f9c36372
6 changed files with 101 additions and 6 deletions

View File

@ -7,7 +7,7 @@
# include global config
pkgname=cherokee
pkgver=1.0.15
pkgver=1.0.16
pkgrel=1
pkgdesc="A very fast, flexible and easy to configure Web Server"
arch=('i686' 'x86_64')
@ -29,7 +29,7 @@ source=(http://www.cherokee-project.com/download/1.0/$pkgver/cherokee-$pkgver.ta
cherokee.rc
cherokee.logrotate)
options=('!libtool')
md5sums=('58ae1ee594390d19fd9c556bf8d52408'
md5sums=('d9ace1e79237ea60198dafe52cb172d1'
'a2d2b69c6220fab57cda4f531b680f9f'
'8d69341bd4002bffd69c6e82ff6c905f')

51
proftpd/PKGBUILD Normal file
View File

@ -0,0 +1,51 @@
#
# Apps Packages for Chakra, part of chakra-project.org
#
# maintainer (i686): Phil Miller <philm[at]chakra-project[dog]org>
# maintainer (x86_64): Manuel Tortosa <manutortosa[at]chakra-project[dot]org>
# include global config
pkgname=proftpd
pkgver=1.3.3d
pkgrel=1
pkgdesc="A high-performance, scalable FTP server"
arch=('i686' 'x86_64')
url="http://www.proftpd.org"
license=('GPL')
depends=('glibc' 'pam' 'ncurses' 'libcap' 'libldap'
'libmysqlclient' 'postgresql-libs')
backup=('etc/proftpd.conf' 'etc/conf.d/proftpd')
source=(ftp://ftp.proftpd.org/distrib/source/${pkgname}-${pkgver}.tar.bz2
'proftpd'
'proftpd.logrotate'
'proftpd.conf.d')
md5sums=('69650e91e05b3a10fa3ac54ee261679b'
'03434e92fbf9250275bfb510a68f66bc'
'2022dae1483868569299396777d3694a'
'2a1a9bab12655bd8694ac49d48c6f0e4')
build() {
cd ${srcdir}/${pkgname}-${pkgver}
./configure --prefix=/usr --mandir=/usr/share/man --disable-pam \
--with-modules=mod_quotatab:mod_quotatab_file:mod_tls:mod_ldap:mod_sql:mod_sql_mysql:mod_sql_postgres \
--sysconfdir=/etc --localstatedir=/var/run --enable-ctrls --enable-ipv6 \
--with-includes=/usr/include/mysql:/usr/include/postgresql \
--with-libraries=/usr/lib/mysql:/usr/lib/postgresql --enable-nls
make
}
package() {
cd ${srcdir}/${pkgname}-${pkgver}
make DESTDIR=${pkgdir} install
install -Dm644 ../proftpd.logrotate ${pkgdir}/etc/logrotate.d/proftpd
install -Dm644 ../proftpd.conf.d ${pkgdir}/etc/conf.d/proftpd
install -Dm755 ../proftpd ${pkgdir}/etc/rc.d/proftpd
install -Dm755 contrib/xferstats.holger-preiss \
${pkgdir}/usr/bin/ftpstats
cd ${pkgdir}/etc
sed -i 's|nogroup|nobody|g' proftpd.conf
rmdir ${pkgdir}/usr/libexec
}

40
proftpd/proftpd Normal file
View File

@ -0,0 +1,40 @@
#!/bin/bash
# source application-specific settings
PROFTPD_ARGS=
[ -f /etc/conf.d/proftpd ] && . /etc/conf.d/proftpd
. /etc/rc.conf
. /etc/rc.d/functions
case "$1" in
start)
stat_busy "Starting ProFTPd Server"
/usr/sbin/proftpd ${PROFTPD_ARGS}
if [ $? -gt 0 ]; then
stat_fail
else
add_daemon proftpd
stat_done
fi
;;
stop)
stat_busy "Stopping ProFTPd Server"
[ -f /var/run/proftpd.pid ] && kill $(cat /var/run/proftpd.pid) &> /dev/null
if [ $? -gt 0 ]; then
stat_fail
else
rm -f /var/run/proftpd.pid
rm_daemon proftpd
stat_done
fi
;;
restart)
$0 stop
sleep 1
$0 start
;;
*)
echo "usage: $0 {start|stop|restart}"
esac
exit 0

4
proftpd/proftpd.conf.d Normal file
View File

@ -0,0 +1,4 @@
#
# Parameters to be passed to proftpd
#
PROFTPD_ARGS=""

View File

@ -8,7 +8,7 @@ source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
pkgname=sigil
_pkgname=Sigil
pkgver=0.3.2
pkgver=0.3.3
pkgrel=1
pkgdesc="A multi-platform WYSIWYG ebook editor. It is designed to edit books in ePub format. "
arch=('i686' 'x86_64')
@ -19,7 +19,7 @@ makedepends=('cmake')
install=sigil.install
source=(http://${pkgname}.googlecode.com/files/${_pkgname}-${pkgver}-Code.zip
${pkgname}.desktop)
md5sums=('a6d5e77da11aece30061ed1a0e584afd'
md5sums=('a8573e877f3bcf250ee29bd934939e35'
'3034d3948eb01804db7a71f89a3eba7d')
build() {

View File

@ -9,12 +9,12 @@ source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
pkgname=smplayer
pkgver=0.6.9
pkgrel=2
pkgrel=3
pkgdesc="A complete front-end for MPlayer"
arch=('i686' 'x86_64')
url="http://smplayer.sourceforge.net/"
license=('GPL')
depends=('qt>=4.7.0' 'mplayer>=30526')
depends=('qt>=4.7.0' 'mplayer>=30526' 'mpg123')
source=(http://downloads.sourceforge.net/sourceforge/smplayer/${pkgname}-${pkgver}.tar.bz2)
md5sums=('dfe874b386509de5df78537489f95004')