From 9621cbabd4788b98dfdee59d784c4b4b58384c6b Mon Sep 17 00:00:00 2001 From: root Date: Thu, 25 Aug 2011 23:14:43 +0000 Subject: Thu Aug 25 23:14:43 UTC 2011 --- community/chrony/PKGBUILD | 30 +++++++++++++ community/chrony/chrony | 37 +++++++++++++++ community/darkhttpd/PKGBUILD | 20 ++++----- community/libdaq/PKGBUILD | 8 ++-- community/mathomatic/PKGBUILD | 4 +- community/python2-rst2pdf/LICENSE.txt | 20 +++++++++ community/python2-rst2pdf/PKGBUILD | 2 +- .../rst2pdf-0.16_docutils-0.8.patch | 52 ++++++++++++++++++++++ community/shotwell/PKGBUILD | 23 +++++----- community/shotwell/shotwell.install | 2 + community/snort/PKGBUILD | 8 ++-- community/zynaddsubfx/PKGBUILD | 22 ++++----- 12 files changed, 184 insertions(+), 44 deletions(-) create mode 100644 community/chrony/PKGBUILD create mode 100755 community/chrony/chrony create mode 100644 community/python2-rst2pdf/LICENSE.txt create mode 100644 community/python2-rst2pdf/rst2pdf-0.16_docutils-0.8.patch (limited to 'community') diff --git a/community/chrony/PKGBUILD b/community/chrony/PKGBUILD new file mode 100644 index 000000000..dd6d1d9ec --- /dev/null +++ b/community/chrony/PKGBUILD @@ -0,0 +1,30 @@ +# $Id$ +# Maintainer: Sergej Pupykin +# Contributor: Patrick Leslie Polzer +# Contributor: cdhotfire +# Contributor: Shinlun Hsieh +# Maintainer: Elisamuel Resto + +pkgname=chrony +pkgver=1.26 +pkgrel=1 +pkgdesc="Dial-up friendly NTP daemon and excellent replacement for NTP on desktop systems" +arch=('i686' 'x86_64') +url="http://chrony.tuxfamily.org/" +options=('strip') +license=('GPL') +depends=('readline' 'libcap') +backup=('etc/chrony.conf') +source=("http://download.tuxfamily.org/chrony/${pkgname}-${pkgver}.tar.gz" \ + 'chrony') +md5sums=('ad6dd619ff1986e4ff780363c64e2246' + 'd8b653c8bcc76cef00aa10fbd3eeb4f7') + +build() { + cd $srcdir/$pkgname-$pkgver + ./configure --prefix=/usr + make + make DESTDIR=$pkgdir install + install -D -m0644 $srcdir/$pkgname-$pkgver/examples/chrony.conf.example $pkgdir/etc/chrony.conf + install -D -m0755 $srcdir/chrony $pkgdir/etc/rc.d/chrony +} diff --git a/community/chrony/chrony b/community/chrony/chrony new file mode 100755 index 000000000..ec042d798 --- /dev/null +++ b/community/chrony/chrony @@ -0,0 +1,37 @@ +#!/bin/bash + +. /etc/rc.conf +. /etc/rc.d/functions + +PID=`pidof -o %PPID /usr/sbin/chronyd` +case "$1" in + start) + stat_busy "Starting chrony Daemon" + if [ -z "$PID" ]; then + /usr/sbin/chronyd $NTPD_ARGS & + fi + if [ ! -z "$PID" -o $? -gt 0 ]; then + stat_fail + else + add_daemon chrony + stat_done + fi + ;; + stop) + stat_busy "Stopping chrony Daemon" + [ ! -z "$PID" ] && kill $PID &> /dev/null + if [ $? -gt 0 ]; then + stat_fail + else + rm_daemon chrony + stat_done + fi + ;; + restart) + $0 stop + sleep 1 + $0 start + ;; + *) + echo "usage: $0 {start|stop|restart}" +esac diff --git a/community/darkhttpd/PKGBUILD b/community/darkhttpd/PKGBUILD index 00d9be2bc..03079eb52 100644 --- a/community/darkhttpd/PKGBUILD +++ b/community/darkhttpd/PKGBUILD @@ -1,24 +1,22 @@ -# $Id: PKGBUILD 17385 2010-05-24 09:45:21Z spupykin $ +# $Id: PKGBUILD 54744 2011-08-24 10:41:02Z spupykin $ +# Maintainer: Sergej Pupykin # Maintainer: Vesa Kaihlavirta pkgname=darkhttpd -pkgver=1.7 -pkgrel=3 +pkgver=1.8 +pkgrel=1 pkgdesc="A small, static webserver" arch=('i686' 'x86_64') url="http://dmr.ath.cx/net/darkhttpd/" license=('BSD') depends=('glibc') source=($url/$pkgname-$pkgver.tar.bz2) -md5sums=('76e55a5a443094016daf141062ae62b7') +md5sums=('cff3861af17b109d796993a990ec4c5b') build() { - cd $startdir/src/$pkgname-$pkgver - - # Causes nasty output in 1.5 because of missing uname, but doesn't affect the build - make || return 1 - install -D $startdir/src/$pkgname-$pkgver/darkhttpd $startdir/pkg/usr/sbin/darkhttpd || return 1 - - mkdir -p $pkgdir/usr/share/licenses/$pkgname && \ + cd $srcdir/$pkgname-$pkgver + make + install -D $srcdir/$pkgname-$pkgver/darkhttpd $pkgdir/usr/sbin/darkhttpd + mkdir -p $pkgdir/usr/share/licenses/$pkgname head -n 18 darkhttpd.c >$pkgdir/usr/share/licenses/$pkgname/license } diff --git a/community/libdaq/PKGBUILD b/community/libdaq/PKGBUILD index 18b13b38b..6582c81b1 100644 --- a/community/libdaq/PKGBUILD +++ b/community/libdaq/PKGBUILD @@ -1,8 +1,8 @@ -# $Id: PKGBUILD 35748 2010-12-22 10:30:44Z lfleischer $ +# $Id: PKGBUILD 54741 2011-08-24 08:34:27Z lfleischer $ # Maintainer: Lukas Fleischer pkgname=libdaq -pkgver=0.5 +pkgver=0.6.1 pkgrel=1 pkgdesc='Data Acquisition library for packet I/O.' arch=('i686' 'x86_64') @@ -11,8 +11,8 @@ license=('GPL') depends=('libpcap') makedepends=('ca-certificates') options=('!libtool') -source=('http://www.snort.org/downloads/630') -md5sums=('ea9d8147f39c44ce00dd2d7eb19ce0ea') +source=('http://www.snort.org/downloads/1098') +md5sums=('54ed07a9e903512260fbc30f902748fd') build() { cd "${srcdir}/daq-${pkgver}" diff --git a/community/mathomatic/PKGBUILD b/community/mathomatic/PKGBUILD index bc1d4a8cf..5c55c37e6 100755 --- a/community/mathomatic/PKGBUILD +++ b/community/mathomatic/PKGBUILD @@ -3,7 +3,7 @@ # Maintainer: Thorsten Töpper pkgname=mathomatic -pkgver=15.6.3 +pkgver=15.6.4 pkgrel=1 pkgdesc="General purpose Computer Algebra System written in C" arch=('i686' 'x86_64') @@ -15,7 +15,7 @@ optdepends=('python2: for running /usr/share/doc/mathomatic/factorial/factorial' 'bash: for running a test script' 'gnuplot: for plotting') source=(http://mathomatic.org/$pkgname-$pkgver.tar.bz2) -md5sums=('afe923c5164b2d8746ef8dc87b868ba0') +md5sums=('94af08340953c05bbc47eaf33adbc2dc') build() { cd "$srcdir"/$pkgname-$pkgver diff --git a/community/python2-rst2pdf/LICENSE.txt b/community/python2-rst2pdf/LICENSE.txt new file mode 100644 index 000000000..89b95f202 --- /dev/null +++ b/community/python2-rst2pdf/LICENSE.txt @@ -0,0 +1,20 @@ +Copyright (c) 2007,2008,2009 Roberto Alsina +Nicolas Laurance, Christoph Zwerschke, Yasushi Masuda, Josh VanderLinden. + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE. diff --git a/community/python2-rst2pdf/PKGBUILD b/community/python2-rst2pdf/PKGBUILD index b33bcdea3..b81b90874 100644 --- a/community/python2-rst2pdf/PKGBUILD +++ b/community/python2-rst2pdf/PKGBUILD @@ -1,4 +1,4 @@ -# $Id: PKGBUILD 54723 2011-08-23 21:08:22Z angvp $ +# $Id: PKGBUILD 54721 2011-08-23 21:07:42Z angvp $ # Maintainer: Angel Velasquez # Contributor: Roberto Alsina pkgname=python2-rst2pdf diff --git a/community/python2-rst2pdf/rst2pdf-0.16_docutils-0.8.patch b/community/python2-rst2pdf/rst2pdf-0.16_docutils-0.8.patch new file mode 100644 index 000000000..a7cc081ff --- /dev/null +++ b/community/python2-rst2pdf/rst2pdf-0.16_docutils-0.8.patch @@ -0,0 +1,52 @@ +Index: rst2pdf/createpdf.py +=================================================================== +--- rst2pdf/createpdf.py (revision 2441) ++++ rst2pdf/createpdf.py (working copy) +@@ -56,6 +56,7 @@ + from optparse import OptionParser + import logging + ++import docutils + from docutils.languages import get_language + import docutils.readers.doctree + import docutils.core +@@ -97,6 +98,12 @@ + escape=tenjin.helpers.escape + templateEngine=tenjin.Engine() + ++# fix get_language for docutils>=0.8 ++if docutils.__version__ >= '0.8': ++ orig_func = get_language ++ def get_language(arg1): ++ return orig_func(arg1, None) ++ + def renderTemplate(tname, **context): + context['to_str']=to_str + context['escape']=escape +Index: rst2pdf/pdfbuilder.py +=================================================================== +--- rst2pdf/pdfbuilder.py (revision 2441) ++++ rst2pdf/pdfbuilder.py (working copy) +@@ -27,6 +27,7 @@ + from rst2pdf import pygments_code_block_directive, oddeven_directive + from pygments.lexers import get_lexer_by_name, guess_lexer + ++import docutils + from docutils import writers + from docutils import nodes + from docutils import languages +@@ -56,7 +57,14 @@ + + from traceback import print_exc + ++# fix get_language for docutils>=0.8 ++if docutils.__version__ >= '0.8': ++ orig_func = get_language ++ def get_language(arg1): ++ return orig_func(arg1, None) ++ languages.get_language = get_language + ++ + class PDFBuilder(Builder): + name = 'pdf' + out_suffix = '.pdf' diff --git a/community/shotwell/PKGBUILD b/community/shotwell/PKGBUILD index c6a79c1a6..38e573a30 100644 --- a/community/shotwell/PKGBUILD +++ b/community/shotwell/PKGBUILD @@ -1,33 +1,34 @@ -# $Id: PKGBUILD 49345 2011-06-14 16:32:22Z spupykin $ +# $Id: PKGBUILD 54767 2011-08-24 14:13:47Z spupykin $ # Maintainer: Sergej Pupykin # Maintainer : Ionut Biru # Contributor: Joeny Ang pkgname=shotwell -pkgver=0.10.1 -pkgrel=2 +pkgver=0.11.0 +pkgrel=3 pkgdesc="A digital photo organizer designed for the GNOME desktop environment" arch=('i686' 'x86_64') url="http://yorba.org/shotwell/" license=('LGPL2.1') depends=('gconf' 'libgee' 'libgphoto2' 'libunique' 'libwebkit' 'libgexiv2' 'libraw' - 'librsvg' 'json-glib' 'desktop-file-utils') + 'librsvg' 'json-glib' 'desktop-file-utils' 'dconf') makedepends=('intltool' 'vala') install=shotwell.install -source=("http://yorba.org/download/shotwell/0.10/shotwell-${pkgver}.tar.bz2") -md5sums=('ef75923257e8554d14a6545c83406700') +source=("http://yorba.org/download/shotwell/0.11/shotwell-${pkgver}.tar.bz2") +md5sums=('f0e942b639d899a91c3cf343f6f553bb') build() { - cd "${srcdir}/${pkgname}-${pkgver}" - ./configure --prefix=/usr \ + cd "${srcdir}/${pkgname}-${pkgver}" + ./configure --prefix=/usr \ --with-gconf-schema-file-dir=/usr/share/gconf/schemas \ --disable-schemas-install \ --disable-desktop-update \ --disable-icon-update - make + make } package() { - cd "${srcdir}/${pkgname}-${pkgver}" - make DESTDIR="${pkgdir}" install + cd "${srcdir}/${pkgname}-${pkgver}" + make DESTDIR="${pkgdir}" install + rm -f $pkgdir/usr/share/glib-2.0/schemas/gschemas.compiled } diff --git a/community/shotwell/shotwell.install b/community/shotwell/shotwell.install index 83c95a70f..9e61524c4 100644 --- a/community/shotwell/shotwell.install +++ b/community/shotwell/shotwell.install @@ -4,6 +4,7 @@ post_install() { gtk-update-icon-cache -fq -t usr/share/icons/hicolor usr/sbin/gconfpkg --install ${pkgname} update-desktop-database -q + glib-compile-schemas usr/share/glib-2.0/schemas } pre_upgrade() { @@ -21,4 +22,5 @@ pre_remove() { post_remove() { update-desktop-database -q gtk-update-icon-cache -fq -t usr/share/icons/hicolor + glib-compile-schemas usr/share/glib-2.0/schemas } diff --git a/community/snort/PKGBUILD b/community/snort/PKGBUILD index 95a1ab34f..8360a1b93 100644 --- a/community/snort/PKGBUILD +++ b/community/snort/PKGBUILD @@ -1,4 +1,4 @@ -# $Id: PKGBUILD 44417 2011-04-07 13:06:21Z lfleischer $ +# $Id: PKGBUILD 54743 2011-08-24 08:35:34Z lfleischer $ # Maintainer: Lukas Fleischer # Contributor: Hugo Doria # Contributor: Kessia 'even' Pinheiro @@ -6,7 +6,7 @@ # Contributor: Gregor Ibic pkgname=snort -pkgver=2.9.0.5 +pkgver=2.9.1 pkgrel=1 pkgdesc='A lightweight network intrusion detection system.' arch=('i686' 'x86_64') @@ -21,10 +21,10 @@ backup=('etc/conf.d/snort' 'etc/snort/classification.config') options=('!makeflags' '!libtool') install='snort.install' -source=('http://www.snort.org/downloads/867' +source=('http://www.snort.org/downloads/1107' 'snort' 'snort.conf.d') -md5sums=('a7e6f0b013f767d09c99f8f91757e355' +md5sums=('f11e01c7946b7b4e07e6e98bb1645fb5' '361b8b9e40b9af0164f6b3e3da2e8277' 'b4fb8a68490589cd34df93de7609bfac') diff --git a/community/zynaddsubfx/PKGBUILD b/community/zynaddsubfx/PKGBUILD index 70ec62a40..b0c7927f9 100644 --- a/community/zynaddsubfx/PKGBUILD +++ b/community/zynaddsubfx/PKGBUILD @@ -1,24 +1,24 @@ -# $Id: PKGBUILD 54351 2011-08-17 09:49:01Z spupykin $ +# $Id: PKGBUILD 54754 2011-08-24 10:43:05Z spupykin $ # Maintainer: Sergej Pupykin # Maintainer: SpepS # Contributor: Ionut Biru # Contributor: DonVla -_p=ZynAddSubFX pkgname=zynaddsubfx pkgver=2.4.1 -pkgrel=4 +pkgrel=5 pkgdesc="An opensource software synthesizer capable of making a countless number of instruments." arch=('i686' 'x86_64') url="http://zynaddsubfx.sourceforge.net" license=('GPL') -depends=('fltk' 'fftw' 'lash') -makedepends=('mxml' 'cmake') +depends=('fltk' 'libgl' 'fftw' 'lash') +makedepends=('mxml' 'cmake' 'pkgconfig' 'mesa') options=('!emptydirs') -source=("http://switch.dl.sourceforge.net/sourceforge/$pkgname/$_p-$pkgver.tar.bz2" - "$pkgname.desktop" "$pkgname.svg" - "http://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/media-sound/zynaddsubfx/files/zynaddsubfx-2.4.1-fltk.patch" - "http://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/media-sound/zynaddsubfx/files/zynaddsubfx-2.4.1-fltk13.patch") +source=("http://switch.dl.sourceforge.net/sourceforge/$pkgname/ZynAddSubFX-$pkgver.tar.bz2" + "$pkgname.desktop" + "$pkgname.svg" + "http://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/media-sound/zynaddsubfx/files/zynaddsubfx-2.4.1-fltk.patch" + "http://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/media-sound/zynaddsubfx/files/zynaddsubfx-2.4.1-fltk13.patch") md5sums=('59eb69ce24d6f8c605f8ba43958d0526' '5da6735ee59fdfa21f171fdc4d6c80cb' '6f7e9c3ce3947088a10c99c46a65431f' @@ -26,7 +26,7 @@ md5sums=('59eb69ce24d6f8c605f8ba43958d0526' '49464a33ab9c4250520eda0df7705663') build() { - cd "$srcdir/$_p-$pkgver" + cd "$srcdir/ZynAddSubFX-$pkgver" # patches patch -p1 -i "$srcdir/$pkgname-$pkgver-fltk.patch" @@ -42,7 +42,7 @@ build() { } package() { - cd "$srcdir/$_p-$pkgver/build" + cd "$srcdir/ZynAddSubFX-$pkgver/build" make DESTDIR="$pkgdir/" install -- cgit v1.2.3-54-g00ecf