Added vanilla community PKGBUILDs

This commit is contained in:
root 2009-10-09 21:15:33 -05:00
parent f5fa929202
commit 11e8dac30c
3415 changed files with 117893 additions and 0 deletions

View file

@ -0,0 +1,19 @@
# Maintainer: Anders Bergh <anders1@gmail.com>
pkgname=6tunnel
pkgver=0.11rc2
pkgrel=3
pkgdesc="Tunnels IPv6 connections for IPv4-only applications"
url="http://toxygen.net/6tunnel/"
license=('GPL')
arch=('i686' 'x86_64')
source=(http://toxygen.net/6tunnel/$pkgname-$pkgver.tar.gz)
md5sums=('74e02d4f0704b3083a01feda66033449')
build() {
cd $srcdir/$pkgname-$pkgver
autoconf
./configure --prefix=/usr
make || return 1
install -Dm644 6tunnel.1 $pkgdir/usr/share/man/man1/6tunnel.1
install -Dm755 6tunnel $pkgdir/usr/bin/6tunnel
}

13
community/9base/9 Executable file
View file

@ -0,0 +1,13 @@
#!/bin/sh
PLAN9=${PLAN9:-/opt/plan9}
export PLAN9
case "$PATH" in
$PLAN9/bin:*) ;;
*) export PATH=$PLAN9/bin:$PATH ;;
esac
if [ $# -gt 0 ]; then
exec "$@"
fi

42
community/9base/PKGBUILD Normal file
View file

@ -0,0 +1,42 @@
# $Id: PKGBUILD 2913 2009-09-23 11:43:45Z cbrannon $
# Maintainer: Jeff Mickey <j@codemac.net>
# Contributor: Chris Brannon <cmbrannon79@gmail.com>
# Contributor: Aaron, phrakture, Griffin <aaron@archlinux.org>
# Contributor: Jeffrey 'jf' Lim <jfs.world@gmail.com>
pkgname=9base
pkgver=4
pkgrel=1
pkgdesc="Port of various original Plan9 tools to unix"
url="http://suckless.org"
source=(http://dl.suckless.org/tools/$pkgname-$pkgver.tar.gz \
9 config.mk plan9.sh)
md5sums=('af10410542ea6b6875a71e06fdc12c66'
'ae7108b9f26bed388e9055f35eef2986'
'92a4b1039d6dc377d30950ddd146ebb1'
'62a9e52043d9c32967fcae9018fffb56')
conflicts=('plan9port' '9rc-devel')
provides=('plan9')
arch=('i686' 'x86_64')
license=('custom')
build()
{
cd "$srcdir/$pkgname-$pkgver"
cp -f ../config.mk .
if [ $CARCH = "i686" ]; then
sed -i "s#x86_64#386#" config.mk
fi
sed -i "s#%CFLAGS%#$CFLAGS#g" config.mk
sed -i "s#%LDFLAGS%#$LDFLAGS -L$srcdir/$pkgname-$pkgver/lib9#g" config.mk
make || return 1
make DESTDIR="$pkgdir" install
install -m755 ../9 "$pkgdir/opt/plan9/bin/"
install -d -m755 "$pkgdir/etc/profile.d/"
install -m755 ../plan9.sh "$pkgdir/etc/profile.d/"
install -D -m644 LICENSE "$pkgdir/usr/share/licenses/9base/LICENSE"
}

17
community/9base/config.mk Normal file
View file

@ -0,0 +1,17 @@
# Customize to fit your system
OBJTYPE = x86_64
# paths
PREFIX = /opt/plan9
MANPREFIX = ${PREFIX}/man
# flags
VERSION = 4
CFLAGS = -c -I. -DPREFIX="\"${PREFIX}\"" %CFLAGS%
LDFLAGS = -static %LDFLAGS%
# compiler
AR = ar rc
CC = cc
YACC = ../yacc/9yacc

4
community/9base/plan9.sh Executable file
View file

@ -0,0 +1,4 @@
export PLAN9=/opt/plan9
export PATH=$PATH:$PLAN9/bin
export MANPATH=$MANPATH:$PLAN9/man

View file

@ -0,0 +1,51 @@
# $Id: PKGBUILD 82 2009-07-17 19:56:55Z aaron $
# Maintainer: Roman Kyrylych <roman@archlinux.org>
# Contributor: Roman Kyrylych <roman@archlinux.org>
pkgname=abyssws
pkgver=2.5
pkgrel=2
pkgdesc="Abyss Web Server X1 - a compact full-featured web server"
arch=('i686') # don't work on x86_64: closed source app
url="http://www.aprelium.com/abyssws/"
license=('custom')
depends=('glibc')
backup=(opt/abyssws/abyss.conf etc/conf.d/abyssws)
_lurl=http://www.aprelium.com/abyssws/languages/a/
source=(http://www.aprelium.com/data/abwsx1.tgz \
$_lurl/ar.lng $_lurl/bg.lng $_lurl/cz.lng $_lurl/de.lng $_lurl/en.lng \
$_lurl/es.lng $_lurl/fr.lng $_lurl/gr.lng $_lurl/hr.lng $_lurl/hu.lng \
$_lurl/id.lng $_lurl/it.lng $_lurl/jp.lng $_lurl/mk.lng $_lurl/ms.lng \
$_lurl/nl.lng $_lurl/nn-no.lng $_lurl/no.lng $_lurl/pl.lng \
$_lurl/pt-br.lng $_lurl/pt.lng $_lurl/ru.lng $_lurl/sl.lng \
$_lurl/sv.lng $_lurl/tr.lng $_lurl/zh-cn.lng $_lurl/zh-tw.lng \
abyss.conf abyssws.rc.d abyssws.conf.d)
md5sums=('8bbd0f96fdfdb2055b43eeaef24a8211' '7b845eede148d452e93e58dd91deefe8'\
'7d0d16ef1329271af6669e497dd010aa' 'b7545f4fdbbe2962919c499e9258b446'\
'ff562d8113c393728b4f80a4be004d61' 'd8d08b8173b04fbb793372565cd02469'\
'e1b2cd53d79fdfb46e430cd9f98b4a41' '2c2f3881e9ec46369b1cdd0b7b223c0e'\
'843ee1cfb181f2c498c41323b4a98a6f' 'ca7f4b91670994bd2181dcb658f45c81'\
'd30ecd91414b2a6129aae5730fbfb64e' '3c9fd8471ca043335fb7b3cbdac0ef40'\
'4bea9393c9ba1a8a7245f13537b7a860' '790dd350c94719a1948d1ce8bbb658e8'\
'0b52c44befcf96a7b9eb14683c967b4d' '1644464141ab4b690e640dfef2f9b56f'\
'd4aa13cb1527bc3fba9ef145ce5c03e6' 'adbe02b4f298f28278c5f344c9480f27'\
'dc732eac9a34b23b6c71714cf4d0b54e' '98754405ca34d509b54c1ee2cb9cd54a'\
'77fc3de4e178af4c256b6c11116db602' 'adbdec30b1b804545b79b439f52b7a0e'\
'fcd4dd62155723baee40885ec3c32c50' '9c6c569b114e4919f6e84fbd7f663d54'\
'f3a3ac32f4ce49ccd01ef5cabe9ae319' 'b9309f3458f15d84c8485715e27ad679'\
'b9a4567de4433ddbbc3767f0175f4448' 'ff3bb82cb25e14c34647de72b1992f64'\
'45fd09afccbb429da271145c41d31769' '8e294c6a190323d73658e21bab0aca8e'\
'92c9079247c1ea79506361c82216bbdb')
build() {
cd $startdir/src
mkdir $startdir/pkg/opt
cp -Rp abyssws $startdir/pkg/opt
install -m644 abyss.conf $startdir/pkg/opt/abyssws/abyss.conf
install -D -m755 abyssws.rc.d $startdir/pkg/etc/rc.d/abyssws
install -D -m644 abyssws.conf.d $startdir/pkg/etc/conf.d/abyssws
cp -af *.lng $startdir/pkg/opt/abyssws/lang/
cd $startdir/pkg/opt/abyssws
install -D -m644 license.txt $startdir/pkg/usr/share/licenses/abyssws/license.txt
rm *.html *.txt
}

View file

@ -0,0 +1,900 @@
<?xml version="1.0" encoding="UTF-8"?>
<root>
<server>
<parameters>
<root>
/opt/abyssws/
</root>
<timeout>
30
</timeout>
<maxconn>
20
</maxconn>
<keepalive>
10
</keepalive>
<opsys>
<pidfile>
log/abyssws.pid
</pidfile>
<sysuser>
nobody
</sysuser>
</opsys>
</parameters>
<host>
<names/>
<path>
htdocs/
</path>
<running>
yes
</running>
<id>
1
</id>
<scripting>
<enabled>
yes
</enabled>
<cgi>
<timeout>
30
</timeout>
<useregistry>
no
</useregistry>
<useshebang>
yes
</useshebang>
<errorfile>
log/cgi.log
</errorfile>
</cgi>
<isapi>
<ext>
dll
</ext>
<errorfile>
log/isapi.log
</errorfile>
<debuglevel>
0
</debuglevel>
</isapi>
<fastcgi>
<errorfile>
log/fastcgi.log
</errorfile>
<timeout>
240
</timeout>
<debuglevel>
1
</debuglevel>
</fastcgi>
</scripting>
<ssi>
<extensions>
<ext>
shtml
</ext>
<ext>
shtm
</ext>
<ext>
stm
</ext>
</extensions>
<enabled>
yes
</enabled>
<errormessage/>
<timeformat/>
<abbreviatesize>
yes
</abbreviatesize>
<execcmd>
no
</execcmd>
</ssi>
<log>
<file>
log/access.log
</file>
<extendedformat>
yes
</extendedformat>
<denied/>
</log>
<indexes>
<index>
index.html
</index>
<index>
index.htm
</index>
</indexes>
<antileech>
<paths/>
<redirect/>
<strict>
no
</strict>
<allowed/>
</antileech>
<bindip>
*
</bindip>
<dirlist>
<type>
1
</type>
<scope>
<order>
ad
</order>
<allow>
<path>
/
</path>
</allow>
</scope>
<hidden>
<file>
.*
</file>
</hidden>
</dirlist>
<port>
8000
</port>
</host>
<throttle>
<maxspeed/>
<maxspeedperip/>
</throttle>
<antihack>
<enabled>
no
</enabled>
<threshold>
20
</threshold>
<monitorperiod>
20
</monitorperiod>
<banperiod>
60
</banperiod>
<logfile/>
<denied>
<ip>
127.0.0.1
</ip>
</denied>
</antihack>
<mimes>
<mime>
<type>
application/mac-binhex40
</type>
<ext>
hqx
</ext>
</mime>
<mime>
<type>
application/msword
</type>
<ext>
doc
</ext>
</mime>
<mime>
<type>
application/octet-stream
</type>
<ext>
bin
</ext>
<ext>
dms
</ext>
<ext>
lha
</ext>
<ext>
lzh
</ext>
<ext>
exe
</ext>
<ext>
class
</ext>
</mime>
<mime>
<type>
application/pdf
</type>
<ext>
pdf
</ext>
</mime>
<mime>
<type>
application/postscript
</type>
<ext>
ai
</ext>
<ext>
eps
</ext>
<ext>
ps
</ext>
</mime>
<mime>
<type>
application/smil
</type>
<ext>
smi
</ext>
<ext>
smil
</ext>
</mime>
<mime>
<type>
application/vnd.mif
</type>
<ext>
mif
</ext>
</mime>
<mime>
<type>
application/vnd.ms-asf
</type>
<ext>
asf
</ext>
</mime>
<mime>
<type>
application/vnd.ms-excel
</type>
<ext>
xls
</ext>
</mime>
<mime>
<type>
application/vnd.ms-powerpoint
</type>
<ext>
ppt
</ext>
</mime>
<mime>
<type>
application/x-cdlink
</type>
<ext>
vcd
</ext>
</mime>
<mime>
<type>
application/x-compress
</type>
<ext>
Z
</ext>
</mime>
<mime>
<type>
application/x-cpio
</type>
<ext>
cpio
</ext>
</mime>
<mime>
<type>
application/x-csh
</type>
<ext>
csh
</ext>
</mime>
<mime>
<type>
application/x-director
</type>
<ext>
dcr
</ext>
<ext>
dir
</ext>
<ext>
dxr
</ext>
</mime>
<mime>
<type>
application/x-dvi
</type>
<ext>
dvi
</ext>
</mime>
<mime>
<type>
application/x-gtar
</type>
<ext>
gtar
</ext>
</mime>
<mime>
<type>
application/x-gzip
</type>
<ext>
gz
</ext>
</mime>
<mime>
<type>
application/x-javascript
</type>
<ext>
js
</ext>
</mime>
<mime>
<type>
application/x-latex
</type>
<ext>
latex
</ext>
</mime>
<mime>
<type>
application/x-sh
</type>
<ext>
sh
</ext>
</mime>
<mime>
<type>
application/x-shar
</type>
<ext>
shar
</ext>
</mime>
<mime>
<type>
application/x-shockwave-flash
</type>
<ext>
swf
</ext>
</mime>
<mime>
<type>
application/x-stuffit
</type>
<ext>
sit
</ext>
</mime>
<mime>
<type>
application/x-tar
</type>
<ext>
tar
</ext>
</mime>
<mime>
<type>
application/x-tcl
</type>
<ext>
tcl
</ext>
</mime>
<mime>
<type>
application/x-tex
</type>
<ext>
tex
</ext>
</mime>
<mime>
<type>
application/x-texinfo
</type>
<ext>
texinfo
</ext>
<ext>
texi
</ext>
</mime>
<mime>
<type>
application/x-troff
</type>
<ext>
t
</ext>
<ext>
tr
</ext>
<ext>
roff
</ext>
</mime>
<mime>
<type>
application/x-troff-man
</type>
<ext>
man
</ext>
</mime>
<mime>
<type>
application/x-troff-me
</type>
<ext>
me
</ext>
</mime>
<mime>
<type>
application/x-troff-ms
</type>
<ext>
ms
</ext>
</mime>
<mime>
<type>
application/zip
</type>
<ext>
zip
</ext>
</mime>
<mime>
<type>
application/vnd.wap.wmlc
</type>
<ext>
wmlc
</ext>
</mime>
<mime>
<type>
audio/basic
</type>
<ext>
au
</ext>
<ext>
snd
</ext>
</mime>
<mime>
<type>
audio/midi
</type>
<ext>
mid
</ext>
<ext>
midi
</ext>
<ext>
kar
</ext>
</mime>
<mime>
<type>
audio/mpeg
</type>
<ext>
mpga
</ext>
<ext>
mp2
</ext>
<ext>
mp3
</ext>
</mime>
<mime>
<type>
audio/x-aiff
</type>
<ext>
aif
</ext>
<ext>
aiff
</ext>
<ext>
aifc
</ext>
</mime>
<mime>
<type>
audio/x-pn-realaudio
</type>
<ext>
ram
</ext>
<ext>
rm
</ext>
</mime>
<mime>
<type>
audio/x-realaudio
</type>
<ext>
ra
</ext>
</mime>
<mime>
<type>
audio/x-wav
</type>
<ext>
wav
</ext>
</mime>
<mime>
<type>
image/bmp
</type>
<ext>
bmp
</ext>
</mime>
<mime>
<type>
image/gif
</type>
<ext>
gif
</ext>
</mime>
<mime>
<type>
image/ief
</type>
<ext>
ief
</ext>
</mime>
<mime>
<type>
image/jpeg
</type>
<ext>
jpeg
</ext>
<ext>
jpg
</ext>
<ext>
jpe
</ext>
</mime>
<mime>
<type>
image/png
</type>
<ext>
png
</ext>
</mime>
<mime>
<type>
image/tiff
</type>
<ext>
tiff
</ext>
<ext>
tif
</ext>
</mime>
<mime>
<type>
image/vnd.wap.wbmp
</type>
<ext>
wbmp
</ext>
</mime>
<mime>
<type>
image/x-cmu-raster
</type>
<ext>
ras
</ext>
</mime>
<mime>
<type>
image/x-portable-anymap
</type>
<ext>
pnm
</ext>
</mime>
<mime>
<type>
image/x-portable-bitmap
</type>
<ext>
pbm
</ext>
</mime>
<mime>
<type>
image/x-portable-graymap
</type>
<ext>
pgm
</ext>
</mime>
<mime>
<type>
image/x-portable-pixmap
</type>
<ext>
ppm
</ext>
</mime>
<mime>
<type>
image/x-rgb
</type>
<ext>
rgb
</ext>
</mime>
<mime>
<type>
image/x-xbitmap
</type>
<ext>
xbm
</ext>
</mime>
<mime>
<type>
image/x-xpixmap
</type>
<ext>
xpm
</ext>
</mime>
<mime>
<type>
image/x-xwindowdump
</type>
<ext>
xwd
</ext>
</mime>
<mime>
<type>
image/x-icon
</type>
<ext>
ico
</ext>
</mime>
<mime>
<type>
model/iges
</type>
<ext>
igs
</ext>
<ext>
iges
</ext>
</mime>
<mime>
<type>
model/mesh
</type>
<ext>
msh
</ext>
<ext>
mesh
</ext>
<ext>
silo
</ext>
</mime>
<mime>
<type>
model/vrml
</type>
<ext>
wrl
</ext>
<ext>
vrml
</ext>
</mime>
<mime>
<type>
text/css
</type>
<ext>
css
</ext>
</mime>
<mime>
<type>
text/html
</type>
<ext>
html
</ext>
<ext>
htm
</ext>
</mime>
<mime>
<type>
text/plain
</type>
<ext>
asc
</ext>
<ext>
txt
</ext>
</mime>
<mime>
<type>
text/richtext
</type>
<ext>
rtx
</ext>
</mime>
<mime>
<type>
text/rtf
</type>
<ext>
rtf
</ext>
</mime>
<mime>
<type>
text/sgml
</type>
<ext>
sgml
</ext>
<ext>
sgm
</ext>
</mime>
<mime>
<type>
text/tab-separated-values
</type>
<ext>
tsv
</ext>
</mime>
<mime>
<type>
text/xml
</type>
<ext>
xml
</ext>
</mime>
<mime>
<type>
text/vnd.wap.wml
</type>
<ext>
wml
</ext>
</mime>
<mime>
<type>
text/vnd.wap.wmlscript
</type>
<ext>
wmls
</ext>
</mime>
<mime>
<type>
video/mpeg
</type>
<ext>
mpeg
</ext>
<ext>
mpg
</ext>
<ext>
mpe
</ext>
</mime>
<mime>
<type>
video/quicktime
</type>
<ext>
qt
</ext>
<ext>
mov
</ext>
</mime>
<mime>
<type>
video/x-msvideo
</type>
<ext>
avi
</ext>
</mime>
</mimes>
</server>
<version>
2.3.2
</version>
<console>
<port>
9999
</port>
<bindip>
*
</bindip>
<ipcontrol>
<order>
ad
</order>
<allow>
192.168.0.1-192.168.255.254
</allow>
<allow>
172.16.0.1-172.31.255.254
</allow>
<allow>
10.0.0.1-10.255.255.254
</allow>
</ipcontrol>
</console>
</root>

View file

@ -0,0 +1,9 @@
OPTIONS=""
# -c Specify an alternate configuration file.
# If the file does not exist, it is created and filled
# with the default options values.
#
# -p Specify an alternate console port.
# It overrides the console port value in the configuration file.

41
community/abyssws/abyssws.rc.d Executable file
View file

@ -0,0 +1,41 @@
#!/bin/bash
[ -f /etc/conf.d/abyssws ] && . /etc/conf.d/abyssws
. /etc/rc.conf
. /etc/rc.d/functions
case "$1" in
start)
stat_busy "Starting Abyss Web Server X1"
/opt/abyssws/abyssws -d $OPTIONS
if [ $? -gt 0 ]; then
stat_fail
else
add_daemon abyssws
stat_done
fi
;;
stop)
stat_busy "Stopping Abyss Web Server X1"
/opt/abyssws/abyssws --stop
if [ $? -gt 0 ]; then
stat_fail
else
rm_daemon abyssws
stat_done
fi
;;
restart)
stat_busy "Restarting Abyss Web Server X1"
/opt/abyssws/abyssws --restart
if [ $? -gt 0 ]; then
stat_fail
else
stat_done
fi
;;
*)
echo "usage: $0 {start|stop|restart}"
esac
exit 0

View file

@ -0,0 +1,72 @@
--- a/acerhk.c
+++ b/acerhk.c
@@ -2668,7 +2668,9 @@ static int acerhk_proc_init(void)
printk(KERN_INFO"acerhk: could not create /proc/driver/acerhk\n");
}
else {
+#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,30)
proc_acer_dir->owner = THIS_MODULE;
+#endif
/* now create several files, first general info ... */
entry = create_proc_read_entry("info",
0444, proc_acer_dir, acerhk_proc_info, NULL);
@@ -2677,7 +2679,9 @@ static int acerhk_proc_init(void)
remove_proc_entry("driver/acerhk", NULL);
retval = 0;
} else {
+#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,30)
entry->owner = THIS_MODULE;
+#endif
/* ... last pressed key ... */
entry = create_proc_read_entry("key",
0444, proc_acer_dir, acerhk_proc_key, NULL);
@@ -2687,7 +2691,9 @@ static int acerhk_proc_init(void)
remove_proc_entry("driver/acerhk", NULL);
retval = 0;
} else {
+#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,30)
entry->owner = THIS_MODULE;
+#endif
/* ... and led control file */
entry = create_proc_entry("led", 0222, proc_acer_dir);
if (entry == NULL) {
@@ -2699,7 +2705,9 @@ static int acerhk_proc_init(void)
}
else {
entry->write_proc = acerhk_proc_led;
+#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,30)
entry->owner = THIS_MODULE;
+#endif
/* ... and wireless led controll file */
entry = create_proc_entry("wirelessled", 0222, proc_acer_dir);
if (entry == NULL) {
@@ -2712,7 +2720,9 @@ static int acerhk_proc_init(void)
}
else {
entry->write_proc = acerhk_proc_wirelessled;
+#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,30)
entry->owner = THIS_MODULE;
+#endif
/* ... and bluetooth led controll file */
entry = create_proc_entry("blueled", 0222, proc_acer_dir);
if (entry == NULL) {
@@ -2725,7 +2735,9 @@ static int acerhk_proc_init(void)
retval = 0;
} else {
entry->write_proc = acerhk_proc_blueled;
+#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,30)
entry->owner = THIS_MODULE;
+#endif
retval = 1;
#ifdef ACERDEBUG
/* add extra file for debugging purposes */
@@ -2742,7 +2754,9 @@ static int acerhk_proc_init(void)
}
else {
entry->write_proc = acerhk_proc_debug;
+#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,30)
entry->owner = THIS_MODULE;
+#endif
retval = 1;
}
#endif

View file

@ -0,0 +1,39 @@
2009-06-24 Corrado Primier <bardo@aur.archlinux.org>
* Release bump: 14
* PKGBUILD: updated for the 2.6.30 kernel, added compilation patch
* 2.6.30.patch: added
2009-04-09 Corrado Primier <bardo@aur.archlinux.org>
* Release bump: 13
* PKGBUILD: updated for the 2.6.29 kernel
2009-01-16 Corrado Primier <bardo@aur.archlinux.org>
* Release bump: 12
* PKGBUILD: updated for the 2.6.28 kernel
2008-10-16 Corrado Primier <bardo@aur.archlinux.org>
* Release bump: 11
* PKGBUILD: updated for the 2.6.27 kernel
2008-08-12 Corrado Primier <bardo@aur.archlinux.org>
* Release bump: 10
* PKGBUILD: updated for the 2.6.26 kernel, moved to $srcdir/$pkgdir
2008-05-27 Corrado Primier <bardo@aur.archlinux.org>
* Release bump: 9
* PKGBUILD: updated for the 2.6.25 kernel
* ChangeLog: added

30
community/acerhk/PKGBUILD Normal file
View file

@ -0,0 +1,30 @@
# $Id: PKGBUILD 82 2009-07-17 19:56:55Z aaron $
# Maintainer: Corrado Primier <bardo@aur.archlinux.org>
# Contributor: Marco Fister <marco@rda26.net>
pkgname=acerhk
pkgver=0.5.35
pkgrel=14
pkgdesc="Acer hotkey driver"
url="http://www.cakey.de/acerhk/"
arch=('i686') # Unavailable for x86_64
license=('GPL')
depends=('kernel26>=2.6.30' 'kernel26<2.6.31')
source=(http://www.cakey.de/acerhk/archives/${pkgname}-${pkgver}.tgz acerhk.rc
2.6.30.patch)
install=acerhk.install
md5sums=('05255919f312cb76af473a760c284433' '935584b3e4bfbb3af8460558e5b98bb5'
'2a0bc99e5b12e25096441df4d53d7df7')
_kernver=2.6.30-ARCH
build() {
cd ${srcdir}/${pkgname}-${pkgver}
sed -i 's/CFLAGS/EXTRA_CFLAGS/' Makefile
patch -Np1 -i ${srcdir}/2.6.30.patch || return 1
make acerhk.ko || return 1
install -Dm644 ${srcdir}/${pkgname}-${pkgver}/acerhk.ko \
${pkgdir}/lib/modules/${_kernver}/kernel/drivers/block/acerhk.ko
install -Dm755 ${srcdir}/acerhk.rc ${pkgdir}/etc/rc.d/acerhk
}
# vim:set ts=2 sw=2 et:

View file

@ -0,0 +1,19 @@
post_install() {
cat << EOM
>>> PLEASE ADD PROPER OPTIONS IN /etc/modprobe.conf IF NEEDED
>>> e.g. for Series 290:
>>> echo "options acerhk force_series=290 usedritek=1 verbose=0" >> /etc/modprobe.conf
EOM
depmod -a
}
post_upgrade() {
depmod -a
}
post_remove() {
depmod -a
}
# vim:set ts=2 sw=2 et:

View file

@ -0,0 +1,32 @@
#!/bin/bash
. /etc/rc.conf
. /etc/rc.d/functions
case "$1" in
start)
stat_busy "Starting Acer Hotkey Wireless LED"
if [ ! -f /proc/driver/acerhk/wirelessled ]; then
stat_fail
else
echo 1 > /proc/driver/acerhk/wirelessled
stat_done
fi
;;
stop)
stat_busy "Stopping Acer Hotkey Wireless LED"
if [ ! -f /proc/driver/acerhk/wirelessled ]; then
stat_fail
else
echo 0 > /proc/driver/acerhk/wirelessled
stat_done
fi
;;
restart)
$0 stop
$0 start
;;
*)
echo "usage: $0 {start|stop|restart}"
;;
esac

View file

@ -0,0 +1,27 @@
# $Id: PKGBUILD 3247 2009-10-01 14:29:26Z dgriffiths $
# Maintainer: Daniel J Griffiths <ghost1227@archlinux.us>
# Contributor: Andrea Scarpino <andrea@archlinux.org>
# Contributor: Wes Brewer <brewerw@gmail.com>
pkgname=acetoneiso2
pkgver=2.1.1
pkgrel=1
pkgdesc="An all in one ISO tool (bin mdf nrg img daa dmg cdi b5i bwi pdi iso)"
arch=('i686' 'x86_64')
url="http://www.acetoneteam.org"
license=('GPL3')
depends=('qt>=4' 'fuseiso' 'cdrdao' 'cdrkit' 'gnupg2' 'pinentry' 'mplayer')
optdepends=("p7zip: for ISO compress/decompress support"
"dvd+rw-tools: for dvd ISO creation")
conflicts=('acetoneiso')
install=$pkgname.install
source=(http://downloads.sourceforge.net/acetoneiso/AcetoneISO/AcetoneISO%202.1.1//acetoneiso_$pkgver.tar.gz)
md5sums=('72e41e912e514946152fb9bcac1924b7')
build() {
cd ${srcdir}/acetoneiso_${pkgver}/acetoneiso
qmake
make || return 1
make INSTALL_ROOT="${pkgdir}" install
}

View file

@ -0,0 +1,11 @@
post_install() {
cat << EOF
-->
--> Please remember to add 'fuse' to your MODULES array in /etc/rc.conf
-->
EOF
}
post_upgrade() {
post_install $*
}

View file

@ -0,0 +1,25 @@
# $Id: PKGBUILD 1332 2009-08-16 10:25:55Z spupykin $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Contributor: Gerhard Brauer <gerhard.brauer@web.de>
# Contributor: Milosz Piglas <archeofuture@gmail.com>
pkgname=acpitool
pkgver=0.5.1
pkgrel=1
pkgdesc="ACPI client - replacement for apm tool"
url="http://sourceforge.net/projects/acpitool/"
arch=('i686' 'x86_64')
license=('GPL')
source=(http://downloads.sourceforge.net/sourceforge/acpitool/acpitool-$pkgver.tar.bz2 \
kernel_2.6.21.patch)
depends=(libstdc++5)
md5sums=('9e4ec55201be0be71ffbc56d38b42b57'
'b55eb498a323ca81ad5abe73cc608912')
build() {
cd $startdir/src/$pkgname-$pkgver
# patch -p1 -i ../kernel_2.6.21.patch
./configure --prefix=/usr
make || return 1
make prefix=$startdir/pkg/usr install
}

View file

@ -0,0 +1,78 @@
diff -aur acpitool-0.4.7.pristine/src/acpitool.cpp acpitool-0.4.7.new/src/acpitool.cpp
--- acpitool-0.4.7.pristine/src/acpitool.cpp 2007-02-06 21:03:02.000000000 +0100
+++ acpitool-0.4.7.new/src/acpitool.cpp 2007-05-15 13:25:26.000000000 +0200
@@ -56,13 +56,14 @@
filename = "/proc/acpi/info";
file_in.open(filename);
- if (!file_in)
- return 0;
- else
- {
- file_in.close();
- return 1;
+ if(!file_in.is_open()) {
+ filename = "/sys/module/acpi/parameters/acpica_version";
+ file_in.open(filename);
}
+ if(!file_in.is_open()) return 0;
+
+ file_in.close();
+ return 1;
}
int Print_ACPI_Info(int show_ac, int show_therm, int show_trip, int show_fan, int show_batteries, int show_empty, int show_version, int show_cpu, int show_wake, int e_set, int info_level, int verbose)
@@ -98,26 +99,38 @@
filename = "/proc/acpi/info";
file_in.open(filename);
- if (!file_in)
- {
- if(!verbose)
- {
- strcpy(c, "<n.a>");
- return 0;
- }
- else
- {
- cout<<" Could not open file : "<<filename<<endl;
- cout<<" Make sure your kernel has ACPI support enabled."<<endl;
- return -1;
- }
+ if(!file_in.is_open()) {
+ filename = "/sys/module/acpi/parameters/acpica_version";
+ file_in.open(filename);
+ }
+ if(!file_in.is_open()) {
+ // failure
+ if(!verbose) {
+ strcpy(c, "<n.a>");
+ return 0;
+ }
+ else {
+ cout<<" Could not open file : "<<filename<<endl;
+ cout<<" Make sure your kernel has ACPI support enabled."<<endl;
+ return -1;
+ }
}
file_in.getline(str, 50);
file_in.close();
- /* version takes 8 chars starting from pos 26 */
- strncpy(c, str+25,8);
+ // Find a better way to respect new ACPI behavior for
+ // kernel >2.6.20 !
+ // But hey, this is just a dirty patch
+ if (strncmp(filename,"/sys",4)==0)
+ {
+ /* version takes 8 chars */
+ strncpy(c, str,8);
+ }
+ else {
+ /* version takes 8 chars starting from pos 26 */
+ strncpy(c, str+25, 8);
+ }
return 0;
}

View file

@ -0,0 +1,31 @@
# $Id: PKGBUILD 82 2009-07-17 19:56:55Z aaron $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Maintainer: Vesa Kaihlavirta <vegai@iki.fi>
# Contributor: Sebastian Sareyko <public@nooms.de>
pkgname=addresses
pkgver=0.4.6
pkgrel=4
pkgdesc="A versatile address book application for GNUstep"
arch=('i686' 'x86_64')
url="http://giesler.biz/bjoern/en/sw_addr.html"
license=('LGPL')
depends=('gnustep-back')
source=(http://giesler.biz/bjoern/downloads/Addresses-$pkgver.tar.gz)
md5sums=('2d6b6bf9a1578a5b3a13cb0bd2c60fad')
build() {
. /etc/profile.d/GNUstep.sh
cd $startdir/src/Addresses-$pkgver
sed -i -e 's|Versions/A|Versions/0|g' {Test,AddressManager}/GNUmakefile || return 1
export PATH=$startdir/gcc-objc/src/gcc-4.2.1/build/qwe/usr/bin:$PATH
make || return 1
make GNUSTEP_INSTALLATION_DIR=$startdir/pkg/opt/GNUstep/System INSTALL_ROOT_DIR=$startdir/pkg install || return 1
# buggy install scripts
cd $startdir/pkg/opt/GNUstep/System/Library/Headers/
rm AddressBook
ln -sf Addresses AddressBook
}

View file

@ -0,0 +1,22 @@
# $Id: PKGBUILD 82 2009-07-17 19:56:55Z aaron $
# Maintainer: Eric Belanger <belanger@astro.umontreal.ca>
# Contributor: Hugo Ideler
pkgname=adesklet-asimpleclock
pkgver=0.0.3
pkgrel=6
pkgdesc="A simple little desklet that displays a text-based digital clock."
arch=('i686' 'x86_64')
url="http://www.pirnat.com/geek/adesklets.shtml"
license=("GPL")
depends=('adesklets')
groups=('adesklet-desklets')
source=(http://www.pirnat.com/geek/asimpleclock-$pkgver.tar.bz2)
md5sums=('98a18f9e7e336ab4b42bf89ba05ccc79')
build() {
mkdir -p $startdir/pkg/usr/share/adesklets/asimpleclock
cp -a $startdir/src/asimpleclock-$pkgver/* $startdir/pkg/usr/share/adesklets/asimpleclock/
chown root:adesklets $startdir/pkg/usr/share/adesklets/asimpleclock
chmod 775 $startdir/pkg/usr/share/adesklets/asimpleclock
}

View file

@ -0,0 +1,22 @@
# $Id: PKGBUILD 82 2009-07-17 19:56:55Z aaron $
# Maintainer: Eric Belanger <belanger@astro.umontreal.ca>
# Contributor: FUBAR
pkgname=adesklet-calendar
pkgver=0.5.3
pkgrel=6
pkgdesc="A simple desklet that displays a calendar."
arch=('i686' 'x86_64')
url="http://adesklets.sourceforge.net/desklets.html"
license=("GPL")
depends=('adesklets')
groups=('adesklet-desklets')
source=(http://downloads.sourceforge.net/sourceforge/adesklets/Calendar-$pkgver.tar.bz2)
md5sums=('c692064b27f49853fdabf530200776d3')
build() {
mkdir -p $startdir/pkg/usr/share/adesklets/Calendar
cp -a $startdir/src/Calendar-$pkgver/* $startdir/pkg/usr/share/adesklets/Calendar/
chown root:adesklets $startdir/pkg/usr/share/adesklets/Calendar
chmod 775 $startdir/pkg/usr/share/adesklets/Calendar
}

View file

@ -0,0 +1,24 @@
# $Id: PKGBUILD 82 2009-07-17 19:56:55Z aaron $
# Maintainer: Eric Belanger <belanger@astro.umontreal.ca>
# Contributor: Hugo Ideler <hugoideler@dse.nl>
pkgname=adesklet-systemmonitor
pkgver=0.1.3
pkgrel=3
pkgdesc="Modular stackable system monitors for adesklets"
arch=('i686' 'x86_64')
url="http://adesklets.sourceforge.net/desklets.html"
license=("GPL")
depends=('adesklets' 'libstatgrab' 'pystatgrab')
groups=('adesklet-desklets')
backup=('usr/share/adesklets/SystemMonitor/config.txt')
source=(http://downloads.sourceforge.net/sourceforge/adesklets/SystemMonitor-$pkgver.tar.bz2)
md5sums=('a866f8cd7200e7dd2432bd98bc5b5dfb')
build() {
mkdir -p $startdir/pkg/usr/share/adesklets/SystemMonitor
cp -a $startdir/src/SystemMonitor-$pkgver/* $startdir/pkg/usr/share/adesklets/SystemMonitor/
chown root:adesklets $startdir/pkg/usr/share/adesklets/SystemMonitor/config.txt
chmod 664 $startdir/pkg/usr/share/adesklets/SystemMonitor/config.txt
rm $startdir/pkg/usr/share/adesklets/SystemMonitor/config.txt~
}

View file

@ -0,0 +1,5 @@
2009-07-26 Jaroslav Lichtblau <dragonlord@aur.archlinux.org>
* Update to major release 0.2.2
2009-07-09 Jaroslav Lichtblau <dragonlord@aur.archlinux.org>
* FS#15431 fixed in 0.2.1-3

View file

@ -0,0 +1,42 @@
# $Id: PKGBUILD 346 2009-07-26 14:24:20Z jlichtblau $
# Maintainer: Jaroslav Lichtblau <dragonlord@aur.archlinux.org>
# Contributor: Jaroslav Lichtblau <dragonlord@aur.archlinux.org>
pkgname=adesklet-weatherforecast
pkgver=0.2.2
pkgrel=1
pkgdesc="Extended weather desklet that shows three day forecast."
arch=('i686' 'x86_64')
url="http://adesklets.sourceforge.net/desklets.html"
license=('GPL2')
depends=('adesklets')
groups=('adesklet-desklets')
source=(http://downloads.sourceforge.net/sourceforge/adesklets/weatherforecast-${pkgver}.tar.bz2 \
liquid_45.png \
liquid_46.png \
liquid_47.png \
um_46.png)
md5sums=('fd647ecc0306c0d1e847adab8bcfb685'
'781f726262f44a15eeec95f46ceb5a51'
'824139567bc469d6193aa31e9343e339'
'd70bc9d3d2acd5d488e51e2eb4c73c7e'
'176f9011299b32663455ae9de5122d31')
build() {
cd ${srcdir}
install -d ${pkgdir}/usr/share/adesklets/weatherforecast || return 1
cp -a ${srcdir}/weatherforecast-${pkgver}/* ${pkgdir}/usr/share/adesklets/weatherforecast/ || return 1
#Fixing missing icons
cp ${srcdir}/weatherforecast-$pkgver/icons/liquid/25.png ${pkgdir}/usr/share/adesklets/weatherforecast/icons/liquid/na.png || return 1
cp ${srcdir}/liquid_45.png ${pkgdir}/usr/share/adesklets/weatherforecast/icons/liquid/45.png || return 1
cp ${srcdir}/liquid_46.png ${pkgdir}/usr/share/adesklets/weatherforecast/icons/liquid/46.png || return 1
cp ${srcdir}/liquid_47.png ${pkgdir}/usr/share/adesklets/weatherforecast/icons/liquid/47.png || return 1
cp ${srcdir}/weatherforecast-$pkgver/icons/um/25.png ${pkgdir}/usr/share/adesklets/weatherforecast/icons/um/na.png || return 1
cp ${srcdir}/um_46.png ${pkgdir}/usr/share/adesklets/weatherforecast/icons/um/46.png || return 1
chown root:adesklets ${pkgdir}/usr/share/adesklets/weatherforecast || return 1
chmod 775 ${pkgdir}/usr/share/adesklets/weatherforecast || return 1
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 16 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 18 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 15 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 24 KiB

View file

@ -0,0 +1,21 @@
# $Id: PKGBUILD 82 2009-07-17 19:56:55Z aaron $
# Maintainer: Eric Belanger <belanger@astro.umontreal.ca>
pkgname=adesklet-yab
pkgver=0.0.2
pkgrel=5
pkgdesc="yab (Yet Another Bar) is a very plain launch bar, yet reasonably polished, highly configurable and resources limit aware"
arch=('i686' 'x86_64')
url="http://adesklets.sourceforge.net/desklets.html"
license=("GPL")
depends=('adesklets')
groups=('adesklet-desklets')
source=(http://downloads.sourceforge.net/sourceforge/adesklets/yab-$pkgver.tar.bz2)
md5sums=('583081d25ba6f7d1eff64e3084258f3a')
build() {
mkdir -p $startdir/pkg/usr/share/adesklets/yab
cp -a $startdir/src/yab-$pkgver/* $startdir/pkg/usr/share/adesklets/yab/
chown root:adesklets $startdir/pkg/usr/share/adesklets/yab
chmod 775 $startdir/pkg/usr/share/adesklets/yab
}

View file

@ -0,0 +1,43 @@
# $Id: PKGBUILD 82 2009-07-17 19:56:55Z aaron $
# Maintainer: Jaroslav Lichtblau <dragonlord@aur.archlinux.org>
# Contributor: Fubar
pkgname=adesklets
pkgver=0.6.1
pkgrel=9
pkgdesc="An imlib2-based system to have interactive 'desklets'."
arch=('i686' 'x86_64')
url="http://adesklets.sourceforge.net/"
license=('GPL2')
depends=('imlib2' 'fontconfig' 'python>=2.6' 'perl' 'ttf-bitstream-vera' 'libx11')
install=$pkgname.install
options=('!emptydirs')
source=(http://downloads.sourceforge.net/sourceforge/${pkgname}/${pkgname}-${pkgver}.tar.bz2 \
fontconfig-2.4.patch)
md5sums=('cd390c9398449c5566033e2e4792bccb'
'0374aec97670c90713fcabc2710e2160')
build() {
cd ${srcdir}/${pkgname}-${pkgver}
#patch for fontconfig => 2.4
patch -Np0 -i ${srcdir}/fontconfig-2.4.patch || return 1
autoreconf || return 1
./configure --prefix=/usr || return 1
#makefile Fix
sed -i 's/\/bin\/sh//' doc/Makefile || return 1
make || return 1
make DESTDIR=${pkgdir} INSTALLDIRS=vendor install || return 1
rm ${pkgdir}/usr/share/info/dir
#remove the font stuff
rm -f ${pkgdir}/usr/share/adesklets/{FONT_LICENSE,Vera.ttf}
find ${pkgdir} -name '.packlist' -exec rm '{}' \;
find ${pkgdir} -name 'perllocal.pod' -exec rm '{}' \;
}

View file

@ -0,0 +1,31 @@
infodir=/usr/share/info
filelist=(adesklets.info adesklets_fr.info)
post_install() {
for file in ${filelist[@]}; do
install-info $infodir/$file $infodir/dir 2> /dev/null
done
getent group adesklets > /dev/null || usr/sbin/groupadd -g 107 adesklets
cat << EOF
==> To be able to save configs of adesklets
==> add your user to the adesklets group:
==> # gpasswd -a USERNAME adesklets
EOF
}
post_upgrade() {
for file in ${filelist[@]}; do
install-info $infodir/$file $infodir/dir 2> /dev/null
done
}
post_remove() {
for file in ${filelist[@]}; do
install-info --delete $infodir/$file $infodir/dir 2> /dev/null
done
usr/sbin/groupdel adesklets &>/dev/null
}

View file

@ -0,0 +1,50 @@
--- configure.ac
+++ configure.ac
@@ -1,4 +1,4 @@
-dnl Initialize autoconf and automake
+nl Initialize autoconf and automake
AC_INIT
AC_CONFIG_SRCDIR(src/main.c)
AC_PREREQ(2.52)
@@ -428,7 +428,18 @@ AC_TRY_LINK(
#include <fontconfig/fontconfig.h>
, FcInit(),
AC_MSG_RESULT([yes])
-AC_DEFINE(HAVE_FONTCONFIG_FONTCONFIG_H,1,[Define to 1 if you have the <fontconfig/fontconfig.h> header file.]),
+AC_DEFINE(HAVE_FONTCONFIG_FONTCONFIG_H,1,[Define to 1 if you have the <fontconfig/fontconfig.h> header file.])
+
+AC_MSG_CHECKING([For fontconfig FcFini()])
+AC_TRY_LINK(
+#include <fontconfig/fontconfig.h>
+, FcFini(),
+AC_MSG_RESULT([yes])
+AC_DEFINE(HAVE_FONTCONFIG_FCFINI,1,[Define to 1 if FcFini() call exists])
+,
+AC_MSG_RESULT([no]))
+
+,
AC_MSG_RESULT([no])
FONTCONFIG_LIBS=
FONTCONFIG_CFLAGS=
--- src/xwindow.c
+++ src/xwindow.c
@@ -123,9 +123,17 @@
if ((strlen((char*)file)>4) &&
(strstr((char*)file+strlen((char*)file)-4,".ttf")))
imlib_add_path_to_font_path(dirname((char*)file));
- FcFontSetDestroy(fs);
- FcObjectSetDestroy(os);
}
+#ifdef HAVE_FONTCONFIG_FCFINI
+ FcFini();
+#else
+ /* On FontConfig >= 2.4, this causes a segfault, probably due to the new
+ caching mechanism: we don't have to care, since FcFini() always exists,
+ and does the dirty dessalocation job just fine.
+ */
+ if (fs) FcFontSetDestroy(fs);
+ FcObjectSetDestroy(os);
+#endif
}
#endif
imlib_add_path_to_font_path(".");

View file

@ -0,0 +1,20 @@
# $Id: PKGBUILD 82 2009-07-17 19:56:55Z aaron $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Maintainer: Ben Mazer <blm@groknil.org>
pkgname=adns-python
pkgver=1.2.1
pkgrel=2
pkgdesc="python bindings for adns"
arch=('i686' 'x86_64')
url="http://code.google.com/p/adns-python/"
depends=('adns' 'python')
makedepends=()
license=('GPL2')
source=(http://adns-python.googlecode.com/files/adns-python-$pkgver.tar.gz)
md5sums=('12cc7ad1b0ee8d818005e9ca4def758b')
build() {
cd $startdir/src/$pkgname-$pkgver
python setup.py install --root=$startdir/pkg/
}

21
community/adns/PKGBUILD Normal file
View file

@ -0,0 +1,21 @@
# $Id: PKGBUILD 82 2009-07-17 19:56:55Z aaron $
# Maintainer: dorphell <dorphell@archlinux.org>
# Contributor: Tom Newsom <Jeepster@gmx.co.uk>
pkgname=adns
pkgver=1.4
pkgrel=1
pkgdesc="adns is an asyncronous replacement resolver library"
arch=('i686' 'x86_64')
url="http://www.chiark.greenend.org.uk/~ian/adns/"
license=('GPL')
depends=('glibc')
source=(http://www.chiark.greenend.org.uk/~ian/$pkgname/ftp/$pkgname-$pkgver.tar.gz)
md5sums=('88bc7bbf3f62a8d4fb186b8f72ead853')
build() {
cd $startdir/src/$pkgname-$pkgver
./configure --prefix=/usr
make || return 1
mkdir -p $startdir/pkg/usr/{lib,include,bin}
make prefix=$startdir/pkg/usr install
}

View file

@ -0,0 +1,10 @@
--- Makefile.in-old 2003-02-14 22:16:21.000000000 -0800
+++ Makefile.in 2003-02-14 22:16:59.000000000 -0800
@@ -33,6 +33,7 @@
install:
$(INSTALL_PROGRAM) $(SHLIBFILE) $(lib_dir)/$(SHLIBFILE)
ln -sf $(SHLIBFILE) $(lib_dir)/$(SHLIBSONAME)
+ ln -sf $(SHLIBFILE) $(lib_dir)/$(SHLIBFORLINK)
uninstall:
rm -f $(lib_dir)/$(SHLIBFILE) $(lib_dir)/$(SHLIBSONAME)

32
community/agave/PKGBUILD Normal file
View file

@ -0,0 +1,32 @@
# $Id: PKGBUILD 82 2009-07-17 19:56:55Z aaron $
# Maintainer: Roman Kyrylych <Roman.Kyrylych@gmail.com>
# Contributor: William Rea <sillywilly@gmail.com>
pkgname=agave
pkgver=0.4.4
pkgrel=2
pkgdesc="An colorscheme designer for the Gnome desktop"
arch=('i686' 'x86_64')
url="http://home.gna.org/colorscheme"
license=('GPL')
depends=('gtkmm' 'libgnomeui' 'libglademm' 'gconfmm>=2.18.1' 'hicolor-icon-theme')
makedepends=('intltool' 'boost' 'gnome-doc-utils>=0.11.2')
install=agave.install
source=(http://download.gna.org/colorscheme/releases/agave-$pkgver.tar.bz2)
md5sums=('376b4cfc4b63f3f42572207c84c9b182')
build() {
cd ${startdir}/src/${pkgname}-${pkgver}
./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \
--disable-scrollkeeper
make || return 1
make GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 DESTDIR=${startdir}/pkg install
mkdir -p ${startdir}/pkg/usr/share/gconf/schemas
gconf-merge-schema ${startdir}/pkg/usr/share/gconf/schemas/${pkgname}.schemas \
${startdir}/pkg/etc/gconf/schemas/*.schemas
rm -rf ${startdir}/pkg/usr/etc
sed -i "s/agave-icon.png/agave.png/" ${startdir}/pkg/usr/share/applications/agave.desktop
}

View file

@ -0,0 +1,29 @@
pkgname=agave
post_install() {
usr/sbin/gconfpkg --install ${pkgname}
gtk-update-icon-cache -q -t -f usr/share/icons/hicolor
update-desktop-database -q
}
pre_upgrade() {
pre_remove $1
}
post_upgrade() {
post_install $1
}
pre_remove() {
usr/sbin/gconfpkg --uninstall ${pkgname}
}
post_remove() {
gtk-update-icon-cache -q -t -f usr/share/icons/hicolor
update-desktop-database -q
}
op=$1
shift
$op $*

25
community/agsync/PKGBUILD Normal file
View file

@ -0,0 +1,25 @@
# $Id: PKGBUILD 82 2009-07-17 19:56:55Z aaron $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Contributor: Zhukov Pavel <gelios@gmail.com>
pkgname=agsync
pkgver=0.2_pre
_pkgver=${pkgver/_/-}
pkgrel=2
pkgdesc="AvantGo sync plugin"
arch=('i686' 'x86_64')
url="http://duskwood.lownewulf.com/"
license=("GPL")
depends=('synce-librapi')
makedepends=('synce-libsynce')
source=(http://duskwood.lownewulf.com/$pkgname-$_pkgver.tgz)
md5sums=('74de1b1452a718c85364fab5ce3c0c2a')
build() {
cd $startdir/src/$pkgname-$_pkgver
make || return 1
mkdir -p $startdir/pkg/usr/{bin,lib,include}
cp agsync $startdir/pkg/usr/bin/
cp mal-files/mal-funcs.a $startdir/pkg/usr/lib/
cp mal-files/AG{Net,Types}.h $startdir/pkg/usr/include/
}

View file

@ -0,0 +1,49 @@
2009-09-18 Biru Ionut <ionut@archlinux.ro>
* Version bump: 1.0-rc4
2009-04.14 Corrado Primier <bardo@aur.archlinux.org>
* Version bump: 1.0-rc3
* PKGBUILD: removed old compilation patch
2009-02-08 Corrado Primier <bardo@aur.archlinux.org>
* Version bump: 1.0-rc2
* sha-compile-fix-64bit.patch: added, fixes compilation on 64bit hosts
2008-06-15 Corrado Primier <bardo@aur.archlinux.org>
* Version bump: 1.0-rc1
* PKGBUILD: moved from $startdir to $srcdir/$pkgdir, added vim tags,
added sqlite3 dependency for airolib-ng support
2008-05-03 Corrado Primier <bardo@aur.archlinux.org>
* Version bump: 1.0-beta2
* PKGBUILD: adapted make command to the new Makefile, added zlib and
openssl dependencies
2008-02-25 Corrado Primier <bardo@aur.archlinux.org>
* Version bump: 0.9.3
2008-02-08 Corrado Primier <bardo@aur.archlinux.org>
* PKGBUILD: fixed man page location (thanks Snowman)
2008-02-07 Corrado Primier <bardo@aur.archlinux.org>
* Version bump: 0.9.2
* PKGBUILD: moved man pages to /usr/share/man
2007-12-15 Corrado Primier <bardo@aur.archlinux.org>
* ChangeLog: added
* PKGBUILD: adopted, cleaned up, uploaded to [community]

View file

@ -0,0 +1,24 @@
# $Id: PKGBUILD 2160 2009-09-09 20:01:45Z daenyth $
# Maintainer: Daenyth <Daenyth+Arch [at] gmail [dot] com>
# Contributor: Corrado Primier <bardo@aur.archlinux.org>
# Contributor: ice-man <icemanf@gmail.com>
pkgname=aircrack-ng
pkgver=1.0
pkgrel=2
pkgdesc="A key cracker for the 802.11 WEP and WPA-PSK protocols"
arch=('i686' 'x86_64')
url="http://www.aircrack-ng.org"
license=('GPL2')
depends=('openssl' 'sqlite3' 'iw')
source=("http://download.aircrack-ng.org/${pkgname}-${pkgver}.tar.gz")
md5sums=('dafbfaf944ca9d523fde4bae86f0c067')
options=(force)
build() {
cd ${srcdir}/${pkgname}-${pkgver}
make SQLITE=true unstable=true || return 1
make DESTDIR=${pkgdir} SQLITE=true unstable=true bindir=/usr/bin mandir=/usr/share/man/man1 sbindir=/usr/sbin install || return 1
}
# vim:set ts=2 sw=2 et:

View file

@ -0,0 +1,14 @@
2007-12-08 Jaroslaw Swierczynski <swiergot@aur.archlinux.org>
* airsnort-0.2.7e-4
* rebuild against new libpcap
2007-08-09 Alessio 'mOLOk' Bolognino <themolok@gmail.com>
* airsnort-0.2.7e-3
* rebuilt against new libpcap
* added wlan-ng26-utils dependency
2007-07-02 tardo <tardo@nagi-fanboi.net>
* Built for x86_64

View file

@ -0,0 +1,22 @@
# Maintainer: Jaroslaw Swierczynski <swiergot@aur.archlinux.org>
# Contributor: sebastien le guillerm <geekitus@tele2.fr>
pkgname=airsnort
pkgver=0.2.7e
pkgrel=5
pkgdesc="A wireless LAN (WLAN) tool which recovers encryption keys"
arch=('i686' 'x86_64')
url="http://airsnort.shmoo.com/"
license=('GPL')
depends=('gtk2' 'libpcap' 'wlan-ng26-utils')
makedepends=('pkgconfig')
source=(http://downloads.sourceforge.net/sourceforge/airsnort/$pkgname-$pkgver.tar.gz)
md5sums=('8f852bd872fa7d352c14781010c25ef4')
build()
{
cd $startdir/src/$pkgname-$pkgver
./configure --prefix=/usr/
make || return 1
make DESTDIR=$startdir/pkg install
}

View file

@ -0,0 +1,41 @@
# $Id: PKGBUILD 2330 2009-09-16 10:11:01Z spupykin $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
pkgname=ajaxterm-utf8-svn
pkgver=61
pkgrel=2
pkgdesc="A web based terminal"
arch=('any')
url="http://antony.lesuisse.org/qweb/trac/wiki/AjaxTerm"
depends=('python>=2.3')
license=('GPL')
conflicts=(ajaxterm)
provides=(ajaxterm)
source=(ajaxterm)
md5sums=('a9c5ae6bb4bacf26ca2b728559311be5')
_svntrunk=http://archlinux-stuff.googlecode.com/svn/trunk/ajaxterm-utf8/
_svnmod=ajaxterm-utf8
build() {
cd $startdir/src
svn checkout $_svntrunk --config-dir ./ $_svnmod
msg "SVN checkout done or server timeout"
msg "Starting make..."
cp -r $_svnmod $_svnmod-build
cd $_svnmod-build
./configure --prefix=/usr
install -d ${startdir}/pkg/etc/rc.d
install -d ${startdir}/pkg/usr/bin
install -d ${startdir}/pkg/usr/man/man1
install -d ${startdir}/pkg/usr/share/ajaxterm
install ajaxterm.bin ${startdir}/pkg/usr/bin/ajaxterm
install -m 0755 ${startdir}/src/ajaxterm ${startdir}/pkg/etc/rc.d
install -m 0644 ajaxterm.css ajaxterm.html utf8-escape.js ajaxterm.js qweb.py sarissa.js sarissa_dhtml.js ${startdir}/pkg/usr/share/ajaxterm
install -m 0755 ajaxterm.py ${startdir}/pkg/usr/share/ajaxterm
install -m 0644 ajaxterm.1 ${startdir}/pkg/usr/man/man1
}

View file

@ -0,0 +1,40 @@
#!/bin/bash
# general config
. /etc/rc.conf
. /etc/rc.d/functions
PORT=8022
case "$1" in
start)
stat_busy "Starting ajaxterm on port $PORT"
/usr/bin/ajaxterm -p $PORT -d >/dev/null 2>/dev/null
if [ $? -gt 0 ]; then
stat_fail
else
add_daemon ajaxterm
stat_done
fi
;;
stop)
stat_busy "Stopping ajaxterm"
[ -f /var/run/ajaxterm.pid ] && kill `cat /var/run/ajaxterm.pid`
if [ $? -gt 0 ]; then
stat_fail
else
rm -f /var/run/ajaxterm.pid
rm_daemon ajaxterm
stat_done
fi
;;
restart)
$0 stop
sleep 1
$0 start
;;
*)
echo "usage: $0 {start|stop|restart}"
;;
esac
exit 0

View file

@ -0,0 +1,29 @@
# $Id: PKGBUILD 2327 2009-09-16 10:08:39Z spupykin $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Contributor: Eric Le Bras <eric.lebras@gmail.com>
pkgname=ajaxterm
pkgver=0.10
pkgrel=3
pkgdesc="A web based terminal"
arch=('any')
license=('GPL')
url="http://antony.lesuisse.org/qweb/trac/wiki/AjaxTerm"
depends=('python')
source=(http://antony.lesuisse.org/software/ajaxterm/files/Ajaxterm-$pkgver.tar.gz
ajaxterm)
md5sums=('b10830a7a81d2a4c9f8815510dafb87a' 'a9c5ae6bb4bacf26ca2b728559311be5')
build() {
cd ${startdir}/src/Ajaxterm-${pkgver}
./configure --prefix=/usr
install -d ${startdir}/pkg/etc/rc.d
install -d ${startdir}/pkg/usr/bin
install -d ${startdir}/pkg/usr/share/man/man1
install -d ${startdir}/pkg/usr/share/ajaxterm
install ajaxterm.bin ${startdir}/pkg/usr/bin/ajaxterm
install -m 0755 ${startdir}/src/ajaxterm ${startdir}/pkg/etc/rc.d || return 1
install -m 0644 ajaxterm.css ajaxterm.html ajaxterm.js qweb.py sarissa.js sarissa_dhtml.js ${startdir}/pkg/usr/share/ajaxterm || return 1
install -m 0755 ajaxterm.py ${startdir}/pkg/usr/share/ajaxterm || return 1
install -m 0644 ajaxterm.1 ${startdir}/pkg/usr/share/man/man1 || return 1
}

40
community/ajaxterm/ajaxterm Executable file
View file

@ -0,0 +1,40 @@
#!/bin/bash
# general config
. /etc/rc.conf
. /etc/rc.d/functions
PORT=8022
case "$1" in
start)
stat_busy "Starting ajaxterm on port $PORT"
/usr/bin/ajaxterm -p $PORT -d >/dev/null 2>/dev/null
if [ $? -gt 0 ]; then
stat_fail
else
add_daemon ajaxterm
stat_done
fi
;;
stop)
stat_busy "Stopping ajaxterm"
[ -f /var/run/ajaxterm.pid ] && kill `cat /var/run/ajaxterm.pid`
if [ $? -gt 0 ]; then
stat_fail
else
rm -f /var/run/ajaxterm.pid
rm_daemon ajaxterm
stat_done
fi
;;
restart)
$0 stop
sleep 1
$0 start
;;
*)
echo "usage: $0 {start|stop|restart}"
;;
esac
exit 0

22
community/alex/PKGBUILD Normal file
View file

@ -0,0 +1,22 @@
# Contributor: Philip Nilsson <pnilsson@nullref.se>
pkgname=alex
pkgver=2.3.1
pkgrel=1
pkgdesc='a lexical analyser generator for Haskell'
url='http://www.haskell.org/alex/'
license=('custom:BSD3')
arch=('i686' 'x86_64')
depends=('gmp')
makedepends=('ghc' 'haskell-cabal')
source=("http://hackage.haskell.org/packages/archive/$pkgname/$pkgver/$pkgname-$pkgver.tar.gz")
md5sums=('a8c26af3370388297cee4b8c767d72d9')
build() {
cd $srcdir/$pkgname-$pkgver
runghc Setup.lhs configure --prefix=/usr --datasubdir=$pkgname
runghc Setup.lhs build
runghc Setup.lhs copy --destdir=$pkgdir
install -D -m644 LICENSE $pkgdir/usr/share/licenses/alex/BSD3
# The license is installed here as well.
rm -Rf $pkgdir/usr/share/doc
}

View file

@ -0,0 +1,30 @@
# $Id: PKGBUILD 1992 2009-09-07 13:36:54Z spupykin $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Contributor: Daniel Ehlers <danielehlers@mindeye.net>
pkgname=alsa-plugins
pkgver=1.0.21
pkgrel=1
pkgdesc="Extra alsa plugins"
arch=('i686' 'x86_64')
url="http://www.alsa-project.org"
license=('GPL')
depends=('alsa-lib')
makedepends=('pulseaudio')
options=('!libtool')
install=$pkgname.install
source=(ftp://ftp.alsa-project.org/pub/plugins/alsa-plugins-$pkgver.tar.bz2)
md5sums=('392d016c0948c54978c0505f24271e01')
build() {
cd $startdir/src/alsa-plugins-$pkgver
./configure --prefix=/usr
make || return 1
make DESTDIR=$startdir/pkg install || return 1
mkdir -p $startdir/pkg/etc/profile.d && \
cat >$startdir/pkg/etc/profile.d/alsa.sh <<EOF && \
#!/bin/bash
export ALSA_PLUGINS_DIR=/usr/lib/alsa-lib
EOF
chmod 0755 $startdir/pkg/etc/profile.d/alsa.sh
}

View file

@ -0,0 +1,8 @@
post_install() {
echo "Install jack-audio-connection-kit, libsamplerate, ffmpeg
or pulseaudio to get their respective plugins working"
}
post_upgrade() {
post_install $1
}

26
community/alunn/ChangeLog Normal file
View file

@ -0,0 +1,26 @@
2009-08-11 Jaroslav Lichtblau <dragonlord@aur.archlinux.org>
* alunn-0.7.13-2:
FS#15813 fixed
2009-07-27 Jaroslav Lichtblau <dragonlord@aur.archlinux.org>
* alunn-0.7.13-1:
New upstream release.
2008-08-31 Jaroslav Lichtblau <dragonlord@aur.archlinux.org>
* alunn-0.7.12-1:
New upstream release.
Fixed path for python2.6
2008-08-31 Alexander Fehr <pizzapunk gmail com>
* alunn-0.7.8-1:
New upstream release.
2008-08-04 Alexander Fehr <pizzapunk gmail com>
* alunn-0.7.7-1:
New upstream release.
2008-07-24 Alexander Fehr <pizzapunk gmail com>
* alunn-0.7.6-2:
Added dependency on dbus-python.
Replaced install file with optdepends.
Added ChangeLog.

25
community/alunn/PKGBUILD Normal file
View file

@ -0,0 +1,25 @@
# $Id: PKGBUILD 1016 2009-08-11 19:47:05Z jlichtblau $
# Maintainer: Jaroslav Lichtblau <dragonlord@aur.archlinux.org>
# Contributor: Alexander Fehr <pizzapunk gmail com>
# Contributor: Mathias Nedrebø <mathias <at> nedrebo.org>
pkgname=alunn
pkgver=0.7.13
pkgrel=2
pkgdesc="System tray notification applet for Arch Linux updates and news"
arch=('i686' 'x86_64')
url="http://nedrebo.org/code/alunn"
license=('GPL')
depends=('dbus-python' 'gnome-python')
optdepends=('notification-daemon: Desktop notification support')
source=(http://nedrebo.org/page/code/$pkgname/.files/$pkgname-$pkgver.tar.gz)
md5sums=('45de5f6beca92738148c34ee1e682897')
build() {
cd ${srcdir}/$pkgname-$pkgver
sed -i 's/python2.5/python2.6/' install.sh || return 1
./install.sh --prefix=${pkgdir} || return 1
}

44
community/amaya/PKGBUILD Normal file
View file

@ -0,0 +1,44 @@
# $Id: PKGBUILD 82 2009-07-17 19:56:55Z aaron $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Contributor: Dalius <dagis@takas.lt>
pkgname=amaya
pkgver=11.2
pkgrel=2
pkgdesc="W3C's Editor/Browser"
arch=('i686' 'x86_64')
url="http://www.w3.org/Amaya/"
license=('custom')
depends=('wxgtk' 'bash' 'libgl' 'libwww' 'raptor')
makedepends=(imake)
options=('!makeflags')
source=(http://www.w3.org/Amaya/Distribution/amaya-sources-$pkgver.tgz)
md5sums=('7fc2503abce1393e1bbd054be719ee0d')
build() {
cd $startdir/src/Amaya$pkgver/Amaya
mkdir GTK
cd GTK
export HOME=`pwd`
if [ "$CARCH" = "x86_64" ] ; then
[ $NOEXTRACT -eq 1 ] || cp ../../Mesa/configs/linux-x86-64 ../../Mesa/configs/current
else
[ $NOEXTRACT -eq 1 ] || cp ../../Mesa/configs/linux-x86 ../../Mesa/configs/current
fi
[ $NOEXTRACT -eq 1 ] || ../configure --prefix=/usr/share --exec=/usr/share --datadir=/usr/share --enable-system-raptor
make || return 1
mkdir -p $startdir/pkg/usr/bin
make prefix=$startdir/pkg/usr/share install || return 1
ln -f -s ../share/Amaya/wx/bin/amaya $pkgdir/usr/bin/amaya && \
install -D -m644 $startdir/src/Amaya$pkgver/Amaya/amaya/COPYRIGHT $startdir/pkg/usr/share/licenses/$pkgname/COPYRIGHT || return 1
mkdir -p $pkgdir/usr/share/Amaya/lib
cp -a $srcdir/Amaya$pkgver/Amaya/GTK/Mesa/lib/libGL.so.1* $pkgdir/usr/share/Amaya/lib/ && \
cp -a $srcdir/Amaya$pkgver/Amaya/GTK/Mesa/lib/libGLU.so.1* $pkgdir/usr/share/Amaya/lib/ && \
chrpath -r /usr/share/Amaya/lib $pkgdir/usr/share/Amaya/wx/bin/amaya_bin && \
chrpath -r /usr/share/Amaya/lib $pkgdir/usr/share/Amaya/wx/bin/print
}

View file

@ -0,0 +1,24 @@
# $Id: PKGBUILD 82 2009-07-17 19:56:55Z aaron $
# Maintainer: Giovanni Scafora <giovanni@archlinux.org>
# Contributor: yosh64 <yosh64.at.gmail.dot.com>
pkgname=amidi-plug
pkgver=0.7
pkgrel=4
pkgdesc="A MIDI input plugin for XMMS"
arch=('i686' 'x86_64')
url="http://www.develia.org/projects.php?l=2&f=1&p=amidiplug"
license=('GPL2')
depends=('xmms' 'fluidsynth')
makedepends=('pkgconfig')
options=('!libtool')
source=(http://www.develia.org/files/$pkgname-$pkgver.tar.bz2)
md5sums=('bb128c40dce0ab4afda79da01f985a09')
build() {
cd $srcdir/$pkgname-$pkgver
./configure --prefix=/usr --with-player=xmms
make || return 1
make DESTDIR=$pkgdir install
}

2
community/amsn/ChangeLog Normal file
View file

@ -0,0 +1,2 @@
2009-07-26 Jaroslav Lichtblau <dragonlord@aur.archlinux.org>
* FS#15542 fixed in 0.97.2-14

36
community/amsn/PKGBUILD Normal file
View file

@ -0,0 +1,36 @@
# $Id: PKGBUILD 351 2009-07-26 17:03:19Z jlichtblau $
# Maintainer: Jaroslav Lichtblau <dragonlord@aur.archlinux.org>
# Contributor: Giovanni Scafora <giovanni@archlinux.org>
# Contributor: Jeff Mickey <j@codemac.net>
pkgname=amsn
pkgver=0.97.2
pkgrel=14
pkgdesc="MSN client written in Tcl/Tk"
arch=('i686' 'x86_64')
url="http://amsn.sourceforge.net/"
license=('GPL2')
depends=('imlib' 'libjpeg' 'libx11' 'libpng' 'libsm' 'libtiff' 'perl' 'python' 'tk>=8.5.7' 'tls')
makedepends=('pkgconfig' 'patch')
source=(http://downloads.sourceforge.net/sourceforge/${pkgname}/${pkgname}-${pkgver}.tar.bz2 \
$pkgname-jpeg7.patch)
md5sums=('6c494d97b5ab810f1b265ef19bf652b0'
'0e26454d4ab646f444517f089da81ac6')
build() {
cd ${srcdir}/${pkgname}-${pkgver}
patch -Np0 -i ${srcdir}/$pkgname-jpeg7.patch || return 1
./configure --prefix=/usr
make || return 1
make DESTDIR=${pkgdir} install
#fix links
cd ${pkgdir}/usr/bin || return 1
rm * || return 1
ln -sf /usr/share/amsn/amsn amsn || return 1
ln -sf /usr/share/amsn/amsn-remote amsn-remote || return 1
ln -sf /usr/share/amsn/amsn-remote-CLI amsn-remote-CLI || return 1
}

View file

@ -0,0 +1,10 @@
--- utils/TkCximage/src/CxImage/ximajpg.cpp.orig 2009-07-18 05:29:43.000000000 -0300
+++ utils/TkCximage/src/CxImage/ximajpg.cpp 2009-07-18 05:30:31.000000000 -0300
@@ -142,6 +142,7 @@
*/ //</DP>
// Set the scale <ignacio>
+ SetJpegScale(8); // Set an initial value (FIX for jpeg-7)
cinfo.scale_denom = GetJpegScale();
// Borrowed the idea from GIF implementation <ignacio>

View file

@ -0,0 +1,3 @@
2007-06-27 tardo <tardo@nagi-fanboi.net>
* Built for x86_64
* Moved to /usr so no need for .install

View file

@ -0,0 +1,23 @@
# $Id: PKGBUILD 82 2009-07-17 19:56:55Z aaron $
# Contributor: William Rea <sillywilly@gmail.com>
pkgname=amyedit
pkgver=1.0
pkgrel=3
pkgdesc="A gtkmm LaTeX editor"
arch=('i686' 'x86_64')
url="http://amyedit.sourceforge.net"
license=('GPL')
depends=('gtkmm' 'gtksourceview' 'aspell')
makedepends=('intltool')
#install=$pkgname.install
source=(http://downloads.sourceforge.net/sourceforge/amyedit/amyedit-$pkgver.tar.bz2)
md5sums=('662f5d6cc37c5838e2dc5a4a6abb812d')
build() {
#export export PKG_CONFIG_PATH=$PKG_CONFIG_PATH:/opt/gnome/lib/pkgconfig
cd $startdir/src/amyedit-$pkgver
./configure --prefix=/usr
make || return 1
make DESTDIR=$startdir/pkg install
}

View file

@ -0,0 +1,12 @@
post_install() {
grep -e "/opt/gnome/lib" /etc/ld.so.conf
if [ $? <> 0 ]; then
echo "/opt/gnome/lib" >> /etc/ld.so.conf;
ldconfig;
fi
}
op=$1
shift
$op "$@"

View file

@ -0,0 +1,5 @@
#!/bin/sh
#
# Update anacron time stamps.
anacron -u cron.daily

View file

@ -0,0 +1,5 @@
#!/bin/sh
#
# Update anacron time stamps.
anacron -u cron.monthly

View file

@ -0,0 +1,5 @@
#!/bin/sh
#
# Update anacron time stamps.
anacron -u cron.weekly

View file

@ -0,0 +1,6 @@
2009-05-01 Eric Belanger <eric@archlinux.org>
* anacron 2.3-9
* Added scripts to prevent jobs from being done by both anacron and cron (close FS#13587)
* FSH man page
* Added ChangeLog

View file

@ -0,0 +1,44 @@
# $Id: PKGBUILD 82 2009-07-17 19:56:55Z aaron $
# Maintainer: Eric Belanger <eric@archlinux.org>
# Contributor: Eric Belanger <eric@archlinux.org>
pkgname=anacron
pkgver=2.3
pkgrel=9
pkgdesc="A cron-like periodic command scheduler"
arch=('i686' 'x86_64')
url="http://sourceforge.net/projects/anacron"
license=('GPL')
depends=('glibc' 'bash')
backup=('etc/anacrontab')
source=(http://downloads.sourceforge.net/sourceforge/anacron/${pkgname}-${pkgver}.tar.gz \
anacrond anacrond.logrotate anacrontab run-anacron \
00anacron.daily 00anacron.monthly 00anacron.weekly)
md5sums=('865cc1dfe1ed75c470d3e6de13763f03' '2bc29a66a143c89605ec204b8118b82b'\
'cacfeaed940a5663ab5ed2eac8179e5c' '6dd361a519b45ee51dc2737eb5a4bdd5'\
'5ff0cdcb9ec99778938ac6ef26800327' '0a83e5b7bb5ba032f829aebcae7a41c8'\
'ac6e7c7ea1a20881d9fc8d9dcbeede56' 'e9496fb7b6d9c1b79ac5306bb6806c0d')
sha1sums=('d0e154123585e9faf615d67230d82d7d1b4c099a'
'7885726671ccafa091ef868a1d62af9fa7f5f2d5'
'dcf2aba70a4bacda40593ae052494e56df161982'
'5f0d196d9161777bf16f7c4d5bd8e8187cfd3339'
'7058dad9fe75b9cfcb08494b2b54f1eaaae95ef2'
'30076cd4e8fdce88717b4eb31e67acfa06d9a406'
'06f65004a1c3351548d2b5719c5cf1716d818ffd'
'428245aabdceae40925a6b818acc803945444de8')
build() {
cd ${srcdir}/${pkgname}-${pkgver}
sed -i 's/const int isleap;/int isleap;/' gregor.c || return 1
make || return 1
make PREFIX=${pkgdir} MANDIR=${pkgdir}/usr/share/man install || return 1
install -d ${pkgdir}/etc/{rc.d,cron.daily,cron.weekly,cron.monthly}
install -D -m755 ../run-anacron ${pkgdir}/usr/sbin/run-anacron
install -D -m755 ../anacrond ${pkgdir}/etc/rc.d/anacrond
install -D -m755 ../00anacron.daily ${pkgdir}/etc/cron.daily/00anacron
install -D -m755 ../00anacron.weekly ${pkgdir}/etc/cron.weekly/00anacron
install -D -m755 ../00anacron.monthly ${pkgdir}/etc/cron.monthly/00anacron
install -D -m644 ../anacrontab ${pkgdir}/etc/anacrontab
install -D -m644 ../anacrond.logrotate ${pkgdir}/etc/logrotate.d/anacrond
}

27
community/anacron/anacrond Executable file
View file

@ -0,0 +1,27 @@
#!/bin/bash
. /etc/rc.conf
. /etc/rc.d/functions
case "$1" in
start)
stat_busy "Starting Anacron Daemon"
/usr/sbin/anacron -s >> /var/log/anacrond.log 2>&1
if [ $? -gt 0 ]; then
stat_fail
else
stat_done
fi
;;
stop)
stat_busy "Stopping Anacron Daemon"
stat_done
;;
restart)
$0 stop
$0 start
;;
*)
echo "usage: $0 {start|stop|restart}"
esac
exit 0

View file

@ -0,0 +1,5 @@
/var/log/anacrond {
sharedscripts
copytruncate
missingok
}

View file

@ -0,0 +1,6 @@
# /etc/anacrontab
SHELL=/bin/bash
# format: period delay job-identifier command
1 10 cron.daily /usr/sbin/run-anacron /etc/cron.daily
7 15 cron.weekly /usr/sbin/run-anacron /etc/cron.weekly
30 20 cron.monthly /usr/sbin/run-anacron /etc/cron.monthly

14
community/anacron/run-anacron Executable file
View file

@ -0,0 +1,14 @@
#!/bin/sh
if [ -z $1 ]; then
echo "Usage: $0 crondir"
exit 1
fi
for cron in $1/* ; do
if [ -x $cron ]; then
$cron
fi
done
unset cron

29
community/anki/PKGBUILD Normal file
View file

@ -0,0 +1,29 @@
# $Id: PKGBUILD 850 2009-08-06 15:19:34Z spupykin $
# Maintainer: Timm Preetz <timm@preetz.us>
# Contributor: Michael 'manveru' Fellinger <m.fellinger@gmail.com>
pkgname=anki
pkgver=0.9.9.8.5
pkgrel=2
pkgdesc='Helps you remember facts (like words/phrases in a foreign language) efficiently.'
url='http://ichi2.net/anki/'
license=("GPL")
arch=('any')
options=(force)
depends=('pyqt' 'python-sqlalchemy' 'python-simplejson' 'python-pysqlite')
makedepends=('setuptools' 'desktop-file-utils')
source=(http://ichi2.net/$pkgname/download/files/$pkgname-$pkgver.tgz)
md5sums=('42c8f6ba29e5052b8e3323a89b76b20b')
build() {
cd $startdir/src/$pkgname-$pkgver
export PYTHONPATH=$srcdir/$pkgname-$pkgver/libanki
(cd libanki && python setup.py install --root $startdir/pkg) && \
python setup.py install --root $startdir/pkg || return 1
# .desktop file and icon
desktop-file-install --dir $startdir/pkg/usr/share/applications $pkgname.desktop && \
install -D -m 644 icons/$pkgname.png $pkgdir/usr/share/pixmaps/$pkgname.png
}

View file

@ -0,0 +1,21 @@
# Contributor: Jaroslaw Swierczynski <swiergot@juvepoland.com>
# Contributor: Shadowhand <woody.gilk@gmail.com>
pkgname=any2dvd
pkgver=0.34
pkgrel=3
arch=('i686' 'x86_64')
pkgdesc="A script to transform movie files into a DVD complete with menus"
url="http://any2dvd.sourceforge.net/"
license=('GPL')
depends=('mplayer' 'transcode' 'ecasound' 'mpgtx' 'dvdauthor' 'multimux' \
'ghostscript' 'gsfonts' 'sharutils' 'soundtouch' 'xbindkeys')
source=(http://downloads.sourceforge.net/sourceforge/$pkgname/$pkgname-$pkgver.tar.bz2)
md5sums=('f3bbc5a3f90fbd3895aa5e79de39696e')
build() {
cd $startdir/src/$pkgname-$pkgver
install -d -m 755 $startdir/pkg/usr/{bin,share/man/man1}
install -m 755 any2dvd any2vob $startdir/pkg/usr/bin
install -D -m 644 any2dvd.1 any2vob.1 $startdir/pkg/usr/share/man/man1
}

View file

@ -0,0 +1,36 @@
diff -wbBur anyfs-tools-0.84.11/anyfs/inode.c anyfs-tools-0.84.11.my/anyfs/inode.c
--- anyfs-tools-0.84.11/anyfs/inode.c 2006-12-16 15:41:19.000000000 +0300
+++ anyfs-tools-0.84.11.my/anyfs/inode.c 2007-02-19 15:01:08.000000000 +0300
@@ -181,7 +181,7 @@
inode->i_nlink = info->si_inode_table[inode->i_ino].i_links_count;
- inode->i_blksize = info->si_blocksize;
+// inode->i_blksize = info->si_blocksize;
inode->i_blocks = 0;
if ( S_ISREG(inode->i_mode) )
diff -wbBur anyfs-tools-0.84.11/anyfs/namei.c anyfs-tools-0.84.11.my/anyfs/namei.c
--- anyfs-tools-0.84.11/anyfs/namei.c 2006-12-16 15:42:03.000000000 +0300
+++ anyfs-tools-0.84.11.my/anyfs/namei.c 2007-02-19 15:05:24.000000000 +0300
@@ -288,7 +288,7 @@
inode->i_uid = current->fsuid;
inode->i_gid = (dir->i_mode & S_ISGID) ? dir->i_gid : current->fsgid;
inode->i_mtime = inode->i_atime = inode->i_ctime = CURRENT_TIME_SEC;
- inode->i_blocks = inode->i_blksize = 0;
+ inode->i_blocks = 0;
inode->i_mode = mode;
inode->i_ino = ino;
diff -wbBur anyfs-tools-0.84.11/src/build_xfs/build_xfs.c anyfs-tools-0.84.11.my/src/build_xfs/build_xfs.c
--- anyfs-tools-0.84.11/src/build_xfs/build_xfs.c 2006-12-13 14:59:14.000000000 +0300
+++ anyfs-tools-0.84.11.my/src/build_xfs/build_xfs.c 2007-02-19 15:04:41.000000000 +0300
@@ -27,6 +27,8 @@
#include <math.h>
+#define XFS_DFL_RTEXTSIZE (64 * 1024)
+
#undef _
#undef bindtextdomain
#undef textdomain

View file

@ -0,0 +1,24 @@
# $Id: PKGBUILD 82 2009-07-17 19:56:55Z aaron $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Contributor: Sergej Pupykin <pupykin.s+arch@gmail.com>
pkgname=anyfs-tools
pkgver=0.85.1a
pkgrel=1
pkgdesc="unix-way toolset for recovering and converting filesystems"
arch=('i686' 'x86_64')
url="http://anyfs-tools.sourceforge.net/"
license=('GPL')
depends=(bzip2 e2fsprogs libmpeg2 xfsprogs anyfs fuse)
source=(http://downloads.sourceforge.net/sourceforge/anyfs-tools/${pkgname}-${pkgver}.tar.bz2)
md5sums=('6cc523183ebca3e3e9e37bc19caddce9')
build() {
cd ${startdir}/src/$pkgname-${pkgver}
sed -i "s#install: install_progs install_fs install_docs#install: install_progs install_docs#" ./Makefile.in
#Dirty Arch64 fix which doesn't affect i686
CFLAGS="-DNO_INLINE_FUNCS -D_INLINE_=static" ./configure --prefix=/usr --build=i686-linux-gnu
tar -czf anyfs-$pkgver.tar.gz ./anyfs/
make || return 1
make INSTALLPATH=$startdir/pkg/usr install
}

View file

@ -0,0 +1,36 @@
diff -wbBur anyfs-tools-0.84.11/anyfs/inode.c anyfs-tools-0.84.11.my/anyfs/inode.c
--- anyfs-tools-0.84.11/anyfs/inode.c 2006-12-16 15:41:19.000000000 +0300
+++ anyfs-tools-0.84.11.my/anyfs/inode.c 2007-02-19 15:01:08.000000000 +0300
@@ -181,7 +181,7 @@
inode->i_nlink = info->si_inode_table[inode->i_ino].i_links_count;
- inode->i_blksize = info->si_blocksize;
+// inode->i_blksize = info->si_blocksize;
inode->i_blocks = 0;
if ( S_ISREG(inode->i_mode) )
diff -wbBur anyfs-tools-0.84.11/anyfs/namei.c anyfs-tools-0.84.11.my/anyfs/namei.c
--- anyfs-tools-0.84.11/anyfs/namei.c 2006-12-16 15:42:03.000000000 +0300
+++ anyfs-tools-0.84.11.my/anyfs/namei.c 2007-02-19 15:05:24.000000000 +0300
@@ -288,7 +288,7 @@
inode->i_uid = current->fsuid;
inode->i_gid = (dir->i_mode & S_ISGID) ? dir->i_gid : current->fsgid;
inode->i_mtime = inode->i_atime = inode->i_ctime = CURRENT_TIME_SEC;
- inode->i_blocks = inode->i_blksize = 0;
+ inode->i_blocks = 0;
inode->i_mode = mode;
inode->i_ino = ino;
diff -wbBur anyfs-tools-0.84.11/src/build_xfs/build_xfs.c anyfs-tools-0.84.11.my/src/build_xfs/build_xfs.c
--- anyfs-tools-0.84.11/src/build_xfs/build_xfs.c 2006-12-13 14:59:14.000000000 +0300
+++ anyfs-tools-0.84.11.my/src/build_xfs/build_xfs.c 2007-02-19 15:04:41.000000000 +0300
@@ -27,6 +27,8 @@
#include <math.h>
+#define XFS_DFL_RTEXTSIZE (64 * 1024)
+
#undef _
#undef bindtextdomain
#undef textdomain

View file

@ -0,0 +1,3 @@
2007-06-28 tardo <tardo@nagi-fanboi.net>
* Built for x86_64

28
community/anyfs/PKGBUILD Normal file
View file

@ -0,0 +1,28 @@
# $Id: PKGBUILD 82 2009-07-17 19:56:55Z aaron $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Contributor: Sergej Pupykin <pupykin.s+arch@gmail.com>
pkgname=anyfs
pkgver=0.85.1a
pkgrel=1
pkgdesc="unix-way toolset for recovering and converting filesystems"
arch=('i686' 'x86_64')
url="http://anyfs-tools.sourceforge.net/"
license=('GPL')
source=(http://downloads.sourceforge.net/sourceforge/anyfs-tools/anyfs-tools-${pkgver}.tar.bz2)
install=any.install
md5sums=('6cc523183ebca3e3e9e37bc19caddce9')
build() {
cd ${startdir}/src/anyfs-tools-${pkgver}
sed -i "s#install: install_progs install_fs install_docs#install: install_progs install_docs#" ./Makefile.in
./configure --prefix=/usr
tar -czf anyfs-$pkgver.tar.gz ./anyfs/
cd ./anyfs/
make || return 1
cd ..
install -D -m 0644 anyfs/any.ko $startdir/pkg/lib/modules/`uname -r`/misc/any.ko
# install -D -m 0644 anyfs-$pkgver.tar.gz $startdir/pkg/var/lib/anyfs-tools/anyfs-$pkgver.tar.gz
}

View file

@ -0,0 +1,27 @@
pre_install() {
/bin/true
}
post_install() {
depmod -a
}
pre_upgrade() {
/bin/true
}
post_upgrade() {
depmod -a
}
pre_remove() {
/bin/true
}
post_remove() {
depmod -a
}
op=$1
shift
$op $*

View file

@ -0,0 +1,31 @@
# $Id: PKGBUILD 82 2009-07-17 19:56:55Z aaron $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Contributor: Sergej Pupykin <pupykin.s+arch@gmail.com>
pkgname=apache13-mod_accounting
pkgver=0.5
pkgrel=3
pkgdesc="accounting module for apache 1 branch"
arch=(i686 x86_64)
url="http://mod-acct.sourceforge.net/"
license=("GPL")
depends=(apache13 mysql)
makedepends=(patch)
conflicts=()
replaces=()
backup=()
install=
source=(http://downloads.sourceforge.net/sourceforge/mod-acct/mod_accounting-$pkgver.tar.gz \
build.patch)
md5sums=('fc045bbdc5ae32241765fea2967a63fb'
'1a8e29289fa4954c1b9f750f92935bd9')
build() {
cd $startdir/src/mod_accounting-$pkgver
patch -Np1 <../build.patch
make || return 1
install -d -m 0755 $startdir/pkg/usr/lib/apache13 && \
install -m 0755 mod_accounting.so $startdir/pkg/usr/lib/apache13 && \
install -d -m 0755 $startdir/pkg/usr/share/mod_accounting && \
install -m 0644 schema.sql $startdir/pkg/usr/share/mod_accounting
}

View file

@ -0,0 +1,39 @@
diff -wbBur mod_accounting-0.5/Makefile mod_accounting-0.5.my/Makefile
--- mod_accounting-0.5/Makefile 2001-12-30 17:11:43 +0300
+++ mod_accounting-0.5.my/Makefile 2006-04-10 13:22:00 +0400
@@ -5,13 +5,14 @@
##
# the used tools
-APXS=apxs
-APACHECTL=apachectl
+APXS=apxs13
+APACHECTL=apachectl13
# here's what you may need to change
-DEF=-DNEED_POSTGRES -DNEED_MYSQL
-INC=-I/usr/local/pgsql/include/ -I/usr/local/mysql/include/
-LIB=-L/usr/local/pgsql/lib -lpq -L/usr/local/mysql/lib/mysql/ -lmysqlclient
+DEF=-DNEED_MYSQL
+#INC=-I/usr/local/pgsql/include/ -I/usr/local/mysql/include/
+#LIB=-L/usr/local/mysql/lib/mysql/ -lmysqlclient
+LIB=-lmysqlclient
# the default target
all: mod_accounting.so
diff -wbBur mod_accounting-0.5/mod_accounting.c mod_accounting-0.5.my/mod_accounting.c
--- mod_accounting-0.5/mod_accounting.c 2002-09-08 19:17:22 +0400
+++ mod_accounting-0.5.my/mod_accounting.c 2006-04-10 13:29:27 +0400
@@ -218,8 +218,10 @@
char *ptr = arg;
while( *ptr )
- *ptr++ = tolower( *ptr );
-
+ {
+ *ptr = tolower( *ptr );
+ *ptr++;
+ }
// let's see if we have the requested driver
for( i = 0; i < DB_MAX; i++ )
if( !strcmp( DBDrivers[ i ].ID, arg )) {

View file

@ -0,0 +1,28 @@
# $Id: PKGBUILD 82 2009-07-17 19:56:55Z aaron $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Contributor: Sergej Pupykin <pupykin.s+arch@gmail.com>
pkgname=apache13-mod_bandwidth
pkgver=2.1
pkgrel=1
pkgdesc="bandwidth module for apache 1 branch"
arch=(i686 x86_64)
url="http://www.cohprog.com/mod_bandwidth.html"
license=("GPL")
depends=(apache13)
source=(ftp://ftp.cohprog.com/pub/apache/module/1.3.0/mod_bandwidth.c \
README \
README.1st)
md5sums=('8bab2b9c978072f63a0ca64e1d0f83e5'
'd1e9a6ebb149008d8beff56fb0160615'
'4d6b408362804ea2290aa986b87ac919')
build() {
cd $startdir/src/
/usr/sbin/apxs13 -c -o mod_bandwidth.so mod_bandwidth.c || return 1
install -d -m 0755 $startdir/pkg/usr/lib/apache13 && \
install -m 0755 mod_bandwidth.so $startdir/pkg/usr/lib/apache13 && \
install -d -m 0755 $startdir/pkg/usr/share/mod_bandwidth && \
install -m 0644 README $startdir/pkg/usr/share/mod_bandwidth && \
install -m 0644 README.1st $startdir/pkg/usr/share/mod_bandwidth
}

View file

@ -0,0 +1,372 @@
/* ====================================================================
* Copyright (c) 1995 The Apache Group. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
*
* 1. Redistributions of source code must retain the above copyright
* notice, this list of conditions and the following disclaimer.
*
* 2. Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in
* the documentation and/or other materials provided with the
* distribution.
*
* 3. All advertising materials mentioning features or use of this
* software must display the following acknowledgment:
* "This product includes software developed by the Apache Group
* for use in the Apache HTTP server project (http://www.apache.org/)."
*
* 4. The names "Apache Server" and "Apache Group" must not be used to
* endorse or promote products derived from this software without
* prior written permission.
*
* 5. Redistributions of any form whatsoever must retain the following
* acknowledgment:
* "This product includes software developed by the Apache Group
* for use in the Apache HTTP server project (http://www.apache.org/)."
*
* THIS SOFTWARE IS PROVIDED BY THE APACHE GROUP ``AS IS'' AND ANY
* EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
* PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE APACHE GROUP OR
* IT'S CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
* SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
* NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
* LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
* HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
* STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
* ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
* OF THE POSSIBILITY OF SUCH DAMAGE.
* ====================================================================
*
* This software consists of voluntary contributions made by many
* individuals on behalf of the Apache Group and was originally based
* on public domain software written at the National Center for
* Supercomputing Applications, University of Illinois, Urbana-Champaign.
* For more information on the Apache Group and the Apache HTTP server
* project, please see <http://www.apache.org/>.
*
*/
/****************************************************************************
* Title : Bandwidth management
* File : mod_bandwidth.c
* Author : Yann Stettler (stettler@cohprog.com)
* Date : 12 January 2003
* Version : 2.0.6 for Apache 1.3+
*
* Description :
* Provide bandwidth usage limitation either on the whole server or
* one a per connection basis based on the size of files, directory
* location or remote domain/IP.
*
* Revision : 08/04/97 - "-1" value for LargeFileLimit to disable any
* limits for that kind of files.
* 01/26/98 - Include in_domain() and in_ip() in this file and
* make them static so it will work with Apache 1.3x
* 03/29/98 - Change to set bandwidth in VirtualHost directive
* 07/17/99 - Minor changes to remove warnings at compil time
*
* Allow the use of the network/mask format when
* setting a bandwidth for a remote host/network.
* (Thanks to Sami Kuhmonen for the patch)
*
* New directive BandWidthPulse
*
* 10/14/00 - Minor bug fixed
* 12/15/00 - Bug fix when using mmap
* 08/29/01 - Add a directive to change the data directory
* (Thanks to Awesome Walrus <walrus@amur.ru> )
* 01/12/03 - Add MaxConnection directive to limit the number
* of simultaneous connections.
*
***************************************************************************
* Copyright (c)1997 Yann Stettler and CohProg SaRL. All rights reserved.
* Written for the Apache Group by :
*
* Yann Stettler
* stettler@cohprog.com
* http://www.cohprog.com/
* http://www.animanga.com/
*
* Based on the original default_handler module and on bw_module 0.2 from
* Etienne BERNARD (eb@via.ecp.fr) at VIA Centrale Reseaux, ECP, France
*
* Many thanks to Colba Net Inc (Montreal) for their sponsoring of
* improvements to this module.
*
***************************************************************************/
/*
* Instruction :
* -------------
*
* Note : this module was writen for Apache 1.3.x and tested on it
*
* Installation :
*
* 1) Insert the following line at the end of the "Configuration" file :
* Module bandwidth_module mod_bandwidth.o
*
* WARNING : This behaviour is not the same between the various main versions
* of Apache. Please, read the instruction on our website for the
* instructions concerning the latest release :
* http://www.cohprog.com/v3/bandwidth/doc-en.html
*
* 2) Run the "Configure" program and re-compile the server with "make".
*
* 3) Create the following directories with "rwx" permission to everybody :
* (or rwx for the user under which Apache run : Usualy "nobody")
* /tmp/apachebw
* /tmp/apachebw/link
* /tmp/apachebw/master
*
* /==== by Awesome Walrus <walrus@amur.ru> =====================\
* Or you may change this name by using BandWidthDataDir global
* configuration directive. See below for details.
* \==== by Awesome Walrus <walrus@amur.ru> =====================/
*
* Note that if any of those directories doesn't exist, or if they can't
* be accessed by the server, the module is totaly disabled except for
* logging an error message in the logfile.
*
* Be careful that on some systems the content of the /tmp directory
* is deleted at boot time or every so often by a cronjob. If that the
* case, either disable this feature or change the location of the
* directories used by the module in the sources bellow.
*
* Server configuration directive :
* --------------------------------
*
* /==== by Awesome Walrus <walrus@amur.ru> =====================\
* - BandWidthDataDir
* Syntax : BandWidthDataDir <directory>
* Default : "/tmp/apachebw"
* Context : server config
*
* Sets the name of the directory used by mod_bandwidth to store
* its internal temporary information.
* \==== by Awesome Walrus <walrus@amur.ru> =====================/
*
* - BandWidthModule
* Syntax : BandWidthModule <On|Off>
* Default : Off
* Context : per server config
*
* Enable or disable totaly the whole module. By default, the module is
* disable so it is safe to compile it in the server anyway.
*
* PLEASE, NOTE THAT IF YOU SET A BANDWIDTH LIMIT INSIDE A VIRTUALHOST
* BLOCK, YOU ALSO __NEED__ TO PUT THE "BandWidthModule On" DIRECTIVE
* INSIDE THAT VIRTUALHOST BLOCK !
*
* IF YOU SET BANDWIDTH LIMITS INSIDE DIRECTORY BLOCKS (OUTSIDE OF
* ANY VIRTUALHOST BLOCK), YOU ONLY NEED TO PUT THE "BandWidthModule On"
* DIRECTIVE ONCE, OUTSIDE OF ANY VIRTUALHOST OR DIRECTORY BLOCK.
*
* - BandWidthPulse
* Syntax : BandWidthPulse <microseconds>
* Default :
* Context : per server config
*
* Change the algorithm used to calculate bandwidth and transmit data.
* In normal mode (old mode), the module try to transmit data in packets
* of 1KB. That mean that if the bandwidth available is of 512B, the
* module will transmit 1KB, wait 2 seconds, transmit another 1KB and
* so one.
*
* Seting a value with "BandWidthPulse", will change the algorithm so
* that the server will always wait the same amount of time between
* sending packets but the size of the packets will change.
* The value is in microseconds.
* For example, if you set "BandWidthPulse 1000000" (1 sec) and the
* bandwidth available is of 512B, the sever will transmit 512B,
* wait 1 second, transmit 512B and so on.
*
* The advantage is a smother flow of data. The disadvantage is
* a bigger overhead of data transmited for packet header.
* Setting too small a value (bellow 1/5 of a sec) is not realy
* useful and will put more load on the system and generate more
* traffic for packet header.
*
* Note also that the operating system may do some buffering on
* it's own and so defeat the purpose of setting small values.
*
* This may be very useful on especialy crowded network connection :
* In normal mode, several seconds may happen between the sending of
* a full packet. This may lead to timeout or people may believe that
* the connection is hanging. Seting a value of 1000000 (1 sec) would
* guarantee that some data are sent every seconds...
*
* Directory / Server / Virtual Server configuration directive :
* -------------------------------------------------------------
*
* - BandWidth
* Syntax : BandWidth <domain|ip|all> <rate>
* Default : none
* Context : per directory, .htaccess
*
* Limit the bandwidth for files in this directory and
* sub-directories based on the remote host <domain> or
* <ip> address or for <all> remote hosts.
*
* Ip addresses may now be specified in the network/mask format.
* (Ie: 192.168.0.0/21 )
*
* The <rate> is in Bytes/second.
* A <rate> of "0" means no bandwidth limit.
*
* Several BandWidth limits can be set for the same
* directory to set different limits for different
* hosts. In this case, the order of the "BandWidth"
* keywords is important as the module will take the
* first entry which matches the client address.
*
* Example :
* <Directory /home/www>
* BandWidth ecp.fr 0
* BandWidth 138.195 0
* BandWidth all 1024
* </Directory>
*
* This will limit the bandwith for directory /home/www and
* all it's subdirectories to 1024Bytes/sec, except for
* *.ecp.fr or 138.195.*.* where no limit is set.
*
* - LargeFileLimit
* Syntax : LargeFileLimit <filesize> <rate>
* Default : none
* Context : per directory, .htaccess
*
* Set a maximal <rate> (in bytes/sec) to use when transfering
* a file of <filesize> KBytes or more.
*
* Several "LargeFileLimit" can be set for various files sizes
* to create range. The rate used for a given file size will be
* the one of the matching range.
*
* A <rate> of "0" mean that there isn't any limit based on
* the size.
*
* A <rate> of "-1" mean that there isn't any limit for that type
* of file. It's override even a BandWidth limit. I found this usefull
* to give priority to very small files (html pages, very small pictures)
* while seting limits for larger files... (users with their video files
* can go to hell ! :)
*
* Example :
* If the following limits are set :
* LargeFileLimit 200 3072
* LargeFileLimit 1024 2048
*
* That's mean that a file of less than 200KBytes won't be
* limited based on his size. A file with a size between
* 200KBytes (included) and 1023Kbytes (included) will be
* limited to 3072Bytes/sec and a file of 1024Kbytes or more
* will be limited to 2048Bytes/sec.
*
* - MinBandWidth
* Syntax : MinBandWidth <domain|ip|all> <rate>
* Default : all 256
* Context : per directory, .htaccess
*
* Set a minimal bandwidth to use for transfering data. This
* over-ride both BandWidth and LargeFileLimit rules as well
* as the calculated rate based on the number of connections.
*
* The first argument is used in the same way as the first
* argument of BandWidth.
*
* <rate> is in bytes per second.
*
* A rate of "0" explicitly means to use the default minimal
* value (256 Bytes/sec).
*
* A rate of "-1" means that the minimal rate is equal to the
* actual rate defined by BandWidth and LargeFileLimit.
* In fact, that means that the final rate won't depend
* of the number of connections but only on what was defined.
*
* Example :
* If BandWidth is set to "3072" (3KBytes/sec) and MinBandWidth
* is set to "1024" (1KBytes/sec) that means :
* - if there is one connection, the file will be transfered
* at 3072 Bytes/sec.
* - if there is two connections, each files will be transfered
* at 1536 Bytes/sec.
* - if there is three or more connections, each files will be
* transfered at 1024 Bytes/sec. (Minimal of 1024 Bytes/sec).
*
* If MinBandWidth is set to "-1" that means :
* - if there is one connection, the file will be transfered
* at 3072 Bytes/sec.
* - if there is two or more connections, each files will be
* transfered at 3072 Bytes/sec. In effect, the rate doesn't
* depend anymore on the number of connections but only on
* the configuration values.
*
* Note that the total transfer rate will never exceed your physical
* bandwidth limitation.
*
* Note : If both a "BandWidth" and a "LargeFileLimit" limit apply,
* the lowest one will be used. (But never lower than the
* "MinBandWidth" rate)
*
* If both a virtual server limit is defined and another
* apply for a directory under this virtual server, the
* directory limit will over-ride it.
*
* If a limit is defined outside a Directory or VirtualHost
* directive, it will act as default on a per virtual server
* basis. (Ie: each virtual server will have that limit,
* _independantly_ of the other servers)
*
* - MaxConnection
* Syntax : MaxConnection <connections>
* Default : 0 (illimited)
* Context : per directory, .htaccess
*
* Restrict the number of maximum simultanous connections. If the
* limit is reached, new connections will be rejected.
"
* A value of 0 mean that there isn't any limits.
*
* Implementation notes :
* ----------------------
*
* 1) This module isn't called when serving a cgi-script. In this
* case, it's the functions in mod_cgi.c that handle the connection.
*
* That's not a bug : I didn't want to change the cgi_module and
* I was too lazy to do it anyway.
*
* 2) The rate of data transmission is only calculated. It isn't
* measured. Which mean that this module calculates the final
* rate that should apply for a file and simply divides this
* number by the number of actual connections subject to the
* same "per directory" directives.
*
* 3) On the "+" side, the module regulate the speed taking
* into account the actual time that was needed to send the
* data. Which also mean that if data are read by the client
* at a slowest rate than the limit, no time will be lost and
* data will be sent as fast as the client can read them (but
* no faster than the limited rate :) ...
*
* 4) Some kind of buffering is done as side effect. Data are
* sent in packet of 1024 Bytes which seems a good value
* for TCP/IP.
* If another packet size is wanted, change the value of
* "#define PACKET" in the codes bellow.
*
* 5) The default value for MinBandWidth is defined by :
* "#define MIN_BW_DEFAULT" (in Bytes/sec)
*
* 6) Don't define "BWDEBUG" for a production server :
* this would log a _lot_ of useless informations for
* debuging purpose.
*
*/

View file

@ -0,0 +1,17 @@
This directory contains the current version of mod_bandwidth for
Apache 1.3x. This version won't compile on old version of Apache,
include 1.3beta.
A few features were added to some directives (see the source
for information and instruction) and some cleaning was done
to remove warning when compiling the module.
The main change is a new directive, "BandWidthPulse", that totaly
change the algorithm used to packet should be transmited. This
may be useful in some cases but setting totaly wrong values may
lower performances and even hang your webserver so read the
documentation first !.
Cheers,
Yann Stettler
(stettler@cohprog.com)

View file

@ -0,0 +1,3 @@
2008-01-20 JJDaNiMoTh <jjdanimoth@gmail.com>
* Changed place for manpage.

116
community/apache13/PKGBUILD Normal file
View file

@ -0,0 +1,116 @@
# $Id: PKGBUILD 3122 2009-09-28 08:40:20Z spupykin $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Contributor: Sergej Pupykin <pupykin.s+arch@gmail.com>
pkgname=apache13
pkgver=1.3.41
_modsslver=2.8.31-1.3.41
pkgrel=4
pkgdesc="apache web server with mod_ssl $_modsslver"
arch=(i686 x86_64)
url="http://httpd.apache.org/"
license=("GPL")
depends=(expat openssl db)
#
# ###############################################
_wwwroot=srv/www/$pkgname
_modules=(access actions alias asis auth auth_anon auth_db auth_dbm auth_digest autoindex cern_meta cgi define digest dir \
env expires headers imap include info log_agent log_config log_forensic log_referer mime mime_magic \
mmap_static negotiation proxy rewrite setenvif so speling ssl status unique_id userdir usertrack vhost_alias)
_modules_so=(actions asis auth_anon auth_db auth_dbm auth_digest autoindex cern_meta cgi digest \
expires imap info log_agent log_forensic log_referer mime mime_magic \
mmap_static negotiation proxy rewrite speling ssl status unique_id userdir usertrack vhost_alias)
_httpdgroup=httpd
_httpduser=httpd
# ###############################################
#
backup=(etc/apache13/httpd.conf \
$_wwwroot/html/index.html \
etc/conf.d/httpd \
etc/apache13/access.conf \
etc/apache13/srm.conf)
install=apache13.install
source=(http://apache.rinet.ru/dist/httpd/apache_$pkgver.tar.gz \
http://www.modssl.org/source/mod_ssl-$_modsslver.tar.gz \
httpd.conf.d \
httpd
httpd-1.3-getline.patch)
md5sums=('f7f00b635243f03a787ca9f4d4c85651'
'4d55fc5c7cbf38820b44edf767f571c4'
'62dba8077401cb5515ecb79fe29c2a52'
'd1ef3cfb1ef44cf280f05609b08e856c'
'cb760e24244a631f8595efc788b83058')
build() {
cd $startdir/src/mod_ssl-$_modsslver
./configure --prefix=/usr --with-apache=$startdir/src/apache_$pkgver
cd $startdir/src/apache_$pkgver
_config=""
for _mod in ${_modules[@]}; do
_config="$_config --enable-module=$_mod"
done
for _mod in ${_modules_so[@]}; do
_config="$_config --enable-shared=$_mod"
done
./configure --prefix=/usr \
--sysconfdir=/etc/$pkgname/ \
--cgidir=/$_wwwroot/cgi-bin \
--htdocsdir=/$_wwwroot/htdocs \
--iconsdir=/$_wwwroot/icons \
--logfiledir=/var/log/$pkgname \
--mandir=/usr/share/man \
--proxycachedir=/var/cache/$pkgname \
--libexecdir=/usr/lib/$pkgname \
--runtimedir=/var/run/$pkgname \
--server-gid=$_httpduser --server-uid=$_httpdgroup \
--bindir=/usr/bin --sbindir=/usr/sbin \
$_config
patch -p1 <$srcdir/httpd-1.3-getline.patch
make || return 1
make root=$startdir/pkg install
install -D -m644 ../httpd.conf.d $startdir/pkg/etc/conf.d/apache13
install -D -m755 ../httpd $startdir/pkg/etc/rc.d/apache13
sed -i 's|HTTPD=/usr/sbin/httpd|HTTPD=/usr/sbin/httpd13|' $startdir/pkg/usr/sbin/apachectl
sed -i 's|AddModule mod_auth_dbm.c|#AddModule mod_auth_dbm.c|' $startdir/pkg/etc/apache13/httpd.conf
sed -i 's|LoadModule dbm_auth_module lib/apache13/mod_auth_dbm.so|#LoadModule dbm_auth_module lib/apache13/mod_auth_dbm.so|' $startdir/pkg/etc/apache13/httpd.conf
rm -f $startdir/pkg/usr/include/fnmatch.h
cd $startdir/pkg/etc/apache13
rm -f ./ssl.crt/*.0
rm -f ./ssl.crt/*.crt
rm -f ./ssl.csr/*.csr
rm -f ./ssl.key/*.key
rm -f ./ssl.prm/*.prm
cd $startdir/pkg/usr/share/man/man1/
mv dbmmanage.1 dbmmanage13.1
mv htdigest.1 htdigest13.1
mv htpasswd.1 htpasswd13.1
cd $startdir/pkg/usr/share/man/man8/
mv ab.8 ab13.8
mv apachectl.8 apachectl13.8
mv apxs.8 apxs13.8
mv httpd.8 httpd13.8
mv logresolve.8 logresolve13.8
mv rotatelogs.8 rotatelogs13.8
cd $startdir/pkg/usr/sbin/
mv ab ab13
mv apachectl apachectl13
mv apxs apxs13
mv httpd httpd13
mv logresolve logresolve13
mv rotatelogs rotatelogs13
}

View file

@ -0,0 +1,25 @@
pre_install() {
/bin/true
}
post_install() {
echo "Please, add httpd user and httpd group"
/bin/true
}
pre_upgrade() {
/bin/true
}
post_upgrade() {
/bin/true
}
pre_remove() {
/bin/true
}
post_remove() {
echo "Please, remove httpd user and httpd group if it is not needed"
/bin/true
}

47
community/apache13/httpd Executable file
View file

@ -0,0 +1,47 @@
#!/bin/bash
# source application-specific settings
[ -f /etc/conf.d/apache13 ] && . /etc/conf.d/apache13
# general config
. /etc/rc.conf
. /etc/rc.d/functions
case "$1" in
start)
stat_busy "Starting HTTP Daemon"
if [ "$HTTPD_USE_SSL" = "yes" -o "$HTTPD_USE_SSL" = "YES" ]; then
apachectl13 startssl &>/dev/null
else
apachectl13 start &>/dev/null
fi
if [ $? -gt 0 ]; then
stat_fail
else
add_daemon httpd
stat_done
fi
;;
stop)
stat_busy "Stopping HTTP Daemon"
apachectl13 stop &>/dev/null
if [ $? -gt 0 ]; then
stat_fail
else
rm_daemon httpd
stat_done
fi
;;
restart)
$0 stop
sleep 3
$0 start
;;
reload)
if [ -f /var/run/apache13/httpd.pid ]; then
status "Reloading HTTP Configuration" kill -HUP `cat /var/run/apache13/httpd.pid`
fi
;;
*)
echo "usage: $0 {start|stop|restart|reload}"
esac

View file

@ -0,0 +1,81 @@
diff -wbBur apache_1.3.41/src/support/htdigest.c apache_1.3.41.qwe/src/support/htdigest.c
--- apache_1.3.41/src/support/htdigest.c 2006-07-12 08:16:05.000000000 +0000
+++ apache_1.3.41.qwe/src/support/htdigest.c 2009-09-28 08:35:02.000000000 +0000
@@ -71,7 +71,7 @@
while ((line[y++] = line[x++]));
}
-static int getline(char *s, int n, FILE *f)
+static int xgetline(char *s, int n, FILE *f)
{
register int i = 0;
@@ -158,7 +158,7 @@
{
static char line[MAX_STRING_LEN];
- while (!(getline(line, MAX_STRING_LEN, source))) {
+ while (!(xgetline(line, MAX_STRING_LEN, source))) {
putline(target, line);
}
}
@@ -216,7 +216,7 @@
ap_cpystrn(realm, argv[2], sizeof(realm));
found = 0;
- while (!(getline(line, MAX_STRING_LEN, f))) {
+ while (!(xgetline(line, MAX_STRING_LEN, f))) {
if (found || (line[0] == '#') || (!line[0])) {
putline(tfp, line);
continue;
diff -wbBur apache_1.3.41/src/support/htpasswd.c apache_1.3.41.qwe/src/support/htpasswd.c
--- apache_1.3.41/src/support/htpasswd.c 2006-07-12 08:16:05.000000000 +0000
+++ apache_1.3.41.qwe/src/support/htpasswd.c 2009-09-28 08:32:31.000000000 +0000
@@ -98,7 +98,7 @@
* Get a line of input from the user, not including any terminating
* newline.
*/
-static int getline(char *s, int n, FILE *f)
+static int xgetline(char *s, int n, FILE *f)
{
register int i = 0;
@@ -547,7 +547,7 @@
char scratch[MAX_STRING_LEN];
fpw = fopen(pwfilename, "r");
- while (! (getline(line, sizeof(line), fpw))) {
+ while (! (xgetline(line, sizeof(line), fpw))) {
char *colon;
if ((line[0] == '#') || (line[0] == '\0')) {
diff -wbBur apache_1.3.41/src/support/logresolve.c apache_1.3.41.qwe/src/support/logresolve.c
--- apache_1.3.41/src/support/logresolve.c 2006-07-12 08:16:05.000000000 +0000
+++ apache_1.3.41.qwe/src/support/logresolve.c 2009-09-28 08:32:58.000000000 +0000
@@ -71,7 +71,7 @@
#endif /* !MPE && !WIN32*/
static void cgethost(struct in_addr ipnum, char *string, int check);
-static int getline(char *s, int n);
+static int xgetline(char *s, int n);
static void stats(FILE *output);
@@ -278,7 +278,7 @@
* gets a line from stdin
*/
-static int getline (char *s, int n)
+static int xgetline (char *s, int n)
{
char *cp;
@@ -326,7 +326,7 @@
for (i = 0; i < MAX_ERR + 2; i++)
errors[i] = 0;
- while (getline(line, MAXLINE)) {
+ while (xgetline(line, MAXLINE)) {
if (line[0] == '\0')
continue;
entries++;

View file

@ -0,0 +1 @@
HTTPD_USE_SSL="no"

View file

@ -0,0 +1,36 @@
# $Id: PKGBUILD 2187 2009-09-10 14:31:45Z spupykin $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Maintainer: Todd Musall <tmusall@comcast.net>
pkgname=apcupsd
pkgver=3.14.7
pkgrel=1
pkgdesc="Apcupsd can be used for power mangement and controlling most of APC's UPS models on Unix and Windows machines."
arch=(i686 x86_64)
url="http://www.apcupsd.org"
license=('GPL')
depends=('gcc-libs' 'gd' 'gconf')
makedepends=('pkgconfig')
backup=(etc/apcupsd/apcupsd.conf etc/apcupsd/hosts.conf \
etc/apcupsd/multimon.conf)
source=(http://downloads.sourceforge.net/apcupsd/$pkgname-$pkgver.tar.gz \
apcupsd)
md5sums=('bb2f8e4fc6b2f5d7b3e236eb57b81640'
'5eae3c4d921eeb81798a0250fe3dd111')
build() {
cd $startdir/src/$pkgname-$pkgver
./configure --prefix=/usr --libexecdir=/usr/lib/$pkgname \
--enable-cgi --enable-usb --enable-net \
--with-upstype=usb --with-upscable=usb \
--with-serial-dev=/dev/usb/hid/hiddev[0-9] \
--enable-pthreads --enable-gapcmon
make || return 1
make DESTDIR=$startdir/pkg install || return 1
install -D -m755 ../apcupsd $startdir/pkg/etc/rc.d/apcupsd && \
chmod 755 $startdir/pkg/sbin/* && \
mkdir -p $pkgdir/usr/lib/$pkgname/cgi-bin && \
mv $pkgdir/etc/apcupsd/*.cgi $pkgdir/usr/lib/$pkgname/cgi-bin
}

44
community/apcupsd/apcupsd Executable file
View file

@ -0,0 +1,44 @@
#!/bin/bash
. /etc/rc.conf
. /etc/rc.d/functions
PID=`pidof -o %PPID /sbin/apcupsd`
case "$1" in
start)
stat_busy "Starting APCUPSD Daemon"
rm -f /etc/apcupsd/powerfail
rm -f /etc/nologin
[ -z "$PID" ] && /sbin/apcupsd -f /etc/apcupsd/apcupsd.conf
if [ $? -gt 0 ]; then
stat_fail
else
PID=`pidof -o %PPID /sbin/apcupsd`
echo $PID > /var/run/apcupsd.pid
add_daemon apcupsd
stat_done
fi
;;
stop)
stat_busy "Stopping APCUPSD Daemon"
[ ! -z "$PID" ] && kill $PID &> /dev/null
if [ $? -gt 0 ]; then
stat_fail
else
rm /var/run/apcupsd.pid
rm_daemon apcupsd
stat_done
fi
;;
restart)
$0 stop
sleep 2
$0 start
;;
status)
/sbin/apcaccess status
;;
*)
echo "usage: $0 {start|stop|restart|status}"
esac
exit 0

3
community/apg/ChangeLog Normal file
View file

@ -0,0 +1,3 @@
2007-06-28 tardo <tardo@nagi-fanboi.net>
* Built for x86_64

26
community/apg/PKGBUILD Normal file
View file

@ -0,0 +1,26 @@
# $Id: PKGBUILD 82 2009-07-17 19:56:55Z aaron $
# Maintainer: eric <eric@archlinux.org>
# Contributor: Manolis Tzanidakis
pkgname=apg
pkgver=2.2.3
pkgrel=1
pkgdesc="Automated Password Generator."
arch=(i686 x86_64)
url="http://www.adel.nursat.kz/apg/index.shtml"
license=('custom')
depends=('glibc')
source=(http://www.adel.nursat.kz/apg/download/$pkgname-$pkgver.tar.gz)
md5sums=('3b3fc4f11e90635519fe627c1137c9ac')
build() {
cd $startdir/src/$pkgname-$pkgver
/bin/sed -i 's:^#\(CS_LIBS = -lnsl\)$:\1:' Makefile
/usr/bin/make || return 1
for i in apg apgbfm; do
/bin/install -D -m755 $i $startdir/pkg/usr/bin/$i
/bin/install -D -m644 doc/man/$i.1 $startdir/pkg/usr/man/man1/$i.1
done
install -D -m 644 COPYING $startdir/pkg/usr/share/licenses/$pkgname/COPYING
}
# vim: ts=2: ft=sh

View file

@ -0,0 +1,27 @@
# Contributor: Dave Pernu <u.owned@gmail.com>
# Maintainer: Firmicus <firmicus ατ gmx δοτ net>
pkgname=apparix
pkgver=08.331
_ver="08-331"
pkgrel=1
pkgdesc="Command line file browser with bookmark support"
arch=('i686' 'x86_64')
url="http://micans.org/apparix/"
license=('GPL2')
depends=('bash')
options=('!docs' 'zipman')
source=(http://micans.org/$pkgname/src/$pkgname-$_ver.tar.gz apparix.sh)
md5sums=('0d7c9a2efecf5c7b44d2ce7c5844e5de'
'70b984f427572f72e3475fd176c91d16')
build()
{
cd ${srcdir}/$pkgname-$_ver
./configure --prefix=/usr --mandir=/usr/share/man
make || return 1
make DESTDIR=${pkgdir} install
mkdir -p ${pkgdir}/etc/profile.d/
install -m755 ${srcdir}/apparix.sh ${pkgdir}/etc/profile.d/
}

View file

@ -0,0 +1,52 @@
function to()
{
if test "$2"; then
cd "$(apparix "$1" "$2" || echo .)";
else
cd "$(apparix "$1" || echo .)";
fi
pwd
}
function bm()
{
if test "$2"; then
apparix --add-mark "$1" "$2";
elif test "$1"; then
apparix --add-mark "$1";
else
apparix --add-mark;
fi
}
function portal()
{
if test "$1"; then
apparix --add-portal "$1";
else
apparix --add-portal;
fi
}
function _apparix_aliases ()
{ cur=$2
dir=$3
COMPREPLY=()
if [ "$1" == "$3" ]
then
COMPREPLY=($(cat $HOME/.apparix{rc,expand}|grep "j,.*$cur.*,"|cut -f2 -d,))
else
dir=`apparix -favour lro $dir 2>/dev/null` || return 0
eval_compreply="
COMPREPLY=( $(cd "$dir" ; ls -d *$cur* |
while read r
do
[[ -d "$r" ]] && [[ $r == *$cur* ]] && echo \"${r// /\\ }\"
done))"
eval $eval_compreply
fi
return 0
}
complete -F _apparix_aliases to

24
community/apvlv/PKGBUILD Normal file
View file

@ -0,0 +1,24 @@
# Maintainer: Stefan Husmann <stefan-husmann@t-online.de>
# Contributor: tocer.deng <tocer.deng@gmail.com>
pkgname=apvlv
pkgver=0.0.7.4
pkgrel=1
pkgdesc="A PDF Viewer which behaves like Vim"
arch=('i686' 'x86_64')
url="http://code.google.com/p/apvlv/"
license=('GPL')
depends=('poppler-glib')
source=(http://apvlv.googlecode.com/files/$pkgname-${pkgver}.tar.gz)
md5sums=('db42bfdc9dcbc747f759b342cb37f84c')
build() {
cd $srcdir/$pkgname-$pkgver
./configure --prefix=/usr --with-sysconfdir=$pkgdir/etc || return 1
sed -i 's+mandir = /usr/man+mandir = /usr/share/man+g' Makefile || return 1
make || return 1
}
package() {
cd $srcdir/$pkgname-$pkgver
make DESTDIR=$pkgdir install || return 1
}

View file

@ -0,0 +1,33 @@
# $Id: PKGBUILD 3008 2009-09-25 12:25:17Z spupykin $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Contributor: David Moore <davidm@sjsoft.com>
pkgname=aqbanking
pkgver=4.1.7
pkgrel=1
pkgdesc="A library for online banking and financial applications"
arch=(i686 x86_64)
options=('!libtool')
url="http://www.aquamaniac.de/aqbanking"
license=('GPL')
depends=('ktoblzcheck' 'libofx' 'gwenhywfar' 'qt3' 'gnutls')
options=('!makeflags')
source=("aqbanking-$pkgver.tar.gz::http://www2.aquamaniac.de/sites/download/download.php?package=03&release=44&file=01&dummy=aqbanking-$pkgver.tar.gz")
md5sums=('f7a64678d89a052928f3f43e83d3d658')
build() {
cd $startdir/src/aqbanking-$pkgver
. /etc/profile.d/qt3.sh
export PATH=/opt/qt/bin:$PATH
./configure --prefix=/usr \
--with-frontends="cbanking qbanking" \
--with-backends="aqhbci aqofxconnect"
--enable-qt3 \
--with-qt3-includes=/opt/qt/include \
--with-qt3-libs=/opt/qt/lib
make || return 1
make DESTDIR=$startdir/pkg install
}

21
community/aqpm/PKGBUILD Normal file
View file

@ -0,0 +1,21 @@
# Maintainer: Allan McRae <allan@archlinux.org>
pkgname=aqpm
pkgver=1.3.3.2
pkgrel=1
_sha1id=0470fcf7a080fc6cb314162d9673c9693a9509dd
pkgdesc="Qt wrapper around pacman's libalpm"
arch=('i686' 'x86_64')
url="http://chakra-project.org/tools-shaman.html"
license=('GPL')
depends=('pacman>3.3' 'pacman<3.4' 'polkit-qt')
makedepends=('cmake' 'automoc4')
source=(aqpm-${pkgver}.tar.gz::http://github.com/drf/aqpm/tarball/${pkgver})
md5sums=('3445a3888b36ba595934f1a106ca349f')
build() {
cd ${srcdir}/drf-aqpm-${_sha1id}
cmake . -DCMAKE_INSTALL_PREFIX=/usr
make || return 1
make DESTDIR=$pkgdir install
}

View file

@ -0,0 +1,28 @@
# Maintainer: Douglas Soares de Andrade <dsandrade@gmail.com>
# Contributor: Aquila Deus <aquila.deus@gmail.com>
# Contributor: Vinay Shastry <vinayshastry@gmail.com>
pkgname=aqua-data-studio
pkgver=4.7.2
pkgrel=2
pkgdesc="Aqua Data Studio is an universal database query tool and administration tool. Free for personal/educational use."
arch=('i686' 'x86_64')
url="http://www.aquafold.com/"
depends=('j2re')
source=(http://aquafold.fileburst.com/download/v$pkgver/java/ads-java-novm-$pkgver.zip datastudio.run)
md5sums=('76e4c898783291905f342b56cf99d2ac' '7ba1791c7f2de2d3b15b152f348263d8')
license=('custom')
build() {
cd $startdir/src/datastudio
mkdir -p $startdir/pkg/usr/{bin,lib/datastudio}
cp -rd * $startdir/pkg/usr/lib/datastudio
cp ../datastudio.run $startdir/pkg/usr/bin/datastudio
# Licenses:
mkdir -p $startdir/pkg/usr/share/licenses/aqua-data-studio
cp License.txt $startdir/pkg/usr/share/licenses/aqua-data-studio/LICENSE
cp ./license/* $startdir/pkg/usr/share/licenses/aqua-data-studio/
}

View file

@ -0,0 +1,21 @@
#!/bin/bash
ADS_HOME="`dirname $0`/../lib/datastudio"
for j in ${ADS_HOME}/lib/*.jar; do
export CLASSPATH="${j}:${CLASSPATH}"
done
unset j
if test x${JDBC_DIR} = x; then
JDBC_DIR="/usr/local/lib/jdbc"
fi
if test `ls ${JDBC_DIR}/*.jar 2>/dev/null | wc -l` != 0; then
for j in ${JDBC_DIR}/*.jar; do
export CLASSPATH=${j}:${CLASSPATH}
done
fi
unset j
exec java ${JAVA_OPTS} -cp "${CLASSPATH}" com.aquafold.datastudio.DataStudio

View file

@ -0,0 +1,2 @@
2007-06-26 tardo <tardo@nagi-fanboi.net>
* Built for x86_64

View file

@ -0,0 +1,20 @@
# $Id: PKGBUILD 82 2009-07-17 19:56:55Z aaron $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Maintainer: Ben Mazer <blm@groknil.org>
pkgname=arch-artwork
pkgver=0.2.1
pkgrel=2
pkgdesc="collection of artwork related to Arch"
arch=('i686' 'x86_64')
url="http://code.google.com/p/archlinux-stuff/wiki/IndexEn"
license=('GPL')
install=arch-artwork.install
source=(http://archlinux-stuff.googlecode.com/files/arch-artwork-$pkgver.tar.bz2)
md5sums=('b8142b1e0be326407e4c65eacc688f9c')
build() {
cd $startdir/src
mkdir -p $startdir/pkg/usr/share/
cp -R arch-artwork $startdir/pkg/usr/share
}

Some files were not shown because too many files have changed in this diff Show more