debian/0000755000000000000000000000000012167657776007216 5ustar debian/source/0000755000000000000000000000000012167657513010503 5ustar debian/source/format0000644000000000000000000000001412167657513011711 0ustar 3.0 (quilt) debian/watch0000644000000000000000000000013112167657513010227 0ustar version=3 http://sylpheed.sraoss.jp/sylfilter/src/sylfilter-(.*)\.tar\.gz debian uupdate debian/patches/0000755000000000000000000000000012167657513010632 5ustar debian/patches/series0000644000000000000000000000003512167657513012045 0ustar dummyfile_config.rpath.patch debian/patches/dummyfile_config.rpath.patch0000644000000000000000000000035012167657513016306 0ustar Description: avoid configuring error Author: Hideki Yamane --- Origin: vendor Forwarded: no Last-Update: 2013-01-14 --- /dev/null +++ sylfilter-0.7/config.rpath @@ -0,0 +1 @@ +#dummyfile for configuring error debian/copyright0000644000000000000000000000514012167657513011136 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: sylfilter Upstream-Contact: Hiroyuki Yamamoto Source: http://sylpheed.sraoss.jp/sylfilter/ Files: * Copyright: 2011-2012 Hiroyuki Yamamoto 2011-2012 Sylpheed Development Team License: BSD-3-Clause Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: . * Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. * 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. * Neither the name of the Sylpheed Development Team nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission. . 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. Files: debian/* Copyright: 2012 Hideki Yamane License: GPL-2+ 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 program. If not, see . On Debian systems, the complete text of the GNU General Public License version 2 can be found in "/usr/share/common-licenses/GPL-2". debian/compat0000644000000000000000000000000212167657513010401 0ustar 9 debian/rules0000755000000000000000000000045312167657513010265 0ustar #!/usr/bin/make -f #export DH_VERBOSE=1 export DEB_BUILD_MAINT_OPTIONS := hardening=+all %: dh $@ --with autotools-dev # QDBM and GDBM cannot be specified at the same time. # choose QDBM override_dh_auto_configure: dh_autoreconf dh_auto_configure -- --with-libsylph=standalone --enable-qdbm debian/docs0000644000000000000000000000001412167657513010051 0ustar NEWS README debian/sylfilter.install0000644000000000000000000000002212167657513012602 0ustar usr/bin/sylfilter debian/changelog0000644000000000000000000000233112167657513011054 0ustar sylfilter (0.8-2) unstable; urgency=low * Upload to unstable * debian/control - add Vcs-* field -- Hideki Yamane Fri, 12 Jul 2013 10:42:55 +0900 sylfilter (0.8-1) experimental; urgency=low * New upstream release -- Hideki Yamane Fri, 15 Mar 2013 16:50:46 +0900 sylfilter (0.7-3) unstable; urgency=low * debian/rules - remove "-pie" for hardening - run dh-autoreconf to avoid build failure with -fPIC * debian/control - add "Build-Depends: dh-autoreconf" * debian/patches - add "dummyfile_config.rpath.patch", it just contains comment since "dpkg-source --commit" not allow to create empty patch. This patch avoid configuration error without config.rpath file. -- Hideki Yamane Sun, 13 Jan 2013 20:47:20 +0900 sylfilter (0.7-2) unstable; urgency=low * debian/control: upstream author pointed out now it's not tentative name, thus update description as well. Thanks to Hiroyuki Yamamoto! -- Hideki Yamane Thu, 20 Dec 2012 09:06:43 +0900 sylfilter (0.7-1) unstable; urgency=low * Initial release (Closes: #689844) -- Hideki Yamane Sun, 07 Oct 2012 09:00:40 +0900 debian/libsylfilter0.install0000644000000000000000000000002312167657513013352 0ustar usr/lib/*/lib*.so* debian/libsylfilter0.lintian-overrides0000644000000000000000000000015012167657513015343 0ustar libsylfilter0: non-dev-pkg-with-shlib-symlink usr/lib/*/libsylfilter.so.0.0.0 usr/lib/*/libsylfilter.so debian/sylfilter.10000644000000000000000000000322612167657513011305 0ustar .\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.40.12. .TH SYLFILTER "1" "October 2012" "Debian" "User Commands" .SH NAME SylFilter \- sylfilter .SH SYNOPSIS .B sylfilter [\fIoptions\fR] \fImessage \fR[\fImessage \fR...] .SH DESCRIPTION SylFilter (tentative name) version 0.7 .SH OPTIONS .TP \fB\-j\fR learn junk (spam) messages .TP \fB\-c\fR learn clean (non\-spam) messages .TP \fB\-J\fR unlearn junk (spam) messages .TP \fB\-C\fR unlearn clean (non\-spam) messages .TP \fB\-t\fR classify messages .TP \fB\-v\fR show verbose messages .TP \fB\-d\fR show debug messages .HP \fB\-m\fR n|r .IP specify filtering method n : Paul Graham (Naive Bayes) method r : Gary Robinson (Robinson\-Fisher) method (default) .HP \fB\-\-min\-dev\fR .IP ignore if score near (default: 0.1) .HP \fB\-\-robs\fR .IP Robinson's s parameter (default: 1.0) .HP \fB\-\-robx\fR .IP Robinson's x parameter (default: 0.5) .TP \fB\-B\fR do not bias probability for clean mail (Paul/Naive method only, may increase false\-positive) .TP \fB\-V\fR print version .HP \fB\-h\fR, \fB\-\-help\fR .IP print this help message .HP \fB\-E\fR .IP specify key\-value store engine (show below) .HP \fB\-p\fR .IP specify database directory .SS "Return values:" .TP 0 junk (spam) .TP 1 clean (non\-spam) .TP 2 uncertain .IP 127 other errors .PP Default database location: /root/.sylfilter/*.db .SS "Available key-value stores:" .IP QDBM SQLite .SH "SEE ALSO" The full documentation for .B SylFilter is maintained as a Texinfo manual. If the .B info and .B SylFilter programs are properly installed at your site, the command .IP .B info SylFilter .PP should give you access to the complete manual. debian/sylfilter.manpages0000644000000000000000000000002312167657513012730 0ustar debian/sylfilter.1 debian/control0000644000000000000000000000335312167657513010612 0ustar Source: sylfilter Section: utils Priority: extra Maintainer: Hideki Yamane Build-Depends: debhelper (>= 9), autotools-dev, libglib2.0-dev, libsqlite3-dev, libqdbm-dev, libsylph-dev, dh-autoreconf, gnulib Standards-Version: 3.9.4 Homepage: http://sylpheed.sraoss.jp/sylfilter/ Vcs-Git: git://anonscm.debian.org/pkg-sylpheed/sylfilter/ Vcs-Browser: http://anonscm.debian.org/gitweb/?p=pkg-sylpheed/sylfilter.git;a=summary Package: sylfilter Architecture: any Depends: ${shlibs:Depends}, ${misc:Depends} Description: generic spam filter tool SylFilter is a generic message filter library and command-line tools. It provides a bayesian filter which is very popular as an algorithm for spam filtering. SylFilter also supports multilingual and can be applied to any languages. It is implemented with C language and runs fast with small resources. . - Very lightweight and fast - Provides learning-type junk filter - Easy-to-use command line tool - Multilingual support (including CJKV) - Supports several embedded databases (SQLite and QDBM) Package: libsylfilter0 Architecture: any Pre-Depends: ${misc:Pre-Depends} Depends: ${shlibs:Depends}, ${misc:Depends} Multi-Arch: same Description: generic spam filter library SylFilter is a generic message filter library and command-line tools. It provides a bayesian filter which is very popular as an algorithm for spam filtering. SylFilter also supports multilingual and can be applied to any languages. It is implemented with C language and runs fast with small resources. . - Very lightweight and fast - Provides learning-type junk filter - Multilingual support (including CJKV) - Simple and flexible library APIs - Supports several embedded databases (SQLite and QDBM)