From d01f3b644ce1ded27cfbd6ed6dbcaf2b4ddad8ce Mon Sep 17 00:00:00 2001 From: sgunderson Date: Thu, 17 Aug 2000 22:46:36 +0000 Subject: [PATCH] Freshly made debian/ directory, from a potato (2.2) machine, originally made with debmake. --- debian/README.debian | 8 +++++++ debian/betaftpd.7 | 19 +++++++++++++++++ debian/changelog | 9 ++++++++ debian/control | 17 +++++++++++++++ debian/copyright | 21 ++++++++++++++++++ debian/dirs | 3 +++ debian/files | 1 + debian/init.d | 51 ++++++++++++++++++++++++++++++++++++++++++++ debian/rules | 50 +++++++++++++++++++++++++++++++++++++++++++ debian/substvars | 1 + debian/watch.ex | 5 +++++ 11 files changed, 185 insertions(+) create mode 100644 debian/README.debian create mode 100644 debian/betaftpd.7 create mode 100644 debian/changelog create mode 100644 debian/control create mode 100644 debian/copyright create mode 100644 debian/dirs create mode 100644 debian/files create mode 100644 debian/init.d create mode 100755 debian/rules create mode 100644 debian/substvars create mode 100644 debian/watch.ex diff --git a/debian/README.debian b/debian/README.debian new file mode 100644 index 0000000..0888baa --- /dev/null +++ b/debian/README.debian @@ -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 , Thu, 17 Aug 2000 18:02:18 +0200 diff --git a/debian/betaftpd.7 b/debian/betaftpd.7 new file mode 100644 index 0000000..4b405cc --- /dev/null +++ b/debian/betaftpd.7 @@ -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 , +for the Debian GNU/Linux system (but may be used by others). diff --git a/debian/changelog b/debian/changelog new file mode 100644 index 0000000..2390fc1 --- /dev/null +++ b/debian/changelog @@ -0,0 +1,9 @@ +betaftpd (0.0.8pre17-1) unstable; urgency=low + + * Initial release. + + -- Steinar H. Gunderson 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 index 0000000..050a25c --- /dev/null +++ b/debian/control @@ -0,0 +1,17 @@ +Source: betaftpd +Section: net +Priority: extra +Maintainer: Steinar H. Gunderson +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 index 0000000..13664b4 --- /dev/null +++ b/debian/copyright @@ -0,0 +1,21 @@ +This package was debianized by Steinar H. Gunderson 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 index 0000000..c3d8c33 --- /dev/null +++ b/debian/dirs @@ -0,0 +1,3 @@ +usr/bin +usr/sbin +usr/share/doc/betaftpd diff --git a/debian/files b/debian/files new file mode 100644 index 0000000..1a43f00 --- /dev/null +++ b/debian/files @@ -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 index 0000000..cbd1d3e --- /dev/null +++ b/debian/init.d @@ -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 . +# Modified for Debian GNU/Linux by Ian Murdock . +# Modified for Debian by Christoph Lameter + +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 index 0000000..ad05851 --- /dev/null +++ b/debian/rules @@ -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 index 0000000..8197be3 --- /dev/null +++ b/debian/substvars @@ -0,0 +1 @@ +shlibs:Depends=libc6 (>= 2.1.2) diff --git a/debian/watch.ex b/debian/watch.ex new file mode 100644 index 0000000..bdb2993 --- /dev/null +++ b/debian/watch.ex @@ -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 -- 2.39.2