--- libpreludedb-1.0.0.orig/libmissing/stdio.in.h +++ libpreludedb-1.0.0/libmissing/stdio.in.h @@ -116,8 +116,10 @@ /* It is very rare that the developer ever has full control of stdin, so any use of gets warrants an unconditional warning. Assume it is always declared, since it is required by C89. */ +#ifdef gets #undef gets _GL_WARN_ON_USE (gets, "gets is a security hole - use fgets instead"); +#endif #if @GNULIB_FOPEN@ # if @REPLACE_FOPEN@ --- libpreludedb-1.0.0.orig/debian/libpreludedb0.install +++ libpreludedb-1.0.0/debian/libpreludedb0.install @@ -0,0 +1,7 @@ +debian/tmp/usr/bin/preludedb-admin +debian/tmp/usr/lib/*.so.* +debian/tmp/usr/lib/libpreludedb +debian/tmp/usr/share/libpreludedb +debian/tmp/usr/share/man/man1/preludedb-admin.1 +debian/tmp/usr/share/gtk-doc/html/libpreludedb/* usr/share/doc/libpreludedb0/html/ + --- libpreludedb-1.0.0.orig/debian/copyright +++ libpreludedb-1.0.0/debian/copyright @@ -0,0 +1,52 @@ +This package was debianized by Mickael Profeta +Sun, 14 Aug 2005 14:23:45 +0000 + +It was downloaded from + +Upstream Author: Yoann Vandoorselaere + +Copyright (C) 2001-2006 Yoann Vandoorselaere + +In debian distribution, this library is released under the GPLv2, according +to the LICENCE.README file in upstream source. + + 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; version 2 dated June, 1991. + + 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 GNU/Linux systems, the complete text of the GNU General +Public License can be found in `/usr/share/common-licenses/GPL'. + +The Files in libmissing/ are distributed under the GNU Lesser General +Public License + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 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 + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library; 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 Lesser General Public +License, can be found in /usr/share/common-licenses/LGPL. + +The Debian packaging is (C) 2006, Mickael Profeta +is licensed under the GPL, see above. --- libpreludedb-1.0.0.orig/debian/libpreludedb-perl.install +++ libpreludedb-1.0.0/debian/libpreludedb-perl.install @@ -0,0 +1 @@ +debian/tmp/usr/lib/perl* --- libpreludedb-1.0.0.orig/debian/libpreludedb-dev.install +++ libpreludedb-1.0.0/debian/libpreludedb-dev.install @@ -0,0 +1,3 @@ +debian/tmp/usr/lib/*.so +debian/tmp/usr/bin/libpreludedb-config +debian/tmp/usr/include/libpreludedb --- libpreludedb-1.0.0.orig/debian/changelog +++ libpreludedb-1.0.0/debian/changelog @@ -0,0 +1,188 @@ +libpreludedb (1.0.0-2.1ubuntu1) trusty; urgency=low + + * Use dh_autotools-dev to update config.{sub,guess} for new ports. + + -- Adam Conrad Wed, 23 Oct 2013 14:45:53 -0600 + +libpreludedb (1.0.0-2.1build1) trusty; urgency=low + + * Rebuild for Perl 5.18. + + -- Colin Watson Wed, 23 Oct 2013 09:30:27 +0100 + +libpreludedb (1.0.0-2.1) unstable; urgency=low + + * Non-maintainer upload. + * Convert to dh_python2 (Closes: #616869). + * libmissing/stdio.in.h: + - Do not try to warn about gets risks if it is not defined, fix + FTBFS with eglibc 2.17 (Closes: #701403). + + -- Luca Falavigna Thu, 30 May 2013 20:42:16 +0200 + +libpreludedb (1.0.0-2) unstable; urgency=low + + * Do not ship .la files + * Replace TYPE=InnoDB with ENGINE=InnoDB to match MySQL 5.5 + + -- Pierre Chifflier Sat, 16 Mar 2013 16:54:52 +0100 + +libpreludedb (1.0.0-1) unstable; urgency=low + + * Imported Upstream version 1.0.0 + + -- Pierre Chifflier Tue, 16 Mar 2010 22:53:13 +0100 + +libpreludedb (1.0.0~rc1-2) unstable; urgency=low + + * Bump standards version to 3.8.4 + * Rebuild to use libltdl7 (Closes: #571365) + + -- Pierre Chifflier Fri, 26 Feb 2010 14:22:19 +0100 + +libpreludedb (1.0.0~rc1-1) unstable; urgency=low + + * New upstream release + * Bump standards version to 3.8.3 + * Rebuild with support for Python 2.6 (Closes: #531555) + + -- Pierre Chifflier Tue, 02 Feb 2010 08:46:05 +0100 + +libpreludedb (0.9.15.3-1) unstable; urgency=low + + * New Upstream Version + * Update description (Prelude is a SIM/SIEM, not an IDS) + * Add alternative build-dep on libmysqlclient-dev to build with MySQL 5.1 + + -- Pierre Chifflier Tue, 28 Jul 2009 09:42:38 +0200 + +libpreludedb (0.9.15.2-1) unstable; urgency=low + + * New Upstream Version + * Bump standards version to 3.8.2 (no changes) + * Set debhelper compat version to 5 + * Rebuild against libpq 8.4 + + -- Pierre Chifflier Mon, 13 Jul 2009 22:21:31 +0200 + +libpreludedb (0.9.15.1-3) unstable; urgency=low + + * Upload to unstable + + -- Pierre Chifflier Thu, 26 Feb 2009 13:45:17 +0100 + +libpreludedb (0.9.15.1-2) experimental; urgency=low + + * Enable support for sqlite3 backend + + -- Pierre Chifflier Fri, 09 Jan 2009 13:55:00 +0100 + +libpreludedb (0.9.15.1-1) experimental; urgency=low + + * New upstream release + + -- Pierre Chifflier Thu, 18 Sep 2008 14:52:42 +0200 + +libpreludedb (0.9.15-1) experimental; urgency=low + + * New upstream release + + -- Pierre Chifflier Wed, 27 Aug 2008 17:05:34 +0200 + +libpreludedb (0.9.14.1-2) unstable; urgency=low + + * Update watch file + * Bump standards version (no changes) + * Update dependencies + + -- Pierre Chifflier Tue, 01 Jul 2008 09:10:24 +0200 + +libpreludedb (0.9.14.1-1) unstable; urgency=low + + * New upstream release + + -- Pierre Chifflier Mon, 07 Jan 2008 23:24:46 +0100 + +libpreludedb (0.9.14-1) unstable; urgency=low + + * New upstream release + * Bump standards version (no changes) + + -- Pierre Chifflier Wed, 19 Dec 2007 17:00:41 +0100 + +libpreludedb (0.9.13-2) unstable; urgency=low + + * Backport patch r9907 from upstream: + revent MySQL session from timing out after 8 hours of inactivity. + + -- Pierre Chifflier Thu, 27 Sep 2007 10:49:16 +0200 + +libpreludedb (0.9.13-1) unstable; urgency=low + + * New upstream release + * Update my email address + * Build packages for multiple python versions + + -- Pierre Chifflier Mon, 27 Aug 2007 14:37:54 +0200 + +libpreludedb (0.9.12-2) unstable; urgency=low + + * Make libpreludedb packages depend on libprelude + * Update my email address + + -- Pierre Chifflier Fri, 08 Jun 2007 15:49:22 +0200 + +libpreludedb (0.9.12-1) unstable; urgency=low + + * New upstream release + * Add watch file + + -- Pierre Chifflier Sat, 17 Mar 2007 18:50:39 +0100 + +libpreludedb (0.9.11.2-2) unstable; urgency=low + + * Use python-central only for python bindings package + + -- Pierre Chifflier Sun, 28 Jan 2007 17:52:38 +0100 + +libpreludedb (0.9.11.2-1) unstable; urgency=low + + * New upstream release + * Add myself to uploaders + * Create new binary packages for perl and python bindings + + -- Pierre Chifflier Thu, 11 Jan 2007 15:32:22 +0100 + +libpreludedb (0.9.10-1) unstable; urgency=low + + * New upstream release + + -- Mickael Profeta Fri, 27 Oct 2006 10:37:43 +0200 + +libpreludedb (0.9.7.1-1) unstable; urgency=low + + * New upstream release + * Modify copyright to include LGPL part + * Add dependency on libgnutls-dev + + -- Mickael Profeta Wed, 26 Apr 2006 13:01:45 +0200 + +libpreludedb (0.9.3-1) unstable; urgency=low + + * New upstream release + * modify copyright file to accept GPL compatible softwares + + -- Mickael Profeta Sat, 4 Feb 2006 16:26:19 +0100 + +libpreludedb (0.9.0-1) unstable; urgency=low + + * New upstream release + + -- Mickael Profeta Tue, 27 Sep 2005 17:20:06 +0000 + +libpreludedb (0.8.99+0.9.0rc10-0) unstable; urgency=low + + * New package for revision 0.9.0 of prelude Nids + + -- Mickael Profeta Sun, 14 Aug 2005 14:23:45 +0000 + --- libpreludedb-1.0.0.orig/debian/compat +++ libpreludedb-1.0.0/debian/compat @@ -0,0 +1 @@ +5 --- libpreludedb-1.0.0.orig/debian/rules +++ libpreludedb-1.0.0/debian/rules @@ -0,0 +1,91 @@ +#!/usr/bin/make -f +#export DH_VERBOSE=1 + +INSTALLD=install -m755 -o0 -g0 -d +INSTALLF=install -m644 -o0 -g0 +INSTALLE=install -m755 -o0 -g0 + +PYVERS=$(shell pyversions -vr) + +TMPDIR=debian/tmp + +prefix=$(CURDIR)/debian/tmp/usr + +configure: configure-stamp +configure-stamp: + dh_testdir + dh_autotools-dev_updateconfig + ./configure --prefix=/usr --mandir=\$${prefix}/share/man --enable-gtk-doc=no --localstatedir=/var --sysconfdir=/etc --with-perl-installdirs=vendor + touch configure-stamp + +build: configure-stamp build-stamp $(PYVERS:%=build-python%) +build-stamp: + dh_testdir + $(MAKE) + + touch build-stamp + +build-python%: + cd bindings/python && python$* setup.py build + touch $@ + +clean: + dh_testdir + dh_testroot + rm -f build-stamp configure-stamp build-python2.* + [ ! -f bindings/perl/Makefile ] || $(MAKE) -C bindings/perl realclean + [ ! -f Makefile ] || $(MAKE) distclean + rm -rf bindings/python/build + dh_autotools-dev_restoreconfig + dh_clean + +install: install-core $(PYVERS:%=install-python%) + +install-core: build + dh_testdir + dh_testroot + dh_clean -k + dh_installdirs + + $(MAKE) install DESTDIR=$(CURDIR)/debian/tmp + find $(CURDIR)/debian/tmp -name \*.pyc -exec rm -f {} \; + find $(CURDIR)/debian/tmp -name \*.la -delete +# $(INSTALLD) $(TMPDIR)/etc/prelude/ \ +# $(TMPDIR)/etc/prelude/default/ \ +# $(TMPDIR)/etc/prelude/profile/ \ +# $(TMPDIR)/var/spool/prelude-sensors + +# $(INSTALLF) sensors-default.conf $(TMPDIR)/etc/prelude-sensors/ + +install-python%: + cd bindings/python && python$* setup.py install --root $(CURDIR)/debian/python-preludedb + +binary-indep: build install + +binary-arch: build install + dh_testdir + dh_testroot + dh_install + dh_installdocs README + dh_installchangelogs ChangeLog + dh_perl + dh_python2 -ppython-preludedb + dh_link + dh_strip + dh_compress -X.py + dh_fixperms + sed -i -e 's/TYPE=/ENGINE=/g' debian/libpreludedb0/usr/share/libpreludedb/classic/mysql.sql + sed -i -e 's/TYPE=/ENGINE=/g' debian/libpreludedb0/usr/share/libpreludedb/classic/mysql2*.sh + chmod +x debian/libpreludedb0/usr/share/libpreludedb/classic/mysql2sqlite.sh + chmod +x debian/libpreludedb0/usr/share/libpreludedb/classic/mysql2pgsql.sh + dh_makeshlibs + dh_installdeb + dh_shlibdeps debian/libpreludedb0/usr/bin/preludedb-admin \ + debian/libpreludedb-dev/usr/bin/libpreludedb-config + dh_gencontrol + dh_md5sums + dh_builddeb + +binary: binary-indep binary-arch + +.PHONY: build clean binary-indep binary-arch binary install configure --- libpreludedb-1.0.0.orig/debian/control +++ libpreludedb-1.0.0/debian/control @@ -0,0 +1,85 @@ +Source: libpreludedb +Priority: extra +Section: libs +Maintainer: Ubuntu Developers +XSBC-Original-Maintainer: Mickael Profeta +Uploaders: Pierre Chifflier +Build-Depends: debhelper (>= 5.0.37.2), + autotools-dev, + libprelude-dev(>=0.9.10), + libpq-dev, + libmysqlclient-dev | libmysqlclient15-dev, + libsqlite3-dev, + libgnutls-dev(>= 1.2.9), + libperl-dev, + swig, + python-all-dev (>= 2.6.6-3) +Standards-Version: 3.8.4 + +Package: libpreludedb-dev +Section: libdevel +Architecture: any +Depends: libpreludedb0 (= ${binary:Version}), libprelude-dev, ${misc:Depends} +Description: Security Information Management System [ Development files ] + Prelude is a Universal "Security Information Management" (SIM) system. + Its goals are performance and modularity. It is divided in two main + parts : + - the Prelude sensors, responsible for generating alerts, such as + snort featuring a signature engine, plugins for + protocol analysis, and intrusion detection plugins, and the Prelude + log monitoring lackey. + - the Prelude report server, collecting data from Prelude sensors, + and generating user-readable reports. + . + This package contains the development files for PreludeDB components. + +Package: libpreludedb0 +Section: libs +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: Security Information Management System [ Base library ] + Prelude is a Universal "Security Information Management" (SIM) system. + Its goals are performance and modularity. It is divided in two main + parts : + - the Prelude sensors, responsible for generating alerts, such as + snort sensor, featuring a signature engine, plugins for + protocol analysis, and intrusion detection plugins, and the Prelude + log monitoring lackey. + - the Prelude report server, collecting data from Prelude sensors, + and generating user-readable reports. + . + This package contains the PreludeDB shared library. + +Package: libpreludedb-perl +Section: perl +Architecture: any +Depends: ${perl:Depends}, libpreludedb0 (= ${binary:Version}), libprelude-perl, ${shlibs:Depends}, ${misc:Depends} +Description: Security Information Management System [ Base library ] + Prelude is a Universal "Security Information Management" (SIM) system. + Its goals are performance and modularity. It is divided in two main + parts : + - the Prelude sensors, responsible for generating alerts, such as + snort sensor, featuring a signature engine, plugins for + protocol analysis, and intrusion detection plugins, and the Prelude + log monitoring lackey. + - the Prelude report server, collecting data from Prelude sensors, + and generating user-readable reports. + . + This package contains the perl bindings for PreludeDB. + +Package: python-preludedb +Section: python +Architecture: any +Depends: ${python:Depends}, libpreludedb0 (= ${binary:Version}), python-prelude, ${shlibs:Depends}, ${misc:Depends} +Description: Security Information Management System [ Base library ] + Prelude is a Universal "Security Information Management" (SIM) system. + Its goals are performance and modularity. It is divided in two main + parts : + - the Prelude sensors, responsible for generating alerts, such as + snort sensor, featuring a signature engine, plugins for + protocol analysis, and intrusion detection plugins, and the Prelude + log monitoring lackey. + - the Prelude report server, collecting data from Prelude sensors, + and generating user-readable reports. + . + This package contains the Python bindings for PreludeDB. --- libpreludedb-1.0.0.orig/debian/watch +++ libpreludedb-1.0.0/debian/watch @@ -0,0 +1,10 @@ +# debian watch file +# You can run the "uscan" command +# to check for upstream updates and more. +# See uscan(1) for format + +# Compulsory line, this is a version 3 file +version=3 + +http://www.prelude-ids.com/en/development/download/index.html \ + /download/releases/libpreludedb/libpreludedb-([\d\.]*)\.tar\.gz