aboutsummaryrefslogtreecommitdiffstats
path: root/testing/proftpd
diff options
context:
space:
mode:
Diffstat (limited to 'testing/proftpd')
-rw-r--r--testing/proftpd/APKBUILD60
-rw-r--r--testing/proftpd/mempcpy.patch13
-rw-r--r--testing/proftpd/proftpd.confd7
-rw-r--r--testing/proftpd/proftpd.initd28
4 files changed, 0 insertions, 108 deletions
diff --git a/testing/proftpd/APKBUILD b/testing/proftpd/APKBUILD
deleted file mode 100644
index 63af201f4d..0000000000
--- a/testing/proftpd/APKBUILD
+++ /dev/null
@@ -1,60 +0,0 @@
-# Contributor: Elizabeth Jennifer Myers <elizabeth@sporksirc.net>
-# Maintainer: Elizabeth Jennifer Myers <elizabeth@sporksirc.net>
-pkgname=proftpd
-pkgver=1.3.4a
-pkgrel=0
-pkgdesc="Highly configurable GPL-licensed FTP server software"
-url="http://www.proftpd.org/"
-arch="all"
-license="GPLv2"
-depends="openssl gettext ncurses"
-depends_dev="ncurses-dev openssl-dev"
-makedepends="$depends_dev libtool"
-install=""
-subpackages="$pkgname-doc"
-source="ftp://ftp.proftpd.org/distrib/source/proftpd-${pkgver}.tar.bz2
- mempcpy.patch
- proftpd.initd
- proftpd.confd"
-
-_builddir="$srcdir"/"$pkgname"-"$pkgver"
-
-prepare() {
- 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 \
- --enable-openssl \
- --enable-facl \
- --enable-dso \
- --enable-ipv6 \
- --enable-ctrls \
- --with-modules=mod_quotatab:mod_quotatab_file:mod_tls \
- --prefix=/usr \
- --sysconfdir=/etc \
- --mandir=/usr/share/man \
- --localstatedir=/var/run
- make || return 1
-}
-
-package() {
- cd "$_builddir"
- make DESTDIR="$pkgdir" install || return 1
-
- install -m755 -D "$srcdir"/$pkgname.initd \
- "$pkgdir"/etc/init.d/$pkgname || return 1
- install -m644 -D "$srcdir"/$pkgname.confd \
- "$pkgdir"/etc/conf.d/$pkgname || return 1
-}
-
-md5sums="4e3235dc1ef95d36e59721d70c5c489c proftpd-1.3.4a.tar.bz2
-cee983fba72533440d1a95c87bbbefc3 mempcpy.patch
-175ce0cef2fb410d0ac8929ad421f941 proftpd.initd
-aab5852ac574e87781f1c9c4942e699b proftpd.confd"
diff --git a/testing/proftpd/mempcpy.patch b/testing/proftpd/mempcpy.patch
deleted file mode 100644
index e58210f372..0000000000
--- a/testing/proftpd/mempcpy.patch
+++ /dev/null
@@ -1,13 +0,0 @@
-diff --git a/lib/pr_fnmatch.c b/lib/pr_fnmatch.c
-index 9e398e7..102591a 100644
---- a/lib/pr_fnmatch.c
-+++ b/lib/pr_fnmatch.c
-@@ -233,7 +233,7 @@ __wcschrnul (const wchar_t *s, wint_t c)
- # endif
- # define STRLEN(S) strlen (S)
- # define STRCAT(D, S) strcat (D, S)
--# define MEMPCPY(D, S, N) __mempcpy (D, S, N)
-+# define MEMPCPY(D, S, N) mempcpy (D, S, N)
- # define MEMCHR(S, C, N) memchr (S, C, N)
- # define STRCOLL(S1, S2) strcoll (S1, S2)
- # include "pr_fnmatch_loop.c"
diff --git a/testing/proftpd/proftpd.confd b/testing/proftpd/proftpd.confd
deleted file mode 100644
index 0cf909c432..0000000000
--- a/testing/proftpd/proftpd.confd
+++ /dev/null
@@ -1,7 +0,0 @@
-# Sample conf.d file for alpine linux
-
-#
-# Specify daemon options here.
-#
-
-sample_opts="-6"
diff --git a/testing/proftpd/proftpd.initd b/testing/proftpd/proftpd.initd
deleted file mode 100644
index c20a2543a1..0000000000
--- a/testing/proftpd/proftpd.initd
+++ /dev/null
@@ -1,28 +0,0 @@
-#!/sbin/runscript
-
-# Sample init.d file for alpine linux.
-
-name=proftpd
-daemon=/usr/sbin/proftpd
-
-depend() {
- need net
- after firewall
-}
-
-start() {
- ebegin "Starting ${name}"
- start-stop-daemon --start --quiet \
- --pidfile /var/run/${name}.pid \
- --exec ${daemon} -- ${sample_opts}
- eend $?
-}
-
-stop() {
- ebegin "Stopping ${name}"
- start-stop-daemon --stop --quiet \
- --pidfile /var/run/$name.pid \
- --exec ${daemon}
- eend $?
-}
-