--- minbif-1.0+git20091214+19d5b30.orig/debian/minbif-common.docs +++ minbif-1.0+git20091214+19d5b30/debian/minbif-common.docs @@ -0,0 +1 @@ +README --- minbif-1.0+git20091214+19d5b30.orig/debian/watch +++ minbif-1.0+git20091214+19d5b30/debian/watch @@ -0,0 +1,6 @@ +# format version number, currently 3; this line is compulsory! +version=3 + +opts="uversionmangle=s/(rc|beta|alpha)/~$1/i"\ + http://symlink.me/projects/list_files/minbif \ + .*?/minbif-(.*)\.tar\.gz --- minbif-1.0+git20091214+19d5b30.orig/debian/NEWS.Debian +++ minbif-1.0+git20091214+19d5b30/debian/NEWS.Debian @@ -0,0 +1,8 @@ +minbif (1:1.0~alpha+git20090928+b000766-1) unstable; urgency=low + + * inetd mode is now deprecated in favor of daemon mode; you can changer + this behavior by editing /etc/default/minbif, and adding the proper + line by hand in /etc/inetd.conf. + + -- Sebastien Delafond Mon, 28 Sep 2009 15:28:50 +0200 + --- minbif-1.0+git20091214+19d5b30.orig/debian/minbif.lintian-overrides +++ minbif-1.0+git20091214+19d5b30/debian/minbif.lintian-overrides @@ -0,0 +1,2 @@ +# the manpage is supplied by minbif-common +minbif binary: binary-without-manpage usr/bin/minbif --- minbif-1.0+git20091214+19d5b30.orig/debian/minbif-common.default +++ minbif-1.0+git20091214+19d5b30/debian/minbif-common.default @@ -0,0 +1,2 @@ +# Uncomment to let minbif initscript run +ENABLED=1 --- minbif-1.0+git20091214+19d5b30.orig/debian/minbif-common.postinst +++ minbif-1.0+git20091214+19d5b30/debian/minbif-common.postinst @@ -0,0 +1,29 @@ +#! /bin/sh -e + +case "$1" in + configure) + getent passwd minbif > /dev/null || adduser --system --group --disabled-login --disabled-password --home /var/lib/minbif minbif + chown -R minbif /var/lib/minbif + chmod 700 /var/lib/minbif + + chown -R root:minbif /etc/minbif + chmod 660 /etc/minbif/minbif.conf + ;; + + abort-upgrade|abort-remove|abort-deconfigure) + ;; + + *) + echo "postinst called with unknown argument \`$1'" >&2 + exit 1 + ;; +esac + +update-inetd --remove '.*/usr/bin/minbif' || true + +# dh_installdeb will replace this with shell code automatically +# generated by other debhelper scripts. + +#DEBHELPER# + +exit 0 --- minbif-1.0+git20091214+19d5b30.orig/debian/minbif-common.init +++ minbif-1.0+git20091214+19d5b30/debian/minbif-common.init @@ -0,0 +1,125 @@ +#! /bin/sh + +# minbif Start/stop the minbif IRC gateway to IM networks. + +# This file is based on debian's ircd-ratbox init script +# Version: ircd-hybrid 7.0rc9-1 03-Mar-2003 joshk@triplehelix.org +# Version: ircd-hybrid 7.2.2-2 10-Sep-2006 ag@roxor.cx +# Version: ircd-ratbox 2.2.6-1 21-Aug-2007 acornet@debian.org +# Version: minbif 1.0alpha+git20090902-1 2009-09-26 duck@duckcorp.org + +### BEGIN INIT INFO +# Provides: minbif +# Required-Start: $syslog +# Required-Stop: $syslog +# Should-Start: $local_fs $network $named +# Should-Stop: $local_fs $network $named +# Default-Start: 2 3 4 5 +# Default-Stop: 0 1 6 +# Short-Description: minbif daemon init.d script +# Description: Control minbif IRC gateway to IM networks +### END INIT INFO + +PATH=/sbin:/bin:/usr/sbin:/usr/bin +DAEMON=/usr/bin/minbif +DEFAULT=/etc/default/minbif +NAME=minbif +DESC="minbif IRC gateway to IM networks" +PIDFILE=/var/run/minbif/$NAME.pid +CONFFILE=/etc/minbif/minbif.conf +ENABLED=0 + +test -f $DAEMON || exit 0 + +if [ -e $DEFAULT ]; then + . $DEFAULT +fi + +test "$ENABLED" != "0" || exit 0 + +[ -f /etc/default/rcS ] && . /etc/default/rcS +. /lib/lsb/init-functions + +set -e + +minbif_start() +{ + PIDDIR=$(dirname $PIDFILE) + if [ ! -d $PIDDIR ] ; then + mkdir $PIDDIR + chown minbif:minbif $PIDDIR + fi + if [ -f $PIDFILE ] ; then + echo -n " already running" + return 0 + fi + start-stop-daemon --start --quiet \ + -u minbif -c minbif --pidfile $PIDFILE \ + --exec $DAEMON -- \ + --pidfile $PIDFILE $CONFFILE > /dev/null \ + || return 2 + return 0 +} + +minbif_stop() +{ + start-stop-daemon --oknodo --stop --quiet \ + --retry 10 \ + --pidfile $PIDFILE \ + --signal 15 --exec $DAEMON -- --pidfile $PIDFILE \ + || return 2 + return 0 +} + +minbif_reload() +{ + if [ -f $PIDFILE ]; then + kill -HUP $(<$PIDFILE) + return 0 + else + return 2 + fi +} + +case "$1" in +start) + log_daemon_msg "Starting minbif" "minbif" + minbif_start + case "$?" in + 0) log_end_msg 0 ;; + 1|2) log_end_msg 1 ;; + esac + ;; +stop) + log_daemon_msg "Stopping $NAME" "$NAME" + minbif_stop + case "$?" in + 0|1) log_end_msg 0 ;; + 2) log_end_msg 1 ;; + esac + ;; +reload) + log_daemon_msg "Reloading $NAME" "$NAME" + minbif_reload + case "$?" in + 0|1) log_end_msg 0 ;; + 2) log_end_msg 1 ;; + esac + ;; +restart|force-reload) + log_daemon_msg "Restarting $NAME" "$NAME" + minbif_stop + minbif_start + case "$?" in + 0) log_end_msg 0 ;; + 1|2) log_end_msg 1 ;; + esac + ;; +*) + echo "Usage: $0 {start|stop|restart|reload|force-reload}" >&2 + exit 1 + ;; +esac + +exit 0 + --- minbif-1.0+git20091214+19d5b30.orig/debian/minbif-webcam.lintian-overrides +++ minbif-1.0+git20091214+19d5b30/debian/minbif-webcam.lintian-overrides @@ -0,0 +1,2 @@ +# the manpage is supplied by minbif-common +minbif-webcam binary: binary-without-manpage usr/bin/minbif --- minbif-1.0+git20091214+19d5b30.orig/debian/changelog +++ minbif-1.0+git20091214+19d5b30/debian/changelog @@ -0,0 +1,105 @@ +minbif (1:1.0+git20091214+19d5b30-1) unstable; urgency=low + + * Use --retry to make sure the init.d script actually kills the minbif + process. + * New development snapshot. + * Remove -Werror from CFLAGS. + + -- Sebastien Delafond Mon, 14 Dec 2009 17:41:44 +0100 + +minbif (1:1.0-1) unstable; urgency=low + + * Official 1.0 release. + + -- Sebastien Delafond Wed, 18 Nov 2009 14:57:35 +0100 + +minbif (1:1.0~rc2+git20091117+b47a16d-1) unstable; urgency=low + + * New development snapshot. + * Fixed installation problems of /etc/* files between minbif and + minbif-common. + * Updated package descriptions. + + -- Sebastien Delafond Tue, 17 Nov 2009 11:19:45 +0100 + +minbif (1:1.0~rc2+git20091028+cf6562b-1) unstable; urgency=low + + * New development snapshot. + * Split package into minbif-common, minbif and minbif-webcam. + * Add Vcs-* info to debian/control. + + -- Sebastien Delafond Wed, 28 Oct 2009 16:40:51 +0100 + +minbif (1:1.0~beta+git20091008+6671b7b-2) unstable; urgency=low + + * Handle "reload" action in init.d script. + + -- Sebastien Delafond Thu, 08 Oct 2009 11:59:31 +0200 + +minbif (1:1.0~beta+git20091008+6671b7b-1) unstable; urgency=low + + * New development snapshot (Closes: #550157). + + -- Sebastien Delafond Thu, 08 Oct 2009 11:25:52 +0200 + +minbif (1:1.0~beta+git20091005+dfd765c-1) unstable; urgency=low + + * New development snapshot (Closes: #549672). + + -- Sebastien Delafond Mon, 05 Oct 2009 15:25:54 +0200 + +minbif (1:1.0~beta+git20091001+9f03d91-1) unstable; urgency=low + + * New development snapshot. + * Updated long description to account for new capabilities. + + -- Sebastien Delafond Thu, 01 Oct 2009 18:12:53 +0200 + +minbif (1:1.0~beta+git20090929+fa518a5-1) unstable; urgency=low + + * New development snapshot (default upstream config file now forces + daemon mode). + + -- Sebastien Delafond Tue, 29 Sep 2009 11:41:44 +0200 + +minbif (1:1.0~beta+git20090928+1aadbc4-1) unstable; urgency=low + + * New development snapshot. + * Added init script for daemon-fork mode. + * Fixed devscripts (care about commands, and allow debhelper paragraphs). + * Added debug package. + * Don't restart the daemon when upgrading, let the administrator handle + this manually. + * Thanks Marc Dequènes (Duck) for all the + aforementioned contributions. + * Deprecate inetd mode in favor of daemon mode. + + -- Sebastien Delafond Mon, 28 Sep 2009 19:49:49 +0200 + +minbif (1.0alpha+git20090902-1) unstable; urgency=low + + * New upstream version. + * Tweaked postrm a bit, to remove the inetd line even when not purging. + * Set copyright year to 2009, after upstream author removed erroneously + copy-pasted copyright lines referring to 2006. + + -- Sebastien Delafond Wed, 02 Sep 2009 15:32:38 +0200 + +minbif (1.0alpha+git20090818-2) unstable; urgency=low + + * Properly reference /usr/share/common-license/GPL-2 in + debian/copyright. + + -- Sebastien Delafond Sat, 29 Aug 2009 10:44:55 +0200 + +minbif (1.0alpha+git20090818-1) unstable; urgency=low + + * New upstream version, supporting files reception via DCC. + + -- Sebastien Delafond Tue, 18 Aug 2009 17:07:53 +0200 + +minbif (1.0alpha+git20090813-1) unstable; urgency=low + + * Initial release (Closes: #541310). + + -- Sebastien Delafond Thu, 13 Aug 2009 15:09:33 +0200 --- minbif-1.0+git20091214+19d5b30.orig/debian/control +++ minbif-1.0+git20091214+19d5b30/debian/control @@ -0,0 +1,139 @@ +Source: minbif +Section: net +Priority: optional +Maintainer: Sebastien Delafond +Build-Depends: debhelper (>= 6.0.7~), cmake, libimlib2-dev, libcaca-dev, libpurple-dev (>= 2.6.1), dpatch, libgstfarsight0.10-dev (>=0.0.9), libgstreamer-plugins-base0.10-dev (>= 0.10.10) +Standards-Version: 3.8.3 +Homepage: http://symlink.me/wiki/minbif +Vcs-Git: git://git.symlink.me/pub/romain/minbif.git +Vcs-Browser: http://symlink.me/repositories/show/minbif + +Package: minbif-common +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends}, adduser, tcpd +Description: IRC-to-other-IM-networks gateway using Pidgin library (common files) + Minbif is an IRC gateway to IM networks which provides the following features: + * Minbif uses a library which abstracts all IM calls, and has several + plugins to support more than 15 IM protocols (IRC included!); + * Two modes: inetd and daemon fork; + * Only IRC commands are used to control Minbif; + * Certificates check; + * Buddies are IRC users; + * Each account has a status channel. You see in all connected + buddies, and their status on it; + * Add and remove buddies from list with /INVITE and /KICK commands; + * Blocked users are bans on the account's status channel; + * Display when a buddy is typing a message; + * Can chat with someone who is not in your buddy list; + * You can see buddies' icons (with libcaca) or download them; + * DCC SEND an image to set your icon on IM networks; + * Display extended information about buddies with /WII command; + * Support away messages; + * Can send and receive files, which are sent or received to/from your + IRC client with DCC SEND; + * Conversation channels are supported; + * Auto\-rejoin conversation channels at connection; + * Display list of channels on an IM account with /LIST; + * irssi scripts to increase your user experience of minbif; + * CACAcam (webcam in ascii art). + * CoinCoin plugin for libpurple. + . + This package contains the documentation and common plugins. + +Package: minbif +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends}, minbif-common +Conflicts: minbif-webcam +Description: IRC-to-other-IM-networks gateway using Pidgin library + Minbif is an IRC gateway to IM networks which provides the following features: + * Minbif uses a library which abstracts all IM calls, and has several + plugins to support more than 15 IM protocols (IRC included!); + * Two modes: inetd and daemon fork; + * Only IRC commands are used to control Minbif; + * Certificates check; + * Buddies are IRC users; + * Each account has a status channel. You see in all connected + buddies, and their status on it; + * Add and remove buddies from list with /INVITE and /KICK commands; + * Blocked users are bans on the account's status channel; + * Display when a buddy is typing a message; + * Can chat with someone who is not in your buddy list; + * You can see buddies' icons (with libcaca) or download them; + * DCC SEND an image to set your icon on IM networks; + * Display extended information about buddies with /WII command; + * Support away messages; + * Can send and receive files, which are sent or received to/from your + IRC client with DCC SEND; + * Conversation channels are supported; + * Auto\-rejoin conversation channels at connection; + * Display list of channels on an IM account with /LIST; + * irssi scripts to increase your user experience of minbif; + * CACAcam (webcam in ascii art). + * CoinCoin plugin for libpurple. + +Package: minbif-webcam +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends}, minbif-common +Conflicts: minbif +Description: IRC-to-other-IM-networks gateway using Pidgin library (webcam) + Minbif is an IRC gateway to IM networks which provides the following features: + * Minbif uses a library which abstracts all IM calls, and has several + plugins to support more than 15 IM protocols (IRC included!); + * Two modes: inetd and daemon fork; + * Only IRC commands are used to control Minbif; + * Certificates check; + * Buddies are IRC users; + * Each account has a status channel. You see in all connected + buddies, and their status on it; + * Add and remove buddies from list with /INVITE and /KICK commands; + * Blocked users are bans on the account's status channel; + * Display when a buddy is typing a message; + * Can chat with someone who is not in your buddy list; + * You can see buddies' icons (with libcaca) or download them; + * DCC SEND an image to set your icon on IM networks; + * Display extended information about buddies with /WII command; + * Support away messages; + * Can send and receive files, which are sent or received to/from your + IRC client with DCC SEND; + * Conversation channels are supported; + * Auto\-rejoin conversation channels at connection; + * Display list of channels on an IM account with /LIST; + * irssi scripts to increase your user experience of minbif; + * CACAcam (webcam in ascii art). + * CoinCoin plugin for libpurple. + . + This package provides the "cacacam" webcam functionality. + +Package: minbif-dbg +Architecture: any +Section: debug +Priority: extra +Depends: minbif (= ${binary:Version}), minbif-common (= ${binary:Version}) +Description: IRC-to-other-IM-networks gateway using Pidgin library (dbg) + Minbif is an IRC gateway to IM networks which provides the following features: + * Minbif uses a library which abstracts all IM calls, and has several + plugins to support more than 15 IM protocols (IRC included!); + * Two modes: inetd and daemon fork; + * Only IRC commands are used to control Minbif; + * Certificates check; + * Buddies are IRC users; + * Each account has a status channel. You see in all connected + buddies, and their status on it; + * Add and remove buddies from list with /INVITE and /KICK commands; + * Blocked users are bans on the account's status channel; + * Display when a buddy is typing a message; + * Can chat with someone who is not in your buddy list; + * You can see buddies' icons (with libcaca) or download them; + * DCC SEND an image to set your icon on IM networks; + * Display extended information about buddies with /WII command; + * Support away messages; + * Can send and receive files, which are sent or received to/from your + IRC client with DCC SEND; + * Conversation channels are supported; + * Auto\-rejoin conversation channels at connection; + * Display list of channels on an IM account with /LIST; + * irssi scripts to increase your user experience of minbif; + * CACAcam (webcam in ascii art). + * CoinCoin plugin for libpurple. + . + This packages provides debugging symbols. --- minbif-1.0+git20091214+19d5b30.orig/debian/minbif-common.dirs +++ minbif-1.0+git20091214+19d5b30/debian/minbif-common.dirs @@ -0,0 +1,3 @@ +etc +var/lib/minbif +usr/share/minbif --- minbif-1.0+git20091214+19d5b30.orig/debian/minbif-common.postrm +++ minbif-1.0+git20091214+19d5b30/debian/minbif-common.postrm @@ -0,0 +1,28 @@ +#! /bin/sh -e + +update-inetd --remove '.*/usr/bin/minbif' + +case "$1" in + purge) + deluser --system --remove-home minbif || true + rm -rf /etc/minbif /var/lib/minbif + ;; + + remove) + ;; + + upgrade|failed-upgrade|abort-install|abort-upgrade|disappear) + ;; + + *) + echo "postrm called with unknown argument \`$1'" >&2 + exit 1 + ;; +esac + +# dh_installdeb will replace this with shell code automatically +# generated by other debhelper scripts. + +#DEBHELPER# + +exit 0 --- minbif-1.0+git20091214+19d5b30.orig/debian/README.Debian +++ minbif-1.0+git20091214+19d5b30/debian/README.Debian @@ -0,0 +1,16 @@ +minbif for Debian +----------------- + +By default, minbif runs through inetd on port 56667, so pointing your +IRC client to localhost:56667 (after making sure inetd is indeed +running) should be enough. + +Note that the first time you connect, you'll need to use a password, +which you'll then have to remember for subsequent connections. + +The following two links should help you getting started: + + http://symlink.me/wiki/minbif/Quick_start + http://symlink.me/wiki/minbif/Command_list + + -- Sebastien Delafond , Thu, 13 Aug 2009 16:21:14 +0200 --- minbif-1.0+git20091214+19d5b30.orig/debian/compat +++ minbif-1.0+git20091214+19d5b30/debian/compat @@ -0,0 +1 @@ +6 --- minbif-1.0+git20091214+19d5b30.orig/debian/rules +++ minbif-1.0+git20091214+19d5b30/debian/rules @@ -0,0 +1,101 @@ +#!/usr/bin/make -f +# -*- makefile -*- +# Sample debian/rules that uses debhelper. +# This file was originally written by Joey Hess and Craig Small. +# As a special exception, when this file is copied by dh-make into a +# dh-make output file, you may use that output file without restriction. +# This special exception was added by Craig Small in version 0.37 of dh-make. + +# Uncomment this to turn on verbose mode. +#export DH_VERBOSE=1 + +include /usr/share/dpatch/dpatch.make + +COMMON_FLAGS := -DCMAKE_INSTALL_PREFIX=/usr -DCONF_PREFIX=/etc/minbif -DENABLE_CACA=ON -DCMAKE_C_FLAGS="$(CFLAGS)" -DCMAKE_LD_FLAGS="-Wl,-z,defs" -DCMAKE_CXX_FLAGS="$(CXXFLAGS)" -DCMAKE_SKIP_RPATH=ON -DCMAKE_VERBOSE_MAKEFILE=ON + +builddir/Makefile: patch + dh_testdir + mkdir -p builddir + cd builddir && cmake .. $(COMMON_FLAGS) -DENABLE_VIDEO=OFF -DENABLE_PLUGIN=ON + +builddir2/Makefile: patch + dh_testdir + mkdir -p builddir2 + cd builddir2 && cmake .. $(COMMON_FLAGS) -DENABLE_VIDEO=ON + +build: build-stamp + +build-stamp: builddir/Makefile builddir2/Makefile + dh_testdir + $(MAKE) -C builddir + $(MAKE) -C builddir2 + touch $@ + +clean: unpatch + dh_testdir + dh_testroot + rm -f build-stamp + rm -rf builddir builddir2 build.minbif + dh_clean + +install: build + dh_testdir + dh_testroot + dh_installdirs + + $(MAKE) -C builddir DESTDIR=$(CURDIR)/debian/minbif install + $(MAKE) -C builddir2 DESTDIR=$(CURDIR)/debian/minbif-webcam install + + mkdir -p $(CURDIR)/debian/minbif-common/usr/share/ + mv $(CURDIR)/debian/minbif/usr/share/* $(CURDIR)/debian/minbif-common/usr/share/ + mv $(CURDIR)/debian/minbif/usr/lib $(CURDIR)/debian/minbif-common/usr/ + mv $(CURDIR)/debian/minbif/etc/* $(CURDIR)/debian/minbif-common/etc/ + + cp -r $(CURDIR)/scripts $(CURDIR)/debian/minbif-common/usr/share/minbif + + find $(CURDIR)/debian -name .git -exec rm "{}" \; + + rm -f $(CURDIR)/debian/minbif*/usr/share/doc/minbif/COPYING + + rm -rf $(CURDIR)/debian/minbif/usr/share + rm -rf $(CURDIR)/debian/minbif-webcam/usr/share + rm -fr $(CURDIR)/debian/minbif-webcam/etc + +# Build architecture-independent files here. +binary-indep: install +# We have nothing to do by default. + +# Build architecture-dependent files here. +binary-arch: install + dh_testdir + dh_testroot + dh_installchangelogs -p minbif-common ChangeLog + dh_installdocs -X CMakeLists.txt --link-doc=minbif-common + dh_installexamples -p minbif-common +# dh_install +# dh_installmenu +# dh_installdebconf +# dh_installlogrotate +# dh_installemacsen +# dh_installpam +# dh_installmime +# dh_python + dh_installinit -p minbif-common --init-script=minbif --no-restart-on-upgrade +# dh_installcron +# dh_installinfo + dh_installman -p minbif-common + dh_link + dh_strip --dbg-package=minbif-dbg + dh_compress + dh_fixperms +# dh_perl +# dh_makeshlibs + dh_lintian + dh_installdeb + dh_shlibdeps + dh_gencontrol + dh_md5sums + dh_builddeb + +binary: binary-indep binary-arch +.PHONY: build clean binary-indep binary-arch binary install --- minbif-1.0+git20091214+19d5b30.orig/debian/README.source +++ minbif-1.0+git20091214+19d5b30/debian/README.source @@ -0,0 +1,4 @@ +Please refer to /usr/share/doc/dpatch/README.source.gz for more +information about dpatch. + + -- Sebastien Delafond Mon, 28 Sep 2009 18:12:26 +0200 --- minbif-1.0+git20091214+19d5b30.orig/debian/copyright +++ minbif-1.0+git20091214+19d5b30/debian/copyright @@ -0,0 +1,41 @@ +This package's orginal debianization was performed by Romain Bignon + on Sun, 10 May 2009 21:15:34 +0200. It is now +maintained by Sebastien Delafond . + +It was downloaded from http://symlink.me/wiki/minbif. + +Upstream Authors: + + Romain Bignon + Julien Miotte + +Copyright: + + Copyright (C) 2009 Romain Bignon + +License: + + 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, version 2 of the License. + + 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 systems, the GPL-2 license can be found at +/usr/share/common-licenses/GPL-2. + +The Debian packaging is: + + Copyright (C) 2009 Romain Bignon + Copyright (C) 2009 Sebastien Delafond + +and is licensed under the GPL version 3. On Debian systems, the GPL-3 +license can be found at /usr/share/common-licenses/GPL-3. --- minbif-1.0+git20091214+19d5b30.orig/debian/patches/02-warnings_are_not_errors.dpatch +++ minbif-1.0+git20091214+19d5b30/debian/patches/02-warnings_are_not_errors.dpatch @@ -0,0 +1,19 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## 02-warnings_are_not_errors.dpatch by Sebastien Delafond +## +## All lines beginning with `## DP:' are a description of the patch. +## DP: No -Werror please. + +@DPATCH@ +diff -urNad minbif.git~/CMakeLists.txt minbif.git/CMakeLists.txt +--- minbif.git~/CMakeLists.txt 2009-11-17 11:16:13.000000000 +0100 ++++ minbif.git/CMakeLists.txt 2009-12-14 17:55:01.000000000 +0100 +@@ -58,7 +58,7 @@ + LINK_DIRECTORIES(${PURPLE_LINK_DIRS} ${CACA_LINK_DIRS} ${IMLIB_LINK_DIRS} ${GSTREAMER_LINK_DIRS} ${FARSIGHT_LINK_DIRS} ${LIBXML_LINK_DIRS}) + + SET(CMAKE_BUILD_TYPE ${BUILD}) +-SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -D_REENTRANT -D_FILE_OFFSET_BITS=64 -Werror -Wall -Wextra -Wno-unused-parameter") ++SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -D_REENTRANT -D_FILE_OFFSET_BITS=64 -Wall -Wextra -Wno-unused-parameter") + SET(CMAKE_CXX_FLAGS ${CMAKE_C_FLAGS}) + + IF(ENABLE_MINBIF) --- minbif-1.0+git20091214+19d5b30.orig/debian/patches/01-g_thread_init.dpatch +++ minbif-1.0+git20091214+19d5b30/debian/patches/01-g_thread_init.dpatch @@ -0,0 +1,20 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## 01-g_thread_init.dpatch by Sebastien Delafond +## +## All lines beginning with `## DP:' are a description of the patch. +## DP: Somehow this doesn't compile on sid; upstream will look into it +## DP: later + +@DPATCH@ +diff -urNad minbif.git~/src/minbif.cpp minbif.git/src/minbif.cpp +--- minbif.git~/src/minbif.cpp 2009-09-28 17:53:12.000000000 +0200 ++++ minbif.git/src/minbif.cpp 2009-09-28 17:55:14.000000000 +0200 +@@ -312,7 +312,7 @@ + sigaction( SIGQUIT, &sig, &old ); + sigaction( SIGXCPU, &sig, &old ); + +- g_thread_init(NULL); ++// g_thread_init(NULL); + loop = g_main_new(FALSE); + g_main_run(loop); + --- minbif-1.0+git20091214+19d5b30.orig/debian/patches/00list +++ minbif-1.0+git20091214+19d5b30/debian/patches/00list @@ -0,0 +1,2 @@ +#01-g_thread_init +02-warnings_are_not_errors