[Pkg-irc-commits] r21 - in /packages/atheme-services: ./ trunk/ trunk/debian/

nenolod-guest at users.alioth.debian.org nenolod-guest at users.alioth.debian.org
Sun Dec 9 19:31:11 UTC 2007


Author: nenolod-guest
Date: Sun Dec  9 19:31:11 2007
New Revision: 21

URL: http://svn.debian.org/wsvn/pkg-irc/?sc=1&rev=21
Log:
Import debian/ directory into SVN.

Added:
    packages/atheme-services/
    packages/atheme-services/trunk/
    packages/atheme-services/trunk/debian/
    packages/atheme-services/trunk/debian/atheme-default
    packages/atheme-services/trunk/debian/atheme-services.8
    packages/atheme-services/trunk/debian/atheme-services.dirs
    packages/atheme-services/trunk/debian/atheme-services.manpages
    packages/atheme-services/trunk/debian/atheme-services.postinst
    packages/atheme-services/trunk/debian/atheme-services.postrm
    packages/atheme-services/trunk/debian/atheme.motd
    packages/atheme-services/trunk/debian/changelog
    packages/atheme-services/trunk/debian/compat
    packages/atheme-services/trunk/debian/control
    packages/atheme-services/trunk/debian/copyright
    packages/atheme-services/trunk/debian/docs
    packages/atheme-services/trunk/debian/init.d
    packages/atheme-services/trunk/debian/rules   (with props)
    packages/atheme-services/trunk/debian/watch

Added: packages/atheme-services/trunk/debian/atheme-default
URL: http://svn.debian.org/wsvn/pkg-irc/packages/atheme-services/trunk/debian/atheme-default?rev=21&op=file
==============================================================================
--- packages/atheme-services/trunk/debian/atheme-default (added)
+++ packages/atheme-services/trunk/debian/atheme-default Sun Dec  9 19:31:11 2007
@@ -1,0 +1,10 @@
+# Defaults for atheme initscript
+# sourced by /etc/init.d/atheme
+#
+# This is a POSIX shell fragment
+#
+# Additional options that are passed to the Daemon.
+# Please refer to the atheme-services manpage for details of additional
+# options
+DAEMON_OPTS=""
+ENABLED=0

Added: packages/atheme-services/trunk/debian/atheme-services.8
URL: http://svn.debian.org/wsvn/pkg-irc/packages/atheme-services/trunk/debian/atheme-services.8?rev=21&op=file
==============================================================================
--- packages/atheme-services/trunk/debian/atheme-services.8 (added)
+++ packages/atheme-services/trunk/debian/atheme-services.8 Sun Dec  9 19:31:11 2007
@@ -1,0 +1,55 @@
+.TH ATHEME-SERVICES 8 "November 2007"
+.SH NAME
+atheme-services \- a modular IRC services daemon
+.SH SYNOPSIS
+.B atheme-services
+\&\fR[\fB\-dhnv\fR] [\fB\-c\fR \fIconf\fR] [\fB\-l\fR \fIlogfile\fR] [\fB-p\fR \fIpidfile\fR]
+.br
+.SH DESCRIPTION
+This manual page documents the
+.B atheme-services
+command.
+.PP
+\fBatheme-services\fP is an IRC Services implementation, which connects to an IRC server and
+provides services such as NickServ and ChanServ to users, allowing them to register their
+nicknames and channels.
+.SH OPTIONS
+\fBatheme-services\fR accepts the following command line options:
+.TP
+.B \-c \fIconf\fR
+Specifies an alternate config file for the daemon to load.
+.TP
+.B \-d
+Starts in debugging mode.
+.TP
+.B \-h
+Prints the help message and exits.
+.TP
+.B \-l \fIlogfile\fR
+Specifies the log file.
+.TP
+.B \-n
+Doesn't fork into the background, logs messages to stdout as well as the logfile.
+.TP
+.B \-p \fIpidfile\fR
+Specifies the pid file.
+.TP
+.B \-v
+Prints the version information and exits.
+.SH AUTHOR
+atheme-services was primarly written by:
+.PP
+.RS 4
+.nf
+William Pitcock <nenolod -at- nenolod.net>
+Michael Tharp <gxti -at- partiallystapled.com>
+Jilles Tjoelker <jilles -at- stack.nl>
+Pippijn van Steenhoven <pippijn -at- one09.net>
+Robin Burchell <w00t -at- staff.chatspike.net>
+.fi
+.RE
+.PP
+This manual page was originally written by Bradley Smith <brad at brad-smith.co.uk>,
+for the Debian project (but may be used by others).
+.PP
+This manual page was later revised by William Pitcock <nenolod at sacredspiral.co.uk>.

Added: packages/atheme-services/trunk/debian/atheme-services.dirs
URL: http://svn.debian.org/wsvn/pkg-irc/packages/atheme-services/trunk/debian/atheme-services.dirs?rev=21&op=file
==============================================================================
--- packages/atheme-services/trunk/debian/atheme-services.dirs (added)
+++ packages/atheme-services/trunk/debian/atheme-services.dirs Sun Dec  9 19:31:11 2007
@@ -1,0 +1,1 @@
+etc/default

Added: packages/atheme-services/trunk/debian/atheme-services.manpages
URL: http://svn.debian.org/wsvn/pkg-irc/packages/atheme-services/trunk/debian/atheme-services.manpages?rev=21&op=file
==============================================================================
--- packages/atheme-services/trunk/debian/atheme-services.manpages (added)
+++ packages/atheme-services/trunk/debian/atheme-services.manpages Sun Dec  9 19:31:11 2007
@@ -1,0 +1,1 @@
+debian/atheme-services.8

Added: packages/atheme-services/trunk/debian/atheme-services.postinst
URL: http://svn.debian.org/wsvn/pkg-irc/packages/atheme-services/trunk/debian/atheme-services.postinst?rev=21&op=file
==============================================================================
--- packages/atheme-services/trunk/debian/atheme-services.postinst (added)
+++ packages/atheme-services/trunk/debian/atheme-services.postinst Sun Dec  9 19:31:11 2007
@@ -1,0 +1,32 @@
+#! /bin/sh
+
+# atheme-services
+# Version:	atheme-services 2.2.0  06-08-07
+# Author:	Bradley Smith <brad at brad-smith.co.uk>
+
+set -e
+
+case "$1" in
+
+    configure)
+	    chown irc:irc /var/lib/atheme/
+	    chown irc:irc /var/log/atheme/
+	    chown irc:irc /var/run/atheme/
+	    chown root:irc /etc/atheme/
+	    chmod 755 /etc/atheme/
+	    chown root:irc /etc/atheme/*
+	    chmod 640 /etc/atheme/*
+	;;
+    abort-upgrade|abort-remove|abort-deconfigure)
+    ;;
+
+    *)
+        echo "ERROR: Postinst called with unknown argument!"
+        exit 0
+    ;;
+
+esac
+
+#DEBHELPER#
+
+exit 0

Added: packages/atheme-services/trunk/debian/atheme-services.postrm
URL: http://svn.debian.org/wsvn/pkg-irc/packages/atheme-services/trunk/debian/atheme-services.postrm?rev=21&op=file
==============================================================================
--- packages/atheme-services/trunk/debian/atheme-services.postrm (added)
+++ packages/atheme-services/trunk/debian/atheme-services.postrm Sun Dec  9 19:31:11 2007
@@ -1,0 +1,21 @@
+#!/bin/sh
+
+# atheme
+# Version:	atheme-2.2.0  06/08/07
+# Author:	Bradley Smith <brad at brad-smith.co.uk>
+
+set -e
+
+case "$1" in
+    purge)
+	rm -rf /etc/atheme
+        rm -rf /var/run/atheme
+        rm -rf /var/lib/atheme
+        rm -rf /var/log/atheme
+    ;;
+
+esac
+
+#DEBHELPER#
+
+exit 0

Added: packages/atheme-services/trunk/debian/atheme.motd
URL: http://svn.debian.org/wsvn/pkg-irc/packages/atheme-services/trunk/debian/atheme.motd?rev=21&op=file
==============================================================================
--- packages/atheme-services/trunk/debian/atheme.motd (added)
+++ packages/atheme-services/trunk/debian/atheme.motd Sun Dec  9 19:31:11 2007
@@ -1,0 +1,8 @@
+This is the services daemon for &network&.
+
+Network registrations will expire after &expiry& days.
+
+Registered users: &myusers&
+Registered channels: &mychans&
+
+Please /join #services for help.

Added: packages/atheme-services/trunk/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-irc/packages/atheme-services/trunk/debian/changelog?rev=21&op=file
==============================================================================
--- packages/atheme-services/trunk/debian/changelog (added)
+++ packages/atheme-services/trunk/debian/changelog Sun Dec  9 19:31:11 2007
@@ -1,0 +1,6 @@
+atheme-services (2.2.0+hg20071209-1) unstable; urgency=low
+
+  * Initial release (Closes: #435881)
+
+ -- William Pitcock <nenolod at sacredspiral.co.uk>  Sun, 09 Dec 2007 13:12:21 -0600
+

Added: packages/atheme-services/trunk/debian/compat
URL: http://svn.debian.org/wsvn/pkg-irc/packages/atheme-services/trunk/debian/compat?rev=21&op=file
==============================================================================
--- packages/atheme-services/trunk/debian/compat (added)
+++ packages/atheme-services/trunk/debian/compat Sun Dec  9 19:31:11 2007
@@ -1,0 +1,1 @@
+5

Added: packages/atheme-services/trunk/debian/control
URL: http://svn.debian.org/wsvn/pkg-irc/packages/atheme-services/trunk/debian/control?rev=21&op=file
==============================================================================
--- packages/atheme-services/trunk/debian/control (added)
+++ packages/atheme-services/trunk/debian/control Sun Dec  9 19:31:11 2007
@@ -1,0 +1,19 @@
+Source: atheme-services
+Section: net
+Priority: optional
+Maintainer: Debian IRC Team <pkg-irc-maintainers at lists.alioth.debian.org>
+Uploaders: William Pitcock <nenolod at sacredspiral.co.uk>
+Build-Depends: debhelper (>= 5), autotools-dev, libssl-dev, libmowgli-dev (>= 0.4), pkg-config
+Standards-Version: 3.7.3
+Homepage: http://www.atheme.net
+
+Package: atheme-services
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends}
+Description: modular IRC services daemon
+ atheme-services is a portable, secure set of open source, modular IRC
+ services, designed to run on many IRC server implementations.
+ .
+ Unlike alternative packages, atheme-services' core is minimalistic,
+ providing only core functionality. atheme-services is a complete services
+ set, excluding features designed for oper abuse.

Added: packages/atheme-services/trunk/debian/copyright
URL: http://svn.debian.org/wsvn/pkg-irc/packages/atheme-services/trunk/debian/copyright?rev=21&op=file
==============================================================================
--- packages/atheme-services/trunk/debian/copyright (added)
+++ packages/atheme-services/trunk/debian/copyright Sun Dec  9 19:31:11 2007
@@ -1,0 +1,280 @@
+This package was debianized by William Pitcock <nenolod at sacredspiral.co.uk>
+on Wed, 21 Nov 2007 19:52:19 -0600.
+
+It was downloaded from <http://hg.atheme.org/atheme>
+
+Upstream Authors: William Pitcock <nenolod at sacredspiral.co.uk>,
+  Jilles Tjoelker <jilles at stack.nl>,
+  Pippijn van Steenhoven <pippijn at one09.net>,
+  Michael Tharp <gxti at partiallystapled.com>,
+  Robin Burchell <w00t at staff.chatspike.net>
+
+Copyright:
+
+  For all other than those listed below:
+
+    Copyright (c) 2005-2007 Atheme Development Group (atheme.org)
+
+  contrib/gen_listenerdemo.c, contrib/ircd_catserv.c, contrib/os_pingspam.c,
+  include/balloc.h, include/channels.h, include/commandtree.h,
+  include/confparse.h, include/dlink.h, include/hook.h, include/i18n.h,
+  include/linker.h, include/metadata.h, include/module.h, include/news.h,
+  include/phandler.h, include/pmodule.h, include/servers.h,
+  include/services.h, include/servtree.h, include/stdinc.h,
+  include/uplink.h, include/users.h, src/linker.c,
+  All in include/protocol/, other than inspircd.h,
+  modules/chanserv/akick.c, modules/chanserv/ban.c,
+  modules/chanserv/clear_bans.c, modules/chanserv/clear.c,
+  modules/chanserv/clear_users.c, modules/chanserv/drop.c,
+  modules/chanserv/ftransfer.c, modules/chanserv/getkey.c,
+  modules/chanserv/halfop.c, modules/chanserv/info.c,
+  modules/chanserv/invite.c, modules/chanserv/kick.c,
+  modules/chanserv/mark.c, modules/chanserv/op.c,
+  modules/chanserv/quiet.c, modules/chanserv/recover.c,
+  modules/chanserv/register.c, modules/chanserv/status.c
+  modules/chanserv/taxonomy.c, modules/chanserv/topic.c,
+  modules/chanserv/voice.c, modules/nickserv/drop.c,
+  modules/nickserv/help.c, modules/nickserv/listmail.c,
+  modules/nickserv/logout.c, modules/nickserv/mark.c,
+  modules/nickserv/register.c, modules/nickserv/sendpass.c,
+  modules/nickserv/status.c, modules/nickserv/taxonomy.c,
+  modules/nickserv/vhost.c, contrib/cs_kickdots.c,
+  contrib/gen_echoserver.c, contrib/ircd_loveserv.c,
+  include/dictionary.h, src/dictionary.c, modules/nickserv/set.c,
+  modules/gameserv/gen_namegen_tab.pl, contrib/gen_vhostonreg.c,
+  contrib/os_logonnews.c, src/culture.c,
+  src/poll.c, modules/chanserv/fflags.c, modules/chanserv/why.c,
+  modules/gameserv/eightball.c, modules/gameserv/namegen.c,
+  modules/gameserv/rps.c, modules/nickserv/identify.c,
+  modules/nickserv/info.c, modules/operserv/jupe.c,
+  modules/operserv/mode.c, modules/operserv/modlist.c,
+  modules/operserv/modload.c, modules/operserv/modrestart.c,
+  modules/operserv/modunload.c, modules/operserv/noop.c,
+  modules/protocol/asuka.c, modules/protocol/bircd.c,
+  modules/protocol/hyperion.c, modules/protocol/ircnet.c,
+  modules/protocol/nefarious.c, modules/protocol/undernet.c,
+  contrib/ns_fregister.c, include/flags.h, modules/chanserv/flags.c,
+  modules/nickserv/ghost.c, include/object.h, include/table.h,
+  src/logger.c, src/object.c, src/table.c:
+
+    Copyright (c) 2005, 2006, 2007 William Pitcock
+
+  modules/nickserv/resetpass.c, modules/operserv/ignore.c,
+  modules/nickserv/freeze.c, modules/chanserv/count.c,
+  modules/operserv/specs.c, modules/operserv/uptime.c:
+
+    Copyright (c) 2005, 2006, 2007 Patrick Fish
+
+  modules/chanserv/list.c. modules/nickserv/list.c,
+  modules/operserv/clearchan.c, modules/operserv/compare.c,
+  modules/operserv/rakill.c, modules/operserv/rmatch.c,
+  modules/operserv/rnc.c:
+
+    Copyright (c) 2005, 2006, 2007 Robin Burchell
+
+  contrib/cs_userinfo.c, contrib/ns_ratelimitreg.c,
+  contrib/gen_httpd.c, contrib/gen_regcheckemail.c,
+  contrib/ircd_nohalfops.c, contrib/ircd_noowner.c,
+  contrib/ircd_noprotect.c, contrib/os_testcmd.c,
+  tools/html_helpfiles.sh, modules/nickserv/group.c.
+  contrib/hybservtoatheme.pl, include/privs.h, include/template.h,
+  src/privs.c, modules/chanserv/template.c, modules/xmlrpc/main.c:
+
+    Copyright (c) 2005, 2006, 2007 Jilles Tjoelker
+
+  contrib/ircd_alis.c:
+
+    Copyright (c) 2005-2007 William Pitcock
+    Copyright (C) 2003-2007 Lee Hardy <leeh at leeh.co.uk>
+    Copyright (C) 2003-2007 ircd-ratbox development team
+
+  contrib/Makefile.in, include/atheme.h, modules/backend/Makefile.in,
+  modules/chanserv/help.c, modules/chanserv/Makefile.in,
+  modules/Makefile.in, modules/chanserv/set.c, modules/crypto/Makefile.in,
+  modules/gameserv/Makefile.in, modules/global/Makefile.in,
+  modules/memoserv/Makefile.in, modules/nickserv/Makefile.in,
+  modules/operserv/Makefile.in, modules/protocol/Makefile.in,
+  modules/saslserv/Makefile.in, modules/xmlrpc/Makefile.in:
+
+    Copyright (c) 2003-2004 E. Will
+
+  contrib/ns_generatepass.c:
+
+    Copyright (c) 2005 Greg Feigenson
+
+  contrib/wumpus.c:
+
+    Copyright (c) 2006 William Pitcock <nenolod -at- nenolod.net>
+    Portions copyright (c) 2006 Kiyoshi Aman <kiyoshi.aman -at- gmail.com>
+
+  contrib/xmlrpc_explorer.php, modules/nickserv/return.c:
+
+    Copyright (c) 2005 Alex Lambert <alambert at quickfire dot org>
+
+  include/base64.h:
+
+    Copyright (C) 2004, 2005 Free Software Foundation, Inc.
+
+  src/base64.c:
+
+    Copyright (C) 1999, 2000, 2001, 2004, 2005 Free Software Foundation, Inc.
+
+  include/global.h, include/match.h, include/tools.h,
+  modules/operserv/akill.c, modules/operserv/help.c,
+  modules/operserv/inject.c, modules/protocol/bahamut.c,
+  modules/protocol/charybdis.c, modules/protocol/dreamforge.c,
+  modules/protocol/officeirc.c, modules/protocol/plexus.c,
+  modules/protocol/ptlink.c, modules/protocol/ratbox.c,
+  modules/protocol/shadowircd.c, modules/protocol/sorcery.c,
+  modules/protocol/ultimate3.c, modules/protocol/unreal.c:
+
+    Copyright (C) 2003-2004 E. Will.
+    Copyright (C) 2005-2006 Atheme Development Group
+
+  include/xmlrpc.h:
+
+    Copyright (c) 2005 Atheme Development Group and
+    Trystan Scott Lee <trystan at nomadirc.net>
+
+  src/xmlrpc.c:
+
+    (C) 2005 Trystan Scott Lee
+
+  src/arc4random.c:
+
+    Copyright 1996 David Mazieres <dm at lcs.mit.edu>.
+
+  src/cidr.c:
+
+    Copyright (c) 1996-2002 Hybrid Development Team
+    Copyright (c) 2002-2005 ircd-ratbox development team
+    Copyright (c) 2006 Atheme Development Group
+
+  modules/crypto/sorservices.c:
+
+    Copyright (c) 2006 William Pitcock <nenolod -at- nenolod.net>
+    Portions copyright (c) 2001 James Hess <mysidia -at- sorcery.net>
+
+  modules/gameserv/dice.c:
+
+    Copyright (c) 2005-2007 William Pitcock <nenolod at nenolod.net>
+    Copyright (c) 2006-2007 Jilles Tjoelker <jilles at stack.nl>
+
+  src/md5.c, include/md5.h:
+
+    Copyright (C) 1999, 2000, 2002 Aladdin Enterprises.  All rights reserved.
+
+License:
+
+  For all other than those listed below:
+
+    Permission to use, copy, modify, and/or distribute this software for any
+    purpose with or without fee is hereby granted, provided that the above
+    copyright notice and this permission notice appear in all copies.
+
+    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.
+
+  contrib/cap_sasl.pl:
+
+    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; either version 2 of the License, or (at your
+    option) any later version.
+
+    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., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301,
+    USA.
+
+    On Debian and Ubuntu systems, the complete text of the GNU General
+    Public License is available at `/usr/share/common-licenses/GPL'.
+
+  include/base64.h, src/base64.c:
+
+    This program is free software; you can redistribute it and/or modify it
+    under the terms of the GNU Lesser General Public License as published
+    by the Free Software Foundation; either version 2.1, or (at your
+    option) any later version.
+
+    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
+    Lesser General Public License for more details.
+
+    You should have received a copy of the GNU Lesser General Public
+    License along with this program; if not, write to the Free Software
+    Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
+    MA 02110-1301, USA.
+
+    On Debian and Ubuntu systems, the complete text of the GNU Lesser General
+    Public License is available at `/usr/share/common-licenses/LGPL'.
+
+  contrib/hybservtoatheme.pl:
+
+    Redistribution and use in source and binary forms, with or without
+    modification, are permitted provided that the following conditions are
+    met:
+
+      1. Redistributions of source code must retain the above copyright
+         notice, this list of conditions and the following disclaimer.
+
+      2. 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.
+
+    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.
+
+  src/arc4random.c:
+
+    Modification and redistribution in source and binary forms is permitted
+    provided that due credit is given to the author and the OpenBSD project
+    (for instance by leaving this copyright notice intact).
+
+  src/md5.c, include/md5.h:
+
+    This software is provided 'as-is', without any express or implied
+    warranty.  In no event will the authors be held liable for any damages
+    arising from the use of this software.
+
+    Permission is granted to anyone to use this software for any purpose,
+    including commercial applications, and to alter it and redistribute it
+    freely, subject to the following restrictions:
+
+     1. The origin of this software must not be misrepresented; you must not
+        claim that you wrote the original software. If you use this software
+        in a product, an acknowledgment in the product documentation would
+        be appreciated but is not required.
+
+     2. Altered source versions must be plainly marked as such, and must not
+        be misrepresented as being the original software.
+
+     3. This notice may not be removed or altered from any source
+        distribution.
+
+The Debian packaging is (C) 2007, William Pitcock <nenolod at sacredspiral.co.uk> and
+is licensed under the GPL, see `/usr/share/common-licenses/GPL'.

Added: packages/atheme-services/trunk/debian/docs
URL: http://svn.debian.org/wsvn/pkg-irc/packages/atheme-services/trunk/debian/docs?rev=21&op=file
==============================================================================
--- packages/atheme-services/trunk/debian/docs (added)
+++ packages/atheme-services/trunk/debian/docs Sun Dec  9 19:31:11 2007
@@ -1,0 +1,2 @@
+README
+TODO

Added: packages/atheme-services/trunk/debian/init.d
URL: http://svn.debian.org/wsvn/pkg-irc/packages/atheme-services/trunk/debian/init.d?rev=21&op=file
==============================================================================
--- packages/atheme-services/trunk/debian/init.d (added)
+++ packages/atheme-services/trunk/debian/init.d Sun Dec  9 19:31:11 2007
@@ -1,0 +1,86 @@
+#! /bin/sh
+
+### BEGIN INIT INFO
+# Provides:          atheme-services
+# Required-Start:    $syslog
+# Required-Stop:     $syslog
+# Default-Start:     2 3 4 5
+# Default-Stop:      0 1 6
+# Short-Description: Atheme-services daemon init.d script
+# Description:       Use to manage the Atheme services daemon.
+### END INIT INFO
+
+PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin
+DAEMON=/usr/sbin/atheme-services
+NAME="atheme-services"
+DESC="Atheme IRC Services"
+
+test -x $DAEMON || exit 0
+
+# Include atheme defaults if available
+if [ -f /etc/default/atheme ] ; then
+	. /etc/default/atheme
+fi
+
+if [ "$ENABLED" != "1" ] ; then
+	echo "Please set ENABLED to 1 in /etc/default/atheme"
+fi
+
+set -e
+
+case "$1" in
+  start)
+	if [ "$ENABLED" = "1" ]; then
+		echo -n "Starting $DESC: $NAME"
+		if [ -f "/var/run/atheme/atheme.pid" ]; then
+			echo -en "\nAlready running!"
+		else
+			start-stop-daemon -u irc -c irc --start --quiet --pidfile /var/run/atheme/atheme.pid \
+				--exec $DAEMON -- $DAEMON_OPTS
+		fi
+		echo "."
+	fi
+	;;
+  stop)
+	if [ "$ENABLED" = "1" ]; then
+		echo -n "Stopping $DESC: $NAME"
+		if [ -f "/var/run/atheme/atheme.pid" ]; then
+			start-stop-daemon --stop --quiet --pidfile /var/run/atheme/atheme.pid \
+				--exec $DAEMON --signal 15
+		fi
+		echo "."
+	fi
+	;;
+  reload|force-reload)
+	if [ "$ENABLED" = "1" ]; then
+		if [ -f "/var/run/atheme/atheme.pid" ]; then
+			echo "Reloading $DESC configuration files."
+			start-stop-daemon --stop --signal 1 --quiet --pidfile \
+				/var/run/atheme/atheme.pid --exec $DAEMON
+		else
+			echo "$NAME not running!"
+		fi
+	fi
+	;;
+  restart)
+	if [ "$ENABLED" = "1" ]; then
+    	echo -n "Restarting $DESC: $NAME"
+		if [ -f "/var/run/atheme/atheme.pid" ]; then
+			start-stop-daemon --stop --quiet --pidfile \
+				/var/run/atheme/atheme.pid --exec $DAEMON --signal 15
+		fi
+		sleep 1
+		start-stop-daemon -u irc -c irc --start --quiet --pidfile \
+			/var/run/atheme/atheme.pid --exec $DAEMON -- $DAEMON_OPTS
+		echo "."
+	fi
+	;;
+  *)
+	N=/etc/init.d/$NAME
+	# echo "Usage: $N {start|stop|restart|reload|force-reload}" >&2
+	echo "Usage: $N {start|stop|restart|force-reload}" >&2
+	exit 1
+	;;
+esac
+
+exit 0

Added: packages/atheme-services/trunk/debian/rules
URL: http://svn.debian.org/wsvn/pkg-irc/packages/atheme-services/trunk/debian/rules?rev=21&op=file
==============================================================================
--- packages/atheme-services/trunk/debian/rules (added)
+++ packages/atheme-services/trunk/debian/rules Sun Dec  9 19:31:11 2007
@@ -1,0 +1,86 @@
+#!/usr/bin/make -f
+
+DEB_HOST_GNU_TYPE   ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
+DEB_BUILD_GNU_TYPE  ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
+
+CFLAGS = -Wall -g
+
+ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
+	CFLAGS += -O0
+else
+	CFLAGS += -O2
+endif
+
+config.status: configure
+	dh_testdir
+	CFLAGS="$(CFLAGS)" LDFLAGS="-Wl,-z,defs" ./configure --host=$(DEB_HOST_GNU_TYPE) --build=$(DEB_BUILD_GNU_TYPE) --enable-fhs-paths --prefix=/ --exec-prefix=/usr --datadir=/usr/share --sysconfdir=/etc/atheme --mandir=\$${prefix}/share/man --bindir=\$${prefix}/usr/sbin --disable-rpath
+
+
+build: build-stamp
+
+build-stamp:  config.status
+	dh_testdir
+	$(MAKE)
+	touch build-stamp
+
+clean:
+	dh_testdir
+	dh_testroot
+	rm -f build-stamp
+	[ ! -f Makefile ] || $(MAKE) distclean
+ifneq "$(wildcard /usr/share/misc/config.sub)" ""
+	cp -f /usr/share/misc/config.sub config.sub
+endif
+ifneq "$(wildcard /usr/share/misc/config.guess)" ""
+	cp -f /usr/share/misc/config.guess config.guess
+endif
+
+	# Remove extra files, due to authors distclean not removing them
+	[ ! -f modules/*/Makefile ] || rm modules/*/Makefile
+	[ ! -f modules/Makefile ] || rm modules/Makefile
+	[ ! -f modules/*/.depend ] || rm modules/*/.depend
+	[ ! -f po/Makefile ] || rm po/Makefile
+	[ ! -f po/Makefile.in ] || rm po/Makefile.in
+	[ ! -f src/.depend ] || rm src/.depend
+	[ ! -f src/Makefile ] || rm src/Makefile
+	[ ! -f contrib/Makefile ] || rm contrib/Makefile
+	[ ! -f contrib/.depend ] || rm contrib/.depend
+	[ ! -f po/POTFILES ] || rm po/POTFILES
+	[ ! -f config.sub ] || rm config.sub
+	[ ! -f config.guess ] || rm config.guess
+	[ ! -f config.log ] || rm config.log
+
+	dh_clean
+
+install: build
+	dh_testdir
+	dh_testroot
+	dh_clean -k
+	dh_installdirs
+
+	$(MAKE) DOCDIR=usr/share/doc/atheme-services/ DESTDIR=$(CURDIR)/debian/atheme-services/ install
+	cp $(CURDIR)/debian/atheme-default $(CURDIR)/debian/atheme-services/etc/default/atheme
+
+
+binary-indep: build install
+
+binary-arch: build install
+	dh_testdir
+	dh_testroot
+	dh_installchangelogs
+	dh_installdocs
+	dh_installexamples
+	dh_installinit
+	dh_installman
+	dh_link
+	dh_strip
+	dh_compress
+	dh_fixperms
+	dh_installdeb
+	dh_shlibdeps
+	dh_gencontrol
+	dh_md5sums
+	dh_builddeb
+
+binary: binary-indep binary-arch
+.PHONY: build clean binary-indep binary-arch binary install patch unpatch

Propchange: packages/atheme-services/trunk/debian/rules
------------------------------------------------------------------------------
    svn:executable = 

Added: packages/atheme-services/trunk/debian/watch
URL: http://svn.debian.org/wsvn/pkg-irc/packages/atheme-services/trunk/debian/watch?rev=21&op=file
==============================================================================
--- packages/atheme-services/trunk/debian/watch (added)
+++ packages/atheme-services/trunk/debian/watch Sun Dec  9 19:31:11 2007
@@ -1,0 +1,3 @@
+version=3
+http://distfiles.atheme.org/ atheme-(.*)\.tar\.gz
+




More information about the Pkg-irc-commits mailing list