From 5d837b9074c956d0e31094a74e5cb90316672d51 Mon Sep 17 00:00:00 2001 From: James Vega Date: Fri, 27 Aug 2004 09:26:43 +0000 Subject: [PATCH] Update our debian/ directory --- debian/changelog | 31 +++- debian/control | 11 +- debian/copyright | 34 +++- debian/dirs | 1 - debian/docs | 9 +- debian/manpage_supybot-adduser.sgml | 183 ++++++++++++++++++++ debian/manpage_supybot-newplugin.sgml | 165 ++++++++++++++++++ debian/manpage_supybot-wizard.sgml | 151 +++++++++++++++++ debian/manpage_supybot.sgml | 230 ++++++++++++++++++++++++++ debian/rules | 94 ++--------- debian/watch | 6 + 11 files changed, 819 insertions(+), 96 deletions(-) delete mode 100644 debian/dirs create mode 100644 debian/manpage_supybot-adduser.sgml create mode 100644 debian/manpage_supybot-newplugin.sgml create mode 100644 debian/manpage_supybot-wizard.sgml create mode 100644 debian/manpage_supybot.sgml create mode 100644 debian/watch diff --git a/debian/changelog b/debian/changelog index cd1c61d38..ebadc52af 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,6 +1,33 @@ -supybot (0.76.1-1) unstable; urgency=low +supybot (0.79.9-1) unstable; urgency=high + + * New upstream (Closes: #268311) + * New maintainer: James Vega + * Urgency high to get the RC fix into Sarge (hopefully) + * debian/control: + + Downgrade Recommends: python-sqlite to Suggests: python-sqlite + + Update Build-Depends: cdbs, debhelper (>= 4.1.0) + + Bump Standard-Version to 3.6.1.0, no changes necessary + * Convert to cdbs + + -- James Vega Thu, 26 Aug 2004 17:28:03 -0400 + +supybot (0.77.2-1) unstable; urgency=low + + * New upstream + + -- Jonathan Hseu Sun, 18 Apr 2004 02:58:25 -0500 + +supybot (0.77.1-1) unstable; urgency=low + + * New upstream + * Add python-dev as a build-dep (closes: Bug#242953) + + -- Jonathan Hseu Sat, 10 Apr 2004 13:06:38 -0500 + +supybot (0.77.0-1) unstable; urgency=low * Initial Release. + * Paste LICENSE file into copyright - -- Jonathan Hseu Tue, 3 Feb 2004 21:45:46 -0600 + -- Jonathan Hseu Tue, 10 Mar 2004 00:59:46 -0600 diff --git a/debian/control b/debian/control index 1c3269422..081d110ec 100644 --- a/debian/control +++ b/debian/control @@ -1,16 +1,15 @@ Source: supybot Section: net Priority: optional -Maintainer: Jonathan Hseu -Build-Depends: debhelper (>= 4.0.0), python (>= 2.3), python-dev (>= 2.3) -Standards-Version: 3.6.0 +Maintainer: James Vega +Build-Depends: debhelper (>= 4.1.0), python (>= 2.3), python-dev (>= 2.3), docbook-to-man (>= 2.0.0) +Standards-Version: 3.6.1.0 Package: supybot Architecture: all Depends: ${python:Depends} -Recommends: python-sqlite -Suggests: python-twisted -Description: A robust and user friendly Python IRC bot. +Suggests: python-twisted, python-sqlite +Description: robust and user friendly Python IRC bot Supybot is a robust (it doesn't crash), user friendly (it's easy to configure) and programmer friendly (plugins are *extremely* easy to write) Python IRC bot. It aims to be an adequate diff --git a/debian/copyright b/debian/copyright index ec88eb242..b118b7a20 100644 --- a/debian/copyright +++ b/debian/copyright @@ -10,9 +10,6 @@ developers. Copyright: -A BSD-style license which you can find in: -/usr/share/doc/supybot/LICENSE - Files located in /usr/lib/python2.3/site-packages/supybot/others/ have their own respective licenses, which are either commented at the top of the file, or are held in the __license__ variable. @@ -23,3 +20,34 @@ The first two can be found in /usr/share/common-licenses/ The Python License can be found in: /usr/share/doc/python/copyright + +The copyright for all other files are as follows (BSD-style): + +Copyright (c) 2002, 2003, 2004 Jeremiah Fincher +All rights reserved. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, + this list of conditions, and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright notice, + this list of conditions, and the following disclaimer in the + documentation and/or other materials provided with the distribution. + * Neither the name of the author of this software nor the name of + contributors to this software may be used to endorse or promote products + derived from this software without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND +ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE +DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE +FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR +SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER +CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, +OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +Portions of the included source code are copyright by its original author(s) +and remains subject to its associated license. diff --git a/debian/dirs b/debian/dirs deleted file mode 100644 index e77248175..000000000 --- a/debian/dirs +++ /dev/null @@ -1 +0,0 @@ -usr/bin diff --git a/debian/docs b/debian/docs index bc6641cc3..1b9217822 100644 --- a/debian/docs +++ b/debian/docs @@ -1,8 +1,15 @@ +ACKS BUGS DEVS -LICENSE README RELNOTES TODO docs/CAPABILITIES +docs/CONFIGURATION +docs/FAQ docs/GETTING_STARTED +docs/HACKING +docs/INTERFACES +docs/OVERVIEW +docs/PLUGIN-EXAMPLE +docs/STYLE diff --git a/debian/manpage_supybot-adduser.sgml b/debian/manpage_supybot-adduser.sgml new file mode 100644 index 000000000..4dd3a09c2 --- /dev/null +++ b/debian/manpage_supybot-adduser.sgml @@ -0,0 +1,183 @@ + manpage.1'. You may view + the manual page with: `docbook-to-man manpage.sgml | nroff -man | + less'. A typical entry in a Makefile or Makefile.am is: + +manpage.1: manpage.sgml + docbook-to-man $< > $@ + + + The docbook-to-man binary is found in the docbook-to-man package. + Please remember that if you create the nroff version in one of the + debian/rules file targets (such as build), you will need to include + docbook-to-man in your Build-Depends control field. + + --> + + + Jonathan"> + Hseu"> + + August 27, 2004"> + + 1"> + vomjom@debian.org"> + + SUPYBOT-ADDUSER"> + + + Debian"> + GNU"> + GPL"> +]> + + + +
+ &dhemail; +
+ + &dhfirstname; + &dhsurname; + + + 2003 + &dhusername; + + &dhdate; +
+ + &dhucpackage; + + &dhsection; + + + &dhpackage; + + Adds a user to a supybot configuration file + + + + &dhpackage; + + + users.conf + + + + DESCRIPTION + + &dhpackage; adds a user to a supybot + configuration file. + + + + OPTIONS + + These programs follow the usual &gnu; command line syntax, + with long options starting with two dashes (`-'). A summary of + options is included below. + + + + + + + Show version of program. + + + + + + + + Show summary of options. + + + + + + + + Username for the user. + + + + + + + + Password for the user. + + + + + + + + Hash encrypt the password. + + + + + + + + Store the password in plain text. + + + + + + + + Capability the user should have; this option may be + given multiple times + + + + + + SEE ALSO + + python (1), supybot-wizard (1), supybot (1), + supybot-newplugin (1). + + + + AUTHOR + + This manual page was originally written by &dhusername; &dhemail; for + the &debian; system (but may be used by others). Permission is + granted to copy, distribute and/or modify this document under + the terms of the supybot license, a BSD-style license. + + + On Debian systems with supybot installed, the complete text + of the supybot license can be found in /usr/share/doc/supybot/LICENSE + + + +
+ + + + diff --git a/debian/manpage_supybot-newplugin.sgml b/debian/manpage_supybot-newplugin.sgml new file mode 100644 index 000000000..50994f65d --- /dev/null +++ b/debian/manpage_supybot-newplugin.sgml @@ -0,0 +1,165 @@ + manpage.1'. You may view + the manual page with: `docbook-to-man manpage.sgml | nroff -man | + less'. A typical entry in a Makefile or Makefile.am is: + +manpage.1: manpage.sgml + docbook-to-man $< > $@ + + + The docbook-to-man binary is found in the docbook-to-man package. + Please remember that if you create the nroff version in one of the + debian/rules file targets (such as build), you will need to include + docbook-to-man in your Build-Depends control field. + + --> + + + Jonathan"> + Hseu"> + + August 27, 2004"> + + 1"> + vomjom@debian.org"> + + SUPYBOT-NEWPLUGIN"> + + + Debian"> + GNU"> + GPL"> +]> + + + +
+ &dhemail; +
+ + &dhfirstname; + &dhsurname; + + + 2003 + &dhusername; + + &dhdate; +
+ + &dhucpackage; + + &dhsection; + + + &dhpackage; + + A wizard for creating supybot plugins + + + + &dhpackage; + + + + + + DESCRIPTION + + &dhpackage; is a wizard that creates a template + python source file for a new plugin. + + + + OPTIONS + + These programs follow the usual &gnu; command line syntax, + with long options starting with two dashes (`-'). A summary of + options is included below. + + + + + + + Show version of program. + + + + + + + + Show summary of options. + + + + + + + + Uses a regexp-based callback. + + + + + + + + Sets the name for the plugin. + + + + + + + + Makes the plugin threaded. + + + + + + SEE ALSO + + python (1), supybot-wizard (1), supybot-adduser (1), + supybot (1). + + + + AUTHOR + + This manual page was originally written by &dhusername; &dhemail; for + the &debian; system (but may be used by others). Permission is + granted to copy, distribute and/or modify this document under + the terms of the supybot license, a BSD-style license. + + + On Debian systems with supybot installed, the complete text + of the supybot license can be found in /usr/share/doc/supybot/LICENSE + + + +
+ + + + diff --git a/debian/manpage_supybot-wizard.sgml b/debian/manpage_supybot-wizard.sgml new file mode 100644 index 000000000..3fbc32845 --- /dev/null +++ b/debian/manpage_supybot-wizard.sgml @@ -0,0 +1,151 @@ + manpage.1'. You may view + the manual page with: `docbook-to-man manpage.sgml | nroff -man | + less'. A typical entry in a Makefile or Makefile.am is: + +manpage.1: manpage.sgml + docbook-to-man $< > $@ + + + The docbook-to-man binary is found in the docbook-to-man package. + Please remember that if you create the nroff version in one of the + debian/rules file targets (such as build), you will need to include + docbook-to-man in your Build-Depends control field. + + --> + + + Jonathan"> + Hseu"> + + August 27, 2004"> + + 1"> + vomjom@debian.org"> + + SUPYBOT-WIZARD"> + + + Debian"> + GNU"> + GPL"> +]> + + + +
+ &dhemail; +
+ + &dhfirstname; + &dhsurname; + + + 2003 + &dhusername; + + &dhdate; +
+ + &dhucpackage; + + &dhsection; + + + &dhpackage; + + A wizard for creating configuration files + + + + &dhpackage; + + + + + + DESCRIPTION + + &dhpackage; is an in-depth wizard that provides + a nice user interface for creating configuration files for + supybot. + + + + OPTIONS + + These programs follow the usual &gnu; command line syntax, + with long options starting with two dashes (`-'). A summary of + options is included below. + + + + + + + Show version of program. + + + + + + + + Show summary of options. + + + + + + Determines whether the wizard will be allowed to run + as root. You don't want this. Don't do it. Even if you + think you want it, you don't. + + + + + + + SEE ALSO + + python (1), supybot (1), supybot-adduser (1), + supybot-newplugin (1). + + + + AUTHOR + + This manual page was originally written by &dhusername; &dhemail; for + the &debian; system (but may be used by others). Permission is + granted to copy, distribute and/or modify this document under + the terms of the supybot license, a BSD-style license. + + + On Debian systems with supybot installed, the complete text + of the supybot license can be found in /usr/share/doc/supybot/LICENSE + + + +
+ + + + diff --git a/debian/manpage_supybot.sgml b/debian/manpage_supybot.sgml new file mode 100644 index 000000000..4505881be --- /dev/null +++ b/debian/manpage_supybot.sgml @@ -0,0 +1,230 @@ + manpage.1'. You may view + the manual page with: `docbook-to-man manpage.sgml | nroff -man | + less'. A typical entry in a Makefile or Makefile.am is: + +manpage.1: manpage.sgml + docbook-to-man $< > $@ + + + The docbook-to-man binary is found in the docbook-to-man package. + Please remember that if you create the nroff version in one of the + debian/rules file targets (such as build), you will need to include + docbook-to-man in your Build-Depends control field. + + --> + + + Jonathan"> + Hseu"> + + August 27, 2004"> + + 1"> + vomjom@debian.org"> + + SUPYBOT"> + + + Debian"> + GNU"> + GPL"> +]> + + + +
+ &dhemail; +
+ + &dhfirstname; + &dhsurname; + + + 2003 + &dhusername; + + &dhdate; +
+ + &dhucpackage; + + &dhsection; + + + &dhpackage; + + A robust and user friendly Python IRC bot + + + + &dhpackage; + + + configFile + + + + DESCRIPTION + + &dhpackage; is a robust, user-friendly, + and programmer-friendly Python IRC bot. It aims to be an adequate + replacement for most existing IRC bots. It includes a very + flexible and poerful ACL system for controlling access to + commands, as well as more than 50 builtin plugins providing + around 400 actual commands. + + + + + OPTIONS + + These programs follow the usual &gnu; command line syntax, + with long options starting with two dashes (`-'). A summary of + options is included below. + + + + + + + Show version of program. + + + + + + + + Show summary of options. + + + + + + + + Enable profiling. + + + + + + Optimizes asserts out of the code; -O0 optimizes asserts + and uses psyco. + + + + + + + + + Nick the bot should use. + + + + + + + + Full username the bot should use. + + + + + + + + Ident the bot should use. + + + + + + + + Determines whether the bot will daemonize. This is a + no-op on non-POSIX systems. + + + + + + + Determines whether the bot will allow the evaluation + of arbitrary Python code. + + + + + + + Determines whether the bot will allow its defaultCapabilities + not to include "-owner", thus giving all users the owner capability + by default. This is dumb, hence we require a command-line option. + + + + + + + Determines whether the bot will be allowed to run as root. You + don't want this. Don't do it. Even if you think you want it, you don't. + + + + + + + Determines whether some extra debugging stuff will be logged by + this script. + + + + + + + SEE ALSO + + python (1), supybot-wizard (1), supybot-adduser (1), + supybot-newplugin (1). + + + + AUTHOR + + This manual page was originally written by &dhusername; &dhemail; for + the &debian; system (but may be used by others). Permission is + granted to copy, distribute and/or modify this document under + the terms of the supybot license, a BSD-style license. + + + On Debian systems with supybot installed, the complete text + of the supybot license can be found in /usr/share/doc/supybot/LICENSE + + + +
+ + + + diff --git a/debian/rules b/debian/rules index 468385353..7daf459c9 100755 --- a/debian/rules +++ b/debian/rules @@ -1,87 +1,15 @@ #!/usr/bin/make -f -# -*- makefile -*- -# GNU copyright 1997 to 1999 by Joey Hess. -# Modified for supybot by Jonathan Hseu +include /usr/share/cdbs/1/rules/debhelper.mk +include /usr/share/cdbs/1/class/python-distutils.mk -# Uncomment this to turn on verbose mode. -#export DH_VERBOSE=1 +DEB_INSTALL_MANPAGES_supybot := debian/supybot-adduser.1 debian/supybot-newplugin.1\ + debian/supybot.1 debian/supybot-wizard.1 +build/supybot:: + docbook-to-man debian/manpage_supybot-adduser.sgml > debian/supybot-adduser.1 + docbook-to-man debian/manpage_supybot-newplugin.sgml > debian/supybot-newplugin.1 + docbook-to-man debian/manpage_supybot.sgml > debian/supybot.1 + docbook-to-man debian/manpage_supybot-wizard.sgml > debian/supybot-wizard.1 - - -CFLAGS = -Wall -g - -configure: configure-stamp -configure-stamp: - dh_testdir - # Add here commands to configure the package. - - touch configure-stamp - - -build: build-stamp - -build-stamp: configure-stamp - dh_testdir - - # Add here commands to compile the package. - - touch build-stamp - -clean: - dh_testdir - dh_testroot - rm -f build-stamp configure-stamp - - # Add here commands to clean up after the build process. - python setup.py clean --all - - dh_clean - -install: build - dh_testdir - dh_testroot - dh_clean -k - dh_installdirs - - # Add here commands to install the package into debian/supybot. - python setup.py install --prefix=$(CURDIR)/debian/supybot/usr - - -# Build architecture-independent files here. -binary-indep: build install -# We have nothing to do by default. - -# Build architecture-dependent files here. -binary-arch: build install - dh_testdir - dh_testroot - dh_installchangelogs ChangeLog - dh_installdocs - dh_installexamples -# dh_install -# dh_installmenu -# dh_installdebconf -# dh_installlogrotate -# dh_installemacsen -# dh_installpam -# dh_installmime -# dh_installinit -# dh_installcron -# dh_installinfo - dh_installman - dh_link - dh_strip - dh_compress - dh_fixperms -# dh_perl - dh_python -# dh_makeshlibs - dh_installdeb - dh_shlibdeps - dh_gencontrol - dh_md5sums - dh_builddeb - -binary: binary-indep binary-arch -.PHONY: build clean binary-indep binary-arch binary install configure +clean:: + -rm -f $(DEB_INSTALL_MANPAGES_supybot) diff --git a/debian/watch b/debian/watch new file mode 100644 index 000000000..724570277 --- /dev/null +++ b/debian/watch @@ -0,0 +1,6 @@ +# 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 +version=2 +http://osdn.dl.sourceforge.net/supybot/Supybot-(\d.\d\d.\d(.\d)?)\.tar\.gz