aboutsummaryrefslogtreecommitdiffstats
path: root/testing/proftpd
diff options
context:
space:
mode:
Diffstat (limited to 'testing/proftpd')
-rw-r--r--testing/proftpd/APKBUILD68
-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, 116 deletions
diff --git a/testing/proftpd/APKBUILD b/testing/proftpd/APKBUILD
deleted file mode 100644
index 278665fca9..0000000000
--- a/testing/proftpd/APKBUILD
+++ /dev/null
@@ -1,68 +0,0 @@
-# Contributor: Elizabeth Jennifer Myers <elizabeth@sporksirc.net>
-# Maintainer: Elizabeth Jennifer Myers <elizabeth@sporksirc.net>
-pkgname=proftpd
-pkgver=1.3.5
-pkgrel=0
-pkgdesc="Highly configurable GPL-licensed FTP server software"
-url="http://www.proftpd.org/"
-arch="all"
-license="GPLv2"
-depends=""
-depends_dev="ncurses-dev openssl-dev gettext-dev libcap-dev"
-makedepends="$depends_dev libtool"
-install=""
-subpackages="$pkgname-doc $pkgname-dev $pkgname-lang"
-source="ftp://ftp.proftpd.org/distrib/source/proftpd-${pkgver}.tar.gz
- 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="aff1bff40e675244d72c4667f203e5bb proftpd-1.3.5.tar.gz
-cee983fba72533440d1a95c87bbbefc3 mempcpy.patch
-175ce0cef2fb410d0ac8929ad421f941 proftpd.initd
-aab5852ac574e87781f1c9c4942e699b proftpd.confd"
-sha256sums="c10316fb003bd25eccbc08c77dd9057e053693e6527ffa2ea2cc4e08ccb87715 proftpd-1.3.5.tar.gz
-8d6167cf16551df61139e0410309303721fa58d3898fe9243648c319b61b7135 mempcpy.patch
-afcc8971c7ddba740979117f62a01b70453e53b36806c2b2328ca32f47a5964d proftpd.initd
-36677336553d5b6bc96b36be766d9eadcc42946a25cb38c0824ff509ede31955 proftpd.confd"
-sha512sums="fabc10606f2f6a33c7cbe117e774ed6eba8ef062cb792723f00cc235d4ade6499621f5d546b9b176f76780271c1c881c9e57f9cad67d288b5119fe6ca58c46dd proftpd-1.3.5.tar.gz
-50973de4bb234d455d8ec076c80b692b694a179f07a3903f821887bf75adce1f0672f62c97840c08e0d99bfce05f5b710aa15818031580b3f768ed7c77d2971e mempcpy.patch
-a2aedcfe4c1e78c7591a21943e63f4880eb461935130ed93d4037a80374e7f70b42f37959c23bd82bf965e67b8c9fab6488d84d01628d23231a5c65270b06a74 proftpd.initd
-ea06653f14484b6e3b4267cd964a37d3218c5bcff141c6a33a2e1b46c1f43eaa2996f0d9c3c3eb40c8a8ae9534be09803f53979c37d5fb760d7231a5d3003977 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 $?
-}
-