Browse Source

[Minor] debian: Update BD and refresh packaging

pull/1639/head
Sebastien Badia 9 years ago
parent
commit
dd64721ae6
No known key found for this signature in database GPG Key ID: 8716CE4614A452D8
  1. 2
      ChangeLog
  2. 25
      debian/control
  3. 37
      debian/copyright
  4. 10
      debian/postinst
  5. 9
      debian/postrm
  6. 1
      rspamd.service

2
ChangeLog

@ -271,7 +271,7 @@
* [Feature] Apply DCT using AAN for fuzzy signature * [Feature] Apply DCT using AAN for fuzzy signature
* [Feature] Avira SAVAPI support * [Feature] Avira SAVAPI support
* [Feature] Cache and simplify DCT and jpeg decode * [Feature] Cache and simplify DCT and jpeg decode
* [Feature] Cache libicu convertors
* [Feature] Cache libicu converters
* [Feature] Detect URLs with suspicious omographs * [Feature] Detect URLs with suspicious omographs
* [Feature] Do not increase score for duplicate options * [Feature] Do not increase score for duplicate options
* [Feature] Do not trust CTE, check base64 and qp strictly * [Feature] Do not trust CTE, check base64 and qp strictly

25
debian/control

@ -2,7 +2,24 @@ Source: rspamd
Section: mail Section: mail
Priority: extra Priority: extra
Maintainer: Mikhail Gusarov <dottedmag@debian.org> Maintainer: Mikhail Gusarov <dottedmag@debian.org>
Build-Depends: debhelper (>= 9), dpkg-dev (>= 1.16.1~), cmake, libevent-dev (>= 1.3), libglib2.0-dev (>= 2.16.0), libluajit-5.1-dev [amd64 armel armhf i386 kfreebsd-i386 mips mipsel powerpc powerpcspe] | liblua5.1-dev, libpcre3-dev, libssl-dev (>= 1.0), libcurl4-openssl-dev, libsqlite3-dev, libmagic-dev, perl, dh-systemd, libjemalloc-dev, ragel
Build-Depends: cmake,
debhelper (>= 9),
dh-systemd,
dpkg-dev (>= 1.16.1~),
libcurl4-openssl-dev,
libevent-dev (>= 1.3),
libfann-dev,
libgd-dev,
libglib2.0-dev (>= 2.16.0),
libicu-dev,
libjemalloc-dev,
libluajit-5.1-dev [amd64 armel armhf i386 kfreebsd-i386 mips mipsel powerpc powerpcspe] | liblua5.1-dev,
libmagic-dev,
libpcre3-dev,
libsqlite3-dev,
libssl-dev (>= 1.0),
perl,
ragel
Standards-Version: 3.9.6 Standards-Version: 3.9.6
Homepage: https://rspamd.com Homepage: https://rspamd.com
Vcs-Git: git://github.com/vstakhov/rspamd.git Vcs-Git: git://github.com/vstakhov/rspamd.git
@ -10,15 +27,15 @@ Vcs-Browser: https://github.com/vstakhov/rspamd
Package: rspamd Package: rspamd
Architecture: any Architecture: any
Depends: ${shlibs:Depends}, ${misc:Depends}, adduser, ca-certificates
Depends: adduser, lsb-base, ca-certificates, ${misc:Depends}, ${shlibs:Depends}
Description: Rapid spam filtering system Description: Rapid spam filtering system
Rspamd is a rapid, modular and lightweight spam filter. It is designed to work Rspamd is a rapid, modular and lightweight spam filter. It is designed to work
with big amount of mail and can be easily extended with own filters written in with big amount of mail and can be easily extended with own filters written in
lua.
Lua.
Package: rspamd-dbg Package: rspamd-dbg
Architecture: any Architecture: any
Section: debug Section: debug
Depends: ${shlibs:Depends}, ${misc:Depends}, rspamd (= ${binary:Version})
Depends: rspamd (= ${binary:Version}), ${misc:Depends}, ${shlibs:Depends}
Description: debugging symbols for rspamd Description: debugging symbols for rspamd
This package contains the debugging symbols for rspamd. This package contains the debugging symbols for rspamd.

37
debian/copyright

@ -40,10 +40,6 @@ Copyright: Ted Krovetz <ted@krovetz.net>
D. J. Bernstein D. J. Bernstein
License: public-domain License: public-domain
Files: contrib/blake2/*
Copyright: Samuel Neves <sneves@dei.uc.pt>
License: public-domain
Files: contrib/lua-fun/* Files: contrib/lua-fun/*
Copyright: 2013 Roman Tsisyk <roman@tsisyk.com> Copyright: 2013 Roman Tsisyk <roman@tsisyk.com>
License: MIT License: MIT
@ -85,11 +81,6 @@ Copyright: 2011-2015, Vsevolod Stakhov <vsevolod@highsecure.ru>
2013-2015, Andrew Lewis <nerf@judo.za.org> 2013-2015, Andrew Lewis <nerf@judo.za.org>
License: Apache-2.0 License: Apache-2.0
Files: conf/lua/hfilter.lua
Copyright: 2011-2015, Vsevolod Stakhov <vsevolod@highsecure.ru>
2013-2015, Alexey Savelyev <info@homeweb.ru>
License: Apache-2.0
Files: doc/doxydown/* Files: doc/doxydown/*
Copyright: 2014, Vsevolod Stakhov <vsevolod@highsecure.ru> Copyright: 2014, Vsevolod Stakhov <vsevolod@highsecure.ru>
License: MIT License: MIT
@ -177,34 +168,6 @@ License: BSD-2-Clause
OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
SUCH DAMAGE. SUCH DAMAGE.
License: BSD-3-Clause-RotUoC
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 University 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 REGENTS 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 REGENTS 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.
License: BSD-3-Clause-Google License: BSD-3-Clause-Google
Redistribution and use in source and binary forms, with or without Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are modification, are permitted provided that the following conditions are

10
debian/postinst

@ -29,16 +29,6 @@ case "$1" in
;; ;;
esac esac
if [ -x /etc/init.d/rspamd ]; then
update-rc.d rspamd defaults >/dev/null
if [ -d /run/systemd/system ]; then
deb-systemd-invoke --system daemon-reload >/dev/null || true
deb-systemd-invoke --system stop rspamd.service 2>/dev/null || true
else
invoke-rc.d rspamd start || exit $?
fi
fi
#DEBHELPER# #DEBHELPER#
exit 0 exit 0

9
debian/postrm

@ -1,15 +1,6 @@
#!/bin/sh #!/bin/sh
set -e set -e
if [ "$1" = "purge" ]; then
update-rc.d rspamd remove >/dev/null
fi
if [ -d /run/systemd/system ]; then
deb-systemd-invoke --system daemon-reload >/dev/null || true
deb-systemd-invoke --system stop rspamd.service 2>/dev/null || true
fi
#DEBHELPER# #DEBHELPER#
case "$1" in case "$1" in

1
rspamd.service

@ -1,6 +1,7 @@
[Unit] [Unit]
Description=rapid spam filtering system Description=rapid spam filtering system
After=nss-lookup.target After=nss-lookup.target
Documentation=https://rspamd.com/doc/
[Service] [Service]
LimitNOFILE=1048576 LimitNOFILE=1048576

Loading…
Cancel
Save