summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--main/perl-date-calc/APKBUILD25
-rw-r--r--main/pflogsumm/APKBUILD20
-rw-r--r--testing/backuppc/APKBUILD4
-rw-r--r--[-rwxr-xr-x]testing/backuppc/backuppc.pre-install3
4 files changed, 49 insertions, 3 deletions
diff --git a/main/perl-date-calc/APKBUILD b/main/perl-date-calc/APKBUILD
new file mode 100644
index 000000000..fa5ed41d4
--- /dev/null
+++ b/main/perl-date-calc/APKBUILD
@@ -0,0 +1,25 @@
+# Maintainer: Leonardo Arena <rnalrd@gmail.com>
+pkgname=perl-date-calc
+_realname=Date-Calc
+pkgver=6.3
+pkgrel=0
+pkgdesc="Perl module for Gregorian calendar date calculations"
+url="http://search.cpan.org/~jaslong/Mail-DKIM-0.36/"
+license="Perl Artistic GPL"
+depends="perl"
+makedepends="perl-dev"
+install=
+subpackages="$pkgname-doc"
+source="http://search.cpan.org/CPAN/authors/id/S/ST/STBEY/$_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 UNINST=1
+ # creates file collision among perl modules
+ find "$pkgdir" -name perllocal.pod -delete
+}
+
+md5sums="9b64555b7051c1beb6b61daead2d01b3 Date-Calc-6.3.tar.gz"
diff --git a/main/pflogsumm/APKBUILD b/main/pflogsumm/APKBUILD
new file mode 100644
index 000000000..7939299a5
--- /dev/null
+++ b/main/pflogsumm/APKBUILD
@@ -0,0 +1,20 @@
+# Maintainer: Leonardo Arena <rnalrd@gmail.com>
+pkgname=pflogsumm
+pkgver=1.1.1
+pkgrel=0
+pkgdesc="Pflogsumm is a log analyzer for Postfix logs"
+url="http://jimsun.linxnet.com/postfix_contrib.html"
+license="GPL-2"
+depends="perl perl-date-calc"
+subpackages="$pkgname-doc"
+source="http://jimsun.linxnet.com/downloads/$pkgname-$pkgver.tar.gz"
+
+_builddir="$srcdir"/$pkgname-$pkgver
+
+build() {
+ cd "$_builddir"
+ install -D -m644 pflogsumm.1 "$pkgdir"/usr/share/man/man1/pflogsumm.1
+ install -D -m755 pflogsumm.pl "$pkgdir"/usr/bin/pflogsumm
+}
+
+md5sums="2f570477b2e205f9dfc1df13f00b5c0d pflogsumm-1.1.1.tar.gz"
diff --git a/testing/backuppc/APKBUILD b/testing/backuppc/APKBUILD
index 5b4cb98e9..c1298851d 100644
--- a/testing/backuppc/APKBUILD
+++ b/testing/backuppc/APKBUILD
@@ -4,7 +4,7 @@ pkgname="backuppc"
_realname="BackupPC"
pkgver="3.2.0b1"
_realver="3.2.0beta1"
-pkgrel=0
+pkgrel=1
pkgdesc="High-performance, enterprise-grade backup system"
url="http://backuppc.sourceforge.net/"
license="GPL"
@@ -43,7 +43,7 @@ build() {
--compress-level=3 \
--config-dir "$pkgdir"/etc/BackupPC \
--cgi-dir "$pkgdir"/var/www/cgi-bin \
- --data-dir "$pkgdir"/data/BackupPC \
+ --data-dir "$pkgdir"/var/lib/backup/data/BackupPC \
--hostname backuppc \
--html-dir "$pkgdir"/var/www/htdocs/BackupPC \
--html-dir-url /BackupPC \
diff --git a/testing/backuppc/backuppc.pre-install b/testing/backuppc/backuppc.pre-install
index 1a1736fa6..00a629f4d 100755..100644
--- a/testing/backuppc/backuppc.pre-install
+++ b/testing/backuppc/backuppc.pre-install
@@ -1,2 +1,3 @@
#!/bin/sh
-adduser -h /var/lib/backuppc -s /bin/false -S -D -H &>/dev/null
+adduser -h /var/lib/backuppc -s /bin/false -S -D -H backuppc &>/dev/null
+exit 0