From 7ce7c80eca298d83e8b7717697baed15f3cd9b9b Mon Sep 17 00:00:00 2001 From: Alejandro Mery Date: Tue, 26 Aug 2008 16:19:16 +0000 Subject: [PATCH] betaftpd: Added betaftpd 0.0.8pre17 - Single-threaded, small FTP daemon --- network/betaftpd/betaftpd.conf | 23 +++++++++++++++++++++ network/betaftpd/betaftpd.desc | 37 ++++++++++++++++++++++++++++++++++ network/betaftpd/hotfix.patch | 27 +++++++++++++++++++++++++ 3 files changed, 87 insertions(+) create mode 100644 network/betaftpd/betaftpd.conf create mode 100644 network/betaftpd/betaftpd.desc create mode 100644 network/betaftpd/hotfix.patch diff --git a/network/betaftpd/betaftpd.conf b/network/betaftpd/betaftpd.conf new file mode 100644 index 000000000..982a3296a --- /dev/null +++ b/network/betaftpd/betaftpd.conf @@ -0,0 +1,23 @@ +# --- SDE-COPYRIGHT-NOTE-BEGIN --- +# This copyright note is auto-generated by ./scripts/Create-CopyPatch. +# +# Filename: package/.../betaftpd/betaftpd.conf +# Copyright (C) 2008 The OpenSDE Project +# +# More information can be found in the files COPYING and README. +# +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; version 2 of the License. A copy of the +# GNU General Public License can be found in the file COPYING. +# --- SDE-COPYRIGHT-NOTE-END --- + +autogen=1 + +var_append extraconfopt ' ' '--with-linux-sendfile' + +if atstage cross; then + var_append configcache ' ' 'ac_cv_func_mmap_fixed_mapped=yes' + + var_append makeinstopt ' ' "prefix=$root/$prefix" +fi diff --git a/network/betaftpd/betaftpd.desc b/network/betaftpd/betaftpd.desc new file mode 100644 index 000000000..7f5a1ccbe --- /dev/null +++ b/network/betaftpd/betaftpd.desc @@ -0,0 +1,37 @@ +[COPY] --- SDE-COPYRIGHT-NOTE-BEGIN --- +[COPY] This copyright note is auto-generated by ./scripts/Create-CopyPatch. +[COPY] +[COPY] Filename: package/.../betaftpd/betaftpd.desc +[COPY] Copyright (C) 2008 The OpenSDE Project +[COPY] +[COPY] More information can be found in the files COPYING and README. +[COPY] +[COPY] This program is free software; you can redistribute it and/or modify +[COPY] it under the terms of the GNU General Public License as published by +[COPY] the Free Software Foundation; version 2 of the License. A copy of the +[COPY] GNU General Public License can be found in the file COPYING. +[COPY] --- SDE-COPYRIGHT-NOTE-END --- + +[I] Single-threaded, small FTP daemon + +[T] BetaFTPD is a single-threaded FTP daemon. The single-threadedness makes +[T] it faster than most other FTP daemons (contrary to common belief), and +[T] makes it extremely light on memory. Although it lacks a few functions +[T] (which you probably won't miss), the current version is very small and +[T] has a decent amount of functionality. BetaFTPD is built on the concept +[T] of heavy code reuse, which should hopefully make it easier for other +[T] programmers to contribute. + +[U] http://betaftpd.sourceforge.net/ + +[A] Sesse +[M] Alejandro Mery + +[C] extra/network + +[L] GPL +[S] Beta +[V] 0.0.8pre17 +[P] X -?---5---9 800.000 + +[D] 4203521396 betaftpd-0.0.8pre17.tar.gz http://betaftpd.sourceforge.net/download/ diff --git a/network/betaftpd/hotfix.patch b/network/betaftpd/hotfix.patch new file mode 100644 index 000000000..65d8a4143 --- /dev/null +++ b/network/betaftpd/hotfix.patch @@ -0,0 +1,27 @@ +# --- SDE-COPYRIGHT-NOTE-BEGIN --- +# This copyright note is auto-generated by ./scripts/Create-CopyPatch. +# +# Filename: package/.../betaftpd/hotfix.patch +# Copyright (C) 2008 The OpenSDE Project +# +# More information can be found in the files COPYING and README. +# +# This patch file is dual-licensed. It is available under the license the +# patched project is licensed under, as long as it is an OpenSource license +# as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms +# of the GNU General Public License as published by the Free Software +# Foundation; either version 2 of the License, or (at your option) any later +# version. +# --- SDE-COPYRIGHT-NOTE-END --- + +--- ./cmds.h.orig 2008-08-25 17:55:12.000000000 +0000 ++++ ./cmds.h 2008-08-25 18:02:51.000000000 +0000 +@@ -54,7 +54,7 @@ + } + #endif + +-#define CMD_PROTO(cmd) int cmd_ ## cmd ## (struct conn * const c) ++#define CMD_PROTO(cmd) int cmd_ ## cmd (struct conn * const c) + + int do_chdir(struct conn * const c, const char * const newd); + CMD_PROTO(user);