--- quassel-0.4.0~git090130.orig/debian/control +++ quassel-0.4.0~git090130/debian/control @@ -0,0 +1,67 @@ +Source: quassel +Section: net +Priority: optional +Maintainer: Ubuntu Core Developers +XSBC-Original-Maintainer: Harald Sitter +Build-Depends: debhelper (>= 5), cdbs, cmake, quilt, libqt4-dev, libdbus-1-dev, kdelibs5-dev +Standards-Version: 3.8.0 +Homepage: http://www.quassel-irc.org +Vcs-Bzr: lp:~ubuntu-dev/quassel/ubuntu +Vcs-Browser: http://bazaar.launchpad.net/~ubuntu-dev/quassel/ubuntu + +Package: quassel +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends}, + quassel-data (>= ${source:Version}), libqt4-sql-sqlite +Conflicts: quassel-core, quassel-client (<= 0.4.0~git090110-0ubuntu1) +Description: KDE4/Qt based, IRC client + This is a modern, cross-platform, distributed KDE4/QT4 IRC client. One + (or multiple) client(s) can attach to and detach from a central core. It's + much like the popular combination of screen and a text-based IRC client such + as WeeChat, but graphical. + . + This package provides a complete traditional IRC client (client and core) in + a single integrated package + +Package: quassel-client +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends}, + quassel-data (>= ${source:Version}) +Conflicts: quassel (<= 0.4.0~git090110-0ubuntu1) +Description: distributed, KDE4/Qt based, IRC client - client component + This is the client component of Quassel. A modern, cross-platform, distributed + IRC client, meaning that one (or multiple) client(s) can attach to and detach + from this central core. It's much like the popular combination of screen and + a text-based IRC client such as WeeChat, but graphical. + . + This package only provides Quassel's client component. If you need to run the + core/server component on your local machine install the package 'quassel' + instead. + +Package: quassel-core +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends}, adduser, openssl, + libqt4-sql-sqlite +Conflicts: quassel +Description: distributed, KDE4/Qt based, IRC client - core/server component + This is the core component of Quassel. A modern, cross-platform, distributed + IRC client, meaning that one (or multiple) client(s) can attach to and detach + from this central core. It's much like the popular combination of screen and + a text-based IRC client such as WeeChat, but graphical. + . + This package only provides Quassel's core/server component. + +Package: quassel-data +Architecture: any +Depends: ${misc:Depends}, kde-icons-oxygen | hicolor-icon-theme +Conflicts: quassel-client (<= 0.4.0~git090110-0ubuntu1), quassel (<= 0.4.0~git090110-0ubuntu1) +Replaces: quassel-client (<= 0.4.0~git090110-0ubuntu1), quassel (<= 0.4.0~git090110-0ubuntu1) +Description: distributed, Qt based, IRC client using a central core component + This is a modern, cross-platform, distributed IRC client, meaning that one + (or multiple) client(s) can attach to and detach from a central core. It's + much like the popular combination of screen and a text-based IRC client such + as WeeChat, but graphical. + . + This package contains architecture-independent data files needed to run + Quassel. + --- quassel-0.4.0~git090130.orig/debian/quassel.manpages +++ quassel-0.4.0~git090130/debian/quassel.manpages @@ -0,0 +1 @@ +quassel.1 --- quassel-0.4.0~git090130.orig/debian/quassel.install +++ quassel-0.4.0~git090130/debian/quassel.install @@ -0,0 +1,2 @@ +usr/bin/quassel +usr/share/applications/kde4/quassel.desktop --- quassel-0.4.0~git090130.orig/debian/watch +++ quassel-0.4.0~git090130/debian/watch @@ -0,0 +1,4 @@ +version=3 + +http://quassel-irc.org/downloads \ + /system/files/quassel-(.*)\.tar\.bz2 debian uupdate --- quassel-0.4.0~git090130.orig/debian/quassel-core.install +++ quassel-0.4.0~git090130/debian/quassel-core.install @@ -0,0 +1,2 @@ +usr/bin/quasselcore +../../debian/quasselcore-makecert usr/sbin/ --- quassel-0.4.0~git090130.orig/debian/quassel-core.manpages +++ quassel-0.4.0~git090130/debian/quassel-core.manpages @@ -0,0 +1,2 @@ +quasselcore.1 +quasselcore-makecert.1 --- quassel-0.4.0~git090130.orig/debian/rules +++ quassel-0.4.0~git090130/debian/rules @@ -0,0 +1,17 @@ +#!/usr/bin/make -f + +include /usr/share/cdbs/1/class/kde4.mk + +DEB_CMAKE_EXTRA_FLAGS := -DWANT_MONO=ON -DWITH_KDE=ON -DEMBED_DATA= +# Don't fail if start fails +DEB_DH_INSTALLINIT_ARGS := -r --error-handler=exit --name=quasselcore + +common-build-arch:: + pod2man --section=1 --release=$(VERSION) --center "" debian/mans/quassel.pod > quassel.1 + pod2man --section=1 --release=$(VERSION) --center "" debian/mans//quasselcore.pod > quasselcore.1 + pod2man --section=1 --release=$(VERSION) --center "" debian/mans//quasselcore-makecert.pod > quasselcore-makecert.1 + pod2man --section=1 --release=$(VERSION) --center "" debian/mans/quasselclient.pod > quasselclient.1 + +cleanbuilddir:: + rm -f quassel.1 quasselcore.1 quasselclient.1 quasselcore-makecert.1 + --- quassel-0.4.0~git090130.orig/debian/quassel-core.logrotate +++ quassel-0.4.0~git090130/debian/quassel-core.logrotate @@ -0,0 +1,9 @@ +/var/log/quassel/core.log { + rotate 4 + weekly + compress + delaycompress + copytruncate + missingok + notifempty +} --- quassel-0.4.0~git090130.orig/debian/changelog +++ quassel-0.4.0~git090130/debian/changelog @@ -0,0 +1,264 @@ +quassel (0.4.0~git090130-0ubuntu1) jaunty; urgency=low + + * New upstream git snapshot + - Improved SSL cert handling + - Continued bug fixing + * Replace deprecated --datadir with --configdir in quasselcore init + * Add quasselcore usage to debian/mans/quasselcore.pod + * Do not let the postinst overwrite existing certs (we ought to make this + smarter at some point) + * Update debian/copyright for the new year + + -- Scott Kitterman Sun, 01 Feb 2009 01:19:41 -0500 + +quassel (0.4.0~git090124-0ubuntu1) jaunty; urgency=low + + * New upstream git snapshot + - Possible undocumented client/core protocol incompatibility that may + require client and core to be updated together - see Quassel's bug + tracker for details http://bugs.quassel-irc.org/issues/show/502 + - Fixes minimize to tray bug + - Other bug fixes + - XDG compliant data paths (with auto migration from old locations) + - Adjust quassel.install, quassel-date, and quassel-client.install for new + file locations + - Replace -DQUASSEL_ICONS=External with -DEMBED_DATA=OFF to use external + files where possible with the new build system + - Don't ship oxygen or non-application specific hicolor icons, depend on + kde-icons-oxygen | hicolor-icon-theme instead + - Add translations files to quassel-data.install + * Adjust kubuntu_01_default_network_channel.patch to use irc.ubuntu.com + instead of the Freenode url for the default channel (irc.ubuntu.com points + to Freenode) + + -- Scott Kitterman Sun, 25 Jan 2009 23:37:07 -0500 + +quassel (0.4.0~git090119-0ubuntu1) jaunty; urgency=low + + * New upstream git snapshot + - Fixes KDE logout problem + - Other bug fixes + - SSL cert handling improvements + + -- Scott Kitterman Mon, 19 Jan 2009 23:45:13 -0500 + +quassel (0.4.0~git090116-0ubuntu1) jaunty; urgency=low + + * New upstream git snapshot + - Fixes right-click focus problems + + -- Scott Kitterman Fri, 16 Jan 2009 11:51:33 -0500 + +quassel (0.4.0~git090113-0ubuntu1) jaunty; urgency=low + + * New upstream git snapshot + - Use networks.ini to provide default network/channel + - Provide presets for common IRC networks + * Add kubuntu_01_default_network_channel.patch to set Freenode, port + 8001, and #kubuntu as defaults + * Add build-dep on quilt + + -- Scott Kitterman Wed, 14 Jan 2009 01:28:49 -0500 + +quassel (0.4.0~git090110-0ubuntu2) jaunty; urgency=low + + * Move quassel.notifyrc from quassel/quassel-client to quassel-data to the + two packages can be coinstalled + - Conflict with appropriate versions + + -- Scott Kitterman Sun, 11 Jan 2009 13:33:11 -0500 + +quassel (0.4.0~git090110-0ubuntu1) jaunty; urgency=low + + [ Harald Sitter ] + * debian/control: + + Make quassel and quassel-core conflict. A lot of people installed all 3 + packages leading to the most weird issues. I hope conflicing those 2 is + enough, since there are usecases where one might want to have -client and + quassel installed at the same time. + + quassel-core depends on openssl due to postinst changes + * debian/quassel-core.postinst: + + Generate a SSL certificate at every run (lasting 680 days ~ 24 months) + + Ensure any updates from earlier than 0.2.0~rc1-0ubuntu1 gets equiped with + user, group and log directory. There weren't any reports about this yet, + but to be on the save side. + * debian/quassel-core.quasselcore.init: + + Set STARTIME to 3 seconds + * debian/rules: + + Make dh_installinit create code that still exits with errorcode 0 if + quasselcore is unstartable (which would mostly be the case for upgrades). + + [ Scott Kitterman ] + * New upstream git snapshot + * Enable KDE integration + - Build-dep on kdelibs5-dev + - Add -DWITH_KDE=ON to DEB_CMAKE_EXTRA_FLAGS + * Added ${misc:Depends} to all packages + * Drop quassel_01_fix_iconloader.patch, incorporated upstream + * Remove debian/patches due to current lack of patches + * Update package descriptions to better distinguish the different + packages + * Add data/quassel.notifyrc to debian/quassel.install and + debian/quassel-core.install to support notifications in KDE + - Install in share/kde4/apps/quassel + * Replace patchsys-quilt.mk, debhelper.mk, util.mk, and cmake.mk with + kde4.mk in debian/rules now that we are building the kde4 package + * Adjust path in quassel-client.install quassel-core.install quassel- + data.install quassel.install files because apparently kde4.mk is + special + * Update debian/copyright for LGPL-3 oxygen icons + * Drop build-dep on quilt since no patches are left + + -- Scott Kitterman Sat, 10 Jan 2009 20:53:11 -0500 + +quassel (0.3.1-0ubuntu1) jaunty; urgency=low + + * New upstream release (LP: #271403) + * Drop all patches originated from upstream (quassel_*) + * Compile with non-builtin quassel icons + + Introduce new quassel-data package + + quassel and quassel-client depend on quassel-data + + Don't manually enforce icon installation for desktop files in debian/rules + + Add quassel_01_fix_iconloader.patch + * Drop perl build dependency, I have no clue why it was added in the first + place. Neither changelog nor Bazaar knows, and since quassel compiles just + fine without it, removing it should be save. + + -- Harald Sitter Mon, 17 Nov 2008 15:22:46 +0100 + +quassel (0.3.0-0ubuntu9) intrepid; urgency=low + + * Fix wrong QByteArray use in quassel_16_ctcp_level_and_low_level_quoting + (LP: #289291) + + -- Harald Sitter Sun, 26 Oct 2008 00:39:18 +0200 + +quassel (0.3.0-0ubuntu8) intrepid; urgency=low + + * Added patch from upstream: + + quassel_16_ctcp_level_and_low_level_quoting.patch + Implementing ctcp level quoting and ctcp low level quoting. + This fixes a crucial security issue. (LP: #289182) + + -- Harald Sitter Sat, 25 Oct 2008 18:30:49 +0200 + +quassel (0.3.0-0ubuntu7) intrepid; urgency=low + + * Added patches from upstream: + + quassel_13_fix_wrong_class.patch + + quassel_14_fix_topic_widget.patch + + quassel_15_reintroduce_layout_margin_for_topic_line.patch + (LP: #276543) + + -- Harald Sitter Mon, 13 Oct 2008 20:32:24 +0200 + +quassel (0.3.0-0ubuntu6) intrepid; urgency=low + + * debian/quassel-core.logrotate: + - Added + - Rotates weekly for 4 weeks (default log mode is Info, which doesn't + produce a lot of output) + * debian/quassel-core.posinst: + - Exit with code 0 when argument is not "configure" + - Only create directories, user and group at first installation + - Be more verbose + - Added /var/log/quassel as log directory + * debian/quassel-core.postinst: + - Be more verbose + - Remove log directory + * debian/quassel-core.quasselcore.default: + - Added + - Define loglevel and port + - Sourced in the init script + * debian/quassel-core.quasselcore.init: + - Renamed from quassel-core.init.d + - Formatting changes + - Set and use logdir and datadir as start arguments + - Cleanup + * debian/quasselcore-makecert: + - Typo fix + * debian/rules: + - Added DEB_DH_INSTALLINIT_ARGS to not stop the daemon at upgrades + + -- Harald Sitter Fri, 19 Sep 2008 17:18:38 +0200 + +quassel (0.3.0-0ubuntu5) intrepid; urgency=low + + * debian/patches/quassel_10_fixing_memleak.patch: + - Fixing memleak in chatlinemodelitem + * debian/patches/quassel_11_Fix_MOC-defines-for-cmake-2.4.patch: + - Fixes some defines for MOC in Cmakelist..now it works now with cmake-2.4 + and --without-ssl + * debian/patches/quassel_12_int_to_qreal_subst.patch: + - Substitute int with qreal in chatlinemodelitem + (All Patches cherrypicked from upstream) + + -- Stephan Hermann Thu, 11 Sep 2008 08:40:22 +0200 + +quassel (0.3.0-0ubuntu4) intrepid; urgency=low + + * Fix quasselclient icon + + -- Harald Sitter Sun, 07 Sep 2008 15:01:25 +0200 + +quassel (0.3.0-0ubuntu3) intrepid; urgency=low + + * debian/patches/quassel_01_chatscene.patch, + debian/patches/quassel_02_chatview.patch: refreshed with a clean patch + from upstrean + * added: + debian/patches/quassel_03_BR-295-Autobacktraces-are-limited-to-Linux.patch + (Fixes Upstream: BR: #295) + quassel_04_BR-302-client-crash-on-disconnect.patch + (Fixes Upstream: BR: #302) + quassel_05_faster-ChatLine-insertion-into-the-ChatScene.-And-so.patch + quassel_06_removing-unneeded-semicolons-after-Qt-macros-makin.patch + quassel_07_Bring-back-the-workaround-to-not-reserve-space-for-t.patch + quassel_08_Bring-back-workaround-for-the-unwanted-scroll-on-buf.patch + quassel_09_Various-buildsystem-improvements.patch + (Cherrypicked Patches, which are fixing and makeing the app more mature + for release, no new features are introduced) + + -- Stephan Hermann Mon, 01 Sep 2008 15:02:44 +0200 + +quassel (0.3.0-0ubuntu2) intrepid; urgency=low + + * debian/patches/quassel_01_chatscene.patch + + Fix resizing/scrolling bug + * debian/patches/quassel_02_chatview.patch + + fix the scrolling issues for now + + -- Stephan Hermann Thu, 28 Aug 2008 16:24:27 +0200 + +quassel (0.3.0-0ubuntu1) intrepid; urgency=low + + * New upstream release + * debian/control: + - added libdbus-1-dev to build-dep because somewhere it's missing from + libqt4 + + -- Stephan Hermann Wed, 27 Aug 2008 16:13:38 +0200 + +quassel (0.2.0~rc1-0ubuntu1) intrepid; urgency=low + + * Switch buildsystem to CMake + * Add postinst, postrm and init.d for quassel-core (LP: #243891) + - add user quassecore and group quassel + - create $HOME -> /var/cache/quassel + * Add quasselcore-makecert + * Updated kubuntu_01_fix_desktop_file.patch + * Bump Standards-Version to 3.8.0 + + -- Harald Sitter Fri, 27 Jun 2008 19:21:30 +0200 + +quassel (0.2.0~beta1-0ubuntu2) intrepid; urgency=low + + * Fix quassel's Depends line + + -- Harald Sitter Tue, 10 Jun 2008 20:11:14 +0200 + +quassel (0.2.0~beta1-0ubuntu1) intrepid; urgency=low + + * Initial release (LP: #195861) + + -- Harald Sitter Thu, 15 May 2008 18:17:16 +0200 --- quassel-0.4.0~git090130.orig/debian/quassel-core.quasselcore.init +++ quassel-0.4.0~git090130/debian/quassel-core.quasselcore.init @@ -0,0 +1,198 @@ +#!/bin/sh +# +# Copyright (C) 2008 Harald Sitter +# +# This is free software; you may 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, +# or (at your option) any later version. +# +# This 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 with +# the Debian operating system, in /usr/share/common-licenses/GPL; if +# not, write to the Free Software Foundation, Inc., 59 Temple Place, +# Suite 330, Boston, MA 02111-1307 USA +# +### BEGIN INIT INFO +# Provides: quasselcore +# Required-Start: $network $local_fs +# Required-Stop: +# Should-Start: +# Should-Stop: +# Default-Start: 2 3 4 5 +# Default-Stop: 0 1 6 +# Short-Description: distributed IRC client using a central core component +# Description: This is the core component of Quassel. A modern, +# cross-platform, distributed IRC client, meaning that one +# (or multiple) client(s) can attach to and detach from this +# central core. It's much like the popular combination +# of screen and a text-based IRC client such as WeeChat. +### END INIT INFO + +PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin + +DAEMON=/usr/bin/quasselcore +NAME=quasselcore +DESC="distributed IRC core" +LOGDIR=/var/log/quassel + +PIDFILE=/var/run/quasselcore.pid + +test -x $DAEMON || exit 0 + +. /lib/lsb/init-functions + +DAEMON_OPTS="" +DIETIME=10 +STARTIME=3 +LOGFILE=$LOGDIR/core.log +DATADIR=/var/cache/quassel +DAEMONUSER=quasselcore + +if [ -f /etc/default/$NAME ] ; then + . /etc/default/$NAME +fi + +if [ -n "$DAEMONUSER" ] ; then + if getent passwd | grep -q "^$DAEMONUSER:"; then + # Obtain the uid and gid + DAEMONUID=`getent passwd |grep "^$DAEMONUSER:" | awk -F : '{print $3}'` + DAEMONGID=`getent passwd |grep "^$DAEMONUSER:" | awk -F : '{print $4}'` + else + log_failure_msg "The user $DAEMONUSER, required to run $NAME does not exist." + exit 1 + fi +fi + +set -e + +running_pid() { + pid=$1 + name=$2 + [ -z "$pid" ] && return 1 + [ ! -d /proc/$pid ] && return 1 + cmd=`cat /proc/$pid/cmdline | tr "\000" "\n"|head -n 1 |cut -d : -f 1` + [ "$cmd" != "$name" ] && return 1 + return 0 +} + +running() { + [ ! -f "$PIDFILE" ] && return 1 + pid=`cat $PIDFILE` + running_pid $pid $DAEMON || return 1 + return 0 +} + +start_server() { + start-stop-daemon --start --quiet --pidfile $PIDFILE --make-pidfile \ + --background --chuid $DAEMONUSER --exec $DAEMON \ + -- --logfile=$LOGFILE --loglevel=$LOGLEVEL --configdir=$DATADIR \ + --port=$PORT \ + $DAEMON_OPTS + errcode=$? + return $errcode +} + +stop_server() { + start-stop-daemon --stop --quiet --pidfile $PIDFILE --user $DAEMONUSER \ + --exec $DAEMON + errcode=$? + return $errcode +} + +force_stop() { + [ ! -e "$PIDFILE" ] && return + if running ; then + kill -15 $pid + # Is it really dead? + sleep "$DIETIME"s + if running ; then + kill -9 $pid + sleep "$DIETIME"s + if running ; then + echo "Cannot kill $NAME (pid=$pid)!" + exit 1 + fi + fi + fi + rm -f $PIDFILE +} + +case "$1" in + start) + log_daemon_msg "Starting $DESC" "$NAME" + # Check if it's running first + if running ; then + log_progress_msg "apparently already running" + log_end_msg 0 + exit 0 + fi + if start_server ; then + [ -n "$STARTTIME" ] && sleep $STARTTIME # Wait some time + if running ; then + log_end_msg 0 + else + log_end_msg 1 + fi + else + log_end_msg 1 + fi + ;; + stop) + log_daemon_msg "Stopping $DESC" "$NAME" + if running ; then + stop_server + log_end_msg $? + else + log_progress_msg "apparently not running" + log_end_msg 0 + exit 0 + fi + ;; + force-stop) + $0 stop + if running; then + # If it's still running try to kill it more forcefully + log_daemon_msg "Stopping (force) $DESC" "$NAME" + force_stop + log_end_msg $? + fi + ;; + restart|force-reload) + log_daemon_msg "Restarting $DESC" "$NAME" + stop_server + # Wait some sensible amount, some server need this + [ -n "$DIETIME" ] && sleep $DIETIME + start_server + [ -n "$STARTTIME" ] && sleep $STARTTIME + running + log_end_msg $? + ;; + status) + log_daemon_msg "Checking status of $DESC" "$NAME" + if running ; then + log_success_msg "running" + log_end_msg 0 + else + log_success_msg "apparently not running" + log_end_msg 1 + exit 1 + fi + ;; + reload) + log_warning_msg "Reloading $NAME daemon: not implemented, as the daemon" + log_warning_msg "cannot re-read the config file (use restart)." + ;; + + *) + N=/etc/init.d/$NAME + echo "Usage: $N {start|stop|force-stop|restart|force-reload|status}" >&2 + exit 1 + ;; +esac + +exit 0 --- quassel-0.4.0~git090130.orig/debian/quasselcore-makecert +++ quassel-0.4.0~git090130/debian/quasselcore-makecert @@ -0,0 +1,34 @@ +#!/bin/bash +# create ssl certificate for quasselcore +# +# Copyright (C) 2008 Harald Sitter +# +# This package 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 package 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 package; if not, write to the Free Software +# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + +QUASSEL_HOME=/var/cache/quassel/.quassel + +if [ -w $QUASSEL_HOME/ ]; then + openssl req -x509 -nodes -days 365 -newkey rsa:1024 -keyout $QUASSEL_HOME/quasselCert.pem -out $QUASSEL_HOME/quasselCert.pem + chown quasselcore:quassel $QUASSEL_HOME/quasselCert.pem +else + echo "You have to execute this script with root privilege (sudo)." + if [ -x $0 ]; then + echo "...because it's you, I'll take care of this ;-)" + echo "###############################################" + sudo $0 + fi +fi + +exit 0 --- quassel-0.4.0~git090130.orig/debian/quassel-client.install +++ quassel-0.4.0~git090130/debian/quassel-client.install @@ -0,0 +1,2 @@ +usr/bin/quasselclient +usr/share/applications/kde4/quasselclient.desktop --- quassel-0.4.0~git090130.orig/debian/compat +++ quassel-0.4.0~git090130/debian/compat @@ -0,0 +1 @@ +5 --- quassel-0.4.0~git090130.orig/debian/quassel-core.quasselcore.default +++ quassel-0.4.0~git090130/debian/quassel-core.quasselcore.default @@ -0,0 +1,8 @@ +# Defaults for quasselcore initscript +# sourced by /etc/init.d/quasselcore + +# Loglevel Debug|Info|Warning|Error. Default is: Info +LOGLEVEL="Info" + +# The port quasselcore will listen at. Default is: 4242 +PORT="4242" --- quassel-0.4.0~git090130.orig/debian/quassel-client.manpages +++ quassel-0.4.0~git090130/debian/quassel-client.manpages @@ -0,0 +1 @@ +quasselclient.1 --- quassel-0.4.0~git090130.orig/debian/quassel-core.postinst +++ quassel-0.4.0~git090130/debian/quassel-core.postinst @@ -0,0 +1,50 @@ +#!/bin/sh -e +# postinst script for quassel-core + +set -e + +# some variables +QUASSEL_GROUP=quassel +QUASSEL_USER=quasselcore +QUASSEL_HOME=/var/cache/quassel +QUASSEL_LOG=/var/log/quassel + +if [ "$1" != "configure" ]; then + echo "Command is $1, expected 'configure'." + echo "Aborting." + exit 0 +elif [ "$1" = "configure" ] && dpkg --compare-versions "$2" lt "0.2.0~rc1-0ubuntu1"; then + # create $HOME + echo "Creating $QUASSEL_HOME directory ..." + mkdir -p $QUASSEL_HOME + + # create group + grep -q $QUASSEL_GROUP /etc/group || ( echo Creating $QUASSEL_GROUP group... ; \ + addgroup --quiet --system $QUASSEL_GROUP) + + # create user + grep -q $QUASSEL_USER /etc/passwd || ( echo Creating $QUASSEL_USER user... ; \ + adduser --quiet --system --ingroup $QUASSEL_GROUP \ + --home $QUASSEL_HOME --no-create-home $QUASSEL_USER ) + + chown $QUASSEL_USER:$QUASSEL_GROUP $QUASSEL_HOME + + echo "Creating $QUASSEL_LOG directory ..." + mkdir -p $QUASSEL_LOG + chown $QUASSEL_USER:$QUASSEL_GROUP -R $QUASSEL_LOG +fi + +# generate a SSL certificate for 18 months (support time) + 6 months (development time) +# this covers the worst case scenario of earliest possible install + no whatsoever +# updates while support time frame. otherwise the key will be regenerated +# FIXME: Not over-writing existing certs, but need to (someday) replace old certs +if [ ! -e $QUASSEL_HOME/quasselCert.pem ] ; then + echo "Generating SSL certificate as $QUASSEL_HOME/quasselCert.pem ..." + openssl req -x509 -nodes -batch -days 680 -newkey rsa:1024 -keyout \ + $QUASSEL_HOME/quasselCert.pem -out $QUASSEL_HOME/quasselCert.pem + chown $QUASSEL_USER:$QUASSEL_GROUP $QUASSEL_HOME/quasselCert.pem +fi + +#DEBHELPER# + +exit 0 --- quassel-0.4.0~git090130.orig/debian/copyright +++ quassel-0.4.0~git090130/debian/copyright @@ -0,0 +1,58 @@ +This package was debianized by Harald Sitter on +Thu, 15 May 2008 18:17:16 +0200. + +It was downloaded from http://www.quassel-irc.org + +Upstream Author: Quassel IRC Team + +Copyright: + (C) 2005-2009 Quassel IRC Team + +License: + + This package 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) version 3. + + This package 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 package; if not, write to the Free Software + Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + +On Debian systems, the complete text of the GNU General Public License +can be found in '/usr/share/common-licenses/GPL'. + +Files in icons/oxygen/ are: + Copyright (C) 2007 David Vignoni + Copyright (C) 2007 Johann Ollivier Lapeyre + Copyright (C) 2007 Kenneth Wimer + Copyright (C) 2007 Nuno Fernades Pinheiro + Copyright (C) 2007 Riccardo Iaconelli + Copyright (C) 2007 David Miller + +License: + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Library General Public + License as published by the Free Software Foundation; either + version 3 of the License, or (at your option) any later version. + + This library 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 + Library General Public License for more details. + + You should have received a copy of the GNU Library General Public + License along with this library. If not, see . + +On Debian systems, the complete text of the GNU Library General Public License +version 3 can be found in '/usr/share/common-licenses/LGPL-3 + +The Debian packaging is (C) 2008, Harald Sitter and +is licensed under the GPL version 2, or (at your option) +any later version, see `/usr/share/common-licenses/GPL'. --- quassel-0.4.0~git090130.orig/debian/quassel-data.install +++ quassel-0.4.0~git090130/debian/quassel-data.install @@ -0,0 +1,6 @@ +usr/share/kde4/apps/quassel/icons/hicolor/*/apps/quassel_* +usr/share/kde4/apps/quassel/icons/hicolor/*/apps/quassel.png +usr/share/kde4/apps/quassel/translations/ +usr/share/pixmaps/ +usr/share/kde4/apps/quassel/quassel.notifyrc +usr/share/kde4/apps/quassel/networks.ini --- quassel-0.4.0~git090130.orig/debian/quassel-core.postrm +++ quassel-0.4.0~git090130/debian/quassel-core.postrm @@ -0,0 +1,41 @@ +#!/bin/sh +# postrm script for quassel-core + +set -e + +# configure some variables +QUASSEL_GROUP=quassel +QUASSEL_USER=quasselcore + +case "$1" in + purge) + grep -q $QUASSEL_USER /etc/passwd && \ + (echo Deleting $QUASSEL_USER user... ; \ + if [ -x /usr/sbin/deluser ]; then + deluser --quiet --system $QUASSEL_USER + fi) + + grep -q $QUASSEL_GROUP /etc/group && \ + (echo Deleting $QUASSEL_GROUP group... ; \ + if [ -x /usr/sbin/deluser ]; then + delgroup --quiet --system $QUASSEL_GROUP + fi) + + echo "Deleting /var/cache/quassel ..." + rm -rf /var/cache/quassel + echo "Deleting /var/log/quassel ..." + rm -rf /var/log/quassel + ;; + remove) + ;; + upgrade|failed-upgrade|abort-install|abort-upgrade|disappear) + ;; + *) + echo "postrm called with unknown argument \`$1'" >&2 + exit 1 + ;; +esac + +#DEBHELPER# + +exit 0 --- quassel-0.4.0~git090130.orig/debian/patches/kubuntu_01_default_network_channel.patch +++ quassel-0.4.0~git090130/debian/patches/kubuntu_01_default_network_channel.patch @@ -0,0 +1,20 @@ +Index: quassel-0.4.0~git090124/data/networks.ini +=================================================================== +--- quassel-0.4.0~git090124.orig/data/networks.ini 2009-01-24 20:45:25.000000000 -0500 ++++ quassel-0.4.0~git090124/data/networks.ini 2009-01-25 00:15:08.000000000 -0500 +@@ -19,10 +19,14 @@ + Servers=irc.enterthegame.com:6667 + + [Freenode] +-Default=Yes + DefaultChannels=#quassel + Servers=chat.freenode.net:6665,chat.freenode.net:7000 + ++[Kubuntu IRC] ++Default=Yes ++DefaultChannels=#kubuntu ++Servers=irc.ubuntu.com:8001 ++ + [GalaxyNet] + Servers=irc.galaxynet.org:6662,irc.galaxynet.org:7000,boston.ma.us.galaxynet.org:6661 + --- quassel-0.4.0~git090130.orig/debian/patches/series +++ quassel-0.4.0~git090130/debian/patches/series @@ -0,0 +1 @@ +kubuntu_01_default_network_channel.patch --- quassel-0.4.0~git090130.orig/debian/mans/quassel.pod +++ quassel-0.4.0~git090130/debian/mans/quassel.pod @@ -0,0 +1,28 @@ +=head1 NAME + +Quassel - Distributed IRC client (monolithic binary) + +=head1 SYNOPSIS + +quassel + +=head1 DESCRIPTION + +B is a modern, cross-platform, distributed IRC client, meaning that one + (or multiple) client(s) can attach to and detach from a central core. It's + much like the popular combination of screen and a text-based IRC client such + as WeeChat, but graphical. + +=head1 AUTHORS + +B was written by the Quassel IRC Team . + +This manual page was written by Harald Sitter . + +B is released under the GNU General Public License, version 2 or +(at your option) version 3. + +This manual page is released under the GNU General Public License, version 2 or +any later version. + +=cut --- quassel-0.4.0~git090130.orig/debian/mans/quasselcore-makecert.pod +++ quassel-0.4.0~git090130/debian/mans/quasselcore-makecert.pod @@ -0,0 +1,25 @@ +=head1 NAME + +Quasselcore-makecert - Distributed IRC client, SSL certificate creator + +=head1 SYNOPSIS + +quasselcore-makecert + +=head1 DESCRIPTION + +B is part of the Quassel packaging. + Quassel is a modern, cross-platform, distributed IRC client, meaning that one + (or multiple) client(s) can attach to and detach from a central core. It's much + like the popular combination of screen and a text-based IRC client such as + WeeChat, but graphical. + +=head1 AUTHORS + +B and this manual page was written by +Harald Sitter . + +Both are released under the GNU General Public License, version 2 or +any later version. + +=cut --- quassel-0.4.0~git090130.orig/debian/mans/quasselclient.pod +++ quassel-0.4.0~git090130/debian/mans/quasselclient.pod @@ -0,0 +1,28 @@ +=head1 NAME + +Quasselclient - Distributed IRC client, client-only binary + +=head1 SYNOPSIS + +quasselclient + +=head1 DESCRIPTION + +B is part of Quassel, which is a modern, cross-platform, + distributed IRC client, meaning that one (or multiple) client(s) can attach to + and detach from a central core. It's much like the popular combination of + screen and a text-based IRC client such as WeeChat, but graphical. + +=head1 AUTHORS + +B was written by the Quassel IRC Team . + +This manual page was written by Harald Sitter . + +B is released under the GNU General Public License, version 2 or +(at your option) version 3. + +This manual page is released under the GNU General Public License, version 2 or +any later version. + +=cut --- quassel-0.4.0~git090130.orig/debian/mans/quasselcore.pod +++ quassel-0.4.0~git090130/debian/mans/quasselcore.pod @@ -0,0 +1,41 @@ +=head1 NAME + +Quasselcore - Distributed IRC client, server-only binary + +=head1 SYNOPSIS + +quasselcore + +=head1 DESCRIPTION + +B is part of Quassel, which is a modern, cross-platform, + distributed IRC client, meaning that one (or multiple) client(s) can attach to + and detach from a central core. It's much like the popular combination of + screen and a text-based IRC client such as WeeChat, but graphical. + +=head1 USAGE + +Usage: "quasselcore" [arguments] + -h, --help Display this help and exit + -p, --port=[PORT] The port quasselcore will listen at. Default is: 4242 + --datadir=[DATADIR] DEPRECATED - Use --configdir instead + --listen=[LISTEN] The address(es) quasselcore will listen on. Default is: 0.0.0.0,:: + -l, --logfile=[LOGFILE] Path to logfile + -c, --configdir=[CONFIGDIR] Specify the directory holding configuration files, the SQlite database and the SSL Cert + -n, --norestore Don't restore last core's state + -d, --debug Enable debug output + -L, --loglevel=[LOGLEVEL] Loglevel Debug|Info|Warning|Error. Default is: Info + +=head1 AUTHORS + +B was written by the Quassel IRC Team . + +This manual page was written by Harald Sitter and updated by Scott Kitterman . + +B is released under the GNU General Public License, version 2 or +(at your option) version 3. + +This manual page is released under the GNU General Public License, version 2 or +any later version. + +=cut