]> git.sesse.net Git - betaftpd/commitdiff
Freshly made debian/ directory, from a potato (2.2) machine, originally made with...
authorsgunderson <sgunderson>
Thu, 17 Aug 2000 22:46:36 +0000 (22:46 +0000)
committersgunderson <sgunderson>
Thu, 17 Aug 2000 22:46:36 +0000 (22:46 +0000)
debian/README.debian [new file with mode: 0644]
debian/betaftpd.7 [new file with mode: 0644]
debian/changelog [new file with mode: 0644]
debian/control [new file with mode: 0644]
debian/copyright [new file with mode: 0644]
debian/dirs [new file with mode: 0644]
debian/files [new file with mode: 0644]
debian/init.d [new file with mode: 0644]
debian/rules [new file with mode: 0755]
debian/substvars [new file with mode: 0644]
debian/watch.ex [new file with mode: 0644]

diff --git a/debian/README.debian b/debian/README.debian
new file mode 100644 (file)
index 0000000..0888baa
--- /dev/null
@@ -0,0 +1,8 @@
+betaftpd for Debian
+----------------------
+
+This package was built with most of the most common options enabled. If you wish
+to change this, you will have to get the source (see http://betaftpd.sourceforge.net/)
+and compile it yourself.
+
+Steinar H. Gunderson <sgunderson@bigfoot.com>, Thu, 17 Aug 2000 18:02:18 +0200
diff --git a/debian/betaftpd.7 b/debian/betaftpd.7
new file mode 100644 (file)
index 0000000..4b405cc
--- /dev/null
@@ -0,0 +1,19 @@
+.TH BETAFTPD 7
+.\" NAME should be all caps, SECTION should be 1-8, maybe w/ subsection
+.\" other parms are allowed: see man(7), man(1)
+.SH NAME
+betaftpd \- single-threaded, small, fast alternative FTP daemon
+.SH SYNOPSIS
+.B betaftpd
+.br
+.SH "DESCRIPTION"
+This manual page documents briefly the
+.BR betaftpd 
+command.
+This manual page was written for the Debian GNU/Linux distribution
+because the original program does not have a manual page. There are
+no configuration files or command line switches -- please see the
+files in /usr/doc/betaftpd/ instead, in particular README.
+.SH AUTHOR
+This manual page was written by Steinar H. Gunderson <sgunderson@bigfoot.com>,
+for the Debian GNU/Linux system (but may be used by others).
diff --git a/debian/changelog b/debian/changelog
new file mode 100644 (file)
index 0000000..2390fc1
--- /dev/null
@@ -0,0 +1,9 @@
+betaftpd (0.0.8pre17-1) unstable; urgency=low
+
+  * Initial release.
+
+ -- Steinar H. Gunderson <sgunderson@bigfoot.com>  Thu, 17 Aug 2000 18:02:18 +0200
+
+Local variables:
+mode: debian-changelog
+End:
diff --git a/debian/control b/debian/control
new file mode 100644 (file)
index 0000000..050a25c
--- /dev/null
@@ -0,0 +1,17 @@
+Source: betaftpd
+Section: net
+Priority: extra
+Maintainer: Steinar H. Gunderson <sgunderson@bigfoot.com>
+Standards-Version: 3.1.1
+
+Package: betaftpd
+Architecture: i386
+Depends: ${shlibs:Depends}
+Description: Single-threaded, fast, small alternative FTP daemon
+ BetaFTPD is a single-threaded FTP daemon. The single-threadedness
+ makes it faster than most other FTP daemons (contrary to common
+ belief), and makes it extremely light on memory. Although it lacks a
+ few functions (which you probably won't miss), the current version is
+ very small and has a decent amount of functionality. BetaFTPD is built
+ on the concept of heavy code reuse, which should hopefully make it
+ easier for other programmers to contribute.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644 (file)
index 0000000..13664b4
--- /dev/null
@@ -0,0 +1,21 @@
+This package was debianized by Steinar H. Gunderson <sgunderson@bigfoot.com> on
+Thu, 17 Aug 2000 18:02:18 +0200.
+
+It was downloaded from http://betaftpd.sourceforge.net/
+
+Copyright/license:
+
+(C) 1999-2000 Steinar H. Gunderson and others.
+
+This program is is free software; you can redistribute it and/or modify
+it under the terms of the GNU General Public License, version 2 if the
+License as published by the Free Software Foundation.
+           
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+GNU General Public License for more details.
+                           
+You should have received a copy of the GNU General Public License
+along with this program; if not, write to the Free Software
+Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
diff --git a/debian/dirs b/debian/dirs
new file mode 100644 (file)
index 0000000..c3d8c33
--- /dev/null
@@ -0,0 +1,3 @@
+usr/bin
+usr/sbin
+usr/share/doc/betaftpd
diff --git a/debian/files b/debian/files
new file mode 100644 (file)
index 0000000..1a43f00
--- /dev/null
@@ -0,0 +1 @@
+betaftpd_0.0.8pre17-1_i386.deb net extra
diff --git a/debian/init.d b/debian/init.d
new file mode 100644 (file)
index 0000000..cbd1d3e
--- /dev/null
@@ -0,0 +1,51 @@
+#!/bin/sh
+#
+# This file was automatically customized by debmake on Thu, 17 Aug 2000 18:02:18 +0200
+#
+# Written by Miquel van Smoorenburg <miquels@cistron.nl>.
+# Modified for Debian GNU/Linux by Ian Murdock <imurdock@gnu.org>.
+# Modified for Debian by Christoph Lameter <clameter@debian.org>
+
+PATH=/bin:/usr/bin:/sbin:/usr/sbin
+DAEMON=/usr/sbin/betaftpd
+# The following value is extracted by debstd to figure out how to generate
+# the postinst script. Edit the field to change the way the script is
+# registered through update-rc.d (see the manpage for update-rc.d!)
+FLAGS="defaults 50"
+
+test -f $DAEMON || exit 0
+
+case "$1" in
+  start)
+    start-stop-daemon --start --verbose --exec $DAEMON
+    ;;
+  stop)
+    start-stop-daemon --stop --verbose --exec $DAEMON
+    ;;
+  #reload)
+    #
+    # If the daemon can reload its config files on the fly
+    # for example by sending it SIGHUP, do it here.
+    #
+    # If the daemon responds to changes in its config file
+    # directly anyway, make this a do-nothing entry.
+    #
+    # start-stop-daemon --stop --signal 1 --verbose --exec $DAEMON
+    # ;;
+  restart|force-reload)
+  #
+  # If the "reload" option is implemented, move the "force-reload"
+  # option to the "reload" entry above. If not, "force-reload" is
+  # just the same as "restart".
+  #
+    start-stop-daemon --stop --verbose --exec $DAEMON
+    sleep 1
+    start-stop-daemon --start --verbose --exec $DAEMON
+    ;;
+  *)
+    echo "Usage: /etc/init.d/betaftpd {start|stop|restart|force-reload}"
+    exit 1
+    ;;
+esac
+
+exit 0
diff --git a/debian/rules b/debian/rules
new file mode 100755 (executable)
index 0000000..ad05851
--- /dev/null
@@ -0,0 +1,50 @@
+#!/usr/bin/make -f
+# Made with the aid of debmake, by Christoph Lameter,
+# based on the sample debian/rules file for GNU hello by Ian Jackson.
+
+package=betaftpd
+
+build:
+       $(checkdir)
+       CFLAGS="-O6 -Wall" ./configure --prefix=/usr --enable-xferlog --enable-ascii --enable-fork --enable-upload --enable-dcache --enable-message --enable-shadow
+       $(MAKE) CFLAGS="-O6 -Wall"
+       touch build
+
+clean:
+       $(checkdir)
+       -rm -f build
+       -$(MAKE) distclean
+       -rm -f `find . -name "*~"`
+       -rm -rf debian/tmp debian/files* core debian/substvars
+
+binary-indep: checkroot build
+       $(checkdir)
+       # For some reason, this is never triggered... the document installation
+       # is this in binary-arch instead.
+
+binary-arch: checkroot build
+       $(checkdir)
+       -rm -rf debian/tmp
+       install -d debian/tmp
+       cd debian/tmp && install -d `cat ../dirs`
+       $(MAKE) install prefix=`pwd`/debian/tmp/usr
+       -cp doc/* `pwd`/debian/tmp/usr/share/doc/betaftpd/
+# Must have debmake installed for this to work. Otherwise please copy
+# /usr/bin/debstd into the debian directory and change debstd to debian/debstd
+       debstd README 
+       dpkg-gencontrol -isp
+       chown -R root.root debian/tmp
+       chmod -R go=rX debian/tmp
+       dpkg --build debian/tmp ..
+
+define checkdir
+       test -f debian/rules
+endef
+
+binary: binary-indep binary-arch
+
+checkroot:
+       $(checkdir)
+       test root = "`whoami`"
+
+.PHONY: binary binary-indep binary-arch clean checkroot
diff --git a/debian/substvars b/debian/substvars
new file mode 100644 (file)
index 0000000..8197be3
--- /dev/null
@@ -0,0 +1 @@
+shlibs:Depends=libc6 (>= 2.1.2)
diff --git a/debian/watch.ex b/debian/watch.ex
new file mode 100644 (file)
index 0000000..bdb2993
--- /dev/null
@@ -0,0 +1,5 @@
+# Example watch control file for uscan
+# Rename this file to "watch" and then you can run the "uscan" command
+# to check for upstream updates and more.
+# Site         Directory               Pattern                 Version Script
+# sunsite.unc.edu      /pub/Linux/Incomingu    betaftpd-*.tar.gz       debian  uupdate