summaryrefslogtreecommitdiff
path: root/community
diff options
context:
space:
mode:
Diffstat (limited to 'community')
-rw-r--r--community/freedroid/PKGBUILD22
-rw-r--r--community/freedroid/freedroid.desktop8
-rw-r--r--community/freedroid/paraicon.pngbin0 -> 1000 bytes
-rw-r--r--community/fuseiso/PKGBUILD25
-rw-r--r--community/fuseiso/fuseiso-20070708-largeiso.patch48
-rw-r--r--community/grass/PKGBUILD8
-rw-r--r--community/luminancehdr/PKGBUILD10
-rw-r--r--community/luminancehdr/luminancehdr.changelog3
-rw-r--r--community/mcelog/PKGBUILD30
-rw-r--r--community/mcelog/mcelog.rc37
-rw-r--r--community/openscenegraph/PKGBUILD10
-rw-r--r--community/python-pyxattr/PKGBUILD33
-rw-r--r--community/root/PKGBUILD20
-rw-r--r--community/roxterm/PKGBUILD9
-rw-r--r--community/ulogd/PKGBUILD44
-rw-r--r--community/ulogd/logrotate10
-rw-r--r--community/ulogd/rc54
-rw-r--r--community/uudeview/PKGBUILD26
18 files changed, 338 insertions, 59 deletions
diff --git a/community/freedroid/PKGBUILD b/community/freedroid/PKGBUILD
index 819f25b31..8b3a38bcf 100644
--- a/community/freedroid/PKGBUILD
+++ b/community/freedroid/PKGBUILD
@@ -1,20 +1,26 @@
-# $Id: PKGBUILD 5262 2009-11-07 12:52:52Z ibiru $
+# $Id: PKGBUILD 54653 2011-08-22 14:49:55Z spupykin $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
pkgname=freedroid
pkgver=1.0.2
-pkgrel=4
-pkgdesc="Freedroid is a clone of the classic game "Paradroid" on Commodore 64 with some improvements and extensions to the classic version."
+pkgrel=5
+pkgdesc="a clone of the classic game 'Paradroid' on Commodore 64"
arch=('i686' 'x86_64')
url="http://freedroid.sourceforge.net/"
license=('GPL')
depends=('glibc' 'sdl_image' 'sdl_mixer')
-source=(http://downloads.sourceforge.net/sourceforge/freedroid/$pkgname-$pkgver.tar.gz)
-md5sums=('585a65f61c2cd308ab45d5c514f695dc')
+source=(http://downloads.sourceforge.net/sourceforge/freedroid/$pkgname-$pkgver.tar.gz
+ freedroid.desktop
+ paraicon.png)
+md5sums=('585a65f61c2cd308ab45d5c514f695dc'
+ 'e4a34f00f1cd983331999022569f2b57'
+ '68a11e92695978a9aac58cc21a4899db')
build() {
- cd $startdir/src/$pkgname-$pkgver
+ cd $srcdir/$pkgname-$pkgver
./configure --prefix=/usr --mandir=/usr/share
- make || return 1
- make DESTDIR=$startdir/pkg install
+ make
+ make DESTDIR=$pkgdir install
+ install -Dm0644 $srcdir/paraicon.png $pkgdir/usr/share/icons/paraicon.png
+ install -Dm0644 $srcdir/freedroid.desktop $pkgdir/usr/share/applications/freedroid.desktop
}
diff --git a/community/freedroid/freedroid.desktop b/community/freedroid/freedroid.desktop
new file mode 100644
index 000000000..4abe39f7a
--- /dev/null
+++ b/community/freedroid/freedroid.desktop
@@ -0,0 +1,8 @@
+[Desktop Entry]
+Name=FreeDroid
+Comment=An SDL Paranoid(c) clone game
+Exec=freedroid
+Icon=paraicon
+Terminal=false
+Type=Application
+Categories=Game;Arcade;
diff --git a/community/freedroid/paraicon.png b/community/freedroid/paraicon.png
new file mode 100644
index 000000000..09e7c9128
--- /dev/null
+++ b/community/freedroid/paraicon.png
Binary files differ
diff --git a/community/fuseiso/PKGBUILD b/community/fuseiso/PKGBUILD
index 53071f272..cfc87ea2c 100644
--- a/community/fuseiso/PKGBUILD
+++ b/community/fuseiso/PKGBUILD
@@ -1,28 +1,33 @@
-# $Id: PKGBUILD 22459 2010-07-21 20:26:36Z lcarlier $
+# $Id: PKGBUILD 54617 2011-08-22 06:10:07Z lcarlier $
# Contributor: Shinlun Hsieh <yngwiexx@yahoo.com.tw>
-# Maintainer: Daniel J Griffiths <ghost1227@archlinux.us>
+# Contributor: Daniel J Griffiths <ghost1227@archlinux.us>
pkgname=fuseiso
pkgver=20070708
-pkgrel=2
+pkgrel=3
pkgdesc="FUSE module to mount ISO filesystem images"
arch=('i686' 'x86_64')
url="http://sourceforge.net/projects/fuseiso/"
license=('GPL')
depends=('fuse' 'glib2' 'zlib')
makedepends=('pkgconfig')
-source=(http://ubiz.ru/dm/${pkgname}-${pkgver}.tar.bz2)
-md5sums=('4bb50412b6d01f337565e28afddca3a5')
+source=("http://ubiz.ru/dm/${pkgname}-${pkgver}.tar.bz2"
+ 'fuseiso-20070708-largeiso.patch')
+md5sums=('4bb50412b6d01f337565e28afddca3a5'
+ '5c4dce932aba735727221f4e1695f277')
build() {
- cd ${srcdir}/${pkgname}-${pkgver}
+ cd ${srcdir}/${pkgname}-${pkgver}
- ./configure --prefix=/usr
- make
+ # Fix for isos larger than 4Go https://bugzilla.redhat.com/show_bug.cgi?id=440436
+ patch -p1 -i "${srcdir}/fuseiso-20070708-largeiso.patch"
+
+ ./configure --prefix=/usr
+ make
}
package() {
- cd ${srcdir}/${pkgname}-${pkgver}
+ cd ${srcdir}/${pkgname}-${pkgver}
- make DESTDIR=${pkgdir} install
+ make DESTDIR=${pkgdir} install
}
diff --git a/community/fuseiso/fuseiso-20070708-largeiso.patch b/community/fuseiso/fuseiso-20070708-largeiso.patch
new file mode 100644
index 000000000..e323768d2
--- /dev/null
+++ b/community/fuseiso/fuseiso-20070708-largeiso.patch
@@ -0,0 +1,48 @@
+http://bugzilla.redhat.com/show_bug.cgi?id=440436
+
+diff -ur fuseiso-20070708.orig/src/isofs.c fuseiso-20070708/src/isofs.c
+--- fuseiso-20070708.orig/src/isofs.c 2007-07-08 15:22:59.000000000 +0300
++++ fuseiso-20070708/src/isofs.c 2009-10-25 12:02:16.000000000 +0200
+@@ -178,7 +178,7 @@
+ context.data_size = isonum_723(context.pd.logical_block_size);
+
+ if(!context.block_size) {
+- fprintf(stderr, "init: wrong block data size %d, using default 2048\n", context.data_size);
++ fprintf(stderr, "init: wrong block data size %Lu, using default 2048\n", context.data_size);
+ context.data_size = 2048;
+ };
+
+@@ -324,7 +324,7 @@
+
+ if(context.block_size != 2048) {
+ // report unusual data block size
+- printf("Data block size: %d\n", context.block_size);
++ printf("Data block size: %Lu\n", context.block_size);
+ };
+
+ char buf[129];
+@@ -479,7 +479,7 @@
+ };
+ size_t len = read(context.fd, buf, context.data_size);
+ if(len != context.data_size) {
+- fprintf(stderr, "isofs_read_raw_block: can`t read full block, read only %d bytes from offset %d, %d required; errno %d, message %s\n",
++ fprintf(stderr, "isofs_read_raw_block: can`t read full block, read only %d bytes from offset %d, %Lu required; errno %d, message %s\n",
+ len, (int) off, context.data_size, errno, strerror(errno));
+ fprintf(stderr, "isofs_read_raw_block: huh? reading zeros beyond file end? someone want to save a penny?\n");
+ memset(buf + len, 0, context.data_size - len);
+diff -ur fuseiso-20070708.orig/src/isofs.h fuseiso-20070708/src/isofs.h
+--- fuseiso-20070708.orig/src/isofs.h 2006-10-17 04:50:39.000000000 +0300
++++ fuseiso-20070708/src/isofs.h 2009-10-25 12:02:16.000000000 +0200
+@@ -38,9 +38,9 @@
+ struct iso_directory_record *root;
+ int file_offset; // offset to begin of useful data (for .nrg files)
+ int id_offset; // offset to CD001 inside file
+- size_t block_size; // raw block size
+- size_t block_offset; // offset from block start to data
+- size_t data_size; // data size inside block
++ off_t block_size; // raw block size
++ off_t block_offset; // offset from block start to data
++ off_t data_size; // data size inside block
+ int susp; // parse susp entries
+ int susp_skip; // skip bytes from susp SP entry
+ int joliet_level; // joliet extension level (1, 2 or 3)
diff --git a/community/grass/PKGBUILD b/community/grass/PKGBUILD
index dcfce221a..8dca3a4dc 100644
--- a/community/grass/PKGBUILD
+++ b/community/grass/PKGBUILD
@@ -3,7 +3,7 @@
pkgname=grass
pkgver=6.4.1
-pkgrel=3
+pkgrel=4
pkgdesc='Geographic Information System (GIS) used for geospatial data management and analysis, image processing, graphics/maps production, spatial modeling, and visualization.'
arch=('i686' 'x86_64')
url='http://grass.itc.it/index.php'
@@ -103,4 +103,10 @@ package() {
install -D -m644 ${srcdir}/grass.conf \
${pkgdir}/etc/ld.so.conf.d/grass.conf
+
+ # install g.html2man which is needed for some extensions
+ # FS#25705 - [grass] g.html2man is not installed into package directory
+ # https://bugs.archlinux.org/task/25705
+ # most likely upstream problem which will be fixed in a version later than 6.4.1
+ cp -r ./tools/g.html2man ${pkgdir}/opt/grass-${pkgver}/tools
}
diff --git a/community/luminancehdr/PKGBUILD b/community/luminancehdr/PKGBUILD
index 47eebefc0..a38ef06c4 100644
--- a/community/luminancehdr/PKGBUILD
+++ b/community/luminancehdr/PKGBUILD
@@ -1,10 +1,10 @@
-# $Id: PKGBUILD 45984 2011-05-01 11:42:17Z jlichtblau $
+# $Id: PKGBUILD 54664 2011-08-22 18:57:12Z jlichtblau $
# Maintainer: Jaroslav Lichtblau <dragonlord@aur.archlinux.org>
# Contributor: Lukas Jirkovsky <l.jirkovsky@gmail.com>
# Contributor: Dmitry N. Shilov <stormblast@land.ru>
pkgname=luminancehdr
-pkgver=2.0.2
+pkgver=2.1.0
pkgrel=1
pkgdesc='Open source graphical user interface application that aims to provide a workflow for HDR imaging'
arch=('i686' 'x86_64')
@@ -16,10 +16,10 @@ install=$pkgname.install
changelog=$pkgname.changelog
options=('!emptydirs')
source=(http://downloads.sourceforge.net/sourceforge/qtpfsgui/luminance-hdr-${pkgver}.tar.gz)
-sha256sums=('8a13aff0041fd7f7542af0b6b11e412c01f022d509458c4a701f8ca84bade993')
+sha256sums=('0b0f124ada6da62c379d6e4bd6fd150643115cb46f05c527c29113f475a5eeac')
build() {
- cd ${srcdir}/LuminanceHDR-${pkgver}
+ cd ${srcdir}/luminance-hdr-${pkgver}
if [ ${CARCH} = i686 ]; then
sed -i 's/ -msse2//' project.pro
@@ -31,7 +31,7 @@ build() {
}
package() {
- cd ${srcdir}/LuminanceHDR-${pkgver}
+ cd ${srcdir}/luminance-hdr-${pkgver}
make INSTALL_ROOT=${pkgdir} install
}
diff --git a/community/luminancehdr/luminancehdr.changelog b/community/luminancehdr/luminancehdr.changelog
index bf0fe1e4c..378053ef5 100644
--- a/community/luminancehdr/luminancehdr.changelog
+++ b/community/luminancehdr/luminancehdr.changelog
@@ -1,3 +1,6 @@
+2011-08-21 Jaroslav Lichtblau <dragonlord@aur.archlinux.org>
+ * luminancehdr 2.1.0-1
+
2011-05-01 Jaroslav Lichtblau <dragonlord@aur.archlinux.org>
* luminancehdr 2.0.2-1
diff --git a/community/mcelog/PKGBUILD b/community/mcelog/PKGBUILD
new file mode 100644
index 000000000..036f48748
--- /dev/null
+++ b/community/mcelog/PKGBUILD
@@ -0,0 +1,30 @@
+# $Id: PKGBUILD 54638 2011-08-22 09:43:49Z spupykin $
+# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
+# Contributor: Thomas Mudrunka <harvie@@email..cz>
+# Maintainer: Thomas Mudrunka <harvie@@email..cz>
+
+pkgname=mcelog
+pkgver=1.0pre3
+pkgrel=2
+pkgdesc="Print machine check event log from x86-64 kernel"
+url="http://freshmeat.net/projects/mcelog/"
+license=("GPL")
+arch=('i686' 'x86_64')
+depends=()
+source=("ftp://ftp.kernel.org/pub/linux/utils/cpu/mce/${pkgname}-${pkgver}.tar.gz"
+ "${pkgname}.rc")
+md5sums=('b42f2214de6f4feb992556149edc67fa'
+ 'f039a77d7bde3518d3d695b144816e8a')
+
+build() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ make
+}
+
+package() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ install -Dm0755 mcelog "${pkgdir}/usr/sbin/mcelog"
+ install -Dm0755 mcelog.cron "${pkgdir}/usr/sbin/mcelog.cron"
+ install -Dm0644 mcelog.8 "${pkgdir}/usr/share/man/man8/mcelog.8"
+ install -Dm0755 "${srcdir}/mcelog.rc" "${pkgdir}/etc/rc.d/mcelog"
+}
diff --git a/community/mcelog/mcelog.rc b/community/mcelog/mcelog.rc
new file mode 100644
index 000000000..fb73743c7
--- /dev/null
+++ b/community/mcelog/mcelog.rc
@@ -0,0 +1,37 @@
+#!/bin/bash
+
+. /etc/rc.conf
+. /etc/rc.d/functions
+
+PID=`pidof -o %PPID /usr/sbin/mcelog`
+case "$1" in
+ start)
+ stat_busy "Starting mcelog"
+ if [ -z "$PID" ]; then
+ /usr/sbin/mcelog --daemon --pidfile /var/run/mcelog.pid
+ fi
+ if [ ! -z "$PID" -o $? -gt 0 ]; then
+ stat_fail
+ else
+ add_daemon mcelog
+ stat_done
+ fi
+ ;;
+ stop)
+ stat_busy "Stopping mcelog"
+ [ ! -z "$PID" ] && kill $PID &>/dev/null
+ if [ $? -gt 0 ]; then
+ stat_fail
+ else
+ rm_daemon mcelog
+ stat_done
+ fi
+ ;;
+ restart)
+ $0 stop
+ sleep 1
+ $0 start
+ ;;
+ *)
+ echo "usage: $0 {start|stop|restart}"
+esac
diff --git a/community/openscenegraph/PKGBUILD b/community/openscenegraph/PKGBUILD
index d405bd160..a8c0f7d88 100644
--- a/community/openscenegraph/PKGBUILD
+++ b/community/openscenegraph/PKGBUILD
@@ -1,11 +1,11 @@
-# $Id: PKGBUILD 50969 2011-07-03 18:11:27Z spupykin $
+# $Id: PKGBUILD 54658 2011-08-22 14:51:35Z spupykin $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Maintainer: Hans Janssen <janserv@gmail.com>
# Contributor: my64 <packages@obordes.com>
# Contributor: Colin Pitrat <colin.pitrat@gmail.com>
pkgname=openscenegraph
-pkgver=3.0.0
+pkgver=3.0.1
pkgrel=1
pkgdesc="An Open Source, high performance real-time graphics toolkit"
arch=('i686' 'x86_64')
@@ -16,9 +16,9 @@ makedepends=('cmake' 'libvncserver')
optdepends=('libvncserver' 'gdal' 'openexr' 'poppler-glib')
conflicts=('openthreads')
provides=('openthreads')
-#source=(http://www.openscenegraph.org/downloads/stable_releases/OpenSceneGraph-$pkgver/source/OpenSceneGraph-$pkgver.zip)
-source=("http://www.openscenegraph.org/downloads/stable_releases/OpenSceneGraph-3.0/source/OpenSceneGraph-$pkgver.zip")
-md5sums=('121829b854349a9e9d1aebc25cf3e52d')
+source=(http://www.openscenegraph.org/downloads/stable_releases/OpenSceneGraph-$pkgver/source/OpenSceneGraph-$pkgver.zip)
+#source=("http://www.openscenegraph.org/downloads/stable_releases/OpenSceneGraph-3.0/source/OpenSceneGraph-$pkgver.zip")
+md5sums=('c43a25d023e635c3566b2083d8e6d956')
build() {
cd OpenSceneGraph-$pkgver
diff --git a/community/python-pyxattr/PKGBUILD b/community/python-pyxattr/PKGBUILD
new file mode 100644
index 000000000..6316dbe6c
--- /dev/null
+++ b/community/python-pyxattr/PKGBUILD
@@ -0,0 +1,33 @@
+# $Id: PKGBUILD 54628 2011-08-22 08:01:47Z lfleischer $
+# Maintainer: Lukas Fleischer <archlinux at cryptocrack dot de>
+# Contributor: Jon Bergli Heier <snakebite@jvnv.net>
+
+pkgname=('python2-pyxattr' 'python-pyxattr')
+pkgbase=python-pyxattr
+_pkgname=pyxattr
+pkgver=0.5.0
+pkgrel=2
+pkgdesc="A python extension module that allows you to manipulate the extended attributes."
+arch=('i686' 'x86_64')
+url='http://pyxattr.sourceforge.net/'
+license=('GPL')
+makedepends=('python2' 'python' 'python2-distribute' 'python-distribute')
+source=("http://downloads.sourceforge.net/${_pkgname}/${_pkgname}-${pkgver}.tar.gz")
+md5sums=('0f7ab1e185087329e40f7de218517c84')
+
+package_python2-pyxattr() {
+ depends=('python2')
+ provides=('pyxattr')
+ conflicts=('pyxattr')
+ replaces=('pyxattr')
+
+ cd "${srcdir}/${_pkgname}-${pkgver}"
+ python2 setup.py install --root="${pkgdir}"
+}
+
+package_python-pyxattr() {
+ depends=('python')
+
+ cd "${srcdir}/${_pkgname}-${pkgver}"
+ python setup.py install --root="${pkgdir}"
+}
diff --git a/community/root/PKGBUILD b/community/root/PKGBUILD
index 4441cb5dc..220d9d195 100644
--- a/community/root/PKGBUILD
+++ b/community/root/PKGBUILD
@@ -2,8 +2,8 @@
# Contributor: Sebastian Voecking <voeck@web.de>
pkgname=root
-pkgver=5.30.00
-pkgrel=5
+pkgver=5.30.01
+pkgrel=1
pkgdesc='C++ data analysis framework and interpreter from CERN.'
arch=('i686' 'x86_64')
url='http://root.cern.ch'
@@ -16,21 +16,15 @@ source=("ftp://root.cern.ch/root/root_v${pkgver}.source.tar.gz"
'root.sh'
'rootd'
'root.desktop'
- 'root.xml'
- 'reorder-lzma-search-r40128.diff')
-md5sums=('b4e00f419f63d5ec6b7f1aace33c0c6f'
+ 'root.xml')
+md5sums=('be7443a1b243c51b3c1ec435a5a9453e'
'0e883ad44f99da9bc7c23bc102800b62'
'efd06bfa230cc2194b38e0c8939e72af'
'ac61b17395d75a2705fefa2ef841a6bf'
- 'e2cf69b204192b5889ceb5b4dedc66f7'
- '6b5d5b875913d8468940b9fbb1ceeb60')
+ 'e2cf69b204192b5889ceb5b4dedc66f7')
build() {
- cd ${pkgname}
-
- # causes an error because it includes lzma/lzma.h directly
- # http://root.cern.ch/phpBB3/viewtopic.php?f=3&t=13013&p=55971
- patch -Np2 -i ${srcdir}/reorder-lzma-search-r40128.diff
+ cd root
if [ ${CARCH} == 'i686' ]; then
TARGET=linux;
@@ -76,7 +70,7 @@ build() {
}
package() {
- cd ${pkgname}
+ cd root
make DESTDIR=${pkgdir} install
diff --git a/community/roxterm/PKGBUILD b/community/roxterm/PKGBUILD
index 063e3699e..4a1f6e1cf 100644
--- a/community/roxterm/PKGBUILD
+++ b/community/roxterm/PKGBUILD
@@ -1,9 +1,9 @@
-# $Id: PKGBUILD 50924 2011-07-03 09:31:49Z ttopper $
+# $Id: PKGBUILD 54652 2011-08-22 13:48:57Z ttopper $
# Maintainer: Thorsten Töpper <atsutane-tu@freethoughts.de>
# Contributor: Alexander Fehr <pizzapunk gmail com>
pkgname=roxterm
-pkgver=1.22.2
+pkgver=2.0.1
pkgrel=1
pkgdesc="Tabbed, VTE-based terminal emulator"
arch=('i686' 'x86_64')
@@ -13,8 +13,8 @@ depends=('libglade' 'dbus-glib' 'vte' 'hicolor-icon-theme' 'dbus' 'dbus-core' 'g
makedepends=('docbook-xsl' 'xmlto' 'po4a')
install=roxterm.install
source=(http://downloads.sourceforge.net/roxterm/roxterm-$pkgver.tar.gz)
-md5sums=('9ff2878ea64bc6c474334b2446ae18a6')
-sha1sums=('aed9c6f0d849b612757b9a300e6198d384e66ccb')
+md5sums=('114d571d42b2ddd7a777b26339a07573')
+sha1sums=('0ba8b6501a81a9527671f13be5111c6434cd4f0b')
build() {
@@ -29,3 +29,4 @@ package() {
make DESTDIR="${pkgdir}" install
}
+# vim:set ts=2 sw=2 et:
diff --git a/community/ulogd/PKGBUILD b/community/ulogd/PKGBUILD
new file mode 100644
index 000000000..f972df1ea
--- /dev/null
+++ b/community/ulogd/PKGBUILD
@@ -0,0 +1,44 @@
+# $Id: PKGBUILD 54641 2011-08-22 09:44:28Z spupykin $
+# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
+# Maintainer: Sebastien Luttringer <seblu+arch@seblu.net>
+# Contributor: Dale Blount <dale@archlinux.org>
+# Contributor: Sergej Pupykin <ps@lx-ltd.ru>
+
+pkgname=ulogd
+pkgver=1.24
+pkgrel=6
+pkgdesc='Userspace Packet Logging for netfilter'
+arch=('i686' 'x86_64')
+url='http://www.netfilter.org/projects/ulogd/index.html'
+license=('GPL2')
+makedepends=('mysql' 'postgresql' 'sqlite3' 'libpcap')
+optdepends=('postgresql-libs'
+ 'sqlite3'
+ 'libpcap'
+ 'libmysqlclient')
+backup=('etc/ulogd.conf')
+source=("ftp://ftp.netfilter.org/pub/$pkgname/$pkgname-$pkgver.tar.bz2"
+ 'rc'
+ 'logrotate')
+md5sums=('05b4ed2926b9a22aaeaf642917bbf8ff'
+ 'a408932d8cdd9d5993783e2e808b1e85'
+ 'fe40b3073b7474a77e0b8b0bfd19ab63')
+
+build() {
+ cd $pkgname-$pkgver
+ export MAKEFLAGS="-j1"
+ ./configure --prefix=/usr --sysconfdir=/etc --with-mysql --with-pgsql --with-sqlite3
+ make || true
+ (cd mysql && ld -shared -L/usr/lib -L/usr/lib -L/usr/lib/mysql -lmysqlclient -lz -lcrypt -lnsl -lm -o ulogd_MYSQL.so ulogd_MYSQL_sh.o -lc)
+ make
+}
+
+package() {
+ cd $pkgname-$pkgver
+ make DESTDIR="$pkgdir" install
+ chmod 644 "$pkgdir/etc/ulogd.conf"
+ install -d -m 755 "$pkgdir/usr/share/ulogd"
+ install -m644 doc/*.table "$pkgdir/usr/share/ulogd"
+ install -D -m644 "$srcdir/logrotate" "$pkgdir/etc/logrotate.d/ulogd"
+ install -D -m755 "$srcdir/rc" "$pkgdir/etc/rc.d/ulogd"
+}
diff --git a/community/ulogd/logrotate b/community/ulogd/logrotate
new file mode 100644
index 000000000..c104ad511
--- /dev/null
+++ b/community/ulogd/logrotate
@@ -0,0 +1,10 @@
+/var/log/ulogd.* {
+ missingok
+ notifempty
+ sharedscripts
+ create 0640 root root
+
+ postrotate
+ [ -e /var/run/ulogd.pid ] && /etc/rc.d/ulogd restart > /dev/null
+ endscript
+}
diff --git a/community/ulogd/rc b/community/ulogd/rc
new file mode 100644
index 000000000..756abdf86
--- /dev/null
+++ b/community/ulogd/rc
@@ -0,0 +1,54 @@
+#!/bin/bash
+
+. /etc/rc.conf
+. /etc/rc.d/functions
+
+get_pid() {
+ pidof /usr/sbin/ulogd
+}
+
+case "$1" in
+ start)
+ stat_busy "Starting ulogd daemon"
+
+ [ -f /var/run/ulog.pid ] && rm -f /var/run/ulog.pid
+ PID=`get_pid`
+ if [ -z "$PID" ]; then
+ /usr/sbin/ulogd -d
+ if [ $? -gt 0 ]; then
+ stat_fail
+ exit 1
+ else
+ echo `get_pid` > /var/run/ulogd.pid
+ add_daemon ulogd
+ stat_done
+ fi
+ else
+ stat_fail
+ exit 1
+ fi
+ ;;
+
+ stop)
+ stat_busy "Stopping ulog daemon"
+ PID=`get_pid`
+ [ ! -z "$PID" ] && kill $PID &> /dev/null
+ if [ $? -gt 0 ]; then
+ stat_fail
+ exit 1
+ else
+ rm -f /var/run/ulogd.pid &> /dev/null
+ rm_daemon ulogd
+ stat_done
+ fi
+ ;;
+
+ restart)
+ $0 stop
+ sleep 3
+ $0 start
+ ;;
+ *)
+ echo "usage: $0 {start|stop|restart}"
+esac
+exit 0
diff --git a/community/uudeview/PKGBUILD b/community/uudeview/PKGBUILD
index 6c1c3d62c..3a81c0c45 100644
--- a/community/uudeview/PKGBUILD
+++ b/community/uudeview/PKGBUILD
@@ -1,10 +1,10 @@
-# $Id: PKGBUILD 7474 2010-01-07 02:52:30Z dgriffiths $
+# $Id: PKGBUILD 54630 2011-08-22 09:13:06Z spupykin $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Maintainer: kmaster <kmaster12@sasktel.net>
pkgname=uudeview
pkgver=0.5.20
-pkgrel=8
+pkgrel=9
pkgdesc="UUDeview helps transmitting & recieving binary files using mail or newsgroups. Includes library files."
arch=('i686' 'x86_64')
url="http://www.fpx.de/fp/Software/UUDeview/"
@@ -14,17 +14,17 @@ source=(http://www.fpx.de/fp/Software/UUDeview/download/$pkgname-$pkgver.tar.gz)
md5sums=('0161abaec3658095044601eae82bbc5b')
build() {
- cd $startdir/src/$pkgname-$pkgver
- ./configure --prefix=/usr --mandir=/usr/share
- make || return 1
- make prefix=$startdir/pkg/usr install || return 1
- mkdir -p $startdir/pkg/usr/lib/uudeview && \
- mkdir -p $startdir/pkg/usr/include/uudeview || return 1
+ cd $srcdir/$pkgname-$pkgver
+ ./configure --prefix=/usr --mandir=/usr/share/man
+ make
+ make prefix=$pkgdir/usr MANDIR=$pkgdir/usr/share/man install
+ install -d $pkgdir/usr/lib/uudeview
+ install -d $pkgdir/usr/include/uudeview
- cd $startdir/src/uudeview-$pkgver/uulib
+ cd $srcdir/uudeview-$pkgver/uulib
./configure --prefix=/usr
- make || return 1
- cp -v *.o $startdir/pkg/usr/lib/uudeview && \
- cp -v *.a $startdir/pkg/usr/lib/uudeview && \
- cp -v *.h $startdir/pkg/usr/include/uudeview
+ make
+ cp -v *.o $pkgdir/usr/lib/uudeview
+ cp -v *.a $pkgdir/usr/lib/uudeview
+ cp -v *.h $pkgdir/usr/include/uudeview
}