aboutsummaryrefslogtreecommitdiffstats
path: root/main
diff options
context:
space:
mode:
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 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"