debian/0000755000000000000000000000000011753032054007166 5ustar debian/rules0000755000000000000000000000340411611327401010243 0ustar #!/usr/bin/make -f # -*- mode: makefile; coding: utf-8 -*- # Copyright © 2010, Jonas Smedegaard # Description: Main Debian packaging script for mswatch # # 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, 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, see . include /usr/share/cdbs/1/rules/upstream-tarball.mk include /usr/share/cdbs/1/rules/utils.mk include /usr/share/cdbs/1/class/autotools.mk include /usr/share/cdbs/1/rules/debhelper.mk DEB_UPSTREAM_URL = http://downloads.sourceforge.net/sourceforge/mswatch DEB_UPSTREAM_TARBALL_MD5 = eca0e891cb22c41a553c52b397d43627 # Avoid libsocketwatch for now: unversioned install in /usr/lib :-( DEB_CONFIGURE_EXTRA_FLAGS += --disable-socketwatch DEB_INSTALL_DOCS_ALL += INTERFACES DEB_INSTALL_EXAMPLES_mswatch = mswatchrc.sample DEB_DH_INSTALL_SOURCEDIR = debian/tmp DEB_INSTALL_MANPAGES_mswatch = $(DEB_DESTDIR)/usr/share/man/man1/mswatch.1 DEB_INSTALL_MANPAGES_watch-maildirs = $(DEB_DESTDIR)/usr/share/man/man1/watch_maildirs.1 $(DEB_DESTDIR)/usr/share/man/man1/inputkill.1 # Needed by upstream build process CDBS_BUILD_DEPENDS += , libglib2.0-dev, flex, bison # Needed (often) at runtime CDBS_RECOMMENDS_mswatch += , openssh-client | ssh-client CDBS_RECOMMENDS_watch-maildirs += , openssh-server | ssh-server debian/control0000644000000000000000000000456511611405214010576 0ustar Source: mswatch Section: mail Priority: optional Homepage: http://mswatch.sourceforge.net/ Maintainer: Jonas Smedegaard Build-Depends: autotools-dev, cdbs (>= 0.4.72~), devscripts (>= 2.10.7~), debhelper (>= 6), dh-buildinfo, libglib2.0-dev, flex, bison Vcs-Git: git://git.debian.org/git/collab-maint/mswatch.git Vcs-Browser: http://git.debian.org/?p=collab-maint/mswatch.git Standards-Version: 3.9.2 Package: mswatch Architecture: any Depends: ${shlibs:Depends}, ${misc:Depends} Recommends: ${cdbs:Recommends} Enhances: imap-client Description: watch mailstores for changes and initiate mailbox syncs - client tools mswatch is a command line Unix program that keeps two mailboxes synchronized more efficiently and with shorter delays than periodically synchronizing them. . mswatch watches mailboxes for changes to know when to initiate mailbox syncs. Using mswatch, your mail synchronization program can be called on demand instead of through polling, resulting in prompter mail delivery and lower bandwidth usage and server load. . mswatch is designed to work in conjunction with mailbox synchronization programs, and currently supports watching Linux (2.4+) hosted Maildirs (including Maildir folders, Maildir++). Future support for additional mailbox formats, especially for mbox, is planned. . This package provides the mswatch tools for use on the imap client host. Package: watch-maildirs Architecture: any Depends: ${shlibs:Depends}, ${misc:Depends} Recommends: ${cdbs:Recommends} Enhances: imap-server Description: mswatch helper tools to watch maildirs and trigger on-demand syncs mswatch is a command line Unix program that keeps two mailboxes synchronized more efficiently and with shorter delays than periodically synchronizing them. . mswatch watches mailboxes for changes to know when to initiate mailbox syncs. Using mswatch, your mail synchronization program can be called on demand instead of through polling, resulting in prompter mail delivery and lower bandwidth usage and server load. . mswatch is designed to work in conjunction with mailbox synchronization programs, and currently supports watching Linux (2.4+) hosted Maildirs (including Maildir folders, Maildir++). Future support for additional mailbox formats, especially for mbox, is planned. . This package provides the watch_maildirs and inputkill tools for use on imap server hosts. debian/README.source0000644000000000000000000000361311377161745011364 0ustar Building this package for Debian -------------------------------- This source package need no special handling for normal package builds. Developing this package for Debian ---------------------------------- The source of this package is developed using git and the helper tool git-buildpackage, with all official releases tagged and signed and binary diffs of tarballs stored using pristine-tar. This is documented below /usr/share/doc/git-buildpackage/manual-html/ . A custom build target shows current upstream and packaging versions: debian/rules print-version Current upstream tarball can be prepared using this other build target: debian/rules get-orig-source To switch to newer upstream source, first add a dummy changelog entry and comment out DEB_UPSTREAM_TARBALL_MD5 before getting the source: dch -v ${new_upstream_version}-1 "Dummy changelog entry" sed -i -e 's/^\(DEB_UPSTREAM_TARBALL_MD5\b\)/#\1/' debian/rules debian/rules get-orig-source Store new md5sum to help ensure identical source is received later. Setting DEB_MAINTAINER_MODE=1 enables additional build routines helpful during development of the package, but unfit for normal builds. This typically includes the CDBS feature of auto-updating debian/control with CDBS-related build-dependencies, which is forbidden by Debian Policy as build environment must not change during automated builds. Maintaining packaging build routines ------------------------------------ This source package wraps debhelper commands and other tedious parts of the build routines using the CDBS framework. Please refer to the actual makefile snippets included from debian/rules for details on their purpose and ways to override defaults. Additionally, makefile snippets included from below /usr/share/cdbs may also be documented in /usr/share/doc/cdbs/cdbs-doc.pdf.gz . -- Jonas Smedegaard Thu, 26 Feb 2009 21:28:29 +0100 debian/gbp.conf0000644000000000000000000000014611377161745010622 0ustar # Configuration file for git-buildpackage and friends [DEFAULT] pristine-tar = True sign-tags = True debian/source/0000755000000000000000000000000011377161745010502 5ustar debian/source/format0000644000000000000000000000001411377161745011710 0ustar 3.0 (quilt) debian/changelog0000644000000000000000000000272111753032054011042 0ustar mswatch (1.2.0-2.1) unstable; urgency=low * Non-maintainer upload. * Fix "ftbfs with GCC-4.7": add patch gcc-4.7.patch (missing includes). Closes: #667289 -- gregor herrmann Thu, 10 May 2012 23:33:10 +0200 mswatch (1.2.0-2) unstable; urgency=low [ Mikhail Gusarov ] * Add myself as Uploader. [ Jonas Smedegaard ] * Bump policy compliance to standards-version 3.9.2. -- Jonas Smedegaard Wed, 20 Jul 2011 00:51:25 +0200 mswatch (1.2.0-1) unstable; urgency=low * New upstream release. * Mention future plan for mbox support in long dscription. Thanks to Adam Borowski. * Drop licensing info from long descriptions. Various improvements to long descriptions. Closes: bug#583193. Thanks to Martin F. Krafft. * Update copyright file: + Add upstream Subversion URL to Source paragraph. + Rewrite using draft 174 of DEP-5 format. + List license exceptions as such (not separate licenses). + Relabel licenses to indicate similarity. + Extend copyright time ranges. + Tighten main license to be GPL-2 (from GPL-2+). + Extend copyright time ranges. * Tidy watch file to not do needless mangling. * Disable newly-added socketwatch: unversioned install in /usr/lib. -- Jonas Smedegaard Tue, 19 Jul 2011 18:22:54 +0200 mswatch (1.1.1-1) unstable; urgency=low * Initial release. Closes: bug#579816. -- Jonas Smedegaard Sat, 01 May 2010 06:26:34 +0200 debian/compat0000644000000000000000000000000211377161745010400 0ustar 6 debian/watch-maildirs.install0000644000000000000000000000005111377161745013476 0ustar usr/bin/watch_maildirs usr/bin/inputkill debian/mswatch.install0000644000000000000000000000002011377161745012230 0ustar usr/bin/mswatch debian/patches/0000755000000000000000000000000011753032013010610 5ustar debian/patches/series0000644000000000000000000000001611753031437012033 0ustar gcc-4.7.patch debian/patches/gcc-4.7.patch0000644000000000000000000000113311753032013012671 0ustar Description: add missing includes needed by gcc 4.7 Origin: vendor Bug-Debian: http://bugs.debian.org/667289 Forwarded: no Author: gregor herrmann Last-Update: 2012-05-10 --- a/src/lib/util.cc +++ b/src/lib/util.cc @@ -6,6 +6,7 @@ #include #include #include +#include #include #include --- a/src/watch_maildirs/inotify/state.cc +++ b/src/watch_maildirs/inotify/state.cc @@ -1,6 +1,7 @@ #include #include #include +#include #include "lib/util.h" #include "state.h" debian/copyright0000644000000000000000000001351311611325665011132 0ustar Format: http://svn.debian.org/wsvn/dep/web/deps/dep5.mdwn?rev=174 Upstream-Name: mswatch Upstream-Contact: Chris Frost Source: http://mswatch.sourceforge.net/ https://mswatch.svn.sourceforge.net/svnroot/mswatch/trunk/ Copyright: 2006-2011, Chris Frost License: GPL-2 Files: */Makefile.in Copyright: 1994-2009, Free Software Foundation, Inc. License: GAP~Makefile.in Files: config/config.guess config/config.sub config/depcomp config/missing config/ylwrap Copyright: 1992-2009, Free Software Foundation, Inc. License: GPL-2+ with Autotools exception As a special exception to the GNU General Public License, if you distribute this file as part of a program that contains a configuration script generated by Autoconf, you may include it under the same distribution terms that you use for the rest of that program. Files: src/mswatch/rcparser/parser.c src/mswatch/rcparser/parser.h Copyright: 1984, 1989-1990, 2000-2006, Free Software Foundation, Inc. License: GPL-2+ with Bison exception As a special exception, you may create a larger work that contains part or all of the Bison parser skeleton and distribute that work under terms of your choice, so long as that work isn't itself a parser generator using the skeleton or a modified version thereof as a parser skeleton. Alternatively, if you modify or redistribute the parser skeleton itself, you may (at your option) remove this special exception, which will cause the skeleton and the resulting Bison output files to be licensed under the GNU General Public License without this special exception. Files: aclocal.m4 Copyright: 1996-2009, Free Software Foundation, Inc 2004, Scott James Remnant License: other-GAP-FSF-notice, and GPL-2+ or other-sa-Autotools As a special exception to the GNU General Public License, if you distribute this file as part of a program that contains a configuration script generated by Autoconf, you may include it under the same distribution terms that you use for the rest of that program. Files: config/install-sh Copyright: 1994, X Consortium License: Expat~X with X exception Except as contained in this notice, the name of the X Consortium shall not be used in advertising or otherwise to promote the sale, use or other dealings in this Software without prior written authorization from the X Consortium. Files: configure Copyright: 1992-1996, 1998-2009, Free Software Foundation, Inc. License: GAP~configure Files: INSTALL Copyright: 1994-1996, 1999-2002, 2004-2009, Free Software Foundation, Inc. License: GAP Files: src/inotify.h Copyright: 2005, John McCutchan License: GPL-2 Comment: File lacks license, but was included in mainline Linux since 2.6.13, and is thus assumed to be 'GNU Public License' version 2. Files: debian/* Copyright: 2010, Jonas Smedegaard License: GPL-2+ License: GPL-2 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. . 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. . On Debian systems the 'GNU General Public License' version 2 is located in '/usr/share/common-licenses/GPL-2'. . You should have received a copy of the 'GNU General Public License' along with this program. If not, see . License: GPL-2+ 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, 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. License: GAP~configure This configure script is free software; the Free Software Foundation gives unlimited permission to copy, distribute and modify it. License: GAP Copying and distribution of this file, with or without modification, are permitted in any medium without royalty provided the copyright notice and this notice are preserved. This file is offered as-is, without warranty of any kind. License: GAP~Makefile.in This Makefile.in is free software; the Free Software Foundation gives unlimited permission to copy and/or distribute it, with or without modifications, as long as this notice is preserved. . This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY, to the extent permitted by law; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. License: Expat~X Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: . The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. . THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE X CONSORTIUM BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. debian/copyright_hints0000644000000000000000000001171411611326756012342 0ustar Format-Specification: http://svn.debian.org/wsvn/dep/web/deps/dep5.mdwn?rev=135 X-Draft: Autogenerated by CDBS snippet copyright-check.mk Files: ./AUTHORS, ./ChangeLog, ./INTERFACES, ./Makefile.am, ./NEWS, ./TODO, ./VERSION, ./bootstrap, ./configure.in, ./debian/README.source, ./debian/compat, ./debian/control, ./debian/control.in, ./debian/gbp.conf, ./debian/mswatch.install, ./debian/source/format, ./debian/watch, ./debian/watch-maildirs.install, ./generalized, ./mswatchrc.sample, ./src/Makefile.am, ./src/compat.h, ./src/config.h.in, ./src/inotify-syscalls.h, ./src/inputkill/Makefile.am, ./src/inputkill/inputkill.1, ./src/inputkill/inputkill.c, ./src/lib/Makefile.am, ./src/lib/util.cc, ./src/lib/util.h, ./src/mswatch/Makefile.am, ./src/mswatch/mailstore_watcher.cc, ./src/mswatch/mailstore_watcher.h, ./src/mswatch/mswatch.1, ./src/mswatch/mswatch.cc, ./src/mswatch/mswatch_config.h, ./src/mswatch/rcparser/Makefile.am, ./src/mswatch/rcparser/lexer.l, ./src/mswatch/rcparser/parser.y, ./src/mswatch/rcparser/parser_types.c, ./src/mswatch/rcparser/parser_types.h, ./src/mswatch/rcparser/rcparser.cc, ./src/mswatch/rcparser/rcparser.h, ./src/mswatch/rcparser/semantic_actions.c, ./src/mswatch/rcparser/semantic_actions.h, ./src/mswatch/timeout_calc.cc, ./src/mswatch/timeout_calc.h, ./src/watch_maildirs/Makefile.am, ./src/watch_maildirs/dnotify/Makefile.am, ./src/watch_maildirs/dnotify/open_file.cc, ./src/watch_maildirs/dnotify/open_file.h, ./src/watch_maildirs/dnotify/state.cc, ./src/watch_maildirs/dnotify/state.h, ./src/watch_maildirs/dnotify/watch.cc, ./src/watch_maildirs/dnotify/watcher.h, ./src/watch_maildirs/dnotify/watcher_base.cc, ./src/watch_maildirs/dnotify/watcher_base.h, ./src/watch_maildirs/dnotify/watcher_maildir.cc, ./src/watch_maildirs/dnotify/watcher_maildir.h, ./src/watch_maildirs/dnotify/watcher_partial.cc, ./src/watch_maildirs/dnotify/watcher_partial.h, ./src/watch_maildirs/inotify/Makefile.am, ./src/watch_maildirs/inotify/state.cc, ./src/watch_maildirs/inotify/state.h, ./src/watch_maildirs/inotify/watch.cc, ./src/watch_maildirs/inotify/watcher.h, ./src/watch_maildirs/inotify/watcher_base.cc, ./src/watch_maildirs/inotify/watcher_base.h, ./src/watch_maildirs/inotify/watcher_maildir.cc, ./src/watch_maildirs/inotify/watcher_maildir.h, ./src/watch_maildirs/inotify/watcher_partial.cc, ./src/watch_maildirs/inotify/watcher_partial.h, ./src/watch_maildirs/watch_maildirs.1, ./src/watch_maildirs/watch_maildirs.cc, ./src/watch_maildirs/watch_maildirs.h Copyright: *No copyright* License: UNKNOWN FIXME Files: ./Makefile.in, ./src/Makefile.in, ./src/inputkill/Makefile.in, ./src/lib/Makefile.in, ./src/mswatch/Makefile.in, ./src/mswatch/rcparser/Makefile.in, ./src/watch_maildirs/Makefile.in, ./src/watch_maildirs/dnotify/Makefile.in, ./src/watch_maildirs/inotify/Makefile.in Copyright: 1994-2002 License: UNKNOWN FIXME Files: ./config/missing, ./config/ylwrap, ./src/mswatch/rcparser/parser.c, ./src/mswatch/rcparser/parser.h Copyright: 1984, 1989-1990, 2000-2006 1996-1997, 1999-2000, 2002-2003 1996-1999, 2001-2005 License: GPL FIXME Files: ./config/config.guess, ./config/config.sub Copyright: 1992-1999 1992-2004, License: GPL-2+ FIXME Files: ./config/depcomp Copyright: 1999-2000, 2003-2004, Free Software Foundation, Inc License: GPL FIXME Files: ./debian/rules Copyright: 2010, Jonas Smedegaard License: GPL FIXME Files: ./aclocal.m4 Copyright: 1996-1997, 2000-2001, 2003, 2005, 1996-2004, 1997, 1999-2001, 2003-2005, 1997, 2000-2001, 2003-2006, 1998-2003, 2005 1999-2005, 1999-2006, 2001, 2003, 2005, Free Software Foundation, Inc 2001-2003, 2005 Free Software Foundation, Inc 2002-2003, 2005-2007, Free Software Foundation, Inc 2003, 2005 Free Software Foundation, Inc 2003-2006, Free Software Foundation, Inc 2004, Scott James Remnant 2004-2005, Free Software Foundation, Inc 2006, Free Software Foundation, Inc License: GPL-2+ FIXME Files: ./COPYING Copyright: 1989, 1991 Free Software Foundation, Inc HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR HOLDERS AND/OR OTHER PARTIES disclaimer" for the program, if holder saying it may be distributed holder who places the Program under this License interest in the program law: the software, and year name of author License: GPL-2+ FIXME Files: ./README Copyright: 2006, Chris Frost License: GPL-2+ FIXME Files: ./config/install-sh Copyright: 1994, X Consortium License: MIT/X11 (BSD like) FIXME Files: ./configure Copyright: (ISLOWER ? 'A' + ( - 'a') : ) (ISLOWER ? ( | 0x40) : ) 1992-1996, 1998-2001, 2006, Free Software Foundation, Inc License: UNKNOWN FIXME Files: ./src/mswatch/rcparser/lexer.c Copyright: ((unsigned int) (unsigned char) c) yyunput( c, (yytext_ptr) ) License: UNKNOWN FIXME Files: ./INSTALL Copyright: 1994-1996, 1999-2002, 2004-2005, Free License: UNKNOWN FIXME Files: ./src/inotify.h Copyright: 2005, John McCutchan License: UNKNOWN FIXME debian/control.in0000644000000000000000000000437611611330061011200 0ustar Source: mswatch Section: mail Priority: optional Homepage: http://mswatch.sourceforge.net/ Maintainer: Jonas Smedegaard Build-Depends: @cdbs@ Vcs-Git: git://git.debian.org/git/collab-maint/mswatch.git Vcs-Browser: http://git.debian.org/?p=collab-maint/mswatch.git Standards-Version: 3.9.2 Package: mswatch Architecture: any Depends: ${shlibs:Depends}, ${misc:Depends} Recommends: ${cdbs:Recommends} Enhances: imap-client Description: watch mailstores for changes and initiate mailbox syncs - client tools mswatch is a command line Unix program that keeps two mailboxes synchronized more efficiently and with shorter delays than periodically synchronizing them. . mswatch watches mailboxes for changes to know when to initiate mailbox syncs. Using mswatch, your mail synchronization program can be called on demand instead of through polling, resulting in prompter mail delivery and lower bandwidth usage and server load. . mswatch is designed to work in conjunction with mailbox synchronization programs, and currently supports watching Linux (2.4+) hosted Maildirs (including Maildir folders, Maildir++). Future support for additional mailbox formats, especially for mbox, is planned. . This package provides the mswatch tools for use on the imap client host. Package: watch-maildirs Architecture: any Depends: ${shlibs:Depends}, ${misc:Depends} Recommends: ${cdbs:Recommends} Enhances: imap-server Description: mswatch helper tools to watch maildirs and trigger on-demand syncs mswatch is a command line Unix program that keeps two mailboxes synchronized more efficiently and with shorter delays than periodically synchronizing them. . mswatch watches mailboxes for changes to know when to initiate mailbox syncs. Using mswatch, your mail synchronization program can be called on demand instead of through polling, resulting in prompter mail delivery and lower bandwidth usage and server load. . mswatch is designed to work in conjunction with mailbox synchronization programs, and currently supports watching Linux (2.4+) hosted Maildirs (including Maildir folders, Maildir++). Future support for additional mailbox formats, especially for mbox, is planned. . This package provides the watch_maildirs and inputkill tools for use on imap server hosts. debian/watch0000644000000000000000000000025711366766571010245 0ustar # Run the "uscan" command to check for upstream updates and more. version=3 # use qa.debian.org redirector; see man uscan http://sf.net/mswatch/mswatch-(\d.*)\.tar\.gz debian