aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--backports/perl-boolean/APKBUILD41
-rw-r--r--backports/perl-class-mix/APKBUILD41
-rw-r--r--backports/perl-convert-asn1/APKBUILD39
-rw-r--r--backports/perl-crypt-eksblowfish/APKBUILD41
-rw-r--r--backports/perl-crypt-ssleay/APKBUILD39
-rw-r--r--backports/perl-crypt-x509/APKBUILD41
-rw-r--r--backports/perl-data-guid/APKBUILD41
-rw-r--r--backports/perl-data-uuid/APKBUILD41
-rw-r--r--backports/perl-date-extract/APKBUILD41
-rw-r--r--backports/perl-datetime-format-natural/APKBUILD41
-rw-r--r--backports/perl-dbix-searchbuilder/APKBUILD41
-rw-r--r--backports/perl-email-address-list/APKBUILD41
-rw-r--r--backports/perl-file-which/APKBUILD37
-rw-r--r--backports/perl-html-formattext-withlinks-andtables/APKBUILD43
-rw-r--r--backports/perl-html-formattext-withlinks/APKBUILD41
-rw-r--r--backports/perl-locale-maketext-fuzzy/APKBUILD41
-rw-r--r--backports/perl-lwp-protocol-https/APKBUILD39
-rw-r--r--backports/perl-module-refresh/APKBUILD41
-rw-r--r--backports/perl-module-util/APKBUILD39
-rw-r--r--backports/perl-mozilla-ca/APKBUILD39
-rw-r--r--backports/perl-path-class/APKBUILD40
-rw-r--r--backports/perl-probe-perl/APKBUILD38
-rw-r--r--backports/perl-role-basic/APKBUILD41
-rw-r--r--backports/perl-string-shellquote/APKBUILD41
-rw-r--r--backports/perl-symbol-global-name/APKBUILD41
-rw-r--r--backports/perl-test-mocktime/APKBUILD41
-rw-r--r--backports/perl-test-script/APKBUILD37
-rw-r--r--backports/perl-text-quoted/APKBUILD41
-rw-r--r--backports/rt4/0001-email-allow-envelope-from-overriding-from-templates.patch31
-rw-r--r--backports/rt4/APKBUILD184
-rw-r--r--backports/rt4/rt-autoconf-version.patch11
-rw-r--r--backports/rt4/rt-varpath.patch20
-rw-r--r--backports/rt4/rt4.pre-install5
-rw-r--r--backports/rt4/rt4.pre-upgrade5
34 files changed, 1384 insertions, 0 deletions
diff --git a/backports/perl-boolean/APKBUILD b/backports/perl-boolean/APKBUILD
new file mode 100644
index 0000000000..be3ae622e9
--- /dev/null
+++ b/backports/perl-boolean/APKBUILD
@@ -0,0 +1,41 @@
+# Automatically generated by apkbuild-cpan, template 1
+# Contributor: Leonardo Arena <rnalrd@alpinelinux.org>
+# Maintainer: Leonardo Arena <rnalrd@alpinelinux.org>
+pkgname=perl-boolean
+_pkgreal=boolean
+pkgver=0.30
+pkgrel=0
+pkgdesc="Boolean support for Perl"
+url="http://search.cpan.org/dist/boolean/"
+arch="noarch"
+license="GPL PerlArtistic"
+cpandepends=""
+cpanmakedepends=" "
+depends="$cpandepends"
+makedepends="perl-dev $cpanmakedepends"
+subpackages="$pkgname-doc"
+source="http://search.cpan.org/CPAN/authors/id/I/IN/INGY/$_pkgreal-$pkgver.tar.gz"
+
+_builddir="$srcdir/$_pkgreal-$pkgver"
+
+prepare() {
+ cd "$_builddir"
+ export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'`
+ PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
+}
+
+build() {
+ cd "$_builddir"
+ export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'`
+ make && make test
+}
+
+package() {
+ cd "$_builddir"
+ make DESTDIR="$pkgdir" install || return 1
+ find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
+}
+
+md5sums="f4f23302481e82402048a91a8fa2e078 boolean-0.30.tar.gz"
+sha256sums="f46e7a6121d5728ef2ce285a82d1dde94f6dfa0b846a612db75b1dcd37b9fc7f boolean-0.30.tar.gz"
+sha512sums="6ed9b40ddddeb6be401a7b79962569c4f443d8e9bac0282ad62e1cfebc897970cc8c35ea6c41187a158449211695bb88ac52d0edc46ae834f368336ac7fa5d3d boolean-0.30.tar.gz"
diff --git a/backports/perl-class-mix/APKBUILD b/backports/perl-class-mix/APKBUILD
new file mode 100644
index 0000000000..72af68f911
--- /dev/null
+++ b/backports/perl-class-mix/APKBUILD
@@ -0,0 +1,41 @@
+# Automatically generated by apkbuild-cpan, template 1
+# Contributor: Natanael Copa <ncopa@alpinelinux.org>
+# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
+pkgname=perl-class-mix
+_pkgreal=Class-Mix
+pkgver=0.005
+pkgrel=0
+pkgdesc="dynamic class mixing"
+url="http://search.cpan.org/dist/Class-Mix/"
+arch="noarch"
+license="GPL PerlArtistic"
+cpandepends="perl-params-classify"
+cpanmakedepends=" "
+depends="$cpandepends"
+makedepends="perl-dev $cpanmakedepends"
+subpackages="$pkgname-doc"
+source="http://search.cpan.org/CPAN/authors/id/Z/ZE/ZEFRAM/$_pkgreal-$pkgver.tar.gz"
+
+_builddir="$srcdir/$_pkgreal-$pkgver"
+
+prepare() {
+ cd "$_builddir"
+ export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'`
+ perl Build.PL installdirs=vendor || return 1
+}
+
+build() {
+ cd "$_builddir"
+ export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'`
+ ./Build && ./Build test
+}
+
+package() {
+ cd "$_builddir"
+ ./Build install destdir="$pkgdir" || return 1
+ find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
+}
+
+md5sums="7d6c4e70dea13678d845898a4a1565c0 Class-Mix-0.005.tar.gz"
+sha256sums="054d0db62df90f22601f2a18fc84e9ca026d81601f5940b2fcc543e39d69b36b Class-Mix-0.005.tar.gz"
+sha512sums="9486a8ec4f6b1a5483610cdac110eed219bb849e8895a350309167206f8caef4209abbbc340a467f4c3b2ca3afc6e2b49b66601110517b66684689f4d88d20c9 Class-Mix-0.005.tar.gz"
diff --git a/backports/perl-convert-asn1/APKBUILD b/backports/perl-convert-asn1/APKBUILD
new file mode 100644
index 0000000000..f8ad56c3c2
--- /dev/null
+++ b/backports/perl-convert-asn1/APKBUILD
@@ -0,0 +1,39 @@
+# Automatically generated by apkbuild-cpan, template 1
+# Contributor: Francesco Colista <francesco.colista@gmail.com>
+# Maintainer: Francesco Colista <francesco.colista@gmail.com>
+pkgname=perl-convert-asn1
+_pkgreal=Convert-ASN1
+pkgver=0.26
+pkgrel=0
+pkgdesc="Convert between perl data structures and ASN.1 encoded packets"
+url="http://search.cpan.org/dist/Convert-ASN1/"
+arch="noarch"
+license="GPL PerlArtistic"
+cpandepends=""
+cpanmakedepends=" "
+depends="$cpandepends"
+makedepends="perl-dev $cpanmakedepends"
+subpackages="$pkgname-doc"
+source="http://search.cpan.org/CPAN/authors/id/G/GB/GBARR/$_pkgreal-$pkgver.tar.gz"
+
+_builddir="$srcdir/$_pkgreal-$pkgver"
+
+prepare() {
+ cd "$_builddir"
+ export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'`
+ PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
+}
+
+build() {
+ cd "$_builddir"
+ export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'`
+ make && make test
+}
+
+package() {
+ cd "$_builddir"
+ make DESTDIR="$pkgdir" install || return 1
+ find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
+}
+
+md5sums="1c846c8c1125e6a075444abe65d99b63 Convert-ASN1-0.26.tar.gz"
diff --git a/backports/perl-crypt-eksblowfish/APKBUILD b/backports/perl-crypt-eksblowfish/APKBUILD
new file mode 100644
index 0000000000..98b85a593b
--- /dev/null
+++ b/backports/perl-crypt-eksblowfish/APKBUILD
@@ -0,0 +1,41 @@
+# Automatically generated by apkbuild-cpan, template 1
+# Contributor: Leonardo Arena <rnalrd@alpinelinux.org>
+# Maintainer: Leonardo Arena <rnalrd@alpinelinux.org>
+pkgname=perl-crypt-eksblowfish
+_pkgreal=Crypt-Eksblowfish
+pkgver=0.009
+pkgrel=0
+pkgdesc="the Eksblowfish block cipher"
+url="http://search.cpan.org/dist/Crypt-Eksblowfish/"
+arch="all"
+license="GPL PerlArtistic"
+cpandepends="perl-class-mix"
+cpanmakedepends=" "
+depends="$cpandepends"
+makedepends="perl-dev $cpanmakedepends"
+subpackages="$pkgname-doc"
+source="http://search.cpan.org/CPAN/authors/id/Z/ZE/ZEFRAM/$_pkgreal-$pkgver.tar.gz"
+
+_builddir="$srcdir/$_pkgreal-$pkgver"
+
+prepare() {
+ cd "$_builddir"
+ export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'`
+ perl Build.PL installdirs=vendor || return 1
+}
+
+build() {
+ cd "$_builddir"
+ export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'`
+ ./Build && ./Build test
+}
+
+package() {
+ cd "$_builddir"
+ ./Build install destdir="$pkgdir" || return 1
+ find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
+}
+
+md5sums="d2907b00cc500fc523bf86bb427d9bb8 Crypt-Eksblowfish-0.009.tar.gz"
+sha256sums="3cc7126d5841107237a9be2dc5c7fbc167cf3c4b4ce34678a8448b850757014c Crypt-Eksblowfish-0.009.tar.gz"
+sha512sums="ca66a1ca4fd71388f25dc77c943e2416ed8534576309dd75f19a7219457418140c1bd21887d61918c34d3d6f9e11ea822b4661d30c6edf7f3673bbcd9a00a51b Crypt-Eksblowfish-0.009.tar.gz"
diff --git a/backports/perl-crypt-ssleay/APKBUILD b/backports/perl-crypt-ssleay/APKBUILD
new file mode 100644
index 0000000000..2556be0e42
--- /dev/null
+++ b/backports/perl-crypt-ssleay/APKBUILD
@@ -0,0 +1,39 @@
+# Automatically generated by apkbuild-cpan, template 1
+# Contributor: Leonardo Arena <rnalrd@gmail.com>
+# Maintainer:
+pkgname=perl-crypt-ssleay
+_realname=Crypt-SSLeay
+pkgver=0.72
+pkgrel=0
+pkgdesc="OpenSSL Support for LWP"
+url="http://search.cpan.org/dist/Crypt-SSLeay/"
+arch="all"
+license="GPL PerlArtistic"
+cpandepends=""
+cpanmakedepends=""
+depends="$cpandepends perl-path-class perl-try-tiny"
+makedepends="openssl-dev perl-dev $cpanmakedepends"
+subpackages="$pkgname-doc"
+source="http://search.cpan.org/CPAN/authors/id/N/NA/NANIS/$_realname-$pkgver.tar.gz"
+
+_builddir="$srcdir/$_realname-$pkgver"
+
+prepare() {
+ cd "$_builddir"
+ PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
+}
+
+build() {
+ cd "$_builddir"
+ make && make test
+}
+
+package() {
+ cd "$_builddir"
+ make DESTDIR="$pkgdir" install || return 1
+ find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
+}
+
+md5sums="77d955c9056dbb12413d95d8852a9cdf Crypt-SSLeay-0.72.tar.gz"
+sha256sums="f5d34f813677829857cf8a0458623db45b4d9c2311daaebe446f9e01afa9ffe8 Crypt-SSLeay-0.72.tar.gz"
+sha512sums="af7a2878df94e116e9aad9a0f028f2e4f89074aaf31672915162f86e55211632d65c1cb00f3ebd25644d77adf8eecdd244dba6a004d93ab90289ab34fe4caaf4 Crypt-SSLeay-0.72.tar.gz"
diff --git a/backports/perl-crypt-x509/APKBUILD b/backports/perl-crypt-x509/APKBUILD
new file mode 100644
index 0000000000..8cec3a84ef
--- /dev/null
+++ b/backports/perl-crypt-x509/APKBUILD
@@ -0,0 +1,41 @@
+# Automatically generated by apkbuild-cpan, template 1
+# Contributor: Leonardo Arena <rnalrd@alpinelinux.org>
+# Maintainer: Leonardo Arena <rnalrd@alpinelinux.org>
+pkgname=perl-crypt-x509
+_pkgreal=Crypt-X509
+pkgver=0.51
+pkgrel=0
+pkgdesc="Parse a X.509 certificate"
+url="http://search.cpan.org/dist/Crypt-X509/"
+arch="noarch"
+license="GPL PerlArtistic"
+cpandepends="perl-convert-asn1"
+cpanmakedepends=" "
+depends="$cpandepends"
+makedepends="perl-dev $cpanmakedepends"
+subpackages="$pkgname-doc"
+source="http://search.cpan.org/CPAN/authors/id/A/AJ/AJUNG/$_pkgreal-$pkgver.tar.gz"
+
+_builddir="$srcdir/$_pkgreal-$pkgver"
+
+prepare() {
+ cd "$_builddir"
+ export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'`
+ PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
+}
+
+build() {
+ cd "$_builddir"
+ export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'`
+ make && make test
+}
+
+package() {
+ cd "$_builddir"
+ make DESTDIR="$pkgdir" install || return 1
+ find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
+}
+
+md5sums="aadab2960d2bd65a212d1bd7f50e282a Crypt-X509-0.51.tar.gz"
+sha256sums="0fa08246f6342cc4f6d5592ffb4a48b68a6aa49c5d65d0773769252d9ba743f3 Crypt-X509-0.51.tar.gz"
+sha512sums="3004bffe23de076a534e2aa75b8892fc8aa3cfebf1d03e177c58be4ba245f958748c68a302f8e97d2dd9fc1728c26fd08fe7b5e238acfacef6b99900bd7aa3a1 Crypt-X509-0.51.tar.gz"
diff --git a/backports/perl-data-guid/APKBUILD b/backports/perl-data-guid/APKBUILD
new file mode 100644
index 0000000000..8f450f8e8d
--- /dev/null
+++ b/backports/perl-data-guid/APKBUILD
@@ -0,0 +1,41 @@
+# Automatically generated by apkbuild-cpan, template 1
+# Contributor: Leonardo Arena <rnalrd@alpinelinux.org>
+# Maintainer: Leonardo Arena <rnalrd@alpinelinux.org>
+pkgname=perl-data-guid
+_pkgreal=Data-GUID
+pkgver=0.048
+pkgrel=0
+pkgdesc="globally unique identifiers"
+url="http://search.cpan.org/dist/Data-GUID/"
+arch="noarch"
+license="GPL PerlArtistic"
+cpandepends="perl-sub-install perl-sub-exporter perl-data-uuid"
+cpanmakedepends=" "
+depends="$cpandepends"
+makedepends="perl-dev $cpanmakedepends"
+subpackages="$pkgname-doc"
+source="http://search.cpan.org/CPAN/authors/id/R/RJ/RJBS/$_pkgreal-$pkgver.tar.gz"
+
+_builddir="$srcdir/$_pkgreal-$pkgver"
+
+prepare() {
+ cd "$_builddir"
+ export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'`
+ PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
+}
+
+build() {
+ cd "$_builddir"
+ export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'`
+ make && make test
+}
+
+package() {
+ cd "$_builddir"
+ make DESTDIR="$pkgdir" install || return 1
+ find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
+}
+
+md5sums="8709af7609214edcad1ec99ecd62f048 Data-GUID-0.048.tar.gz"
+sha256sums="cb263b1e6eeecc5797de6f945d42ace2db26c156172883550b73fa2ecdab29dc Data-GUID-0.048.tar.gz"
+sha512sums="42c0472f3614d342440c41aa009e906cd2874c7578cf1a197711a22ff2c02227cec84ee6e497b64e8f52843a371d10a09732c713c58a6d189aba399916581cd3 Data-GUID-0.048.tar.gz"
diff --git a/backports/perl-data-uuid/APKBUILD b/backports/perl-data-uuid/APKBUILD
new file mode 100644
index 0000000000..f4b1b98994
--- /dev/null
+++ b/backports/perl-data-uuid/APKBUILD
@@ -0,0 +1,41 @@
+# Automatically generated by apkbuild-cpan, template 1
+# Contributor: Leonardo Arena <rnalrd@alpinelinux.org>
+# Maintainer: Leonardo Arena <rnalrd@alpinelinux.org>
+pkgname=perl-data-uuid
+_pkgreal=Data-UUID
+pkgver=1.219
+pkgrel=0
+pkgdesc="Globally/Universally Unique Identifiers (GUIDs/UUIDs)"
+url="http://search.cpan.org/dist/Data-UUID/"
+arch="all"
+license="bsd"
+cpandepends=""
+cpanmakedepends=" "
+depends="$cpandepends"
+makedepends="perl-dev $cpanmakedepends"
+subpackages="$pkgname-doc"
+source="http://search.cpan.org/CPAN/authors/id/R/RJ/RJBS/$_pkgreal-$pkgver.tar.gz"
+
+_builddir="$srcdir/$_pkgreal-$pkgver"
+
+prepare() {
+ cd "$_builddir"
+ export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'`
+ PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
+}
+
+build() {
+ cd "$_builddir"
+ export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'`
+ make && make test
+}
+
+package() {
+ cd "$_builddir"
+ make DESTDIR="$pkgdir" install || return 1
+ find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
+}
+
+md5sums="8ca1f802b40d9b563f4de26968677097 Data-UUID-1.219.tar.gz"
+sha256sums="c736d39a6fabf163423b85d94c62cbba6f57ca2f3115e21a0d0c91c23836da28 Data-UUID-1.219.tar.gz"
+sha512sums="b4a09c0615876b5d0c8304459eb54300fc7e4f808969e3ccc2a929e2d47159cf0aa55e501e8f2a2a795ec31d7e7701978fd4c834eda2c19abc7e131fcb39b35e Data-UUID-1.219.tar.gz"
diff --git a/backports/perl-date-extract/APKBUILD b/backports/perl-date-extract/APKBUILD
new file mode 100644
index 0000000000..e32c1ce7ff
--- /dev/null
+++ b/backports/perl-date-extract/APKBUILD
@@ -0,0 +1,41 @@
+# Automatically generated by apkbuild-cpan, template 1
+# Contributor: Leonardo Arena <rnalrd@alpinelinux.org>
+# Maintainer: Leonardo Arena <rnalrd@alpinelinux.org>
+pkgname=perl-date-extract
+_pkgreal=Date-Extract
+pkgver=0.04
+pkgrel=0
+pkgdesc="extract probable dates from strings"
+url="http://search.cpan.org/dist/Date-Extract/"
+arch="noarch"
+license="GPL PerlArtistic"
+cpandepends="perl-datetime-format-natural perl-class-data-inheritable perl-test-mocktime"
+cpanmakedepends=" "
+depends="$cpandepends"
+makedepends="perl-dev $cpanmakedepends"
+subpackages="$pkgname-doc"
+source="http://search.cpan.org/CPAN/authors/id/S/SA/SARTAK/$_pkgreal-$pkgver.tar.gz"
+
+_builddir="$srcdir/$_pkgreal-$pkgver"
+
+prepare() {
+ cd "$_builddir"
+ export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'`
+ PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
+}
+
+build() {
+ cd "$_builddir"
+ export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'`
+ make && make test
+}
+
+package() {
+ cd "$_builddir"
+ make DESTDIR="$pkgdir" install || return 1
+ find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
+}
+
+md5sums="da567c4c45ea1456eee6f1d05b9f9f06 Date-Extract-0.04.tar.gz"
+sha256sums="7124d9e8d745544080f612a42d8cf6b3a27eda0f4ec607d25d255ddaadb1957a Date-Extract-0.04.tar.gz"
+sha512sums="abe0221494e9ca1740ae1663adb44b673694d7616e8f989e05c34828a633cda4abd8df2bdfb47832423028d5ee67cd0d38e7b6b149b2737a8e865f1745dadb85 Date-Extract-0.04.tar.gz"
diff --git a/backports/perl-datetime-format-natural/APKBUILD b/backports/perl-datetime-format-natural/APKBUILD
new file mode 100644
index 0000000000..4777487522
--- /dev/null
+++ b/backports/perl-datetime-format-natural/APKBUILD
@@ -0,0 +1,41 @@
+# Automatically generated by apkbuild-cpan, template 1
+# Contributor: Leonardo Arena <rnalrd@alpinelinux.org>
+# Maintainer: Leonardo Arena <rnalrd@alpinelinux.org>
+pkgname=perl-datetime-format-natural
+_pkgreal=DateTime-Format-Natural
+pkgver=1.02
+pkgrel=0
+pkgdesc="Create machine readable date/time with natural parsing logic"
+url="http://search.cpan.org/dist/DateTime-Format-Natural/"
+arch="noarch"
+license="GPL PerlArtistic"
+cpandepends="perl-datetime-timezone perl-clone perl-params-validate perl-list-moreutils perl-datetime perl-boolean"
+cpanmakedepends="perl-module-util perl-test-mocktime perl-date-calc"
+depends="$cpandepends"
+makedepends="perl-dev $cpanmakedepends"
+subpackages="$pkgname-doc"
+source="http://search.cpan.org/CPAN/authors/id/S/SC/SCHUBIGER/$_pkgreal-$pkgver.tar.gz"
+
+_builddir="$srcdir/$_pkgreal-$pkgver"
+
+prepare() {
+ cd "$_builddir"
+ export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'`
+ perl Build.PL installdirs=vendor || return 1
+}
+
+build() {
+ cd "$_builddir"
+ export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'`
+ ./Build && ./Build test
+}
+
+package() {
+ cd "$_builddir"
+ ./Build install destdir="$pkgdir" || return 1
+ find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
+}
+
+md5sums="258203626de566250ef245b2b680cacc DateTime-Format-Natural-1.02.tar.gz"
+sha256sums="5479c48ade5eca9712784afee18c58308d56742a204d5ea9040d011f705303e3 DateTime-Format-Natural-1.02.tar.gz"
+sha512sums="e291fb862499e3b823bb5ac216413ee8d316bf86d731c94d7204146f14ecb21d474d78bf90d584858e95b52b7f49fa0603da30cb59016ef65678f89f78353130 DateTime-Format-Natural-1.02.tar.gz"
diff --git a/backports/perl-dbix-searchbuilder/APKBUILD b/backports/perl-dbix-searchbuilder/APKBUILD
new file mode 100644
index 0000000000..ab6d433bd3
--- /dev/null
+++ b/backports/perl-dbix-searchbuilder/APKBUILD
@@ -0,0 +1,41 @@
+# Automatically generated by apkbuild-cpan, template 1
+# Contributor: Leonardo Arena <rnalrd@alpinelinux.org>
+# Maintainer: Leonardo Arena <rnalrd@alpinelinux.org>
+pkgname=perl-dbix-searchbuilder
+_pkgreal=DBIx-SearchBuilder
+pkgver=1.65
+pkgrel=0
+pkgdesc="Encapsulate SQL queries and rows in simple perl objects"
+url="http://search.cpan.org/dist/DBIx-SearchBuilder/"
+arch="noarch"
+license="GPL PerlArtistic"
+cpandepends="perl-class-returnvalue perl-dbi perl-cache-simple-timedexpiry perl-class-accessor perl-clone perl-want perl-dbix-dbschema"
+cpanmakedepends="perl-dbd-sqlite "
+depends="$cpandepends"
+makedepends="perl-dev $cpanmakedepends"
+subpackages="$pkgname-doc"
+source="http://search.cpan.org/CPAN/authors/id/T/TS/TSIBLEY/$_pkgreal-$pkgver.tar.gz"
+
+_builddir="$srcdir/$_pkgreal-$pkgver"
+
+prepare() {
+ cd "$_builddir"
+ export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'`
+ PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
+}
+
+build() {
+ cd "$_builddir"
+ export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'`
+ make && make test
+}
+
+package() {
+ cd "$_builddir"
+ make DESTDIR="$pkgdir" install || return 1
+ find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
+}
+
+md5sums="a57146be76424d7aa8279f45a234fe5c DBIx-SearchBuilder-1.65.tar.gz"
+sha256sums="4b91265f6543031a9a267e10d5c7bc6926f100d19ac1edae36793227419ae349 DBIx-SearchBuilder-1.65.tar.gz"
+sha512sums="37abd5a0664a5b0ed08a1172f98545480682493766045797757ba551d18dba23537749fdc6647b47c5f5a337c80b7fa153f76e017c28b653fb8da10a1154b3ce DBIx-SearchBuilder-1.65.tar.gz"
diff --git a/backports/perl-email-address-list/APKBUILD b/backports/perl-email-address-list/APKBUILD
new file mode 100644
index 0000000000..fe123e7bf3
--- /dev/null
+++ b/backports/perl-email-address-list/APKBUILD
@@ -0,0 +1,41 @@
+# Automatically generated by apkbuild-cpan, template 1
+# Contributor: Leonardo Arena <rnalrd@alpinelinux.org>
+# Maintainer: Leonardo Arena <rnalrd@alpinelinux.org>
+pkgname=perl-email-address-list
+_pkgreal=Email-Address-List
+pkgver=0.01
+pkgrel=0
+pkgdesc="RFC close address list parsing"
+url="http://search.cpan.org/dist/Email-Address-List/"
+arch="noarch"
+license="GPL PerlArtistic"
+cpandepends="perl-email-address"
+cpanmakedepends="perl-json "
+depends="$cpandepends"
+makedepends="perl-dev $cpanmakedepends"
+subpackages="$pkgname-doc"
+source="http://search.cpan.org/CPAN/authors/id/R/RU/RUZ/$_pkgreal-$pkgver.tar.gz"
+
+_builddir="$srcdir/$_pkgreal-$pkgver"
+
+prepare() {
+ cd "$_builddir"
+ export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'`
+ PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
+}
+
+build() {
+ cd "$_builddir"
+ export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'`
+ make && make test
+}
+
+package() {
+ cd "$_builddir"
+ make DESTDIR="$pkgdir" install || return 1
+ find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
+}
+
+md5sums="0987dc5ba9184217fc1c8f1d28d6c906 Email-Address-List-0.01.tar.gz"
+sha256sums="8ff17fc06ff6d67d378e30f16e2e1930f2a1d5db2f7f59973b4166d38cac4a3e Email-Address-List-0.01.tar.gz"
+sha512sums="0004c808fc299764b0f717391d8b21cdbdf2d9979fb08c428ef2d2428ab206e134e700b74dd8367d34690406b3693ccaed4e8865df81c2ecb7de914d2ac6e2ea Email-Address-List-0.01.tar.gz"
diff --git a/backports/perl-file-which/APKBUILD b/backports/perl-file-which/APKBUILD
new file mode 100644
index 0000000000..b3167f970c
--- /dev/null
+++ b/backports/perl-file-which/APKBUILD
@@ -0,0 +1,37 @@
+# Automatically generated by apkbuild-cpan, template 1
+# Contributor: Francesco Colista <francesco.colista@gmail.com>
+# Maintainer: Francesco Colista <francesco.colista@gmail.com>
+pkgname=perl-file-which
+_pkgreal=File-Which
+pkgver=1.09
+pkgrel=0
+pkgdesc="Portable implementation of the "which" utility"
+url="http://search.cpan.org/dist/File-Which/"
+arch="noarch"
+license="GPL PerlArtistic"
+cpandepends="perl-test-script"
+cpanmakedepends=""
+depends="$cpandepends"
+makedepends="perl-dev $cpanmakedepends"
+subpackages="$pkgname-doc"
+source="http://search.cpan.org/CPAN/authors/id/A/AD/ADAMK/$_pkgreal-$pkgver.tar.gz"
+
+_builddir="$srcdir/$_pkgreal-$pkgver"
+
+prepare() {
+ cd "$_builddir"
+ PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
+}
+
+build() {
+ cd "$_builddir"
+ make && make test
+}
+
+package() {
+ cd "$_builddir"
+ make DESTDIR="$pkgdir" install || return 1
+ find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
+}
+
+md5sums="b9429edaad7f45caafa4d458afcfd8af File-Which-1.09.tar.gz"
diff --git a/backports/perl-html-formattext-withlinks-andtables/APKBUILD b/backports/perl-html-formattext-withlinks-andtables/APKBUILD
new file mode 100644
index 0000000000..d8989b110b
--- /dev/null
+++ b/backports/perl-html-formattext-withlinks-andtables/APKBUILD
@@ -0,0 +1,43 @@
+# Automatically generated by apkbuild-cpan, template 1
+# Contributor: Leonardo Arena <rnalrd@alpinelinux.org>
+# Maintainer: Leonardo Arena <rnalrd@alpinelinux.org>
+pkgname=perl-html-formattext-withlinks-andtables
+_pkgreal=HTML-FormatText-WithLinks-AndTables
+pkgver=0.02
+pkgrel=0
+pkgdesc="Perl module for HTML-FormatText-WithLinks-AndTables"
+url="http://search.cpan.org/dist/HTML-FormatText-WithLinks-AndTables/"
+arch="noarch"
+license="GPL PerlArtistic"
+cpandepends=""
+cpanmakedepends=""
+depends="$cpandepends perl-html-formattext-withlinks"
+makedepends="perl-dev $cpanmakedepends"
+subpackages="$pkgname-doc"
+source="http://search.cpan.org/CPAN/authors/id/S/SF/SFRYER/$_pkgreal-$pkgver.tar.gz"
+
+_builddir="$srcdir/$_pkgreal"
+
+prepare() {
+ cd "$_builddir"
+ return 0
+}
+
+build() {
+ cd "$_builddir"
+ if [ -e Build.PL ]; then
+ perl Build.PL installdirs=vendor || return 1
+ else
+ PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor || return 1
+ fi
+}
+
+package() {
+ cd "$_builddir"
+ make DESTDIR="$pkgdir" install UNINST=1
+ find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
+}
+
+md5sums="804146aa9e49a5b1af4f63fecd9b0c28 HTML-FormatText-WithLinks-AndTables-0.02.tar.gz"
+sha256sums="4e97159a8b8ab5ea0c417da2931221124dc0e1221a3307b270891d6f21852224 HTML-FormatText-WithLinks-AndTables-0.02.tar.gz"
+sha512sums="905bb42cbdf9591418dcf738ee1aaa6b6e1d56c47aaf8c4194bb17b43745cc6d82a4eb65d74ad8c95531940ad67c539329b327d5385f88e80f0a879a6e10bba2 HTML-FormatText-WithLinks-AndTables-0.02.tar.gz"
diff --git a/backports/perl-html-formattext-withlinks/APKBUILD b/backports/perl-html-formattext-withlinks/APKBUILD
new file mode 100644
index 0000000000..2b86e348c6
--- /dev/null
+++ b/backports/perl-html-formattext-withlinks/APKBUILD
@@ -0,0 +1,41 @@
+# Automatically generated by apkbuild-cpan, template 1
+# Contributor: Leonardo Arena <rnalrd@alpinelinux.org>
+# Maintainer: Leonardo Arena <rnalrd@alpinelinux.org>
+pkgname=perl-html-formattext-withlinks
+_pkgreal=HTML-FormatText-WithLinks
+pkgver=0.14
+pkgrel=0
+pkgdesc="HTML to text conversion with links as footnotes"
+url="http://search.cpan.org/dist/HTML-FormatText-WithLinks/"
+arch="noarch"
+license="GPL PerlArtistic"
+cpandepends="perl-html-format perl-uri perl-html-tree"
+cpanmakedepends=" "
+depends="$cpandepends"
+makedepends="perl-dev $cpanmakedepends"
+subpackages="$pkgname-doc"
+source="http://search.cpan.org/CPAN/authors/id/S/ST/STRUAN/$_pkgreal-$pkgver.tar.gz"
+
+_builddir="$srcdir/$_pkgreal-$pkgver"
+
+prepare() {
+ cd "$_builddir"
+ export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'`
+ perl Build.PL installdirs=vendor || return 1
+}
+
+build() {
+ cd "$_builddir"
+ export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'`
+ ./Build && ./Build test
+}
+
+package() {
+ cd "$_builddir"
+ ./Build install destdir="$pkgdir" || return 1
+ find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
+}
+
+md5sums="264a1436883d20b81e669c65a1f97367 HTML-FormatText-WithLinks-0.14.tar.gz"
+sha256sums="35ececbc8a3ceda23e03c1e88b1e1ba02193deb455630d093ed30365e845e8ff HTML-FormatText-WithLinks-0.14.tar.gz"
+sha512sums="ec2cf859401985aaac45ba5ae1da18b3a142d51d821154ad40497a1ec468d86a6a6b85d7a1a66ec2d06bac49fe699def702c4cad86f1fa52da364cb29b6994b7 HTML-FormatText-WithLinks-0.14.tar.gz"
diff --git a/backports/perl-locale-maketext-fuzzy/APKBUILD b/backports/perl-locale-maketext-fuzzy/APKBUILD
new file mode 100644
index 0000000000..eb1ba6f283
--- /dev/null
+++ b/backports/perl-locale-maketext-fuzzy/APKBUILD
@@ -0,0 +1,41 @@
+# Contributor: Natanael Copa <ncopa@alpinelinux.org>
+# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
+pkgname=perl-locale-maketext-fuzzy
+pkgver=0.11
+pkgrel=0
+pkgdesc="Locale::Maketext::Fuzzy perl module"
+url="http://search.cpan.org/dist/Locale-Maketext-Fuzzy/"
+arch="noarch"
+license="GPLv2 or Artistic"
+depends="perl"
+makedepends="perl-dev"
+install=""
+subpackages="$pkgname-doc"
+source="http://search.cpan.org/CPAN/authors/id/A/AU/AUDREYT/Locale-Maketext-Fuzzy-$pkgver.tar.gz"
+
+_builddir="$srcdir"/Locale-Maketext-Fuzzy-$pkgver
+prepare() {
+ local i
+ cd "$_builddir"
+ for i in $source; do
+ case $i in
+ *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
+ esac
+ done
+}
+
+build() {
+ cd "$_builddir"
+ PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor || return 1
+ make && make test || return 1
+}
+
+package() {
+ cd "$_builddir"
+ make DESTDIR="$pkgdir" install || return 1
+ find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
+}
+
+md5sums="623d791f1b57c076e18e5090d0cb2aca Locale-Maketext-Fuzzy-0.11.tar.gz"
+sha256sums="3785171ceb78cc7671319a3a6d8ced9b190e097dfcd9b2a9ebc804cd1a282f96 Locale-Maketext-Fuzzy-0.11.tar.gz"
+sha512sums="81a199c120a812604e106f083a6380dd15d61afd81ac5299d1a0d70b5f44743184234d3fc7c9c0c420a3fa0c1caf3e55d1427441cfec6df979291b67836d3c98 Locale-Maketext-Fuzzy-0.11.tar.gz"
diff --git a/backports/perl-lwp-protocol-https/APKBUILD b/backports/perl-lwp-protocol-https/APKBUILD
new file mode 100644
index 0000000000..032553d78f
--- /dev/null
+++ b/backports/perl-lwp-protocol-https/APKBUILD
@@ -0,0 +1,39 @@
+# Automatically generated by apkbuild-cpan, template 1
+# Contributor: Kiyoshi Aman <kiyoshi.aman@gmail.com>
+# Maintainer: Kiyoshi Aman <kiyoshi.aman@gmail.com>
+pkgname=perl-lwp-protocol-https
+_pkgreal=LWP-Protocol-https
+pkgver=6.04
+pkgrel=0
+pkgdesc="Provide https support for LWP::UserAgent"
+url="http://search.cpan.org/dist/LWP-Protocol-https/"
+arch="noarch"
+license="GPL PerlArtistic"
+cpandepends="perl-libwww perl-io-socket-ssl perl-mozilla-ca perl-net-http"
+cpanmakedepends=""
+depends="$cpandepends"
+makedepends="perl-dev $cpanmakedepends"
+subpackages="$pkgname-doc"
+source="http://search.cpan.org/CPAN/authors/id/G/GA/GAAS/$_pkgreal-$pkgver.tar.gz"
+
+_builddir="$srcdir/$_pkgreal-$pkgver"
+
+prepare() {
+ cd "$_builddir"
+ PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
+}
+
+build() {
+ cd "$_builddir"
+ make && make test
+}
+
+package() {
+ cd "$_builddir"
+ make DESTDIR="$pkgdir" install || return 1
+ find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
+}
+
+md5sums="1b422a7d3b5fed1eb4d748fdc9fd79a4 LWP-Protocol-https-6.04.tar.gz"
+sha256sums="1ef67750ee363525cf729b59afde805ac4dc80eaf8d36ca01082a4d78a7af629 LWP-Protocol-https-6.04.tar.gz"
+sha512sums="93b40c2ebc75c1ab4a2c2d0c58a2eeccd619baaa71257eecc0fce970362811404ec9a115ad8848663ac9020ba03a776165f2ae6952ff54e1c1d58299b603f1b1 LWP-Protocol-https-6.04.tar.gz"
diff --git a/backports/perl-module-refresh/APKBUILD b/backports/perl-module-refresh/APKBUILD
new file mode 100644
index 0000000000..943379e3e0
--- /dev/null
+++ b/backports/perl-module-refresh/APKBUILD
@@ -0,0 +1,41 @@
+# Automatically generated by apkbuild-cpan, template 1
+# Contributor: Leonardo Arena <rnalrd@alpinelinux.org>
+# Maintainer: Leonardo Arena <rnalrd@alpinelinux.org>
+pkgname=perl-module-refresh
+_pkgreal=Module-Refresh
+pkgver=0.17
+pkgrel=0
+pkgdesc="Refresh %INC files when updated on disk"
+url="http://search.cpan.org/dist/Module-Refresh/"
+arch="noarch"
+license="GPL PerlArtistic"
+cpandepends=""
+cpanmakedepends="perl-path-class "
+depends="$cpandepends"
+makedepends="perl-dev $cpanmakedepends"
+subpackages="$pkgname-doc"
+source="http://search.cpan.org/CPAN/authors/id/A/AL/ALEXMV/$_pkgreal-$pkgver.tar.gz"
+
+_builddir="$srcdir/$_pkgreal-$pkgver"
+
+prepare() {
+ cd "$_builddir"
+ export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'`
+ PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
+}
+
+build() {
+ cd "$_builddir"
+ export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'`
+ make && make test
+}
+
+package() {
+ cd "$_builddir"
+ make DESTDIR="$pkgdir" install || return 1
+ find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
+}
+
+md5sums="b077d06cab125aaff940d859945727f4 Module-Refresh-0.17.tar.gz"
+sha256sums="6b30a6ceddc6512ab4490c16372ecf309a259f2ca147d622e478ac54e08511c3 Module-Refresh-0.17.tar.gz"
+sha512sums="48bbcf14d5c6f13217b41c9a4683fd5ff492d3d33f8d6d50e89eae8a6336f306358e0070ecf1617d68c6eb9f91caaec6e1048e09b741d3fa0a19f6d38a75f17f Module-Refresh-0.17.tar.gz"
diff --git a/backports/perl-module-util/APKBUILD b/backports/perl-module-util/APKBUILD
new file mode 100644
index 0000000000..2f42d38c47
--- /dev/null
+++ b/backports/perl-module-util/APKBUILD
@@ -0,0 +1,39 @@
+# Automatically generated by apkbuild-cpan, template 1
+# Contributor: Francesco Colista <francesco.colista@gmail.com>
+# Maintainer: Francesco Colista <francesco.colista@gmail.com>
+pkgname=perl-module-util
+_pkgreal=Module-Util
+pkgver=1.07
+pkgrel=0
+pkgdesc="Module name tools and transformations"
+url="http://search.cpan.org/dist/Module-Util/"
+arch="noarch"
+license="GPL PerlArtistic"
+cpandepends=""
+cpanmakedepends=" "
+depends="$cpandepends"
+makedepends="perl-dev $cpanmakedepends"
+subpackages="$pkgname-doc"
+source="http://search.cpan.org/CPAN/authors/id/M/MA/MATTLAW/$_pkgreal-$pkgver.tar.gz"
+
+_builddir="$srcdir/$_pkgreal-$pkgver"
+
+prepare() {
+ cd "$_builddir"
+ export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'`
+ perl Build.PL installdirs=vendor || return 1
+}
+
+build() {
+ cd "$_builddir"
+ export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'`
+ ./Build && ./Build test
+}
+
+package() {
+ cd "$_builddir"
+ ./Build install destdir="$pkgdir" || return 1
+ find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
+}
+
+md5sums="d9e5d48b7f1aee18582fab57f27cccfa Module-Util-1.07.tar.gz"
diff --git a/backports/perl-mozilla-ca/APKBUILD b/backports/perl-mozilla-ca/APKBUILD
new file mode 100644
index 0000000000..13a503a00d
--- /dev/null
+++ b/backports/perl-mozilla-ca/APKBUILD
@@ -0,0 +1,39 @@
+# Automatically generated by apkbuild-cpan, template 1
+# Contributor: Kiyoshi Aman <kiyoshi.aman@gmail.com>
+# Maintainer: Kiyoshi Aman <kiyoshi.aman@gmail.com>
+pkgname=perl-mozilla-ca
+_pkgreal=Mozilla-CA
+pkgver=20130114
+pkgrel=1
+pkgdesc="Mozilla's CA cert bundle in PEM format"
+url="http://search.cpan.org/dist/Mozilla-CA/"
+arch="noarch"
+license="GPL PerlArtistic"
+cpandepends=""
+cpanmakedepends=""
+depends="$cpandepends"
+makedepends="perl-dev $cpanmakedepends"
+subpackages="$pkgname-doc"
+source="http://search.cpan.org/CPAN/authors/id/A/AB/ABH/$_pkgreal-$pkgver.tar.gz"
+
+_builddir="$srcdir/$_pkgreal-$pkgver"
+
+prepare() {
+ cd "$_builddir"
+ PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
+}
+
+build() {
+ cd "$_builddir"
+ make && make test
+}
+
+package() {
+ cd "$_builddir"
+ make DESTDIR="$pkgdir" install || return 1
+ find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
+}
+
+md5sums="45a42082dbd68cf25869ceb2aa49d5b2 Mozilla-CA-20130114.tar.gz"
+sha256sums="82342614add1dbca8a00daa1ee55af3e0036245aed7d445537918c045008ccd7 Mozilla-CA-20130114.tar.gz"
+sha512sums="b50337990db16ab30427ade7feb87e38305e820ecf490c2f5ed9340957c24139128c12bcd8f23eac4bce83533a7dab22190e2df42ab19b1555d662efc04f3fdb Mozilla-CA-20130114.tar.gz"
diff --git a/backports/perl-path-class/APKBUILD b/backports/perl-path-class/APKBUILD
new file mode 100644
index 0000000000..169609613a
--- /dev/null
+++ b/backports/perl-path-class/APKBUILD
@@ -0,0 +1,40 @@
+# Automatically generated by apkbuild-cpan, template 1
+# Contributor: Francesco Colista <francesco.colista@gmail.com>
+# Maintainer: Francesco Colista <francesco.colista@gmail.com>
+pkgname=perl-path-class
+_pkgreal=Path-Class
+pkgver=0.33
+pkgrel=0
+pkgdesc="Cross-platform path specification manipulation"
+url="http://search.cpan.org/dist/Path-Class/"
+arch="noarch"
+license="GPL PerlArtistic"
+cpandepends=""
+cpanmakedepends=""
+depends="$cpandepends"
+makedepends="perl-dev $cpanmakedepends"
+subpackages="$pkgname-doc"
+source="http://search.cpan.org/CPAN/authors/id/K/KW/KWILLIAMS/$_pkgreal-$pkgver.tar.gz"
+
+_builddir="$srcdir/$_pkgreal-$pkgver"
+
+prepare() {
+ cd "$_builddir"
+ perl Build.PL installdirs=vendor || return 1
+}
+
+build() {
+ cd "$_builddir"
+ export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'`
+ ./Build && ./Build test
+}
+
+package() {
+ cd "$_builddir"
+ ./Build install destdir="$pkgdir" || return 1
+ find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
+}
+
+md5sums="bac152fffe772252bbcfc2f15dc3bb34 Path-Class-0.33.tar.gz"
+sha256sums="cd8cc6a68e2099eeb6099df6af83b4585eb0ddf6c77490d6fa97eadb09d0c677 Path-Class-0.33.tar.gz"
+sha512sums="963da388fcf1eab844fd4ad7b8b31efee6e0afa963fede61f17e3090ea6fe8356ce99fdcafdc38646ba32a04091e1a061655c6972eab45bf96bbabe4f1ffd6cb Path-Class-0.33.tar.gz"
diff --git a/backports/perl-probe-perl/APKBUILD b/backports/perl-probe-perl/APKBUILD
new file mode 100644
index 0000000000..0528aa921d
--- /dev/null
+++ b/backports/perl-probe-perl/APKBUILD
@@ -0,0 +1,38 @@
+# Automatically generated by apkbuild-cpan, template 1
+# Contributor: Francesco Colista <francesco.colista@gmail.com>
+# Maintainer: Francesco Colista <francesco.colista@gmail.com>
+pkgname=perl-probe-perl
+_pkgreal=Probe-Perl
+pkgver=0.01
+pkgrel=0
+pkgdesc="Information about the currently running perl"
+url="http://search.cpan.org/dist/Probe-Perl/"
+arch="noarch"
+license="GPL PerlArtistic"
+cpandepends=""
+cpanmakedepends=""
+depends="$cpandepends"
+makedepends="perl-dev $cpanmakedepends"
+subpackages="$pkgname-doc"
+source="http://search.cpan.org/CPAN/authors/id/K/KW/KWILLIAMS/$_pkgreal-$pkgver.tar.gz"
+
+_builddir="$srcdir/$_pkgreal-$pkgver"
+
+prepare() {
+ cd "$_builddir"
+ perl Build.PL installdirs=vendor || return 1
+}
+
+build() {
+ cd "$_builddir"
+ export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'`
+ ./Build && ./Build test
+}
+
+package() {
+ cd "$_builddir"
+ ./Build install destdir="$pkgdir" || return 1
+ find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
+}
+
+md5sums="b6f613a7d07dde568a0d4b9570de47c3 Probe-Perl-0.01.tar.gz"
diff --git a/backports/perl-role-basic/APKBUILD b/backports/perl-role-basic/APKBUILD
new file mode 100644
index 0000000000..5435eddba9
--- /dev/null
+++ b/backports/perl-role-basic/APKBUILD
@@ -0,0 +1,41 @@
+# Automatically generated by apkbuild-cpan, template 1
+# Contributor: Leonardo Arena <rnalrd@alpinelinux.org>
+# Maintainer: Leonardo Arena <rnalrd@alpinelinux.org>
+pkgname=perl-role-basic
+_pkgreal=Role-Basic
+pkgver=0.13
+pkgrel=0
+pkgdesc="Just roles. Nothing else."
+url="http://search.cpan.org/dist/Role-Basic/"
+arch="noarch"
+license="GPL PerlArtistic"
+cpandepends=""
+cpanmakedepends=" "
+depends="$cpandepends"
+makedepends="perl-dev $cpanmakedepends"
+subpackages="$pkgname-doc"
+source="http://search.cpan.org/CPAN/authors/id/O/OV/OVID/$_pkgreal-$pkgver.tar.gz"
+
+_builddir="$srcdir/$_pkgreal-$pkgver"
+
+prepare() {
+ cd "$_builddir"
+ export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'`
+ perl Build.PL installdirs=vendor || return 1
+}
+
+build() {
+ cd "$_builddir"
+ export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'`
+ ./Build && ./Build test
+}
+
+package() {
+ cd "$_builddir"
+ ./Build install destdir="$pkgdir" || return 1
+ find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
+}
+
+md5sums="2985fbb47bd0a862bd56bc7cbba6e673 Role-Basic-0.13.tar.gz"
+sha256sums="38a0959ef9f193ff76e72c325a9e9211bc4868689bd0e2b005778f53f8b6f36a Role-Basic-0.13.tar.gz"
+sha512sums="685f758e1afc4441b3ac507d52e0d18b6f64081f74fa0a768c81c7c9fad7b7ec30497002cff22449a65ab78c27671a4fe7a7213c45d28cc4077bb855fcce1438 Role-Basic-0.13.tar.gz"
diff --git a/backports/perl-string-shellquote/APKBUILD b/backports/perl-string-shellquote/APKBUILD
new file mode 100644
index 0000000000..dc522a601e
--- /dev/null
+++ b/backports/perl-string-shellquote/APKBUILD
@@ -0,0 +1,41 @@
+# Automatically generated by apkbuild-cpan, template 1
+# Contributor: Leonardo Arena <rnalrd@alpinelinux.org>
+# Maintainer: Leonardo Arena <rnalrd@alpinelinux.org>
+pkgname=perl-string-shellquote
+_pkgreal=String-ShellQuote
+pkgver=1.04
+pkgrel=0
+pkgdesc="unknown"
+url="http://search.cpan.org/dist/String-ShellQuote/"
+arch="noarch"
+license="GPL PerlArtistic"
+cpandepends=""
+cpanmakedepends=" "
+depends="$cpandepends"
+makedepends="perl-dev $cpanmakedepends"
+subpackages="$pkgname-doc"
+source="http://search.cpan.org/CPAN/authors/id/R/RO/ROSCH/$_pkgreal-$pkgver.tar.gz"
+
+_builddir="$srcdir/$_pkgreal-$pkgver"
+
+prepare() {
+ cd "$_builddir"
+ export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'`
+ PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
+}
+
+build() {
+ cd "$_builddir"
+ export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'`
+ make && make test
+}
+
+package() {
+ cd "$_builddir"
+ make DESTDIR="$pkgdir" install || return 1
+ find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
+}
+
+md5sums="da6329dc482b21adf5697cfbd2ac5412 String-ShellQuote-1.04.tar.gz"
+sha256sums="e606365038ce20d646d255c805effdd32f86475f18d43ca75455b00e4d86dd35 String-ShellQuote-1.04.tar.gz"
+sha512sums="f5b472985fb9c15d5c82c03b5c6c90a3a545ada854b90a96cfb7b0f57b8a817707ed91ca0f20344a2b8d200fe365ea737a9b39b64d526310d41ac2466552236d String-ShellQuote-1.04.tar.gz"
diff --git a/backports/perl-symbol-global-name/APKBUILD b/backports/perl-symbol-global-name/APKBUILD
new file mode 100644
index 0000000000..05645536a9
--- /dev/null
+++ b/backports/perl-symbol-global-name/APKBUILD
@@ -0,0 +1,41 @@
+# Automatically generated by apkbuild-cpan, template 1
+# Contributor: Leonardo Arena <rnalrd@alpinelinux.org>
+# Maintainer: Leonardo Arena <rnalrd@alpinelinux.org>
+pkgname=perl-symbol-global-name
+_pkgreal=Symbol-Global-Name
+pkgver=0.04
+pkgrel=0
+pkgdesc="finds name and type of a global variable"
+url="http://search.cpan.org/dist/Symbol-Global-Name/"
+arch="noarch"
+license="GPL PerlArtistic"
+cpandepends=""
+cpanmakedepends=" "
+depends="$cpandepends"
+makedepends="perl-dev $cpanmakedepends"
+subpackages="$pkgname-doc"
+source="http://search.cpan.org/CPAN/authors/id/A/AL/ALEXMV/$_pkgreal-$pkgver.tar.gz"
+
+_builddir="$srcdir/$_pkgreal-$pkgver"
+
+prepare() {
+ cd "$_builddir"
+ export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'`
+ PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
+}
+
+build() {
+ cd "$_builddir"
+ export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'`
+ make && make test
+}
+
+package() {
+ cd "$_builddir"
+ make DESTDIR="$pkgdir" install || return 1
+ find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
+}
+
+md5sums="102e5e9ef292c546192036165101518b Symbol-Global-Name-0.04.tar.gz"
+sha256sums="252c9ada77dbe49a247ccb2cae3e7af91b6368027c13af12e8fad2c0c3bf093a Symbol-Global-Name-0.04.tar.gz"
+sha512sums="fa8aca8513eea45024afbbf0e0712502b27794005185332b3d290fa8a409d716b5691eb418dac7eb6074269fe242de8e28b44bdd3858e5e21c94425deb0b15dd Symbol-Global-Name-0.04.tar.gz"
diff --git a/backports/perl-test-mocktime/APKBUILD b/backports/perl-test-mocktime/APKBUILD
new file mode 100644
index 0000000000..01bfed66c6
--- /dev/null
+++ b/backports/perl-test-mocktime/APKBUILD
@@ -0,0 +1,41 @@
+# Automatically generated by apkbuild-cpan, template 1
+# Contributor: Leonardo Arena <rnalrd@alpinelinux.org>
+# Maintainer: Leonardo Arena <rnalrd@alpinelinux.org>
+pkgname=perl-test-mocktime
+_pkgreal=Test-MockTime
+pkgver=0.12
+pkgrel=0
+pkgdesc="unknown"
+url="http://search.cpan.org/dist/Test-MockTime/"
+arch="noarch"
+license="GPL PerlArtistic"
+cpandepends=""
+cpanmakedepends=" "
+depends="$cpandepends"
+makedepends="perl-dev $cpanmakedepends"
+subpackages="$pkgname-doc"
+source="http://search.cpan.org/CPAN/authors/id/D/DD/DDICK/$_pkgreal-$pkgver.tar.gz"
+
+_builddir="$srcdir/$_pkgreal-$pkgver"
+
+prepare() {
+ cd "$_builddir"
+ export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'`
+ PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
+}
+
+build() {
+ cd "$_builddir"
+ export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'`
+ make && make test
+}
+
+package() {
+ cd "$_builddir"
+ make DESTDIR="$pkgdir" install || return 1
+ find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
+}
+
+md5sums="de726192bcdd0cef68a07ffdf11d7300 Test-MockTime-0.12.tar.gz"
+sha256sums="496ecc96a9d22abfa367404b22088364f10965c2879b65605f0e3286354e9780 Test-MockTime-0.12.tar.gz"
+sha512sums="f3f66fb7c0cd5a83218d92cd706c4f6eeaf7d93b89e3ba7dface799facf47070c727bf7da5805c9aba52fefb30b1290cc10957694386600ad7575f3cc33c86d3 Test-MockTime-0.12.tar.gz"
diff --git a/backports/perl-test-script/APKBUILD b/backports/perl-test-script/APKBUILD
new file mode 100644
index 0000000000..f2764c6aec
--- /dev/null
+++ b/backports/perl-test-script/APKBUILD
@@ -0,0 +1,37 @@
+# Automatically generated by apkbuild-cpan, template 1
+# Contributor: Francesco Colista <francesco.colista@gmail.com>
+# Maintainer: Francesco Colista <francesco.colista@gmail.com>
+pkgname=perl-test-script
+_pkgreal=Test-Script
+pkgver=1.07
+pkgrel=0
+pkgdesc="Basic cross-platform tests for scripts"
+url="http://search.cpan.org/dist/Test-Script/"
+arch="noarch"
+license="GPL PerlArtistic"
+cpandepends="perl-ipc-run3 perl-probe-perl"
+cpanmakedepends=""
+depends="$cpandepends"
+makedepends="perl-dev $cpanmakedepends"
+subpackages="$pkgname-doc"
+source="http://search.cpan.org/CPAN/authors/id/A/AD/ADAMK/$_pkgreal-$pkgver.tar.gz"
+
+_builddir="$srcdir/$_pkgreal-$pkgver"
+
+prepare() {
+ cd "$_builddir"
+ PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
+}
+
+build() {
+ cd "$_builddir"
+ make && make test
+}
+
+package() {
+ cd "$_builddir"
+ make DESTDIR="$pkgdir" install || return 1
+ find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
+}
+
+md5sums="f6b5baa6403cd24dac7f023e0ea22384 Test-Script-1.07.tar.gz"
diff --git a/backports/perl-text-quoted/APKBUILD b/backports/perl-text-quoted/APKBUILD
new file mode 100644
index 0000000000..6b35fb3da1
--- /dev/null
+++ b/backports/perl-text-quoted/APKBUILD
@@ -0,0 +1,41 @@
+# Contributor: Natanael Copa <ncopa@alpinelinux.org>
+# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
+pkgname=perl-text-quoted
+pkgver=2.08
+pkgrel=0
+pkgdesc="Text::Quoted perl module"
+url="http://search.cpan.org/dist/Text-Quoted/"
+arch="noarch"
+license="GPLv2 or Artistic"
+depends="perl perl-text-autoformat"
+makedepends="perl-dev"
+install=""
+subpackages="$pkgname-doc"
+source="http://search.cpan.org/CPAN/authors/id/T/TS/TSIBLEY/Text-Quoted-$pkgver.tar.gz"
+
+_builddir="$srcdir"/Text-Quoted-$pkgver
+prepare() {
+ local i
+ cd "$_builddir"
+ for i in $source; do
+ case $i in
+ *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
+ esac
+ done
+}
+
+build() {
+ cd "$_builddir"
+ PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor || return 1
+ make && make test || return 1
+}
+
+package() {
+ cd "$_builddir"
+ make DESTDIR="$pkgdir" install || return 1
+ find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
+}
+
+md5sums="2ddedd6541460a32223cf91c7e16fcb7 Text-Quoted-2.08.tar.gz"
+sha256sums="faf0b6fa314c31b264bc1d8d6523ed32a098040fdc513075ccaecbab0526cfdb Text-Quoted-2.08.tar.gz"
+sha512sums="bbe48bf580e6628008728cbff5d6eba8f47664bde71920ff3cb55e45992cb8500730c5228726451e2bee1b6028fd56401e51e80ea73cd9b1f1386211dfce6fde Text-Quoted-2.08.tar.gz"
diff --git a/backports/rt4/0001-email-allow-envelope-from-overriding-from-templates.patch b/backports/rt4/0001-email-allow-envelope-from-overriding-from-templates.patch
new file mode 100644
index 0000000000..8e5df099c6
--- /dev/null
+++ b/backports/rt4/0001-email-allow-envelope-from-overriding-from-templates.patch
@@ -0,0 +1,31 @@
+From: =?UTF-8?q?Timo=20Ter=C3=A4s?= <timo.teras@iki.fi>
+Subject: [PATCH] email: allow envelope from overriding from templates
+
+Add X-RT-Envelope-From header that will override the envelope
+from if using sendmailpipe mail sending.
+
+diff -ru rt-4.0.15.orig/lib/RT/Interface/Email.pm rt-4.0.15/lib/RT/Interface/Email.pm
+--- rt-4.0.15.orig/lib/RT/Interface/Email.pm 2013-07-25 23:09:24.000000000 +0300
++++ rt-4.0.15/lib/RT/Interface/Email.pm 2013-07-27 10:17:42.508546335 +0300
+@@ -376,7 +376,10 @@
+
+ my $msgid = $args{'Entity'}->head->get('Message-ID') || '';
+ chomp $msgid;
+-
++
++ my $envelope_from = $args{'Entity'}->head->get('X-RT-Envelope-From');
++ chomp $envelope_from;
++
+ # If we don't have any recipients to send to, don't send a message;
+ unless ( $args{'Entity'}->head->get('To')
+ || $args{'Entity'}->head->get('Cc')
+@@ -442,7 +445,8 @@
+ if ($QueueAddressOverride) {
+ $OutgoingMailAddress = $QueueAddressOverride;
+ } else {
+- $OutgoingMailAddress ||= $TicketObj->QueueObj->CorrespondAddress
++ $OutgoingMailAddress ||= $envelope_from
++ || $TicketObj->QueueObj->CorrespondAddress
+ || RT->Config->Get('CorrespondAddress');
+ }
+ }
diff --git a/backports/rt4/APKBUILD b/backports/rt4/APKBUILD
new file mode 100644
index 0000000000..222632cc36
--- /dev/null
+++ b/backports/rt4/APKBUILD
@@ -0,0 +1,184 @@
+# Contributor: Leonardo Arena <rnalrd@alpinelinux.org>
+# Contributor: Natanael Copa <ncopa@alpinelinux.org>
+# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
+pkgname=rt4
+pkgver=4.2.4
+pkgrel=0
+pkgdesc="Request Tracker - issue and bug tracker"
+pkgusers="rt4"
+pkggroups="rt4"
+url="http://www.bestpractical.com/rt"
+arch="noarch"
+license="GPLv2+"
+depends="perl
+ perl-term-readkey
+ perl-cache-simple-timedexpiry
+ perl-class-accessor
+ perl-dbi
+ perl-dbd-pg
+ perl-dbd-mysql
+ perl-devel-globaldestruction
+ perl-devel-stacktrace
+ perl-digest-sha1
+ perl-email-address
+ perl-getopt-long
+ perl-locale-maketext-fuzzy
+ perl-locale-maketext-lexicon
+ perl-log-dispatch
+ perl-mime-tools
+ perl-net-cidr
+ perl-regexp-common-net-cidr
+ perl-sub-exporter
+ perl-text-password-pronounceable
+ perl-text-template
+ perl-text-wrapper
+ perl-time-hires
+ perl-time-modules
+ perl-tree-simple
+ perl-universal-require
+ perl-xml-rss
+ perl-text-wikiformat
+ perl-convert-color
+ perl-data-ical
+ perl-mime-types
+ perl-html-format
+ perl-html-rewriteattributes>=0.05
+ perl-html-tree
+ perl-html-mason
+ perl-javascript-minifier
+ perl-cgi-psgi
+ perl-cgi-emulate-psgi
+ perl-html-mason-psgihandler
+ perl-apache-session
+ perl-starlet
+ perl-html-parser
+ perl-file-sharedir
+ perl-module-versions-report
+ perl-list-moreutils
+ perl-css-squish
+ perl-dbix-searchbuilder>=1.65
+ perl-regexp-ipv6
+ perl-text-quoted>=2.0.7
+ perl-html-scrubber
+ perl-html-quoted
+ perl-datetime-locale
+ perl-fcgi
+ perl-fcgi-procmanager
+ perl-datetime
+ perl-json
+ perl-ipc-run3
+ perl-plack
+ perl-dbix-searchbuilder
+ perl-mail-tools
+ perl-crypt-eksblowfish
+ perl-datetime-format-natural
+ perl-data-guid
+ perl-html-formattext-withlinks-andtables
+ perl-role-basic
+ perl-module-refresh
+ perl-date-extract
+ perl-html-formattext-withlinks
+ perl-email-address-list
+ perl-text-quoted
+ perl-locale-maketext-fuzzy>=0.11
+ perl-date-manip
+ perl-symbol-global-name
+ perl-crypt-ssleay
+ perl-mozilla-ca
+ perl-lwp-protocol-https
+ perl-crypt-ssleay
+ perl-crypt-x509
+ perl-file-which
+ perl-string-shellquote
+ perl-lwp-protocol-https
+ ttf-droid
+ "
+
+makedepends="$depends autoconf"
+install="$pkgname.pre-install $pkgname.pre-upgrade"
+subpackages=""
+source="http://www.bestpractical.com/pub/rt/release/rt-$pkgver.tar.gz
+ 0001-email-allow-envelope-from-overriding-from-templates.patch
+ rt-varpath.patch
+ rt-autoconf-version.patch
+ "
+
+_builddir="$srcdir"/rt-$pkgver
+prepare() {
+ local i
+ cd "$_builddir"
+ for i in $source; do
+ case $i in
+ *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
+ esac
+ done
+
+ sed -i -e 's_$RT::BasePath/share/fonts/_/usr/share/fonts/TTF/_g' \
+ "$_builddir"/etc/RT_Config.pm*
+
+ cat <<'EOF' >> config.layout
+# Alpine directory layout.
+<Layout Alpine>
+ prefix: /usr
+ exec_prefix: ${prefix}
+ bindir: ${exec_prefix}/bin
+ sbindir: ${exec_prefix}/sbin
+ sysconfdir: /etc/rt4
+ mandir: ${prefix}/share/man
+ plugindir: ${prefix}/lib/rt4/plugins
+ libdir: ${prefix}/lib/rt4/
+ datadir: ${prefix}/share/rt4
+ htmldir: ${datadir}/html
+ fontdir: ${datadir}/fonts
+ lexdir: ${datadir}/po
+ staticdir: ${datadir}/static
+ manualdir: ${datadir}/doc
+ localstatedir: /var
+ logfiledir: ${localstatedir}/log
+ masonstatedir: ${localstatedir}/cache/mason_data
+ sessionstatedir: ${localstatedir}/cache/session_data
+ customdir: ${prefix}/local
+ custometcdir: ${customdir}/etc
+ customhtmldir: ${customdir}/html
+ customlexdir: ${customdir}/po
+ customlibdir: ${customdir}/lib
+ customplugindir: ${customdir}/plugins
+</Layout>
+EOF
+}
+
+build() {
+ cd "$_builddir"
+ autoconf && ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --enable-layout=Alpine \
+ --with-rt-group=rt4 \
+ --with-web-group=rt4 \
+ --with-web-user=rt4 \
+ --disable-gpg \
+ || return 1
+ make || return 1
+}
+
+package() {
+ cd "$_builddir"
+ make -j1 DESTDIR="$pkgdir" \
+ install || return 1
+ # delete the droid fonts as we get them from ttf-droid
+ rm -rf "$pkgdir"/usr/share/rt4/fonts/ \
+ "$pkgdir"/usr/local
+}
+
+md5sums="d5321f813c4d02ba5ddfc24cf3dbb6a5 rt-4.2.4.tar.gz
+0f00f58ea2feb15ba0c56f4455feaae1 0001-email-allow-envelope-from-overriding-from-templates.patch
+9c1cd44a5e177a73cf92f6790fe5cd78 rt-varpath.patch
+344258a3e066d23fb684b3013eb70cd0 rt-autoconf-version.patch"
+sha256sums="309373699473b6f5531732fc403dba39773daf73d04bf72f5d6100aadfcfb033 rt-4.2.4.tar.gz
+c751d831ec9ad54ae7afd0276cbb36ef57bac291ce4b215000b7364dca20a74d 0001-email-allow-envelope-from-overriding-from-templates.patch
+0d1905e29346d1a2a8e8bd5de7931721de872bccfdbb26421f3b6c00e39ca895 rt-varpath.patch
+8d7d8398af6a20f847e52408a2fb4b9ab15788cc84cd628fa65e11067df67250 rt-autoconf-version.patch"
+sha512sums="38dfb3c219d20defc9ca25263d676db28135e56945e33c8fe5b48ab65b6773422d607cbcc0ec3995455630cbc1504015ee99406a294f1c24f3cfc004d0000b5e rt-4.2.4.tar.gz
+a61cc81d025edf92598023f37517b06145a28edfdc31dfbc94ae2a1f8f13505d5512ad4e332376d46c1e4dd2fdb97569f127503eae3d4af6ce14f63e4e3c3f48 0001-email-allow-envelope-from-overriding-from-templates.patch
+8a96b5482d649e373600e0b0e04abe382f61b0ed3ec463625163182fd71569c61c236e2cf48abd496f0d747b11b604acd1f958d8d891a2333bfde7450fb995d3 rt-varpath.patch
+cac79f231e1b1915962de8e4a86812fcaa0f1f64384a34557fac860c0fb0ae33d5dfd2371c30c07310391735e7348022e62bd5d453674a41ac7e77865d79dab9 rt-autoconf-version.patch"
diff --git a/backports/rt4/rt-autoconf-version.patch b/backports/rt4/rt-autoconf-version.patch
new file mode 100644
index 0000000000..dbf1441a94
--- /dev/null
+++ b/backports/rt4/rt-autoconf-version.patch
@@ -0,0 +1,11 @@
+--- rt-4.2.2/configure.ac.orig 2014-05-06 19:01:59.784199966 -0300
++++ rt-4.2.2/configure.ac 2014-05-06 19:02:21.004085165 -0300
+@@ -7,7 +7,7 @@
+
+ dnl Setup autoconf
+ AC_PREREQ([2.53])
+-AC_INIT(RT, m4_esyscmd([( git describe --tags || cat ./.tag 2> /dev/null || echo "rt-3.9.EXPORTED" )| tr -d "\n"]), [rt-bugs@bestpractical.com])
++AC_INIT(RT, m4_esyscmd([( cat ./.tag 2> /dev/null || echo "rt-3.9.EXPORTED" )| tr -d "\n"]), [rt-bugs@bestpractical.com])
+ AC_CONFIG_SRCDIR([lib/RT.pm])
+
+ dnl Save our incant early since $@ gets overwritten by some macros.
diff --git a/backports/rt4/rt-varpath.patch b/backports/rt4/rt-varpath.patch
new file mode 100644
index 0000000000..50ce551568
--- /dev/null
+++ b/backports/rt4/rt-varpath.patch
@@ -0,0 +1,20 @@
+--- a/configure.ac
++++ b/configure.ac
+@@ -357,7 +357,7 @@
+ AC_SUBST([CONFIG_FILE_PATH], ${exp_sysconfdir})
+ AC_SUBST([RT_BIN_PATH], ${exp_bindir})
+ AC_SUBST([RT_SBIN_PATH], ${exp_sbindir})
+-AC_SUBST([RT_VAR_PATH], ${exp_localstatedir})
++AC_SUBST([RT_VAR_PATH], ${exp_datadir})
+ AC_SUBST([RT_MAN_PATH], ${exp_mandir})
+ AC_SUBST([RT_FONT_PATH], ${exp_fontdir})
+ AC_SUBST([RT_PLUGIN_PATH], ${exp_plugindir})
+@@ -409,7 +409,7 @@
+ AC_SUBST([CONFIG_FILE_PATH_R], ${exp_sysconfdir})
+ AC_SUBST([RT_BIN_PATH_R], ${exp_bindir})
+ AC_SUBST([RT_SBIN_PATH_R], ${exp_sbindir})
+-AC_SUBST([RT_VAR_PATH_R], ${exp_localstatedir})
++AC_SUBST([RT_VAR_PATH_R], ${exp_datadir})
+ AC_SUBST([RT_MAN_PATH_R], ${exp_mandir})
+ AC_SUBST([RT_FONT_PATH_R], ${exp_fontdir})
+ AC_SUBST([MASON_DATA_PATH_R], ${exp_masonstatedir})
diff --git a/backports/rt4/rt4.pre-install b/backports/rt4/rt4.pre-install
new file mode 100644
index 0000000000..b62454d6d0
--- /dev/null
+++ b/backports/rt4/rt4.pre-install
@@ -0,0 +1,5 @@
+#!/bin/sh
+
+addgroup -S rt4 2>/dev/null
+adduser -S -s /sbin/nologin -G rt4 -D -H -g "Request Tracker 4 user" rt4 2>/dev/null
+exit 0
diff --git a/backports/rt4/rt4.pre-upgrade b/backports/rt4/rt4.pre-upgrade
new file mode 100644
index 0000000000..b62454d6d0
--- /dev/null
+++ b/backports/rt4/rt4.pre-upgrade
@@ -0,0 +1,5 @@
+#!/bin/sh
+
+addgroup -S rt4 2>/dev/null
+adduser -S -s /sbin/nologin -G rt4 -D -H -g "Request Tracker 4 user" rt4 2>/dev/null
+exit 0