diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2009-08-19 07:37:44 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2009-08-19 07:37:44 +0000 |
commit | 3b485b56c7cd847d57795dc259642418a555de15 (patch) | |
tree | ab0caca1c8e2edcf725df09447bde7e131214206 | |
parent | b178c366d080ebc3ed82ba6de898065386afd70d (diff) | |
parent | b450791960f8df335ce691c08ac79e606f4c2779 (diff) | |
download | aports-3b485b56c7cd847d57795dc259642418a555de15.tar.bz2 aports-3b485b56c7cd847d57795dc259642418a555de15.tar.xz |
Merge commit 'larena/master'
-rwxr-xr-x | extra/amavisd-new/amavisd-new.pre-install | 4 | ||||
-rw-r--r-- | main/perl-netaddr-ip/APKBUILD | 26 | ||||
-rw-r--r-- | main/postfix-policyd-spf-perl/APKBUILD | 20 |
3 files changed, 50 insertions, 0 deletions
diff --git a/extra/amavisd-new/amavisd-new.pre-install b/extra/amavisd-new/amavisd-new.pre-install new file mode 100755 index 0000000000..aaaa763c80 --- /dev/null +++ b/extra/amavisd-new/amavisd-new.pre-install @@ -0,0 +1,4 @@ +#!/bin/sh + +addgroup amavis +adduser -D -S -G amavis -h /var/amavis -s /bin/false amavis diff --git a/main/perl-netaddr-ip/APKBUILD b/main/perl-netaddr-ip/APKBUILD new file mode 100644 index 0000000000..c1e687de00 --- /dev/null +++ b/main/perl-netaddr-ip/APKBUILD @@ -0,0 +1,26 @@ +# Contributor: Leonardo Arena <rnalrd@gmail.com> +# Maintainer: Leonardo Arena <rnalrd@gmail.com> +pkgname=perl-netaddr-ip +_realname=NetAddr-IP +pkgver=4.027 +pkgrel=0 +pkgdesc="Perl extension for managing IPv4 and IPv6 addresses and subnets" +url="http://search.cpan.org/~miker/NetAddr-IP-$pkgver/" +license="Unknown" +depends="perl" +makedepends="perl-dev" +install= +subpackages="$pkgname-doc" +source="http://search.cpan.org/CPAN/authors/id/M/MI/MIKER/$_realname-$pkgver.tar.gz" + +build() { + cd "$srcdir/$_realname-$pkgver" + + PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor || return 1 + make || return 1 + make DESTDIR="$pkgdir" install + # creates file collision among perl modules + find "$pkgdir" -name perllocal.pod -delete +} + +md5sums="c4a21a76e5b1b9f4c8e9810b78559d7b NetAddr-IP-4.027.tar.gz" diff --git a/main/postfix-policyd-spf-perl/APKBUILD b/main/postfix-policyd-spf-perl/APKBUILD new file mode 100644 index 0000000000..6b7a876e32 --- /dev/null +++ b/main/postfix-policyd-spf-perl/APKBUILD @@ -0,0 +1,20 @@ +# Maintainer: Leonardo Arena <rnalrd@gmail.com> +pkgname=postfix-policyd-spf-perl +pkgver=2.007 +pkgrel=0 +pkgdesc="A Sender Policy Framework implementation" +url="http://www.openspf.org/Software" +license="GPL" +depends="perl perl-mail-spf perl-netaddr-ip" +makedepends="" +install= +subpackages="" +source="http://www.openspf.org/blobs/$pkgname-$pkgver.tar.gz" + +build() { + cd "$srcdir/$pkgname-$pkgver" + + install -m755 -D "$srcdir"/$pkgname-$pkgver/$pkgname "$pkgdir"/usr/bin/$pkgname +} + +md5sums="69b501012907236fd39975eadf29848a postfix-policyd-spf-perl-2.007.tar.gz" |