diff options
author | root <root@rshg054.dnsready.net> | 2012-01-12 23:14:51 +0000 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2012-01-12 23:14:51 +0000 |
commit | b5f690637837ff269bf5d248ee2dc37ea5236ca8 (patch) | |
tree | e63126d6f2f33cb2d56549f0657e1ce075e3acc9 /community | |
parent | 3a0439ec6aea4411ac6d11c90cd8220f8f12a660 (diff) |
Thu Jan 12 23:14:51 UTC 2012
Diffstat (limited to 'community')
-rw-r--r-- | community/aria2/PKGBUILD | 4 | ||||
-rw-r--r-- | community/bird/PKGBUILD | 6 | ||||
-rw-r--r-- | community/dsniff/PKGBUILD | 4 | ||||
-rw-r--r-- | community/exim/PKGBUILD | 36 | ||||
-rw-r--r-- | community/exim/exim.Makefile | 2 | ||||
-rwxr-xr-x | community/fcron/PKGBUILD | 25 | ||||
-rw-r--r-- | community/intellij-idea-libs/PKGBUILD | 8 | ||||
-rw-r--r-- | community/libgda3/PKGBUILD | 5 | ||||
-rw-r--r-- | community/librcc/PKGBUILD | 4 | ||||
-rw-r--r-- | community/lshw/PKGBUILD | 11 | ||||
-rw-r--r-- | community/pcsclite/PKGBUILD | 6 | ||||
-rw-r--r-- | community/percona-server/PKGBUILD | 103 | ||||
-rw-r--r-- | community/percona-server/my.cnf | 145 | ||||
-rw-r--r-- | community/percona-server/mysqld | 77 | ||||
-rw-r--r-- | community/percona-server/percona.install | 26 | ||||
-rw-r--r-- | community/perl-berkeleydb/PKGBUILD | 4 | ||||
-rw-r--r-- | community/plan9port/PKGBUILD | 6 | ||||
-rw-r--r-- | community/poedit/PKGBUILD | 4 | ||||
-rw-r--r-- | community/python-bsddb/PKGBUILD | 10 | ||||
-rw-r--r-- | community/python-bsddb/db_5.3.patch | 20 | ||||
-rw-r--r-- | community/scrotwm/PKGBUILD | 8 | ||||
-rw-r--r-- | community/texmaker/PKGBUILD | 19 | ||||
-rw-r--r-- | community/texmaker/texmaker.install | 7 | ||||
-rw-r--r-- | community/xemacs/PKGBUILD | 6 |
24 files changed, 468 insertions, 78 deletions
diff --git a/community/aria2/PKGBUILD b/community/aria2/PKGBUILD index f0f41709f..ff8e20911 100644 --- a/community/aria2/PKGBUILD +++ b/community/aria2/PKGBUILD @@ -4,7 +4,7 @@ # Contributor: Daniel J Griffiths <ghost1227@archlinux.us> pkgname=aria2 -pkgver=1.14.0 +pkgver=1.14.1 pkgrel=1 pkgdesc='Download utility that supports HTTP(S), FTP, BitTorrent, and Metalink' arch=('i686' 'x86_64') @@ -12,7 +12,7 @@ url='http://aria2.sourceforge.net/' license=('GPL') depends=('gnutls' 'libxml2' 'sqlite3' 'c-ares' 'ca-certificates') source=("http://downloads.sourceforge.net/aria2/aria2-${pkgver}.tar.bz2") -md5sums=('577b3b5f19c28de4451cd1a32de76eeb') +md5sums=('3a23844ab3e1460eb7e6dac9b5dd798c') build() { cd aria2-${pkgver} diff --git a/community/bird/PKGBUILD b/community/bird/PKGBUILD index 4fdea4990..618c18f3b 100644 --- a/community/bird/PKGBUILD +++ b/community/bird/PKGBUILD @@ -3,8 +3,8 @@ pkgbase=bird pkgname=('bird' 'bird6') -pkgver=1.3.4 -pkgrel=2 +pkgver=1.3.5 +pkgrel=1 arch=('i686' 'x86_64') url='http://bird.network.cz/' license=('GPL2') @@ -14,7 +14,7 @@ source=("ftp://bird.network.cz/pub/bird/${pkgname}-${pkgver}.tar.gz" 'bird.conf' 'bird.service' 'bird6.service') -md5sums=('20f5aa9d3f853d2c922438dc9d922ecc' +md5sums=('9efc2b1c05fa6298a8df60f5147ad5c1' '1a4b98756d64f52333a83eff2e95d233' '25241a4d7ef639506e0080431b2c1690' 'e82a0519dca0b289685fda44787f5911' diff --git a/community/dsniff/PKGBUILD b/community/dsniff/PKGBUILD index f7428aa09..8dea9cf86 100644 --- a/community/dsniff/PKGBUILD +++ b/community/dsniff/PKGBUILD @@ -1,10 +1,10 @@ -# $Id: PKGBUILD 49679 2011-06-19 07:23:27Z andrea $ +# $Id: PKGBUILD 61947 2012-01-11 15:21:36Z stephane $ # Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com> # Contributor: ViNS <gladiator@fastwebnet.it> pkgname=dsniff pkgver=2.4b1 -pkgrel=20 +pkgrel=21 pkgdesc="Collection of tools for network auditing and penetration testing" url="http://www.monkey.org/~dugsong/dsniff/" arch=('i686' 'x86_64') diff --git a/community/exim/PKGBUILD b/community/exim/PKGBUILD index 37ae39bdc..aefe386cd 100644 --- a/community/exim/PKGBUILD +++ b/community/exim/PKGBUILD @@ -1,11 +1,11 @@ -# $Id: PKGBUILD 56931 2011-10-17 02:10:43Z angvp $ +# $Id: PKGBUILD 61949 2012-01-11 15:21:55Z stephane $ # Maintainer: Angel Velasquez <angvp@archlinux.org> # Maintainer: judd <jvinet@zeroflux.org> pkgname=exim pkgver=4.77 -pkgrel=1 -pkgdesc="A Message Transfer Agent" -arch=(i686 x86_64) +pkgrel=2 +pkgdesc="Message Transfer Agent" +arch=('x86_64' 'i686') url="http://www.exim.org/" license=('GPL') backup=(etc/mail/aliases etc/mail/exim.conf \ @@ -16,33 +16,33 @@ depends=('db' 'pcre' 'pam' 'openssl' 'libldap') provides=('smtp-server') conflicts=('smtp-server') options=('!makeflags') -source=(ftp://mirrors.24-7-solutions.net/pub/exim/ftp/exim/exim4/exim-$pkgver.tar.bz2 +source=("ftp://mirrors.24-7-solutions.net/pub/exim/ftp/exim/exim4/exim-$pkgver.tar.bz2" aliases exim exim.logrotate exim.conf.d exim.Makefile) -md5sums=('5d746275f2cc85845567f9d5eb84a57a' - '4874006f0585253ddab027d441009757' - '9aed772e87223213e8da9ca5e7376869' - 'e18a535218718c5eb394ed5c9296fe06' - 'b75fe4c6e960a59a25b5f51e8f61ba3a' - '5c2891dc3535c346982fa358fbba6d31') +sha256sums=('0ccc13cf2f052b1163fcdf71c55a3578765050848ba413a6473d3ab5d20b1475' + '932c9149b6809c70e94c1256e28325d197bbf80d27322793e217d4b692d49c5a' + '48457622b22de9721efe9f143a88e5f5ce833b792d2e757237b6cdb74a1708e6' + '7f1408f9c5d905968e665941f5c5efcf9da53e7a0bbef6c66220343bc2ae994b' + '0209c701f8696a9628d43c1684105eadd35d1caba199b94e3a54a4d26cecff01' + '7d1e062c907a06293eee40a3139f70c74a055374b234fb8c431ea68362bdda55') build() { cd "$srcdir/$pkgname-$pkgver" - #sed -i 's|tail -1|tail -n -1|g' scripts/Configure-config.h - # Make some configuration changes + cp "$srcdir/$pkgname.Makefile" Local/Makefile make } package() { cd "$srcdir/$pkgname-$pkgver" - install -D -m644 ../exim.logrotate ${pkgdir}/etc/logrotate.d/exim - install -D -m644 ../exim.conf.d ${pkgdir}/etc/conf.d/exim - install -D -m644 doc/exim.8 ${pkgdir}/usr/share/man/man8/exim.8 - install -D -m755 ../exim ${pkgdir}/etc/rc.d/exim + + install -Dm644 ../exim.logrotate ${pkgdir}/etc/logrotate.d/exim + install -Dm644 ../exim.conf.d ${pkgdir}/etc/conf.d/exim + install -Dm644 doc/exim.8 ${pkgdir}/usr/share/man/man8/exim.8 + install -Dm755 ../exim ${pkgdir}/etc/rc.d/exim mkdir -p ${pkgdir}/var/spool/exim/db ${pkgdir}/etc/mail \ ${pkgdir}/var/log/exim ${pkgdir}/usr/{lib,sbin} chmod 770 ${pkgdir}/var/spool/exim ${pkgdir}/var/spool/exim/db ${pkgdir}/var/log/exim @@ -69,3 +69,5 @@ package() { mkdir -p "$pkgdir/etc/rc.d" cp "$srcdir/exim" "$pkgdir/etc/rc.d" } + +# vim:set ts=2 sw=2 et: diff --git a/community/exim/exim.Makefile b/community/exim/exim.Makefile index 0a6397318..a304ce829 100644 --- a/community/exim/exim.Makefile +++ b/community/exim/exim.Makefile @@ -1222,6 +1222,6 @@ PID_FILE_PATH=/var/run/exim.pid # ENABLE_DISABLE_FSYNC=yes HAVE_IPV6=YES -LOOKUP_LIBS=-lldap +LOOKUP_LIBS=-lldap -llber EXTRALIBS_EXIM=-lpam # End of EDITME for Exim 4. diff --git a/community/fcron/PKGBUILD b/community/fcron/PKGBUILD index 9dc24f933..d2bd49b05 100755 --- a/community/fcron/PKGBUILD +++ b/community/fcron/PKGBUILD @@ -1,24 +1,23 @@ -# $Id: PKGBUILD 60201 2011-12-07 14:41:34Z arodseth $ +# $Id: PKGBUILD 61936 2012-01-11 09:30:32Z ttopper $ # Contributor: Giorgio Lando <lando at imap dot cc> # Contributor: Sergej Pupykin -# Contributor: Thomas Bächler -# Maintainer: Thorsten Töpper <atsutane-tu@freethoughts.de> +# Contributor: Thomas BĂ€chler +# Maintainer: Thorsten Töpper <atsutane-tu@freethoughts.de> pkgname=fcron pkgver=3.0.6 -pkgrel=4 +pkgrel=5 pkgdesc="feature-rich cron implementation" arch=(i686 x86_64) url="http://fcron.free.fr" license=('GPL') -depends=('sh') +depends=('pam') makedepends=('smtp-server') optdepends=('smtp-server: to receive mails from cron jobs') provides=('cron') conflicts=('dcron') backup=(etc/fcron/fcron.conf etc/fcron/fcron.allow etc/fcron/fcron.deny \ var/spool/fcron/systab var/spool/fcron/systab.orig) -install=fcron.install options=('emptydirs' '!makeflags') source=(http://fcron.free.fr/archives/$pkgname-$pkgver.src.tar.gz fcron.rc \ systab systab.orig run-cron) @@ -34,8 +33,8 @@ build() { --sysconfdir=/etc/fcron \ --with-answer-all=no \ --with-boot-install=no \ - --with-username=cron \ - --with-groupname=cron \ + --with-username=root \ + --with-groupname=root \ --datarootdir=/usr/share \ --datadir=/usr/share \ --with-docdir=/usr/share/doc \ @@ -46,26 +45,26 @@ build() { } package() { - # Create necessary user and group - getent group cron || /usr/sbin/groupadd -g 22 cron - getent passwd cron || /usr/sbin/useradd -d / -g cron -u 22 -s /bin/false cron - cd "$srcdir/$pkgname-$pkgver" - mkdir -p "$pkgdir/var/spool" + make DESTDIR="$pkgdir/" install install -D -m755 "$srcdir/fcron.rc" "$pkgdir/etc/rc.d/fcron" install -D -m644 "$srcdir/$pkgname-$pkgver/files/fcron.pam" "$pkgdir/etc/pam.d/fcron" + install -D -m644 "$srcdir/$pkgname-$pkgver/files/fcrontab.pam" "$pkgdir/etc/pam.d/fcrontab" # Install default fcrontab so that fcron can completely replace dcron + install -D -m600 "$srcdir/systab" "$pkgdir/var/spool/fcron/systab" # In order to preserve the systab crontab in any case it is better to have # it in non-binary form too install -D -m600 "$srcdir/systab.orig" "$pkgdir/var/spool/fcron/systab.orig" + # Add cron.* directories install -d -m755 "$pkgdir/etc/cron.daily" install -d -m755 "$pkgdir/etc/cron.hourly" install -d -m755 "$pkgdir/etc/cron.monthly" install -d -m755 "$pkgdir/etc/cron.weekly" + # Install run-cron script to make fcron run without dcron install -D -m755 "$srcdir/run-cron" "$pkgdir/usr/sbin/run-cron" } diff --git a/community/intellij-idea-libs/PKGBUILD b/community/intellij-idea-libs/PKGBUILD index 25e029361..6c5822693 100644 --- a/community/intellij-idea-libs/PKGBUILD +++ b/community/intellij-idea-libs/PKGBUILD @@ -1,8 +1,8 @@ -# $Id: PKGBUILD 60185 2011-12-06 20:06:27Z stativ $ +# $Id: PKGBUILD 61941 2012-01-11 11:33:35Z stativ $ # Maintainer: Lukas Jirkovsky <l.jirkovsky@gmail.com> pkgname=intellij-idea-libs -pkgver=11 -_pkgver=111.69 +pkgver=11.0.1 +_pkgver=111.167 pkgrel=1 pkgdesc="Architecture dependend libraries needed by the Intellij Idea IDE" arch=('i686' 'x86_64') @@ -10,7 +10,7 @@ url="http://www.jetbrains.org/" license=('apache') depends=('glibc') source=(http://download.jetbrains.com/idea/ideaIC-$pkgver.tar.gz) -md5sums=('d838994ecc6556b52a83d37138530dbb') +md5sums=('8bbc18afd0e72a45fc9302001474e1ce') build() { cd "$srcdir" diff --git a/community/libgda3/PKGBUILD b/community/libgda3/PKGBUILD index 6118698ad..aa94f5f82 100644 --- a/community/libgda3/PKGBUILD +++ b/community/libgda3/PKGBUILD @@ -1,9 +1,9 @@ -# $Id: PKGBUILD 61111 2011-12-21 20:57:25Z andrea $ +# $Id: PKGBUILD 61951 2012-01-11 15:22:01Z stephane $ # Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com> pkgname=libgda3 pkgver=3.1.5 -pkgrel=10 +pkgrel=11 pkgdesc="data abstraction layer; with mysql, pgsql, ldap, xml, sqlite providers" arch=('i686' 'x86_64') url="http://www.gnome-db.org/Download" @@ -20,6 +20,7 @@ build() { ./configure --prefix=/usr --sysconfdir=/etc make } + package(){ cd "$srcdir/libgda-$pkgver" make DESTDIR=$pkgdir install diff --git a/community/librcc/PKGBUILD b/community/librcc/PKGBUILD index c4eff2270..c5e3ffb0a 100644 --- a/community/librcc/PKGBUILD +++ b/community/librcc/PKGBUILD @@ -1,9 +1,9 @@ -# $Id: PKGBUILD 58641 2011-11-16 23:02:02Z andrea $ +# $Id: PKGBUILD 61953 2012-01-11 15:22:10Z stephane $ # Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com> pkgname=librcc pkgver=0.2.6 -pkgrel=4 +pkgrel=5 pkgdesc="Charset Conversion Library" arch=(i686 x86_64) url="http://rusxmms.sourceforge.net/" diff --git a/community/lshw/PKGBUILD b/community/lshw/PKGBUILD index 4864ffd72..2a42c84d2 100644 --- a/community/lshw/PKGBUILD +++ b/community/lshw/PKGBUILD @@ -1,10 +1,10 @@ -# $Id: PKGBUILD 58989 2011-11-20 19:39:08Z spupykin $ +# $Id: PKGBUILD 61963 2012-01-11 15:42:56Z spupykin $ # Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com> # Contributor: Stefano Zamprogno <stefano dot zamprogno at gmail dot com> # Contributor: Chuck Yang <Chuck.Yang@gmail.com> pkgname=lshw -pkgver=B.02.15 +pkgver=B.02.16 pkgrel=1 pkgdesc="A small tool to provide detailed information on the hardware configuration of the machine." url="http://ezix.org/project/wiki/HardwareLiSter" @@ -14,13 +14,16 @@ depends=('gcc-libs') optdepends=('gtk2') makedepends=('gcc' 'gtk2' 'sqlite3') source=(http://ezix.org/software/files/lshw-$pkgver.tar.gz) -md5sums=('970bd9eb05fa3ae139a24a417465c54c') +md5sums=('67479167add605e8f001097c30e96d0d') build() { cd $srcdir/$pkgname-$pkgver - make make gui +} + +package() { + cd $srcdir/$pkgname-$pkgver make DESTDIR=$pkgdir/ install make DESTDIR=$pkgdir/ install-gui } diff --git a/community/pcsclite/PKGBUILD b/community/pcsclite/PKGBUILD index 108b4ebc3..20c5f045c 100644 --- a/community/pcsclite/PKGBUILD +++ b/community/pcsclite/PKGBUILD @@ -1,10 +1,10 @@ -# $Id: PKGBUILD 60080 2011-12-04 22:03:31Z giovanni $ +# $Id: PKGBUILD 61967 2012-01-11 17:03:39Z giovanni $ # Maintainer: Giovanni Scafora <giovanni@archlinux.org> # Contributor: Daniel Plaza <daniel.plaza.espi@gmail.com> pkgname=pcsclite pkgver=1.8.1 -pkgrel=2 +pkgrel=3 pkgdesc="PC/SC Architecture smartcard middleware library" arch=('i686' 'x86_64') url="https://alioth.debian.org/projects/pcsclite/" @@ -35,7 +35,7 @@ package() { make DESTDIR=${pkgdir} install - install -D ${srcdir}/pcsc-lite-${pkgver}/COPYING ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE + install -D -m644 ${srcdir}/pcsc-lite-${pkgver}/COPYING ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE install -D -m755 ${srcdir}/pcscd ${pkgdir}/etc/rc.d/pcscd install -d ${pkgdir}/usr/lib/pcsc/drivers } diff --git a/community/percona-server/PKGBUILD b/community/percona-server/PKGBUILD new file mode 100644 index 000000000..4a03ded15 --- /dev/null +++ b/community/percona-server/PKGBUILD @@ -0,0 +1,103 @@ +# Maintainer: Massimiliano Torromeo <massimiliano.torromeo@gmail.com> + +pkgname=percona-server +pkgver=5.5.18_rel23.0 +pkgrel=1 +pkgdesc="A backwards-compatible drop-in replacement for MySQL that provides improved performance, diagnostics and instrumentation, and manageability of the server" +arch=('i686' 'x86_64') + +depends=('mysql-clients' 'libaio') +conflicts=('mysql') +provides=('mysql') +optdepends=('perl-dbi' 'perl-dbd-mysql') +makedepends=('cmake' 'openssl' 'zlib') + +license=('GPL') +url="http://www.percona.com/software/percona-server/" +options=('!libtool' 'emptydirs') +backup=('etc/mysql/my.cnf') +install=percona.install +source=("http://www.percona.com/redir/downloads/Percona-Server-${pkgver%.*_*}/Percona-Server-${pkgver/_rel/-}/Percona-Server-${pkgver/_/-}.tar.gz" + 'mysqld' + 'my.cnf') + +build() { + cd "${srcdir}/Percona-Server-${pkgver/_/-}" + sed -i 's|ADD_SUBDIRECTORY(libmysqld/examples)|# ADD_SUBDIRECTORY(libmysqld/examples)|' CMakeLists.txt + + cd "${srcdir}" + rm -rf build + 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 "${srcdir}/Percona-Server-${pkgver/_/-}" \ + -DMANUFACTURER=Arch \ + -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=OFF \ + -DWITH_ZLIB=system \ + -DWITH_SSL=system \ + -DWITH_LIBWRAP=OFF \ + -DWITH_LIBEDIT=OFF \ + -DWITH_UNIT_TESTS=OFF \ + -DWITH_MYSQLD_LDFLAGS="${LDFLAGS}" \ + -DWITH_EXTRA_CHARSETS=complex \ + -DWITH_EMBEDDED_SERVER=ON \ + -DWITH_INNOBASE_STORAGE_ENGINE=ON \ + -DWITH_PARTITION_STORAGE_ENGINE=ON \ + -DWITH_PERFSCHEMA_STORAGE_ENGINE=ON \ + -DWITH_ARCHIVE_STORAGE_ENGINE=ON \ + -DWITH_BLACKHOLE_STORAGE_ENGINE=ON \ + -DWITH_FEDERATED_STORAGE_ENGINE=OFF \ + -DWITH_EXAMPLE_STORAGE_ENGINE=OFF + + make +} + +package() { + cd "${srcdir}"/build + make DESTDIR=${pkgdir} install + + install -Dm644 ${srcdir}/my.cnf ${pkgdir}/etc/mysql/my.cnf + install -Dm755 ${srcdir}/mysqld ${pkgdir}/etc/rc.d/mysqld + + # provided by libmysqlclient + rm ${pkgdir}/usr/bin/mysql_config + 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 mysql-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 +} + +md5sums=('17b266f5c10d01838522188f313a1ead' + '243864805611764a7e5883c1dba7afd8' + '1c949c0dbea5206af0db14942d9927b6') diff --git a/community/percona-server/my.cnf b/community/percona-server/my.cnf new file mode 100644 index 000000000..9a41b4fc3 --- /dev/null +++ b/community/percona-server/my.cnf @@ -0,0 +1,145 @@ +# MySQL config file for medium systems. +# +# This is for a system with little memory (32M - 64M) where MySQL plays +# an important part, or systems up to 128M where MySQL is used together with +# other programs (such as a web server) +# +# MySQL programs look for option files in a set of +# locations which depend on the deployment platform. +# You can copy this option file to one of those +# locations. For information about these locations, see: +# http://dev.mysql.com/doc/mysql/en/option-files.html +# +# In this file, you can use all long options that a program supports. +# If you want to know which options a program supports, run the program +# with the "--help" option. + +# The following options will be passed to all MySQL clients +[client] +#password = your_password +port = 3306 +socket = /var/run/mysqld/mysqld.sock + +# Here follows entries for some specific programs + +# The MySQL server +[mysqld] +port = 3306 +socket = /var/run/mysqld/mysqld.sock +datadir = /var/lib/mysql +skip-external-locking +key_buffer_size = 16M +max_allowed_packet = 1M +table_open_cache = 64 +sort_buffer_size = 512K +net_buffer_length = 8K +read_buffer_size = 256K +read_rnd_buffer_size = 512K +myisam_sort_buffer_size = 8M + +# Don't listen on a TCP/IP port at all. This can be a security enhancement, +# if all processes that need to connect to mysqld run on the same host. +# All interaction with mysqld must be made via Unix sockets or named pipes. +# Note that using this option without enabling named pipes on Windows +# (via the "enable-named-pipe" option) will render mysqld useless! +# +skip-networking + +# Replication Master Server (default) +# binary logging is required for replication +log-bin=mysql-bin + +# binary logging format - mixed recommended +binlog_format=mixed + +# required unique id between 1 and 2^32 - 1 +# defaults to 1 if master-host is not set +# but will not function as a master if omitted +server-id = 1 + +# Replication Slave (comment out master section to use this) +# +# To configure this host as a replication slave, you can choose between +# two methods : +# +# 1) Use the CHANGE MASTER TO command (fully described in our manual) - +# the syntax is: +# +# CHANGE MASTER TO MASTER_HOST=<host>, MASTER_PORT=<port>, +# MASTER_USER=<user>, MASTER_PASSWORD=<password> ; +# +# where you replace <host>, <user>, <password> by quoted strings and +# <port> by the master's port number (3306 by default). +# +# Example: +# +# CHANGE MASTER TO MASTER_HOST='125.564.12.1', MASTER_PORT=3306, +# MASTER_USER='joe', MASTER_PASSWORD='secret'; +# +# OR +# +# 2) Set the variables below. However, in case you choose this method, then +# start replication for the first time (even unsuccessfully, for example +# if you mistyped the password in master-password and the slave fails to +# connect), the slave will create a master.info file, and any later +# change in this file to the variables' values below will be ignored and +# overridden by the content of the master.info file, unless you shutdown +# the slave server, delete master.info and restart the slaver server. +# For that reason, you may want to leave the lines below untouched +# (commented) and instead use CHANGE MASTER TO (see above) +# +# required unique id between 2 and 2^32 - 1 +# (and different from the master) +# defaults to 2 if master-host is set +# but will not function as a slave if omitted +#server-id = 2 +# +# The replication master for this slave - required +#master-host = <hostname> +# +# The username the slave will use for authentication when connecting +# to the master - required +#master-user = <username> +# +# The password the slave will authenticate with when connecting to +# the master - required +#master-password = <password> +# +# The port the master is listening on. +# optional - defaults to 3306 +#master-port = <port> +# +# binary logging - not required for slaves, but recommended +#log-bin=mysql-bin + +# Uncomment the following if you are using InnoDB tables +#innodb_data_home_dir = /var/lib/mysql +#innodb_data_file_path = ibdata1:10M:autoextend +#innodb_log_group_home_dir = /var/lib/mysql +# You can set .._buffer_pool_size up to 50 - 80 % +# of RAM but beware of setting memory usage too high +#innodb_buffer_pool_size = 16M +#innodb_additional_mem_pool_size = 2M +# Set .._log_file_size to 25 % of buffer pool size +#innodb_log_file_size = 5M +#innodb_log_buffer_size = 8M +#innodb_flush_log_at_trx_commit = 1 +#innodb_lock_wait_timeout = 50 + +[mysqldump] +quick +max_allowed_packet = 16M + +[mysql] +no-auto-rehash +# Remove the next comment character if you are not familiar with SQL +#safe-updates + +[myisamchk] +key_buffer_size = 20M +sort_buffer_size = 20M +read_buffer = 2M +write_buffer = 2M + +[mysqlhotcopy] +interactive-timeout diff --git a/community/percona-server/mysqld b/community/percona-server/mysqld new file mode 100644 index 000000000..07f6b7e4c --- /dev/null +++ b/community/percona-server/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 Percona 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 Percona 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/percona-server/percona.install b/community/percona-server/percona.install new file mode 100644 index 000000000..caacccf1b --- /dev/null +++ b/community/percona-server/percona.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/perl-berkeleydb/PKGBUILD b/community/perl-berkeleydb/PKGBUILD index eba15cdcc..654211678 100644 --- a/community/perl-berkeleydb/PKGBUILD +++ b/community/perl-berkeleydb/PKGBUILD @@ -1,11 +1,11 @@ -# $Id: PKGBUILD 61330 2011-12-28 15:12:23Z spupykin $ +# $Id: PKGBUILD 61955 2012-01-11 15:22:14Z stephane $ # Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com> # Maintainer: Charles Mauch <cmauch@gmail.com> # Contributor: Francois Charette <firmicus@gmx.net> pkgname=perl-berkeleydb pkgver=0.50 -pkgrel=1 +pkgrel=2 pkgdesc="Interface to Berkeley DB version 2, 3 or 4" arch=('i686' 'x86_64') url="http://search.cpan.org/dist/BerkeleyDB/" diff --git a/community/plan9port/PKGBUILD b/community/plan9port/PKGBUILD index 4eabbd20e..6d7585008 100644 --- a/community/plan9port/PKGBUILD +++ b/community/plan9port/PKGBUILD @@ -1,9 +1,9 @@ -# $Id: PKGBUILD 57586 2011-10-31 07:11:36Z cbrannon $ +# $Id: PKGBUILD 61945 2012-01-11 11:46:30Z cbrannon $ # Contributor: phrakture <aaronmgriffin--gmail--com> # Contributor: Fazlul Shahriar # Contributor: Chris Brannon <cmbrannon79@gmail.com> pkgname=plan9port -pkgver=20111026 +pkgver=20120106 pkgrel=1 pkgdesc="A port of many programs from Plan 9 to Unix-like operating systems" arch=('i686' 'x86_64') @@ -48,5 +48,5 @@ build() rm -f $i done } -md5sums=('4aa76e73fcb9f716165dd628d052cd58' +md5sums=('7e9ebe75c07a02b1710ee80ce0c4ac65' '9695eb15a247e23140e8a35ff52a5c20') diff --git a/community/poedit/PKGBUILD b/community/poedit/PKGBUILD index 8c606f322..f8b2e2c39 100644 --- a/community/poedit/PKGBUILD +++ b/community/poedit/PKGBUILD @@ -1,4 +1,4 @@ -# $Id: PKGBUILD 49387 2011-06-15 09:36:08Z spupykin $ +# $Id: PKGBUILD 61957 2012-01-11 15:22:20Z stephane $ # Contributor: Andrea Scarpino <andrea@archlinux.org> # Contributor: Giovanni Scafora <giovanni@archlinux.org> # Contributor: Alexander Fehr <pizzapunk@gmail.com> @@ -6,7 +6,7 @@ pkgname=poedit pkgver=1.4.6.1 -pkgrel=5 +pkgrel=6 pkgdesc="Cross-platform gettext catalogs (.po files) editor" arch=('i686' 'x86_64') url="http://www.poedit.net/" diff --git a/community/python-bsddb/PKGBUILD b/community/python-bsddb/PKGBUILD index a3f29df6f..79210ea23 100644 --- a/community/python-bsddb/PKGBUILD +++ b/community/python-bsddb/PKGBUILD @@ -1,4 +1,4 @@ -# $Id: PKGBUILD 55994 2011-09-28 12:21:07Z stephane $ +# $Id: PKGBUILD 61959 2012-01-11 15:22:37Z stephane $ # Maintainer: Kaiting Chen <kaitocracy@gmail.com> # Contributor: StĂ©phane Gaudreault <stephane@archlinux.org> # Contributor: Douglas Soares de Andrade <dsandrade@gmail.com> @@ -7,20 +7,26 @@ pkgbase=python-bsddb pkgname=('python2-bsddb' 'python-bsddb') pkgver=5.2.0 -pkgrel=2 +pkgrel=3 pkgdesc="Python interface for BerkeleyDB" license=('MIT') arch=('i686' 'x86_64') url="http://www.jcea.es/programacion/pybsddb.htm" makedepends=('python2-distribute' 'python-distribute') source=(http://pypi.python.org/packages/source/b/bsddb3/bsddb3-${pkgver}.tar.gz + db_5.3.patch LICENSE) sha1sums=('4395c125807fc8c4bac4d367f4556e623605c7a8' + '150bb6ce1758ca29f55e876ac75dbac76c9d743d' 'ef4e4caf618781104dbf5824279ed39d127b4713') build () { cd "${srcdir}" + pushd bsddb3-${pkgver} + patch -Np1 -i ../db_5.3.patch + popd + cp -r bsddb3-${pkgver}{,-python2} # Build python 3 module diff --git a/community/python-bsddb/db_5.3.patch b/community/python-bsddb/db_5.3.patch new file mode 100644 index 000000000..6ea4d18bb --- /dev/null +++ b/community/python-bsddb/db_5.3.patch @@ -0,0 +1,20 @@ +# HG changeset patch +# User Jesus Cea <jcea@jcea.es> +# Date 1324876054 -3600 +# Node ID b9ff8f6918a383ed4985e4a09ca36ed1776dba12 +# Parent 670b1ec4472908a9dc745a338a9f595f92aba667 +Support Berkeley DB 5.3.x + +diff -r 670b1ec44729 -r b9ff8f6918a3 setup2.py +--- a/setup2.py Mon Dec 26 06:04:34 2011 +0100 ++++ b/setup2.py Mon Dec 26 06:07:34 2011 +0100 +@@ -128,7 +128,7 @@ + incdir = libdir = None + if not BERKELEYDB_DIR and not BERKELEYDB_LIBDIR and not BERKELEYDB_INCDIR: + # Supported Berkeley DB versions, in order of preference. +- db_ver_list = ((5, 2), (5, 1), (5, 0), ++ db_ver_list = ((5, 3), (5, 2), (5, 1), (5, 0), + (4, 8), (4, 7), (4, 6), (4, 5), (4, 4), (4, 3), (4, 2)) + + # construct a list of paths to look for the header file in on + diff --git a/community/scrotwm/PKGBUILD b/community/scrotwm/PKGBUILD index c89137f73..2bcc42643 100644 --- a/community/scrotwm/PKGBUILD +++ b/community/scrotwm/PKGBUILD @@ -1,9 +1,10 @@ +# $Id: PKGBUILD 61972 2012-01-12 00:12:43Z kkeen $ # Maintainer: Kyle Keen <keenerd@gmail.com> # Contributor: Christoph Zeiler <archNOSPAM_at_moonblade.dot.org> pkgname=scrotwm -pkgver=0.9.34 -pkgrel=2 +pkgver=0.10.0 +pkgrel=1 pkgdesc="A minimalistic dynamic tiling window manager that tries to stay out of the way." arch=('i686' 'x86_64') url="http://www.scrotwm.org" @@ -15,7 +16,7 @@ backup=(etc/scrotwm.conf) source=(http://opensource.conformal.com/snapshots/$pkgname/$pkgname-$pkgver.tgz \ LICENSE \ baraction.sh) -md5sums=('d38e296dd0bf014046e82cd42932f398' +md5sums=('407862684229a2c3282f2c1be59ee0fa' 'a67cfe51079481e5b0eab1ad371379e3' '6132ba773ee00f39d8f67ac0347a9814') @@ -39,7 +40,6 @@ package() { cd .. install -Dm644 scrotwm.conf "$pkgdir/etc/scrotwm.conf" install -Dm755 screenshot.sh "$pkgdir/usr/share/scrotwm/screenshot.sh" - #cd ../.. cd "$srcdir" install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE" install -Dm755 baraction.sh "$pkgdir/usr/share/scrotwm/baraction.sh" diff --git a/community/texmaker/PKGBUILD b/community/texmaker/PKGBUILD index 607d5081c..d29b5b9ae 100644 --- a/community/texmaker/PKGBUILD +++ b/community/texmaker/PKGBUILD @@ -5,30 +5,31 @@ # Contributor: Paulo Matias <matiasÎarchlinux-br·org> pkgname=texmaker -pkgver=3.2.1 +pkgver=3.2.2 pkgrel=1 pkgdesc='Free cross-platform latex editor' arch=('i686' 'x86_64') url="http://www.xm1math.net/texmaker/index.html" license=('GPL') +install='texmaker.install' depends=('poppler-qt' 'ghostscript' 'qtwebkit') source=("http://www.xm1math.net/texmaker/texmaker-${pkgver}.tar.bz2") -md5sums=('3d54fe9e5530f5cd8f9365bf9fb2e910') +md5sums=('aa04c37a0117a6f924c0f7eed5732fe2') build() { - cd texmaker-${pkgver} + cd texmaker-${pkgver} - export INSTALL_ROOT=${pkgdir} + export INSTALL_ROOT=${pkgdir} - qmake -unix PREFIX=//usr texmaker.pro + qmake -unix PREFIX=//usr texmaker.pro - make + make } package() { - cd texmaker-${pkgver} + cd texmaker-${pkgver} - export INSTALL_PATH=${pkgdir} + export INSTALL_PATH=${pkgdir} - make install + make install } diff --git a/community/texmaker/texmaker.install b/community/texmaker/texmaker.install new file mode 100644 index 000000000..9591f6c5d --- /dev/null +++ b/community/texmaker/texmaker.install @@ -0,0 +1,7 @@ +post_install() { + update-desktop-database -q +} + +post_remove() { + update-desktop-database -q +} diff --git a/community/xemacs/PKGBUILD b/community/xemacs/PKGBUILD index 65f2b441d..4b9728fc0 100644 --- a/community/xemacs/PKGBUILD +++ b/community/xemacs/PKGBUILD @@ -1,10 +1,10 @@ -# $Id: PKGBUILD 59720 2011-11-29 13:35:44Z stephane $ +# $Id: PKGBUILD 61961 2012-01-11 15:22:47Z stephane $ # Maintainer: juergen <juergen@archlinux.org> # Contributor : StĂ©phane Gaudreault <stephane@archlinux.org> pkgname=xemacs pkgver=21.5.31 -pkgrel=3 +pkgrel=4 pkgdesc="An highly customizable open source text editor and application development system forked from GNU Emacs" arch=('i686' 'x86_64') url="http://www.xemacs.org/" @@ -14,7 +14,7 @@ optdepends=('xorg-fonts-75dpi: X bitmap fonts needed for the interface' 'xorg-fonts-100dpi: X bitmap fonts needed for the interface') makedepends=('xbitmaps') install=xemacs.install -source=(http://ftp.xemacs.org/pub/xemacs/beta/$pkgname-$pkgver.tar.gz +source=(http://ftp.xemacs.org/pub/xemacs/beta/${pkgname}-${pkgver}.tar.gz xemacs.desktop xemacs-21.5.29-optimization-bug.patch) md5sums=('0185fe905d0b8d8d094d9b60cf262d4a' |