summaryrefslogtreecommitdiffstats
path: root/main
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2009-08-19 07:37:44 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2009-08-19 07:37:44 +0000
commit3b485b56c7cd847d57795dc259642418a555de15 (patch)
treeab0caca1c8e2edcf725df09447bde7e131214206 /main
parentb178c366d080ebc3ed82ba6de898065386afd70d (diff)
parentb450791960f8df335ce691c08ac79e606f4c2779 (diff)
downloadaports-3b485b56c7cd847d57795dc259642418a555de15.tar.bz2
aports-3b485b56c7cd847d57795dc259642418a555de15.tar.xz
Merge commit 'larena/master'
Diffstat (limited to 'main')
-rw-r--r--main/perl-netaddr-ip/APKBUILD26
-rw-r--r--main/postfix-policyd-spf-perl/APKBUILD20
2 files changed, 46 insertions, 0 deletions
diff --git a/main/perl-netaddr-ip/APKBUILD b/main/perl-netaddr-ip/APKBUILD
new file mode 100644
index 000000000..c1e687de0
--- /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 000000000..6b7a876e3
--- /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"