debian/0000755000000000000000000000000012031664533007171 5ustar debian/control0000644000000000000000000000177512031653224010601 0ustar Source: atheme-services Section: net Priority: optional Maintainer: Mike Mestnik Uploaders: Antoine Beaupré , Micah Anderson Build-Depends: dpkg-dev (>= 1.16.0), debhelper (>= 9), autotools-dev, dh-autoreconf, libssl-dev, gettext, libmowgli-dev (>= 0.7), pkg-config Standards-Version: 3.9.3 Homepage: http://www.atheme.net Vcs-Git: git://anonscm.debian.org/collab-maint/atheme-services.git Vcs-Browser: http://anonscm.debian.org/gitweb/?p=collab-maint/atheme-services.git Package: atheme-services Architecture: any Depends: ${shlibs:Depends}, ${misc:Depends} Enhances: ircd 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. debian/gbp.conf0000644000000000000000000000011712031653224010602 0ustar [git-buildpackage] overlay = true tarball-dir = .. export-dir = ../build-area/ debian/atheme-services.80000644000000000000000000000300512031653224012337 0ustar .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 Michael Tharp Jilles Tjoelker Pippijn van Steenhoven Robin Burchell .fi .RE .PP This manual page was originally written by Bradley Smith , for the Debian project (but may be used by others). .PP This manual page was later revised by William Pitcock . debian/atheme-services.dirs0000644000000000000000000000005212031653224013130 0ustar etc/default usr/share/doc/atheme-services debian/atheme.motd0000644000000000000000000000030112031653224011306 0ustar 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. debian/changelog0000644000000000000000000000573112031653224011044 0ustar atheme-services (6.0.11-1) unstable; urgency=low * New upstream release * Remove stale lockfiles in startup script * Switch to git version control * Make me and Micah Anderson the uploaders instead of the too generic irc maintainers * Upload into unstable (Closes: #646607) * Use simpler debian/rules using "dh9" rules * This also enables hardening flags -- Antoine Beaupré Sat, 09 Jun 2012 17:43:54 -0300 atheme-services (6.0.10-1) unstable; urgency=low * New upstream release * New Maintainer: Mike Mestnik * Uploaders: Debian IRC Team * Watch file fixed thanks Tim Recout (Closes: #486583) * Watch file fixed again, new upstream location and needs to be 6.x LTSR. * Add gettext as a build-depends (> 3.0 needs for help files) * Fix init script adds remote_fs depends. * Added logrotate for /var/log/atheme/*.log. * Removed /var/run/atheme from package. * Fix init script again not creates chmowns and chmods /var/run/atheme. * Fix init script again whitespace and usage. * Changed debhelper build-depends to (>= 7) * Ditch upstream make distclean. * Make use of dh-autoreconf when calling make all. * Updated copyright to reflect new download location and re-debianiziation. * Updated copyright to track upstream 2005-2007 becomes 2005-2010. * Used ./configure cross compile code from dh_make. * Removed LDFLAGS -z,defs, causing module callbacks to trip an error. * Updated ./configure folder definitions, no files should have been moved. * Used upstream NEWS as upstream changelog. * Included, this file, Debian changelog. * Croak if there are files built by the embedded libmowgli code. * If this croak is removed it might be possible to build the embedded code * Use 3.0 (quilt) source. * Clean up debian/rules depends, add build-arch/indep. * Added "Copyright " in debian/copyright to "(C) 2005 Trystan Scott Lee." * Added "Copyright " in debian/copyright to "(C) 2007, William Pitcock " * Added Mike Mestnik under Debian packaging to debian/copyright. * Updated references to symlink license to reflect version-ed license. * Use dh_prep. * Use dpkg-buildflags, rather unsuccessfully. * Implemented status in init. * New standards version 3.9.3 -- Mike Mestnik Sat, 17 Mar 2012 17:53:47 -0600 atheme-services (3.0.4-1) unstable; urgency=low * New upstream release * Add me to uploaders -- Matt Arnold Tue, 08 Apr 2008 20:53:07 -0400 atheme-services (3.0.3-1) unstable; urgency=low * New upstream release. -- Darren Blaber Fri, 18 Jan 2008 21:41:39 -0500 atheme-services (2.2.0+hg20071209-1) experimental; urgency=low * Initial release (Closes: #435881) -- William Pitcock Sun, 09 Dec 2007 13:12:21 -0600 debian/source/0000755000000000000000000000000012031653224010464 5ustar debian/source/format0000644000000000000000000000001412031653224011672 0ustar 3.0 (quilt) debian/source/lintian-overrides0000644000000000000000000000010712031653224014043 0ustar atheme-services source: source-contains-hg-tags-file libmowgli/.hgtags debian/compat0000644000000000000000000000000212031653224010362 0ustar 9 debian/atheme-services.postrm0000644000000000000000000000043212031653224013515 0ustar #!/bin/sh # atheme # Version: atheme-2.2.0 06/08/07 # Author: Bradley Smith 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 debian/atheme-services.examples0000644000000000000000000000000712031653224014005 0ustar dist/* debian/copyright0000644000000000000000000003004512031653224011121 0ustar This package was debianized by William Pitcock on Wed, 21 Nov 2007 19:52:19 -0600. This package was re-debianized by Mike Mestnik on Sat, 17 Mar 2012 17:53:47 -0600 It was downloaded from Upstream Authors: William Pitcock , Jilles Tjoelker , Pippijn van Steenhoven , Michael Tharp , Robin Burchell Copyright: For all other than those listed below: Copyright (c) 2005-2007 Atheme Development Group (atheme.org) Copyright (c) 2005-2010 Atheme Project (http://www.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 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 Portions copyright (c) 2006 Kiyoshi Aman contrib/xmlrpc_explorer.php, modules/nickserv/return.c: Copyright (c) 2005 Alex Lambert 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 src/xmlrpc.c: Copyright (C) 2005 Trystan Scott Lee src/arc4random.c: Copyright 1996 David Mazieres . 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 Portions copyright (c) 2001 James Hess modules/gameserv/dice.c: Copyright (c) 2005-2007 William Pitcock Copyright (c) 2006-2007 Jilles Tjoelker 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-1'. 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-2.1'. 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 copyright (C) 2007, William Pitcock and copyright (C) 2012, Mike Mestnik and is licensed under the GPL, see `/usr/share/common-licenses/GPL-2'. debian/watch0000644000000000000000000000011512031653224010212 0ustar version=3 http://www.atheme.net/downloads/ atheme-services-(6\..*)\.tar\.bz2 debian/atheme-services.manpages0000644000000000000000000000003112031653224013757 0ustar debian/atheme-services.8 debian/atheme-services.default0000644000000000000000000000056112031653224013620 0ustar # Defaults for atheme initscript # sourced by /etc/init.d/atheme-services # # This is a POSIX shell fragment # # Additional options that are passed to the Daemon. # Please configure atheme-services first, there are examples provided in # /usr/share/doc/atheme-services/, there is also a manpage available describing # the possible DAEMON_OPTS. DAEMON_OPTS="" ENABLED=0 debian/init.d0000644000000000000000000000573412031653224010305 0ustar #! /bin/sh ### BEGIN INIT INFO # Provides: atheme-services # Required-Start: $syslog $remote_fs # Required-Stop: $syslog $remote_fs # 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 RUNDIR="/var/run/atheme" # Include atheme defaults if available if [ -f /etc/default/atheme-services ] ; then . /etc/default/atheme-services fi if [ "$ENABLED" != "1" ] ; then echo "Please set ENABLED to 1 in /etc/default/atheme-services" exit 0 fi set -e case "$1" in start) echo -n "Starting $DESC: $NAME " if [ ! -d "$RUNDIR" ]; then echo -n "run folder missing " rm -rf "$RUNDIR" echo -n "cleared " mkdir -p "$RUNDIR" chown irc:irc $RUNDIR/ chmod 755 $RUNDIR/ echo -n "created " fi if [ -f "$RUNDIR/atheme.pid" ] && ps `cat $RUNDIR/atheme.pid ` > /dev/null ; then echo "Already running!" else ps `cat $RUNDIR/atheme.pid ` > /dev/null || rm -f $RUNDIR/atheme.pid start-stop-daemon -u irc -c irc --start --quiet --pidfile $RUNDIR/atheme.pid \ --exec $DAEMON -- $DAEMON_OPTS fi echo "." ;; stop) echo -n "Stopping $DESC: $NAME " if [ -f "$RUNDIR/atheme.pid" ]; then start-stop-daemon --stop --quiet --pidfile $RUNDIR/atheme.pid \ --exec $DAEMON --signal 15 else echo "not running." fi echo "." ;; reload|force-reload) echo -n "Reloading $DESC configuration files: $NAME " if [ ! -d "$RUNDIR" ]; then echo "run folder missing!" else if [ -f "$RUNDIR/atheme.pid" ]; then start-stop-daemon --stop --signal 1 --quiet --pidfile \ $RUNDIR/atheme.pid --exec $DAEMON else echo "not running!" fi echo "." fi ;; restart) echo -n "Restarting $DESC: $NAME " if [ ! -d "$RUNDIR" ]; then echo -n "run folder missing " rm -rf "$RUNDIR" echo -n "cleared " mkdir -p "$RUNDIR" chown irc:irc $RUNDIR/ chmod 755 $RUNDIR/ echo -n "created " fi if [ -f "$RUNDIR/atheme.pid" ]; then start-stop-daemon --stop --quiet --pidfile \ $RUNDIR/atheme.pid --exec $DAEMON --signal 15 echo -n "." sleep 1 fi echo -n "." start-stop-daemon -u irc -c irc --start --quiet --pidfile \ $RUNDIR/atheme.pid --exec $DAEMON -- $DAEMON_OPTS echo "." ;; status) echo -n "Status $DESC: $NAME " if [ ! -d "$RUNDIR" ]; then echo "run folder missing!" exit 3 else if [ -f "$RUNDIR/atheme.pid" ]; then ( set +e start-stop-daemon --status --quiet --pidfile $RUNDIR/atheme.pid ext=$? echo "." exit $ext ) fi echo "pid file missing." exit 3 fi echo unknown. exit 4 ;; *) N=/etc/init.d/$NAME # echo "Usage: $N {start|stop|restart|reload|force-reload}" >&2 # echo "Usage: $N {start|stop|restart|force-reload}" >&2 echo "Usage: $N {start|stop|restart|reload|status}" >&2 exit 1 ;; esac exit 0 debian/rules0000755000000000000000000000447712031653224010260 0ustar #!/usr/bin/make -f # -*- makefile -*- # To enable all hardening options, uncomment following line # export DEB_BUILD_MAINT_OPTIONS = hardening=+all export DEB_CFLAGS_MAINT_APPEND = -Wall -pedantic -D_FORTIFY_SOURCE=2 export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed # Uncomment this to turn on verbose mode. #export DH_VERBOSE=1 %: dh $@ --with autotools_dev override_dh_auto_configure: dh_auto_configure -- --enable-fhs-paths \ --disable-rpath --prefix=/ --exec-prefix=/usr \ --datarootdir=/usr/share --sysconfdir=/etc/atheme \ --bindir=/usr/sbin --includedir=/usr/include \ --docdir=/usr/share/doc/atheme-services/ override_dh_auto_clean: [ ! -f buildsys.mk ] || make clean # Manually remove files, due to authors distclean not safe find -name .deps -type f -delete [ ! -f buildsys.mk ] || rm buildsys.mk [ ! -f config.sub ] || rm config.sub [ ! -f config.guess ] || rm config.guess [ ! -f config.log ] || rm config.log [ ! -f config.status ] || rm config.status [ ! -f dist/atheme.conf.operserv-example ] || rm dist/atheme.conf.operserv-example [ ! -f dist/atheme.conf.userserv-example ] || rm dist/atheme.conf.userserv-example [ ! -f extra.mk ] || rm extra.mk [ ! -f include/sysconf.h ] || rm include/sysconf.h override_dh_auto_install: dh_auto_install cp $(CURDIR)/debian/atheme-services.default $(CURDIR)/debian/atheme-services/etc/default/atheme-services # Install NEWS as upstream changelog and the Debian changelog. < $(CURDIR)/NEWS gzip -9 > $(CURDIR)/debian/atheme-services/usr/share/doc/atheme-services/changelog.gz < $(CURDIR)/debian/changelog gzip -9 > $(CURDIR)/debian/atheme-services/usr/share/doc/atheme-services/changelog.Debian.gz # Croak if there is files created by the embedded code. [ ! -d $(CURDIR)/debian/atheme-services/usr/include/libmowgli -a \ ! -f $(CURDIR)/debian/atheme-services/usr/lib/libmowgli.so ] # atheme-services allows wide configure latitude, so we want to make sure the user # reads the config files... rm -f $(CURDIR)/debian/atheme-services/etc/atheme/* # shut lintian up by not installing the LICENSE... rm -f $(CURDIR)/debian/atheme-services/usr/share/doc/atheme-services/LICENSE rm -f $(CURDIR)/debian/atheme-services/usr/share/doc/atheme/LICENSE # shut lintian up by removing the run folder. rm -rf $(CURDIR)/debian/atheme-services/var/run debian/docs0000644000000000000000000000001412031653224010032 0ustar README TODO debian/atheme-services.logrotate0000644000000000000000000000030012031653224014163 0ustar /var/log/atheme/*.log { weekly missingok rotate 52 compress delaycompress notifempty create 640 irc adm sharedscripts postrotate /etc/init.d/atheme reload > /dev/null endscript } debian/atheme-services.postinst0000644000000000000000000000072712031653224014063 0ustar #! /bin/sh # atheme-services # Version: atheme-services 2.2.0 06-08-07 # Author: Bradley Smith set -e case "$1" in configure) chown irc:irc /var/lib/atheme/ chown irc:irc /var/log/atheme/ chown root:irc /etc/atheme/ chmod 770 /etc/atheme/ ;; abort-upgrade|abort-remove|abort-deconfigure) ;; *) echo "ERROR: Postinst called with unknown argument!" exit 0 ;; esac #DEBHELPER# exit 0