From 6553825d7281900890db91a21ac601d7aee9c55e Mon Sep 17 00:00:00 2001 From: root Date: Thu, 24 May 2012 00:02:45 +0000 Subject: Thu May 24 00:02:45 UTC 2012 --- community/allegro/PKGBUILD | 6 +- community/apper/PKGBUILD | 10 +-- community/duplicity/PKGBUILD | 11 +-- community/lxappearance/PKGBUILD | 16 ++-- community/mariadb/PKGBUILD | 133 ++++++++++++++++++++++++++++++ community/mariadb/mariadb.install | 26 ++++++ community/mariadb/mysqld | 77 +++++++++++++++++ community/menu-cache/PKGBUILD | 15 ++-- community/python2-ldap/PKGBUILD | 6 +- community/qmc2/PKGBUILD | 6 +- community/talkfilters/PKGBUILD | 26 ++++++ community/talkfilters/talkfilters.install | 21 +++++ 12 files changed, 317 insertions(+), 36 deletions(-) create mode 100644 community/mariadb/PKGBUILD create mode 100644 community/mariadb/mariadb.install create mode 100755 community/mariadb/mysqld create mode 100644 community/talkfilters/PKGBUILD create mode 100644 community/talkfilters/talkfilters.install (limited to 'community') diff --git a/community/allegro/PKGBUILD b/community/allegro/PKGBUILD index 7ab054c75..3269d92ac 100644 --- a/community/allegro/PKGBUILD +++ b/community/allegro/PKGBUILD @@ -1,4 +1,4 @@ -# $Id: PKGBUILD 68209 2012-03-19 09:36:12Z arodseth $ +# $Id: PKGBUILD 71052 2012-05-22 19:41:59Z arodseth $ # Maintainer: Alexander Rødseth # Contributor: Ionut Biru # Contributor: Tom Newsom @@ -6,12 +6,12 @@ pkgname=allegro pkgver=5.0.6 -pkgrel=2 +pkgrel=3 pkgdesc="Portable library mainly aimed at video game and multimedia programming" arch=('x86_64' 'i686') url="http://alleg.sourceforge.net/" license=('custom') -depends=('jack' 'libxpm' 'freetype2' 'libxxf86dga' 'libxcursor' 'libpng' 'libgl' 'libjpeg' 'physfs') +depends=('jack' 'libxpm' 'libxxf86dga' 'libgl' 'physfs' 'gtk2' 'libpulse') makedepends=('cmake' 'mesa') source=("http://downloads.sourceforge.net/alleg/$pkgname-$pkgver.tar.gz") sha256sums=('d981a1cac937085e6636e597c492ddb743066516c1d215c2a39e4049bd70dc24') diff --git a/community/apper/PKGBUILD b/community/apper/PKGBUILD index e7605e4bb..1f5df85bb 100644 --- a/community/apper/PKGBUILD +++ b/community/apper/PKGBUILD @@ -1,12 +1,12 @@ -# $Id: PKGBUILD 68404 2012-03-24 09:35:57Z idevolder $ +# $Id: PKGBUILD 71050 2012-05-22 16:21:01Z idevolder $ # Maintainer: BlackIkeEagle < ike DOT devolder AT gmail DOT com > # Contributor: Valeriy Lyasotskiy # Contributor: Zom pkgname=apper _pkgmainver=0.7 -pkgver=0.7.1 -pkgrel=6 +pkgver=0.7.2 +pkgrel=1 pkgdesc="KDE tools for PackageKit" arch=('i686' 'x86_64') url="http://kde-apps.org/content/show.php/Apper?content=84745" @@ -17,8 +17,8 @@ install="$pkgname.install" provides=('kpackagekit') conflicts=('kpackagekit') replaces=('kpackagekit') -source=("https://launchpad.net/$pkgname/$_pkgmainver/$pkgver/+download/$pkgname-$pkgver.tar.bz2") -sha256sums=('d604e766c788ed26d5e352b7e97477ba58d6fe9e41db0c2649a2a39460bcab98') +source=("http://download.kde.org/stable/$pkgname/$pkgver/src/$pkgname-$pkgver.tar.bz2") +sha256sums=('975fede728e7ab96d8e244ae721a2e15ae40b9fb1cd189a1f4afd46c400b219f') build() { cd "$pkgname-$pkgver" diff --git a/community/duplicity/PKGBUILD b/community/duplicity/PKGBUILD index bf3ee4bae..7582d22f7 100644 --- a/community/duplicity/PKGBUILD +++ b/community/duplicity/PKGBUILD @@ -1,17 +1,18 @@ -# $Id: PKGBUILD 67249 2012-03-05 20:47:53Z lfleischer $ +# $Id: PKGBUILD 71055 2012-05-22 21:28:05Z lfleischer $ # Maintainer: Kaiting Chen # Contributor: Aaron Schaefer pkgname=duplicity -pkgver=0.6.18 -pkgrel=2 +pkgver=0.6.19 +pkgrel=1 pkgdesc='A utility for encrypted, bandwidth-efficient backups using the rsync algorithm.' arch=('i686' 'x86_64') url='http://www.nongnu.org/duplicity/' license=('GPL') depends=('librsync' 'ncftp' 'python2' 'python-boto' 'python-gnupginterface' 'python-paramiko') -source=("http://savannah.nongnu.org/download/$pkgname/$pkgname-$pkgver.tar.gz") -md5sums=('66b5e64de43e09d3c3ff9890faf9de07') +source=("http://savannah.nongnu.org/download/$pkgname/$pkgname-$pkgver.tar.gz"{,.sig}) +md5sums=('c88122d0b651f84f3bfa42e55591c36b' + 'df672ed47b8eb4fd8ffa99711623b6b5') build() { cd "${srcdir}/${pkgname}-${pkgver}" diff --git a/community/lxappearance/PKGBUILD b/community/lxappearance/PKGBUILD index 37bfd344a..322e4c7d6 100644 --- a/community/lxappearance/PKGBUILD +++ b/community/lxappearance/PKGBUILD @@ -1,25 +1,24 @@ -#$Id: PKGBUILD 60017 2011-12-03 08:38:35Z bpiotrowski $ +#$Id: PKGBUILD 71027 2012-05-22 05:49:29Z bpiotrowski $ # Maintainer: Bartłomiej Piotrowski # Contributor: Angel Velasquez # Contributor: Geoffroy Carrier pkgname=lxappearance -pkgver=0.5.1 -pkgrel=3 -pkgdesc="GTK+ theme switcher of the LXDE Desktop (manages icons and fonts)" +pkgver=0.5.2 +pkgrel=1 +pkgdesc="Feature-rich GTK+ theme switcher of the LXDE Desktop" arch=('i686' 'x86_64') license=('GPL2') url="http://lxde.org/" groups=('lxde') depends=('gtk2' 'intltool') makedepends=('pkgconfig') -source=(http://downloads.sourceforge.net/sourceforge/lxde/${pkgname}-${pkgver}.tar.gz - gtk-3.0.patch) +source=(http://downloads.sourceforge.net/sourceforge/lxde/${pkgname}-${pkgver}.tar.gz) +md5sums=('a088c6ef08fd25df7dc3be5b07168bbe') build() { cd "$srcdir/$pkgname-$pkgver" - patch -Np0 -i ../gtk-3.0.patch ./configure --sysconfdir=/etc --prefix=/usr make } @@ -29,6 +28,3 @@ package() { make DESTDIR="$pkgdir" install } - -md5sums=('34d157a7fe97ef0b93db8fab3f251e07' - '58fd450329972be03181c98e7287f3ae') diff --git a/community/mariadb/PKGBUILD b/community/mariadb/PKGBUILD new file mode 100644 index 000000000..1a7c9c3a5 --- /dev/null +++ b/community/mariadb/PKGBUILD @@ -0,0 +1,133 @@ +# $Id: PKGBUILD 71031 2012-05-22 06:04:35Z bpiotrowski $ +# Maintainer: Bartłomiej Piotrowski + +pkgbase=mariadb +pkgname=('libmariadbclient' 'mariadb-clients' 'mariadb') +pkgver=5.5.23 +pkgrel=3 +arch=('i686' 'x86_64') +license=('GPL') +url="http://mariadb.org/" +makedepends=('cmake' 'openssl' 'zlib') +options=('!libtool') +source=("http://mirror.de.gsnw.de:56431/$pkgbase/$pkgbase-$pkgver/kvm-tarbake-jaunty-x86/$pkgbase-$pkgver.tar.gz" + 'mysqld') +md5sums=('7074fa091b3c1489f45a5ddf12cd5e6f' + '3bb5a9a96340feb0184bc057ee6e330b') + +build() { + cd "${srcdir}" + mkdir build + cd build + + # CFLAGS/CXXFLAGS as suggested upstream + CFLAGS="-fPIC ${CFLAGS} -fno-strict-aliasing -DBIG_JOINS=1 -fomit-frame-pointer" \ + CXXFLAGS="-fPIC ${CXXFLAGS} -fno-strict-aliasing -DBIG_JOINS=1 -felide-constructors -fno-rtti" \ + + cmake ../${pkgbase}-${pkgver} \ + -DCMAKE_BUILD_TYPE=Release \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DSYSCONFDIR=/etc/mysql \ + -DMYSQL_DATADIR=/var/lib/mysql \ + -DMYSQL_UNIX_ADDR=/var/run/mysqld/mysqld.sock \ + -DDEFAULT_CHARSET=utf8 \ + -DDEFAULT_COLLATION=utf8_general_ci \ + -DENABLED_LOCAL_INFILE=ON \ + -DINSTALL_INFODIR=share/mysql/docs \ + -DINSTALL_MANDIR=share/man \ + -DINSTALL_PLUGINDIR=/usr/lib/mysql/plugin \ + -DINSTALL_SCRIPTDIR=bin \ + -DINSTALL_INCLUDEDIR=include/mysql \ + -DINSTALL_DOCREADMEDIR=share/mysql \ + -DINSTALL_SUPPORTFILESDIR=share/mysql \ + -DINSTALL_MYSQLSHAREDIR=share/mysql \ + -DINSTALL_DOCDIR=share/mysql/docs \ + -DINSTALL_SHAREDIR=share/mysql \ + -DWITH_READLINE=ON \ + -DWITH_ZLIB=system \ + -DWITH_SSL=system \ + -DWITH_LIBWRAP=OFF \ + -DWITH_MYSQLD_LDFLAGS="${LDFLAGS}" \ + -DWITH_EXTRA_CHARSETS=complex \ + -DWITH_EMBEDDED_SERVER=ON \ + -DWITH_INNOBASE_STORAGE_ENGINE=1 \ + -DWITH_PARTITION_STORAGE_ENGINE=1 \ + -DWITH_PBXT_STORAGE_ENGINE=1 \ + -DWITHOUT_EXAMPLE_STORAGE_ENGINE=1 \ + -DWITHOUT_ARCHIVE_STORAGE_ENGINE=1 \ + -DWITHOUT_BLACKHOLE_STORAGE_ENGINE=1 \ + -DWITHOUT_FEDERATED_STORAGE_ENGINE=1 + + make +} + +package_libmariadbclient(){ + pkgdesc="MariaDB client libraries" + depends=('openssl') + conflicts=('libmysqlclient') + provides=("libmysqlclient=${pkgver}") + + cd "${srcdir}"/build + for dir in include libmysql libmysqld libservices; do + make -C ${dir} DESTDIR="${pkgdir}" install + done + + install -d "${pkgdir}"/usr/bin + install -m755 scripts/mysql_config "${pkgdir}"/usr/bin/ + install -d "${pkgdir}"/usr/share/man/man1 + for man in mysql_config mysql_client_test_embedded mysqltest_embedded; do + install -m644 "${srcdir}"/${pkgbase}-${pkgver}/man/$man.1 "${pkgdir}"/usr/share/man/man1/$man.1 + done +} + +package_mariadb-clients() { + pkgdesc="MariaDB client tools" + depends=('libmariadbclient') + conflicts=('mysql-clients') + provides=("mysql-clients=${pkgver}") + + cd "${srcdir}"/build + make -C client DESTDIR="${pkgdir}" install + + # install man pages + install -d "${pkgdir}"/usr/share/man/man1 + for man in mysql mysqladmin mysqlcheck mysqldump mysqlimport mysqlshow mysqlslap; do + install -m644 "${srcdir}"/${pkgbase}-${pkgver}/man/$man.1 "${pkgdir}"/usr/share/man/man1/$man.1 + done + + # provided by mariadb + rm "${pkgdir}"/usr/bin/{mysql_{plugin,upgrade},mysqlbinlog,mysqltest} +} + +package_mariadb() { + pkgdesc="A fast SQL database server, drop-in replacement for MySQL" + backup=('etc/mysql/my.cnf') + install=mariadb.install + depends=('mariadb-clients') + conflicts=('mysql') + provides=("mysql=${pkgver}") + optdepends=('perl-dbi' 'perl-dbd-mysql') + options=('emptydirs') + + cd "${srcdir}"/build + make DESTDIR="${pkgdir}" install + + install -Dm644 "${pkgdir}"/usr/share/mysql/my-medium.cnf "${pkgdir}"/etc/mysql/my.cnf + install -Dm755 "${srcdir}"/mysqld "${pkgdir}"/etc/rc.d/mysqld + + # provided by libmariadbclient + rm "${pkgdir}"/usr/bin/{mysql_config,mysql_client_test_embedded,mysqltest_embedded} + rm "${pkgdir}"/usr/lib/libmysql* + rm -r "${pkgdir}"/usr/include/ + rm "${pkgdir}"/usr/share/man/man1/{mysql_config,mysql_client_test_embedded,mysqltest_embedded}.1 + + # provided by mariadb-clients + rm "${pkgdir}"/usr/bin/{mysql,mysqladmin,mysqlcheck,mysqldump,mysqlimport,mysqlshow,mysqlslap} + rm "${pkgdir}"/usr/share/man/man1/{mysql,mysqladmin,mysqlcheck,mysqldump,mysqlimport,mysqlshow,mysqlslap}.1 + + # not needed + rm -r "${pkgdir}"/usr/{data,mysql-test,sql-bench} + rm "${pkgdir}"/usr/share/man/man1/mysql-test-run.pl.1 + + install -dm700 "${pkgdir}"/var/lib/mysql +} diff --git a/community/mariadb/mariadb.install b/community/mariadb/mariadb.install new file mode 100644 index 000000000..9a4479215 --- /dev/null +++ b/community/mariadb/mariadb.install @@ -0,0 +1,26 @@ +post_install(){ + groupadd -g 89 mysql &>/dev/null + useradd -u 89 -g mysql -d /var/lib/mysql -s /bin/false mysql &>/dev/null + usr/bin/mysql_install_db --user=mysql --basedir=/usr + chown -R mysql:mysql var/lib/mysql &>/dev/null +} + +post_upgrade(){ + getent group mysql >/dev/null 2>&1 || groupadd -g 89 mysql &>/dev/null + getent passwd mysql >/dev/null 2>&1 || useradd -u 89 -g mysql -d /var/lib/mysql -s /bin/false mysql &>/dev/null + + if [ "$(vercmp $2 5.5)" -lt 0 ]; then + echo " >> " + echo " >> Major version update. Consider restart the service, and then running mysql_upgrade after it." + echo " >> " + fi +} + +post_remove(){ + if getent passwd mysql >/dev/null 2>&1; then + userdel mysql + fi + if getent group mysql >/dev/null 2>&1; then + groupdel mysql + fi +} diff --git a/community/mariadb/mysqld b/community/mariadb/mysqld new file mode 100755 index 000000000..e9fe8f5a8 --- /dev/null +++ b/community/mariadb/mysqld @@ -0,0 +1,77 @@ +#!/bin/bash + +# general config +. /etc/rc.conf +. /etc/rc.d/functions + +getPID() { + echo $(pgrep -u mysql mysqld 2>/dev/null); +} + +case "$1" in + start) + stat_busy "Starting MariaDB Server" + [ ! -d /var/run/mysqld ] && install -d -g mysql -o mysql /var/run/mysqld &>/dev/null + if [ -z "$(getPID)" ]; then + /usr/bin/mysqld_safe --user=mysql &>/dev/null & + if [ $? -gt 0 ]; then + stat_fail + exit 1 + else + timeo=30 + while [ $timeo -gt 0 ]; do + response=`/usr/bin/mysqladmin -uUNKNOWN_USER ping 2>&1` && break + echo "$response" | grep -q "mysqld is alive" && break + sleep 1 + let timeo=${timeo}-1 + done + if [ $timeo -eq 0 ]; then + stat_fail + exit 1 + else + echo $(getPID) > /var/run/mysqld/mysqld.pid + add_daemon mysqld + stat_done + fi + fi + else + stat_fail + exit 1 + fi + ;; + + stop) + stat_busy "Stopping MariaDB Server" + if [ ! -z "$(getPID)" ]; then + timeo=30 + kill $(getPID) &> /dev/null + if [ $? -gt 0 ]; then + stat_fail + exit 1 + fi + while [ ! -z "$(getPID)" -a $timeo -gt 0 ]; do + sleep 1 + let timeo=${timeo}-1 + done + if [ -z "$(getPID)" ]; then + rm -f /var/run/mysqld/mysqld.pid &>/dev/null + rm_daemon mysqld + stat_done + else + stat_fail + exit 1 + fi + else + stat_fail + exit 1 + fi + ;; + + restart) + $0 stop + $0 start + ;; + *) + echo "usage: $0 {start|stop|restart}" +esac +exit 0 diff --git a/community/menu-cache/PKGBUILD b/community/menu-cache/PKGBUILD index da0470b74..9de781b25 100644 --- a/community/menu-cache/PKGBUILD +++ b/community/menu-cache/PKGBUILD @@ -1,11 +1,12 @@ -# $Id: PKGBUILD 64889 2012-02-18 19:36:00Z bpiotrowski $ -# Maintainer: Angel Velasquez -# Maintainer: Juergen Hoetzel +# $Id: PKGBUILD 71029 2012-05-22 05:52:34Z bpiotrowski $ +# Maintainer: Bartłomiej Piotrowski +# Contributor: Angel Velasquez +# Contributor: Juergen Hoetzel pkgname=menu-cache -pkgver=0.3.2 -pkgrel=2 -pkgdesc="Caches to speed up freedesktop.org's application menus use." +pkgver=0.3.3 +pkgrel=1 +pkgdesc='Caching mechanism for freedesktop.org compliant menus' arch=('i686' 'x86_64') license=('GPL2') url="http://lxde.org/" @@ -14,7 +15,7 @@ depends=('intltool' 'glib2') options=('!libtool') makedepends=('pkgconfig') source=(http://downloads.sourceforge.net/lxde/${pkgname}-${pkgver}.tar.gz) -md5sums=('ac4a9ea77db68d3db3f9f53cc75af66a') +md5sums=('a14b0b162cd64d56c16bf6af16f3a47f') build() { cd "${srcdir}/${pkgname}-${pkgver}" diff --git a/community/python2-ldap/PKGBUILD b/community/python2-ldap/PKGBUILD index 10fedb303..fd4e4a819 100644 --- a/community/python2-ldap/PKGBUILD +++ b/community/python2-ldap/PKGBUILD @@ -1,9 +1,9 @@ -# $Id: PKGBUILD 57753 2011-11-02 08:49:59Z spupykin $ +# $Id: PKGBUILD 71038 2012-05-22 09:19:07Z spupykin $ # Maintainer: Sergej Pupykin # Contributor: Morgan LEFIEUX pkgname=python2-ldap -pkgver=2.4.4 +pkgver=2.4.9 pkgrel=1 pkgdesc="Provides an object-oriented API to access LDAP directory servers from Python programs" arch=('i686' 'x86_64') @@ -13,7 +13,7 @@ depends=('python2' 'libldap>=2.4.26') makedepends=('chrpath') replaces=('python-ldap') source=(http://pypi.python.org/packages/source/p/python-ldap/python-ldap-$pkgver.tar.gz) -md5sums=('b7b8d61eed6f03d1ca8914471e2c9724') +md5sums=('d76131af192771567d3f2d2aff9469a9') build() { cd $srcdir/python-ldap-$pkgver diff --git a/community/qmc2/PKGBUILD b/community/qmc2/PKGBUILD index 01078e86e..901c88be5 100644 --- a/community/qmc2/PKGBUILD +++ b/community/qmc2/PKGBUILD @@ -1,9 +1,9 @@ -# $Id: PKGBUILD 64128 2012-02-09 00:58:33Z spupykin $ +# $Id: PKGBUILD 71042 2012-05-22 09:30:39Z spupykin $ # Maintainer: Sergej Pupykin # Contributor: JJDaNiMoTh pkgname=qmc2 -pkgver=0.35 +pkgver=0.36 pkgrel=1 pkgdesc="Qt 4 based UNIX MAME frontend supporting SDLMAME" url="http://qmc2.arcadehits.net" @@ -12,7 +12,7 @@ arch=('i686' 'x86_64') depends=('qtwebkit' 'phonon' 'sdl') makedepends=('rsync' 'mesa') source=("http://downloads.sourceforge.net/${pkgname}/${pkgname}-$pkgver.tar.bz2") -md5sums=('90b621579ac2773db91550b2650a9daf') +md5sums=('db374fcdef5f680729b26af88766c4fb') build() { cd "$srcdir/$pkgname" diff --git a/community/talkfilters/PKGBUILD b/community/talkfilters/PKGBUILD new file mode 100644 index 000000000..8d8917ac3 --- /dev/null +++ b/community/talkfilters/PKGBUILD @@ -0,0 +1,26 @@ +# Maintainer: ConnorBehan + +pkgname=talkfilters +pkgver=2.3.8 +pkgrel=2 +pkgdesc="Filters to translate text into dialects that GNU finds funny" +arch=(i686 x86_64) +url="http://www.hyperrealm.com/main.php?s=talkfilters" +options=('!libtool') +depends=('glibc') +license=('custom:Public Domain') +install=$pkgname.install +source=(http://www.hyperrealm.com/${pkgname}/${pkgname}-${pkgver}.tar.gz) + +build() { + cd "$srcdir"/${pkgname}-${pkgver} + ./configure --prefix=/usr + make +} + +package() { + cd "$srcdir"/${pkgname}-${pkgver} + make prefix="$pkgdir"/usr install +} + +md5sums=('c11c6863a1c246a8d49a80a1168b54c8') diff --git a/community/talkfilters/talkfilters.install b/community/talkfilters/talkfilters.install new file mode 100644 index 000000000..d61edc851 --- /dev/null +++ b/community/talkfilters/talkfilters.install @@ -0,0 +1,21 @@ +infodir=usr/share/info +filelist=(talkfilters.info) + +post_install() { + [ -x usr/bin/install-info ] || return 0 + for file in ${filelist[@]}; do + usr/bin/install-info $infodir/$file.gz $infodir/dir 2> /dev/null + done +} + +post_upgrade() { + post_install $1 +} + +pre_remove() { + [ -x usr/bin/install-info ] || return 0 + for file in ${filelist[@]}; do + usr/bin/install-info --delete $infodir/$file.gz $infodir/dir 2> /dev/null + done +} + -- cgit v1.2.3-54-g00ecf