aboutsummaryrefslogtreecommitdiffstats
path: root/main/perl-net-ssleay
diff options
context:
space:
mode:
Diffstat (limited to 'main/perl-net-ssleay')
-rw-r--r--main/perl-net-ssleay/APKBUILD8
-rw-r--r--main/perl-net-ssleay/dbus/APKBUILD64
-rw-r--r--main/perl-net-ssleay/dbus/dbus.initd50
-rw-r--r--main/perl-net-ssleay/dbus/dbus.post-install3
-rw-r--r--main/perl-net-ssleay/dbus/dbus.pre-install5
-rw-r--r--main/perl-net-ssleay/dbus/dbus.trigger4
-rw-r--r--main/perl-net-ssleay/dosfstools/APKBUILD31
-rw-r--r--main/perl-net-ssleay/krb5/APKBUILD130
-rw-r--r--main/perl-net-ssleay/krb5/CVE-2002-2443.patch69
-rw-r--r--main/perl-net-ssleay/krb5/krb5kadmind.initd25
-rw-r--r--main/perl-net-ssleay/krb5/krb5kdc.initd24
-rw-r--r--main/perl-net-ssleay/krb5/krb5kpropd.initd24
-rw-r--r--main/perl-net-ssleay/krb5/mit-krb5-1.11_uninitialized.patch81
-rw-r--r--main/perl-net-ssleay/krb5/mit-krb5_krb5-config_LDFLAGS.patch12
-rw-r--r--main/perl-net-ssleay/libraw/APKBUILD40
-rw-r--r--main/perl-net-ssleay/libusb-compat/APKBUILD28
-rw-r--r--main/perl-net-ssleay/ortp/APKBUILD45
-rw-r--r--main/perl-net-ssleay/perl-devel-symdump/APKBUILD39
18 files changed, 678 insertions, 4 deletions
diff --git a/main/perl-net-ssleay/APKBUILD b/main/perl-net-ssleay/APKBUILD
index 6733729c6e..b34c2e9786 100644
--- a/main/perl-net-ssleay/APKBUILD
+++ b/main/perl-net-ssleay/APKBUILD
@@ -2,7 +2,7 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=perl-net-ssleay
_realname=Net-SSLeay
-pkgver=1.54
+pkgver=1.55
pkgrel=1
pkgdesc="Perl extension for using OpenSSL"
url="http://search.cpan.org/dist/Net-SSLeay/"
@@ -28,6 +28,6 @@ package() {
find "$pkgdir" -name perllocal.pod -delete
}
-md5sums="26e758fff1c90cb00e9358fea7e1e22f Net-SSLeay-1.54.tar.gz"
-sha256sums="e163c550dd57d0fde6ebf5b05abcc1edeb7fe054984dc35d8bcd20e13c367dd7 Net-SSLeay-1.54.tar.gz"
-sha512sums="470eaa2817221203a190a9b926b88c922910b8a85ad9fde0f7baa943abf9510615b60e374bcefd87a11a2f351fcbc691a564493e39e80c0f4dce4efe833aed4f Net-SSLeay-1.54.tar.gz"
+md5sums="473b8d66ca69d5784bb0e428721f58e0 Net-SSLeay-1.55.tar.gz"
+sha256sums="8cd5f09722e07b4e436102cb3a4b93623d753c171665ca9752c3b39a62ea3a79 Net-SSLeay-1.55.tar.gz"
+sha512sums="204928a95937b31216008986692ef96370ab6623c9238b69a10452db40ce0b1d50d97813c53eca6debb5f605afa946fd4a468fd32fa63572c275ce0ad33ab855 Net-SSLeay-1.55.tar.gz"
diff --git a/main/perl-net-ssleay/dbus/APKBUILD b/main/perl-net-ssleay/dbus/APKBUILD
new file mode 100644
index 0000000000..253ce4cfa2
--- /dev/null
+++ b/main/perl-net-ssleay/dbus/APKBUILD
@@ -0,0 +1,64 @@
+# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
+pkgname=dbus
+pkgver=1.6.12
+pkgrel=0
+pkgdesc="Freedesktop.org message bus system"
+url="http://www.freedesktop.org/Software/dbus"
+pkggroups="messagebus"
+arch="all"
+license="GPL custom"
+subpackages="$pkgname-dev $pkgname-doc $pkgname-libs $pkgname-x11"
+triggers="$pkgname.trigger=/etc/dbus-1/system.d"
+depends=
+makedepends="expat-dev libx11-dev pkgconfig util-linux-dev"
+depends_dev="util-linux-dev"
+install="$pkgname.pre-install $pkgname.post-install"
+source="http://dbus.freedesktop.org/releases/dbus/dbus-$pkgver.tar.gz
+ $pkgname.initd
+ "
+
+build() {
+ cd "$srcdir"/$pkgname-$pkgver
+ ./configure --prefix=/usr \
+ --sysconfdir=/etc \
+ --localstatedir=/var \
+ --with-xml=expat \
+ --with-dbus-user=messagebus \
+ --with-system-pid-file=/var/run/dbus.pid \
+ --disable-verbose-mode \
+ --disable-static \
+ --enable-inotify \
+ --disable-dnotify \
+ --disable-tests \
+ --disable-asserts \
+ --with-x || return 1
+ make || return 1
+}
+
+package() {
+ cd "$srcdir"/$pkgname-$pkgver
+ make -j1 DESTDIR="$pkgdir" install || return 1
+ rm "$pkgdir"/usr/lib/*.la || return 1
+ install -Dm755 "$srcdir"/dbus.initd "$pkgdir"/etc/init.d/dbus
+}
+
+libs() {
+ pkgdesc="Libraries for acces D-BUS"
+ replaces="dbus"
+ mkdir -p "$subpkgdir"/usr/lib
+ mv "$pkgdir"/usr/lib/lib*.so.* "$subpkgdir"/usr/lib/
+}
+
+x11() {
+ pkgdesc="X11-requiring add-ons for D-BUS"
+ depends="dbus=$pkgver-r$pkgrel"
+ mkdir -p "$subpkgdir"/usr/bin
+ mv "$pkgdir"/usr/bin/dbus-launch "$subpkgdir"/usr/bin/
+}
+
+md5sums="a70edc50524f258eaf5c9a9994ed8748 dbus-1.6.12.tar.gz
+bc835765907698a95da8d8e5bf199378 dbus.initd"
+sha256sums="f67a7abfd6d045c1e9eba2bba4199d301836bc0c6e8a727c765913aba780ee92 dbus-1.6.12.tar.gz
+98e37b8b6ed25004e48c5855d74c9361eea06d3fee13cefcc0ed10ccf452aa01 dbus.initd"
+sha512sums="860f3c86268857662bc397cd6fd0c163dfe38c77c28525c47226e22d890ec3c2df724f887f55f65a60b729e8eb5dce91ce8ecd045391d88acb1884b8dbf33c71 dbus-1.6.12.tar.gz
+7983e77015b46c204b10948a1fcedaae53a75848919961eb1ef8878bfa11c933256642c0e3f59163e72374ce1bd33b0338c787ce067c0982fcdf8a798b922a15 dbus.initd"
diff --git a/main/perl-net-ssleay/dbus/dbus.initd b/main/perl-net-ssleay/dbus/dbus.initd
new file mode 100644
index 0000000000..65271f69c6
--- /dev/null
+++ b/main/perl-net-ssleay/dbus/dbus.initd
@@ -0,0 +1,50 @@
+#!/sbin/runscript
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License, v2 or later
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/dbus/files/dbus.initd,v 1.1 2011/11/05 13:56:10 ssuominen Exp $
+
+extra_started_commands="reload"
+
+depend() {
+ need localmount
+ after bootmisc
+}
+
+start() {
+ ebegin "Starting D-BUS system messagebus"
+ /usr/bin/dbus-uuidgen --ensure=/etc/machine-id
+
+ # We need to test if /var/run/dbus exists, since script will fail if it does not
+ [ ! -e /var/run/dbus ] && mkdir /var/run/dbus
+
+ start-stop-daemon --start --pidfile /var/run/dbus.pid --exec /usr/bin/dbus-daemon -- --system
+ eend $?
+}
+
+stop() {
+ local retval
+
+ ebegin "Stopping D-BUS system messagebus"
+
+ start-stop-daemon --stop --pidfile /var/run/dbus.pid
+ retval=$?
+
+ eend ${retval}
+
+ [ -S /var/run/dbus/system_bus_socket ] && rm -f /var/run/dbus/system_bus_socket
+
+ return ${retval}
+}
+
+reload() {
+ local retval
+
+ ebegin "Reloading D-BUS messagebus config"
+
+ /usr/bin/dbus-send --print-reply --system --type=method_call \
+ --dest=org.freedesktop.DBus \
+ / org.freedesktop.DBus.ReloadConfig > /dev/null
+ retval=$?
+ eend ${retval}
+ return ${retval}
+}
diff --git a/main/perl-net-ssleay/dbus/dbus.post-install b/main/perl-net-ssleay/dbus/dbus.post-install
new file mode 100644
index 0000000000..305297a482
--- /dev/null
+++ b/main/perl-net-ssleay/dbus/dbus.post-install
@@ -0,0 +1,3 @@
+#!/bin/sh
+
+exec dbus-uuidgen --ensure
diff --git a/main/perl-net-ssleay/dbus/dbus.pre-install b/main/perl-net-ssleay/dbus/dbus.pre-install
new file mode 100644
index 0000000000..91cde9c960
--- /dev/null
+++ b/main/perl-net-ssleay/dbus/dbus.pre-install
@@ -0,0 +1,5 @@
+#!/bin/sh
+
+addgroup messagebus 2>/dev/null
+adduser -H -h /dev/null -s /bin/false -D messagebus -G messagebus 2>/dev/null
+exit 0
diff --git a/main/perl-net-ssleay/dbus/dbus.trigger b/main/perl-net-ssleay/dbus/dbus.trigger
new file mode 100644
index 0000000000..a537bd8dfc
--- /dev/null
+++ b/main/perl-net-ssleay/dbus/dbus.trigger
@@ -0,0 +1,4 @@
+#!/bin/sh
+
+dbus-send --system --type=method_call --dest=org.freedesktop.DBus / \
+ org.freedesktop.DBUS.ReloadConfig >/dev/null 2>&1 || :
diff --git a/main/perl-net-ssleay/dosfstools/APKBUILD b/main/perl-net-ssleay/dosfstools/APKBUILD
new file mode 100644
index 0000000000..07c017fbd5
--- /dev/null
+++ b/main/perl-net-ssleay/dosfstools/APKBUILD
@@ -0,0 +1,31 @@
+# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
+pkgname=dosfstools
+pkgver=3.0.20
+pkgrel=0
+pkgdesc="DOS filesystem utilities"
+url="http://www.daniel-baumann.ch/software/dosfstools/"
+arch="all"
+license="GPL3+"
+depends=""
+makedepends="libiconv-dev"
+subpackages="$pkgname-doc"
+source="http://daniel-baumann.ch/files/software/dosfstools/dosfstools-$pkgver.tar.xz"
+
+_builddir="$srcdir"/$pkgname-$pkgver
+build() {
+ cd "$_builddir"
+ make OPTFLAGS="$CFLAGS" LDFLAGS="-liconv $LDFLAGS" || return 1
+}
+
+package() {
+ cd "$_builddir"
+ make DESTDIR="$pkgdir" \
+ PREFIX=/usr \
+ MANDIR=/usr/share/man \
+ DOCDIR=/usr/share/doc \
+ install || return 1
+}
+
+md5sums="b34dcf1d22bc1074ebdba68799fa3cad dosfstools-3.0.20.tar.xz"
+sha256sums="b88cbef19f1133eaa1d1a4c450eff09695442966eb34cc3b6c07ace405aa1cb7 dosfstools-3.0.20.tar.xz"
+sha512sums="9f1a70a19df3d41cf39ea07f2046a8ec7cdec5523fdbbaf64b35dbd9828f32e729b90cb5f6f83c7a8fb41472b69dcb2f8944adecc0c193c0343d3857dc44bf94 dosfstools-3.0.20.tar.xz"
diff --git a/main/perl-net-ssleay/krb5/APKBUILD b/main/perl-net-ssleay/krb5/APKBUILD
new file mode 100644
index 0000000000..72ec854993
--- /dev/null
+++ b/main/perl-net-ssleay/krb5/APKBUILD
@@ -0,0 +1,130 @@
+# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
+pkgname=krb5
+pkgver=1.11.3
+pkgrel=0
+pkgdesc="The Kerberos network authentication system"
+url="http://web.mit.edu/kerberos/www/"
+arch="all"
+license="MIT"
+depends="krb5-conf"
+depends_dev="e2fsprogs-dev"
+makedepends="$depends_dev libverto-dev openldap-dev openssl-dev
+ keyutils-dev bison flex perl"
+install=""
+subpackages="$pkgname-dev $pkgname-doc $pkgname-server
+ $pkgname-server-ldap:ldap $pkgname-pkinit $pkgname-libs"
+source="http://web.mit.edu/kerberos/dist/krb5/1.11/krb5-$pkgver-signed.tar
+ mit-krb5-1.11_uninitialized.patch
+ mit-krb5_krb5-config_LDFLAGS.patch
+ krb5kadmind.initd
+ krb5kdc.initd
+ krb5kpropd.initd
+ "
+
+_builddir="$srcdir"/krb5-$pkgver
+unpack() {
+ default_unpack
+ cd "$srcdir"
+ tar -zxf krb5-$pkgver.tar.gz
+}
+
+
+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"/src
+ ./configure \
+ CPPFLAGS="$CPPFLAGS -fPIC -I/usr/include/et" \
+ --prefix=/usr \
+ --localstatedir=/var/lib \
+ --enable-shared \
+ --disable-static \
+ --disable-rpath \
+ --with-system-et \
+ --with-system-ss \
+ --with-system-verto \
+ --without-tcl \
+ --with-ldap \
+ --with-crypto-impl=openssl \
+ || return 1
+ make
+}
+
+package() {
+ cd "$_builddir"/src
+ make install DESTDIR="$pkgdir" || return 1
+ mkdir -p "$pkgdir"/usr/share/doc/$pkgname
+ mv "$pkgdir"/usr/share/examples "$pkgdir"/usr/share/doc/$pkgname/
+
+ for i in $source; do
+ case $i in
+ *.initd) install -Dm755 "$srcdir"/$i \
+ "$pkgdir"/etc/init.d/${i%.initd};;
+ esac
+ done
+}
+
+server() {
+ pkgdesc="The KDC and related programs for Kerberos 5"
+ depends="libverto-libev"
+ mkdir -p "$subpkgdir"/usr/share \
+ "$subpkgdir"/usr/bin \
+ "$subpkgdir"/etc/
+ install -d "$subpkgdir"/var/lib/krb5kdc || return 1
+ mv "$pkgdir"/usr/sbin "$subpkgdir"/usr/ || return 1
+ mv "$pkgdir"/usr/share/gnats "$subpkgdir"/usr/share/ || return 1
+ mv "$pkgdir"/etc/init.d "$subpkgdir"/etc/ || return 1
+ # used for testing server
+ mv "$pkgdir"/usr/bin/sclient "$subpkgdir"/usr/bin/
+
+}
+
+ldap() {
+ pkgdesc="The LDAP storage plugin for the Kerberos 5 KDC"
+ mkdir -p "$subpkgdir"/usr/lib/krb5/plugins/kdb
+ mv "$pkgdir"/usr/lib/krb5/plugins/kdb/kldap.so \
+ "$subpkgdir"/usr/lib/krb5/plugins/kdb/ || return 1
+ mv "$pkgdir"/usr/lib/libkdb_ldap* \
+ "$subpkgdir"/usr/lib/
+}
+
+pkinit() {
+ pkgdesc="The PKINIT module for Kerberos 5"
+ mkdir -p "$subpkgdir"/usr/lib/krb5/plugins/preauth
+ mv "$pkgdir"/usr/lib/krb5/plugins/preauth/pkinit.so \
+ "$subpkgdir"/usr/lib/krb5/plugins/preauth/pkinit.so
+}
+
+libs() {
+ pkgdesc="The shared libraries used by Kerberos 5"
+ depends="krb5-conf"
+ mkdir -p "$subpkgdir"/usr/
+ mv "$pkgdir"/usr/lib "$subpkgdir"/usr/ || return 1
+}
+
+md5sums="56f0ae274b285320b8a597cb89442449 krb5-1.11.3-signed.tar
+597cd7ab74a8113b86e3405c15ccfecb mit-krb5-1.11_uninitialized.patch
+656e242de9b5ada1edf398983db51eef mit-krb5_krb5-config_LDFLAGS.patch
+29906e70e15025dda8b315d8209cab4c krb5kadmind.initd
+47efe7f24c98316d38ea46ad629b3517 krb5kdc.initd
+3e0b8313c1e5bfb7625f35e76a5e53f1 krb5kpropd.initd"
+sha256sums="9abd94bb94a70996da0f8d90408957154bb543271b097e86c63eb33e5f5751b5 krb5-1.11.3-signed.tar
+81a0d432b6d1686587b25b6ce70f0b8558e0c693da4c63b9de881962ae01c043 mit-krb5-1.11_uninitialized.patch
+9ebfc38cc167bbf451105807512845cd961f839d64b7e2904a6c4e722e41fe2b mit-krb5_krb5-config_LDFLAGS.patch
+c7a1ec03472996daaaaf1a4703566113c80f72ee8605d247098a25a13dad1f5f krb5kadmind.initd
+709309dea043aa306c2fcf0960e0993a6db540c220de64cf92d6b85f1cca23c5 krb5kdc.initd
+86b15d691e32b331ac756ee368b7364de6ab238dcae5adfed2a00b57d1b64ef4 krb5kpropd.initd"
+sha512sums="4d4c5d5c3a495da141bca40fe73378db190ace8ed397b7bb8e38c53757e6df3ec55fa0eb5628f7c6204d1265f8451535e65c4ebd844821c64cdfd0c6e32468a5 krb5-1.11.3-signed.tar
+4d2ea5189971df13bf874d29bcf89fa3bfeb1d25b3bd9245ee7c88f5c4834e950c5978ce13df3b8fc05f98dd7d5510dad43af0440436958fa23f9e1a51f60f76 mit-krb5-1.11_uninitialized.patch
+8118518e359cb5e69e3321b7438b200d5d74ceeac16b4623bf4e4bfb4ead6c656de6fa153f9bcc454097b45a512bc8cd0798b1f062a2c4a09f75253b204a7a17 mit-krb5_krb5-config_LDFLAGS.patch
+561af06b4e0f0e130dda345ad934bcdb9984ec00cc38d871df1d3bb3f9e1c7d86f06db5b03229707c88b96ad324e3a2222420f8494aa431002cacea0246b1153 krb5kadmind.initd
+d6d0076886ce284fc395fafc2dc253b4b3ee97b2986dea51388d96a1e1294680fb171f475efc7844559e2c6aac44b26678a9255921db9a58dcf2e7164f0aeec5 krb5kdc.initd
+f97d33fa977c132a470d95fd539d8e8db018e03f28dbc9d3e04faf78ebb7392196e7d5135f138c2390979bf37b3ae0265e6827f0c17b44b277eb2dfff0a96f77 krb5kpropd.initd"
diff --git a/main/perl-net-ssleay/krb5/CVE-2002-2443.patch b/main/perl-net-ssleay/krb5/CVE-2002-2443.patch
new file mode 100644
index 0000000000..3ef88155c5
--- /dev/null
+++ b/main/perl-net-ssleay/krb5/CVE-2002-2443.patch
@@ -0,0 +1,69 @@
+From cf1a0c411b2668c57c41e9c4efd15ba17b6b322c Mon Sep 17 00:00:00 2001
+From: Tom Yu <tlyu@mit.edu>
+Date: Fri, 3 May 2013 16:26:46 -0400
+Subject: [PATCH] Fix kpasswd UDP ping-pong [CVE-2002-2443]
+
+The kpasswd service provided by kadmind was vulnerable to a UDP
+"ping-pong" attack [CVE-2002-2443]. Don't respond to packets unless
+they pass some basic validation, and don't respond to our own error
+packets.
+
+Some authors use CVE-1999-0103 to refer to the kpasswd UDP ping-pong
+attack or UDP ping-pong attacks in general, but there is discussion
+leading toward narrowing the definition of CVE-1999-0103 to the echo,
+chargen, or other similar built-in inetd services.
+
+Thanks to Vincent Danen for alerting us to this issue.
+
+CVSSv2: AV:N/AC:L/Au:N/C:N/I:N/A:P/E:P/RL:O/RC:C
+
+ticket: 7637 (new)
+target_version: 1.11.3
+tags: pullup
+---
+ src/kadmin/server/schpw.c | 8 ++++----
+ 1 file changed, 4 insertions(+), 4 deletions(-)
+
+diff --git a/src/kadmin/server/schpw.c b/src/kadmin/server/schpw.c
+index 15b0ab5..7f455d8 100644
+--- a/src/kadmin/server/schpw.c
++++ b/src/kadmin/server/schpw.c
+@@ -52,7 +52,7 @@
+ ret = KRB5KRB_AP_ERR_MODIFIED;
+ numresult = KRB5_KPASSWD_MALFORMED;
+ strlcpy(strresult, "Request was truncated", sizeof(strresult));
+- goto chpwfail;
++ goto bailout;
+ }
+
+ ptr = req->data;
+@@ -67,7 +67,7 @@
+ numresult = KRB5_KPASSWD_MALFORMED;
+ strlcpy(strresult, "Request length was inconsistent",
+ sizeof(strresult));
+- goto chpwfail;
++ goto bailout;
+ }
+
+ /* verify version number */
+@@ -80,7 +80,7 @@
+ numresult = KRB5_KPASSWD_BAD_VERSION;
+ snprintf(strresult, sizeof(strresult),
+ "Request contained unknown protocol version number %d", vno);
+- goto chpwfail;
++ goto bailout;
+ }
+
+ /* read, check ap-req length */
+@@ -93,7 +93,7 @@
+ numresult = KRB5_KPASSWD_MALFORMED;
+ strlcpy(strresult, "Request was truncated in AP-REQ",
+ sizeof(strresult));
+- goto chpwfail;
++ goto bailout;
+ }
+
+ /* verify ap_req */
+--
+1.8.1.6
+
diff --git a/main/perl-net-ssleay/krb5/krb5kadmind.initd b/main/perl-net-ssleay/krb5/krb5kadmind.initd
new file mode 100644
index 0000000000..a1cdfef822
--- /dev/null
+++ b/main/perl-net-ssleay/krb5/krb5kadmind.initd
@@ -0,0 +1,25 @@
+#!/sbin/runscript
+
+#---------------------------------------------------------------------------
+# This script starts/stops the MIT Kerberos 5 Admin daemon
+#---------------------------------------------------------------------------
+
+daemon="MIT Kerberos 5 Admin daemon"
+exec="/usr/sbin/kadmind"
+
+depend() {
+ need krb5kdc
+ use net
+}
+
+start() {
+ ebegin "Starting $daemon"
+ start-stop-daemon --start --quiet --exec ${exec} 1>&2
+ eend $? "Error starting $daemon"
+}
+
+stop() {
+ ebegin "Stopping $daemon"
+ start-stop-daemon --stop --quiet --exec ${exec} 1>&2
+ eend $? "Error stopping $daemon"
+}
diff --git a/main/perl-net-ssleay/krb5/krb5kdc.initd b/main/perl-net-ssleay/krb5/krb5kdc.initd
new file mode 100644
index 0000000000..94f1f79379
--- /dev/null
+++ b/main/perl-net-ssleay/krb5/krb5kdc.initd
@@ -0,0 +1,24 @@
+#!/sbin/runscript
+
+#---------------------------------------------------------------------------
+# This script starts/stops the MIT Kerberos 5 KDC
+#---------------------------------------------------------------------------
+
+daemon="MIT Kerberos 5 KDC"
+exec="/usr/sbin/krb5kdc"
+
+depend() {
+ use net
+}
+
+start() {
+ ebegin "Starting $daemon"
+ start-stop-daemon --start --quiet --exec ${exec} 1>&2
+ eend $? "Error starting $daemon"
+}
+
+stop() {
+ ebegin "Stopping $daemon"
+ start-stop-daemon --stop --quiet --exec ${exec} 1>&2
+ eend $? "Error stopping $daemon"
+}
diff --git a/main/perl-net-ssleay/krb5/krb5kpropd.initd b/main/perl-net-ssleay/krb5/krb5kpropd.initd
new file mode 100644
index 0000000000..8b4b82975e
--- /dev/null
+++ b/main/perl-net-ssleay/krb5/krb5kpropd.initd
@@ -0,0 +1,24 @@
+#!/sbin/runscript
+
+#---------------------------------------------------------------------------
+# This script starts/stops the MIT Kerberos 5 kpropd
+#---------------------------------------------------------------------------
+
+daemon="MIT Kerberos 5 kpropd"
+exec="/usr/sbin/kpropd"
+
+depend() {
+ use net krb5kdc krb5kadmind
+}
+
+start() {
+ ebegin "Starting $daemon"
+ start-stop-daemon --start --quiet --exec ${exec} -- -S 1>&2
+ eend $? "Error starting $daemon"
+}
+
+stop() {
+ ebegin "Stopping $daemon"
+ start-stop-daemon --stop --quiet --exec ${exec} 1>&2
+ eend $? "Error stopping $daemon"
+}
diff --git a/main/perl-net-ssleay/krb5/mit-krb5-1.11_uninitialized.patch b/main/perl-net-ssleay/krb5/mit-krb5-1.11_uninitialized.patch
new file mode 100644
index 0000000000..a32d01d51f
--- /dev/null
+++ b/main/perl-net-ssleay/krb5/mit-krb5-1.11_uninitialized.patch
@@ -0,0 +1,81 @@
+--- a/src/slave/kprop.c
++++ b/src/slave/kprop.c
+@@ -91,7 +91,7 @@ main(argc, argv)
+ int argc;
+ char **argv;
+ {
+- int fd, database_fd, database_size;
++ int fd = -1, database_fd, database_size;
+ krb5_error_code retval;
+ krb5_context context;
+ krb5_creds *my_creds;
+--- a/src/kadmin/ktutil/ktutil_funcs.c
++++ b/src/kadmin/ktutil/ktutil_funcs.c
+@@ -64,7 +64,7 @@
+ krb5_kt_list *list;
+ int idx;
+ {
+- krb5_kt_list lp, prev;
++ krb5_kt_list lp, prev = NULL;
+ int i;
+
+ for (lp = *list, i = 1; lp; prev = lp, lp = lp->next, i++) {
+--- a/src/lib/kadm5/alt_prof.c
++++ b/src/lib/kadm5/alt_prof.c
+@@ -164,7 +164,7 @@
+ char **values;
+ char *valp;
+ int idx;
+- krb5_boolean val;
++ krb5_boolean val = 0;
+
+ kret = krb5_aprof_getvals (acontext, hierarchy, &values);
+ if (kret)
+--- a/src/lib/krb5/unicode/ucstr.c
++++ b/src/lib/krb5/unicode/ucstr.c
+@@ -109,7 +109,7 @@
+ krb5_data ** newdataptr,
+ unsigned flags)
+ {
+- int i, j, len, clen, outpos, ucsoutlen, outsize;
++ int i, j, len, clen, outpos = 0, ucsoutlen, outsize;
+ char *out = NULL, *outtmp, *s;
+ krb5_ucs4 *ucs = NULL, *p, *ucsout = NULL;
+ krb5_data *newdata;
+diff --git a/src/util/profile/prof_init.c b/src/util/profile/prof_init.c
+index 7dc5b47..cd90db8 100644
+--- a/src/util/profile/prof_init.c
++++ b/src/util/profile/prof_init.c
+@@ -255,7 +255,7 @@ copy_vtable_profile(profile_t profile, profile_t *ret_new_profile)
+ {
+ errcode_t err;
+ void *cbdata;
+- profile_t new_profile;
++ profile_t new_profile = NULL;
+
+ *ret_new_profile = NULL;
+
+--- a/src/lib/krb5/krb/preauth2.c 2012-12-24 12:39:18.432678497 +0100
++++ b/src/lib/krb5/krb/preauth2.c 2012-12-24 12:50:49.444099126 +0100
+@@ -956,7 +956,7 @@
+ size_t i, h;
+ int out_pa_list_size = 0;
+ krb5_pa_data **out_pa_list = NULL;
+- krb5_error_code ret, module_ret;
++ krb5_error_code ret, module_ret = 0;
+ krb5_responder_fn responder = opte->opt_private->responder;
+ static const int paorder[] = { PA_INFO, PA_REAL };
+
+--- a/src/plugins/kdb/ldap/libkdb_ldap/ldap_principal2.c.orig 2013-02-15 14:38:43.742293824 +0000
++++ b/src/plugins/kdb/ldap/libkdb_ldap/ldap_principal2.c 2013-02-15 14:41:06.806870075 +0000
+@@ -1359,8 +1359,8 @@
+ goto cleanup;
+
+ for (i=0; bvalues[i] != NULL; ++i) {
+- krb5_int16 n_kd;
+- krb5_key_data *kd;
++ krb5_int16 n_kd = 0;
++ krb5_key_data *kd = NULL;
+ krb5_data in;
+
+ if (bvalues[i]->bv_len == 0)
diff --git a/main/perl-net-ssleay/krb5/mit-krb5_krb5-config_LDFLAGS.patch b/main/perl-net-ssleay/krb5/mit-krb5_krb5-config_LDFLAGS.patch
new file mode 100644
index 0000000000..0b300cb44a
--- /dev/null
+++ b/main/perl-net-ssleay/krb5/mit-krb5_krb5-config_LDFLAGS.patch
@@ -0,0 +1,12 @@
+Bug #448778
+--- krb5-1.11/src/krb5-config.in 2012-12-18 02:47:04.000000000 +0000
++++ krb5-1.11/src/krb5-config.in 2012-12-28 07:13:16.582693363 +0000
+@@ -217,7 +217,7 @@
+ -e 's#\$(PROG_RPATH)#'$libdir'#' \
+ -e 's#\$(PROG_LIBPATH)#'$libdirarg'#' \
+ -e 's#\$(RPATH_FLAG)#'"$RPATH_FLAG"'#' \
+- -e 's#\$(LDFLAGS)#'"$LDFLAGS"'#' \
++ -e 's#\$(LDFLAGS)##' \
+ -e 's#\$(PTHREAD_CFLAGS)#'"$PTHREAD_CFLAGS"'#' \
+ -e 's#\$(CFLAGS)##'`
+
diff --git a/main/perl-net-ssleay/libraw/APKBUILD b/main/perl-net-ssleay/libraw/APKBUILD
new file mode 100644
index 0000000000..221d60cc64
--- /dev/null
+++ b/main/perl-net-ssleay/libraw/APKBUILD
@@ -0,0 +1,40 @@
+# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
+pkgname=libraw
+pkgver=0.15.2
+pkgrel=0
+pkgdesc="Library for reading RAW files obtained from digital photo cameras"
+url="http://www.libraw.org/"
+arch="all"
+license="CDDL LGPL custom"
+depends=""
+makedepends=""
+subpackages="$pkgname-dev $pkgname-doc"
+source="http://www.libraw.org/data/LibRaw-$pkgver.tar.gz"
+
+_builddir="$srcdir"/LibRaw-$pkgver
+prepare() {
+ cd "$_builddir"
+ for i in $source; do
+ case $i in
+ *.patch) patch -p1 -i "$srcdir"/$i || return 1
+ esac
+ done
+}
+
+build() {
+ cd "$_builddir"
+ ./configure --prefix=/usr
+ make lib/libraw.a lib/libraw_r.a
+ make
+}
+
+package() {
+ cd "$_builddir"
+ make DESTDIR="$pkgdir" install || return 1
+ rm "$pkgdir"/usr/lib/*.la
+
+}
+
+md5sums="c652ded581bde2b4c09ba1469b23fe47 LibRaw-0.15.2.tar.gz"
+sha256sums="828eac93910f26f813f91d35f92f33a9e719c2ec8522d575b248063194b068c6 LibRaw-0.15.2.tar.gz"
+sha512sums="3b0b5cfda2e8f30714ec8f413b7dd617d72046eb13ed5cbce5113e86249b1066ea217089ab7f219b30ada55c2ff0f5eb9fee243720b35826ddab728ded4a27f0 LibRaw-0.15.2.tar.gz"
diff --git a/main/perl-net-ssleay/libusb-compat/APKBUILD b/main/perl-net-ssleay/libusb-compat/APKBUILD
new file mode 100644
index 0000000000..4952b3c975
--- /dev/null
+++ b/main/perl-net-ssleay/libusb-compat/APKBUILD
@@ -0,0 +1,28 @@
+# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
+pkgname=libusb-compat
+pkgver=0.1.5
+pkgrel=0
+pkgdesc="Compatility for older libusb"
+url="http://libusb.sourceforge.net/"
+arch="all"
+license="LGPL"
+subpackages="$pkgname-dev"
+depends=
+makedepends="libusb-dev"
+depends_dev="libusb-dev"
+source="http://downloads.sourceforge.net/libusb/$pkgname-$pkgver.tar.bz2"
+
+build() {
+ cd "$srcdir"/$pkgname-$pkgver
+ ./configure --prefix=/usr --disable-build-docs
+ make || return 1
+}
+
+package() {
+ cd "$srcdir"/$pkgname-$pkgver
+ make DESTDIR="$pkgdir" install || return 1
+ rm "$pkgdir"/usr/lib/*.la || return 1
+}
+md5sums="2780b6a758a1e2c2943bdbf7faf740e4 libusb-compat-0.1.5.tar.bz2"
+sha256sums="404ef4b6b324be79ac1bfb3d839eac860fbc929e6acb1ef88793a6ea328bc55a libusb-compat-0.1.5.tar.bz2"
+sha512sums="fe63bd1c65e67588a83ebfdd329025ecf75f33f877fb80dd83eb528df057efb591e010416027f9054294504562299166e8e2811a7681fa1967a03baae9b88857 libusb-compat-0.1.5.tar.bz2"
diff --git a/main/perl-net-ssleay/ortp/APKBUILD b/main/perl-net-ssleay/ortp/APKBUILD
new file mode 100644
index 0000000000..93b0dd7669
--- /dev/null
+++ b/main/perl-net-ssleay/ortp/APKBUILD
@@ -0,0 +1,45 @@
+# Contributor: Natanael Copa <ncopa@alpinelinux.org>
+# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
+pkgname=ortp
+pkgver=0.22.0
+pkgrel=0
+pkgdesc="A C library implementing the RTP protocol (RFC3550)"
+url="http://www.linphone.org/index.php/code_review/ortp"
+arch="all"
+license="LGPLv2+ VSL"
+depends=""
+makedepends=""
+install=""
+subpackages="$pkgname-dev"
+source="http://nongnu.askapache.com/linphone/ortp/sources/ortp-$pkgver.tar.gz
+ "
+
+_builddir="$srcdir"/ortp-$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"
+ ./configure --prefix=/usr \
+ --disable-static \
+ --enable-ipv6 \
+ || return 1
+ make || return 1
+}
+
+package() {
+ cd "$_builddir"
+ make DESTDIR="$pkgdir" install || return 1
+ rm -f "$pkgdir"/usr/lib/*.la
+}
+
+md5sums="119357e1d904be0289e57c80e5ad90ba ortp-0.22.0.tar.gz"
+sha256sums="6e37e29b3c3559bac1f2ae0c977f6ceb4d4ce8dc713b691dea8bae57bda92d0b ortp-0.22.0.tar.gz"
+sha512sums="0453f19fd3388c3dcd12f118dbfc1a460fae77e4f9e82b1b71f4014e3bbba4d480f811d07bc781dced1fb2685901eaea364c8276c0d083f5e8d6b7074f7c4fba ortp-0.22.0.tar.gz"
diff --git a/main/perl-net-ssleay/perl-devel-symdump/APKBUILD b/main/perl-net-ssleay/perl-devel-symdump/APKBUILD
new file mode 100644
index 0000000000..49033618f8
--- /dev/null
+++ b/main/perl-net-ssleay/perl-devel-symdump/APKBUILD
@@ -0,0 +1,39 @@
+# Contributor: Mika Havela <mika.havela@gmail.com>
+# Maintainer: Mika Havela <mika.havela@gmail.com>
+pkgname=perl-devel-symdump
+_realname=Devel-Symdump
+pkgver=2.10
+pkgrel=0
+pkgdesc="Perl - Dump symbol names or the symbol table"
+url="http://search.cpan.org/~andk/$_realname-$pkgver/"
+arch="noarch"
+license="Artistic GPL"
+depends="perl perl-test-pod"
+makedepends="perl-dev"
+install=
+#subpackages="$pkgname-doc"
+source="http://search.cpan.org/CPAN/authors/id/A/AN/ANDK/$_realname-$pkgver.tar.gz"
+
+_builddir="$srcdir/$_realname-$pkgver"
+
+prepare() {
+ cd "$_builddir"
+}
+
+build() {
+ cd "$_builddir"
+ PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor || return 1
+ make || return 1
+ make test || return 1
+}
+
+package() {
+ cd "$_builddir"
+ make DESTDIR="$pkgdir" install
+ # creates file collision among perl modules
+ find "$pkgdir" -name perllocal.pod -delete
+}
+
+md5sums="762386076eebe92b41c31da56eb9bd06 Devel-Symdump-2.10.tar.gz"
+sha256sums="6b362910e8e8f6cd4d0c45550c21842875a6addaec642b7cb172fd0340859b0d Devel-Symdump-2.10.tar.gz"
+sha512sums="80eed26e4004946ad3449af3782631659ff705c31d36658377496c863d342a6b9d9a6540d2440eee1c28782166443cd25aa7fa49505d911f0c3e7a00a190c9f6 Devel-Symdump-2.10.tar.gz"