You are not logged in.
Hello,
I'm attempting to install amavisd-new. One of the required packages for amavisd-new is perl-unix-syslog. I have downloaded the tarball from the AUR extracted and tried to run the makepkg command. However, it fails when trying to download the source from any of the mirrors in order to build the package. I'm a bit stuck and I have no idea where to go to next. I would appreciate help on this particular issue.
Thanks
Offline
The source is "missing" because the version is out of date (as noted on the AUR page).
http://search.cpan.org/~mharnisch/Unix- … /Syslog.pm
Update the pkgver variable in the PKGBUILD and regenerate the md5sums with 'makepkg -g >> PKGBUILD'.
Edit: maybe I'm unfamiliar with perl PKGBUILDs, but this one seems poorly written.
Last edited by falconindy (2010-07-10 16:43:25)
Offline
pkgname=perl-unix-syslog
pkgver=1.1
pkgrel=1
pkgdesc="Perl interface to the UNIX syslog calls"
arch=('any')
url="http://search.cpan.org/dist/Unix-Syslog/"
license=('GPL' 'PerlArtistic')
depends=('perl>=5.8.4')
options=('!emptydirs')
source=(http://search.cpan.org/CPAN/authors/id/M/MH/MHARNISCH/Unix-Syslog-$pkgver.tar.gz)
md5sums=('73d78e309fe9508ffc9a54d84d79aac9')
build() {
cd "$srcdir/Unix-Syslog-$pkgver"
PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor || return 1
make || return 1
}
package() {
cd "$srcdir/Unix-Syslog-$pkgver"
make DESTDIR="$pkgdir" install
}
Offline