Estimated read time: 1 minutes
Estimated read time: 1 minutes
Estimated read time: 1 minutes
Estimated read time: 1 minutes
Estimated read time: 1 minutes
Estimated read time: 1 minutes
syncpkg is a small script to sync packages on an given arch. an example: you're on x86_64 and you have foo-1.0 while there is already foo-2.0 in darcs, then it'll find this package, build it and if the build was successfull, i'll upload the package
the only parameter it requires is the max pkgs you want to build (if that number is too high then it may start to build pkgs others already built)
$ tail -f build.log Fri Dec 30 00:21:56 CET 2005 number of pkgs to build: 99 Fri Dec 30 00:21:56 CET 2005 making package: foomatic-filters-ppds Fri Dec 30 00:22:13 CET 2005 finished making package foomatic-filters-ppds with exit code 0 Fri Dec 30 00:22:13 CET 2005 making package: db Fri Dec 30 00:27:18 CET 2005 finished making package db with exit code 0 Fri Dec 30 00:29:24 CET 2005 build finished, pkgs built: 2
Estimated read time: 1 minutes
Estimated read time: 1 minutes
i started to add package splitting support to pacman today. pacman3/libalpm is not affected, basically makepkg, updatesync and gensync have to me modified. the makepkg part is now ready. here is a sample FrugalBuild:
pkgname=cabextract
pkgver=1.1
pkgrel=2
pkgdesc="a program to extract Microsoft Cabinet files"
url="http://www.kyz.uklinux.net/cabextract.php"
depends=('basedep1' 'basedep2')
groups=('apps')
archs=('i686' 'x86_64')
up2date="lynx -dump http://www.kyz.uklinux.net/cabextract.php |grep 'cabextract source code'|tr -s ' '|cut -d ' ' -f 6"
source=(http://www.kyz.uklinux.net/downloads/$pkgname-$pkgver.tar.gz)
sha1sums=('359c8f4ec9c62d9dac5d572269b607b2cae4fbf7')subpkgs=('cabextract-man' 'cabextract-bin')
subdescs=('manpage for cabextract' 'cabextract binaries')
subdepends=('man foo' 'glibc bar')
subreplaces=('' 'replacebin1 replacebin2')
build()
{
Fbuild
Fsplit $pkgname-man usr/man
Fsplit $pkgname-bin usr/bin
}
to build this you'll need pacman-tools from darcs and pacman from darcs, too
Estimated read time: 1 minutes
Estimated read time: 1 minutes
io timeout after 300 seconds -- exiting rsync error: timeout in data send/receive (code 30) at io.c(181)reading again man 5 rsyncd.conf:
timeout (...) A good choice for anonymous rsync daemons may be 600 (giving a 10 minute timeout).and yes, adding "timeout = 600" to the relevant module solved the problems :)