diff options
Diffstat (limited to 'debian')
-rw-r--r-- | debian/Makefile.am | 24 | ||||
-rw-r--r-- | debian/changelog | 362 | ||||
-rw-r--r-- | debian/compat | 1 | ||||
-rw-r--r-- | debian/control | 183 | ||||
-rw-r--r-- | debian/copyright | 48 | ||||
-rw-r--r-- | debian/docs | 5 | ||||
-rw-r--r-- | debian/libsetools-dev.install | 7 | ||||
-rw-r--r-- | debian/libsetools-java.install | 2 | ||||
-rw-r--r-- | debian/libsetools-jni.install | 1 | ||||
-rw-r--r-- | debian/libsetools-jni.postinst | 41 | ||||
-rw-r--r-- | debian/libsetools-jni.postrm | 39 | ||||
-rw-r--r-- | debian/libsetools-python.install | 2 | ||||
-rw-r--r-- | debian/libsetools-python.postinst | 41 | ||||
-rw-r--r-- | debian/libsetools-tcl.install | 5 | ||||
-rw-r--r-- | debian/libsetools.install | 5 | ||||
-rw-r--r-- | debian/libsetools.postinst | 41 | ||||
-rw-r--r-- | debian/libsetools.postrm | 39 | ||||
-rwxr-xr-x | debian/rules | 25 | ||||
-rw-r--r-- | debian/setools-console.install | 24 | ||||
-rw-r--r-- | debian/setools.install | 19 | ||||
-rw-r--r-- | debian/setools.menu | 6 | ||||
-rw-r--r-- | debian/setools.postinst | 41 | ||||
-rw-r--r-- | debian/setools.postrm | 39 | ||||
-rw-r--r-- | debian/watch | 11 |
24 files changed, 1011 insertions, 0 deletions
diff --git a/debian/Makefile.am b/debian/Makefile.am new file mode 100644 index 0000000..fc50db3 --- /dev/null +++ b/debian/Makefile.am @@ -0,0 +1,24 @@ +dist_noinst_DATA = \ + changelog \ + compat \ + control \ + copyright \ + docs \ + libsetools-dev.install \ + libsetools.install \ + libsetools-java.install \ + libsetools-jni.install \ + libsetools-jni.postinst \ + libsetools-jni.postrm \ + libsetools.postinst \ + libsetools.postrm \ + libsetools-python.install \ + libsetools-python.postinst \ + libsetools-tcl.install \ + rules \ + setools-console.install \ + setools.install \ + setools.menu \ + setools.postinst \ + setools.postrm \ + watch diff --git a/debian/changelog b/debian/changelog new file mode 100644 index 0000000..2748e4a --- /dev/null +++ b/debian/changelog @@ -0,0 +1,362 @@ +setools (3.3.5-tresys0) unstable; urgency=low + + * Merged SETools 3.3.5 release into this package. + + -- J. Tang <jtang@tresys.com> Fri, 15 Aug 2008 12:00:00 -0500 + +setools (3.3.4-0ubuntu1) hardy; urgency=low + + * Merged SETools 3.3.4 release into this package. + + -- J. Tang <jtang@tresys.com> Fri, 7 Mar 2008 12:00:00 -0500 + +setools (3.3.3-0ubuntu1) hardy; urgency=low + + * Merged SETools 3.3.3 release into this package. + + -- J. Tang <jtang@tresys.com> Thu, 21 Feb 2008 12:00:00 -0500 + +setools (3.3.2-0ubuntu3) hardy; urgency=low + + * debian/control + - Changed from java2-compiler to java2-sdk in build depends + * debian/rules + - Set JAVA_HOME environment variable for icedtea + - Set the --with-java-prefix configure flag + + -- Joseph Jackson IV <jjacksoniv@fluxbuntu.org> Sat, 02 Feb 2008 20:44:56 -0500 + +setools (3.3.2-0ubuntu2) hardy; urgency=low + + * debian/control + - Update Debian Maintainer field + + -- Joseph Jackson IV <jjacksoniv@fluxbuntu.org> Sat, 02 Feb 2008 19:04:33 -0500 + +setools (3.3.2-0ubuntu1) hardy; urgency=low + + * Merged SETools 3.3.2 release into this package. + + -- J. Tang <jtang@tresys.com> Tue, 29 Jan 2008 12:00:00 -0500 + +setools (2.4-3) unstable; urgency=low + + * Bug fix: "symlink error on /usr/share/setools/seaudit-report.conf", + thanks to Kevin Mark (Closes: #396495). + + -- Manoj Srivastava <srivasta@debian.org> Mon, 6 Nov 2006 10:12:40 -0600 + +setools (2.4-2) unstable; urgency=low + + * Since we have flex scanners built into our libapol shared libraries, + and that needs to link with the flex library, which is static; + therefore we need to explicitly link with libfl_pic, which has the + position independent code required for all components of a shared + library. + * Split up setools into multiple packages, so that the shared libraries + and devel tools can be provided separately. Split up the single + package setools into several library packages, since it was pointed + out to me that the package was in violation of ยง8.2 of the Debian + policy. Now each library has a runtime and a dev package, so each + library can develop at its own pace. + * Bug fix: "setools: FTBFS (amd64): libfl.a(libyywrap.o): relocation + R_X86_64_32 against `a local symbol' can not be used when making a + shared object; recompile with -fPIC", thanks to Andreas Jochens + (Closes: #373170). + * Bug fix: "setools: Please adjust SELinux spelling to that of other + SELinux-related packages", thanks to Sven Mueller (Closes: #376613). + * Provide md5sums + * Also, tweak some file paths to better reflect a default Debian + installation. + + -- Manoj Srivastava <srivasta@debian.org> Thu, 7 Sep 2006 19:54:50 -0500 + +setools (2.4-1) unstable; urgency=low + + * New upstream release + apol: + File contexts tab now allows for MLS range searching if + the loaded database is from a MLS filesystem. + Policy statistics dialog now shows MLS and ocontexts + summaries. + libapol: + Added support for loading base policies containing optionals. + Added support for searching range transitions containing + attributes. + libseaudit: + Bugfix to support parsing FC5-style audit logs. + seaudit: + Added date filters. + secmds: + Added support to indexcon and searchcon for MLS filesytems. + Added support to findcon and replcon for MLS filesystems. + sechecker: + Added incomplete network access (inc_net_access) module. + Added unreachable domains (unreachable_doms) module. + Added impossible range transitions (imp_range_trans) module. + sesearch: + Allow user to search range transitions by attributes and + indirect matching. + Added RBAC searching. + + -- Manoj Srivastava <srivasta@debian.org> Sun, 7 May 2006 00:16:22 -0500 + +setools (2.3-1) unstable; urgency=low + + * New upstream release + apol: + - added new MLS components tab for sensitivities, levels, and + categories. + - changed users tab to support ranges and default levels. + - added range transition tab for searching range transition rules. + - added new tab for network context components. + - added new tab for file system context components. + libapol: + - added binpol support for MLS, network contexts, and file system + contexts. + seinfo: + - added command line options for MLS components. + - added command line options for network contexts and file system contexts. + sesearch: + - added command line option for searching for rules by conditional boolean name. + seaudit: + - added new column in the log view for the 'comm' + - field found in auditd log files. + - added filters for the 'comm' field and 'message' field. + manpages: + -added manpages for all tools. + + -- Manoj Srivastava <srivasta@debian.org> Tue, 7 Feb 2006 11:54:03 -0600 + +setools (2.2-2) unstable; urgency=low + + * Added a preinst check to see if we should remove the obsolete conffile + /etc/setools/seuser.conf + + -- Manoj Srivastava <srivasta@debian.org> Sat, 31 Dec 2005 14:51:20 -0600 + +setools (2.2-1) unstable; urgency=low + + * New upstream release + libapol: + replaced the original dta algorithm with a new one to properly + support complements in rules. added new structures to support the + separation of diff elements. added support for parsing additional + policy components in source policies. + sediff: + enhanced the GUI for display and separation of diff elements. added + the ability to rename types. + sechecker: + added a new tool - a commandline modular and extensible policy + checker program + seuser: removed - deprecated + sepcut: removed - deprecated + + -- Manoj Srivastava <srivasta@debian.org> Fri, 30 Dec 2005 01:32:46 -0600 + +setools (2.1.3-1) unstable; urgency=low + + * New upstream release, fixed a mls bug in the source parser. + + -- Manoj Srivastava <srivasta@debian.org> Sun, 16 Oct 2005 23:58:07 -0500 + +setools (2.1.2-1) unstable; urgency=low + + * New upstream release + + + -- Manoj Srivastava <srivasta@debian.org> Thu, 15 Sep 2005 02:00:01 -0500 + +setools (2.1.1-1) unstable; urgency=low + + * New upstream release. Excerpted changes: + * Version 2.1.1 + libseaudit: updated code to compile with gcc-4.0.0 + minor bug fixes + sediff: updated code to compile with gcc-4.0.0 + seaudit: updated code to compile with gcc-4.0.0 + libsefs: updated code to compile with gcc-4.0.0 + libapol: updated code to compile with gcc-4.0.0 + minor bug fixes + seuser: updated code to compile with gcc-4.0.0 + * Version 2.1.0 + apol: improved direct relabel analysis algorithm + libapol: added policy version 19 support + sediff: added role transitions, improved role allow + added conditional expression differences + + -- Manoj Srivastava <srivasta@debian.org> Wed, 1 Jun 2005 23:51:27 -0500 + +setools (2.0-1) unstable; urgency=low + + * New upstream release + * libsefs: + Converted to use an on-disk SQLite database backend and + re-designed API to provide the functionality to other + applications, such as apol. + * libapol: + Added support for analyzing direct file relabels. + Added support for analyzing relationship between two types. + Integrated use of hashtable structures for easily analyzing + differences between policies. + Minor bug fixes. + * libseuser: + Minor bug fixes. + * apol: + New analysis module for performing direct file relabel + analysis. + New analysis module for analyzing the relationship be- + tween two types. + New interface added for viewing file contexts from an + SELinux filesystem. + Improvements to domain transition analysis interface. + Minor bug fixes and GUI tweaks. + * secmds: + Updated indexcon/searchcon to use an on-disk SQLite database + in order to decrease memory use. These changes are not + backwards-compatible. + * seaudit: + Integrated reporting functionality into GUI. + Minor GUI tweaks. + * sediff: + New gtk GUI and command-line tools for analyzing the semantic + differences between two policies. The semantic difference + of a policy is different from the syntactic difference in + that it shows the cumulative effect of rules rather than + doing a line-by-line comparison. + + -- Manoj Srivastava <srivasta@debian.org> Sun, 13 Mar 2005 00:40:06 -0600 + +setools (1.5.1-1) unstable; urgency=low + + * New upstream release. + *apol: Fixed compatibility with tcl 8.3. + *libsefs: Fixed compile problem on PPC. + *secmds: Fixed fatal error in replcon. + *setools: Reverted to static linking and fixed various small bugs. + + * apol: + Advanced options added to forward domain + transition analysis module for performing + more granular searching of transitions to + domains using specified classes, permissions + and target types. + Minor bug fixes and improvements. + + * libapol: + Fixed to handle new libapol user structs. + Enhanced forward domain transition analysis to + perform more granular searching using specified + classes, permissions and target types. + Minor bug fixes. + + * libseuser: + General clean up of the policy components. + Fixed handling of users to be consistent with rest. + + * seaudit: + New tool (seaudit-report) for generating customized + reports on SE Linux audit messages using saved + seaudit view files. This tool is highly configurable + and can effectively integrate with the LogWatch + application for automating SE Linux audit log reporting. + Added feature for exporting audit messages to a + file, as well as viewing all components of an audit + message within a text view. + + * libseaudit: + Updated library to store audit header information, such as + the system call timestamp and serial number. + Fixed parse errors for new logs. + + * New tool (indexcon) for creating a snapshot of security + contexts for SE Linux filesystem entities. + * New tool (searchcon) for searching the SE Linux filesystem + database that was created using indexcon. + + + -- Manoj Srivastava <srivasta@debian.org> Thu, 13 Jan 2005 01:25:23 -0600 + +setools (1.4.1-2) unstable; urgency=low + + * Added build-depends libselinux1-dev, thanks for the NMU LaMont. + + -- Russell Coker <russell@coker.com.au> Tue, 13 Jul 2004 19:35:00 +1000 + +setools (1.4.1-1) unstable; urgency=low + + * New upstream. + + -- Russell Coker <russell@coker.com.au> Thu, 8 Jul 2004 12:54:00 +1000 + +setools (1.4-1) unstable; urgency=low + + * New upstream. + + -- Russell Coker <russell@coker.com.au> Thu, 3 Jun 2004 12:49:00 +1000 + +setools (1.3-1) unstable; urgency=low + + * New upstream. + + -- Russell Coker <russell@coker.com.au> Fri, 16 Apr 2004 20:16:00 +1000 + +setools (1.2.1-1) unstable; urgency=low + + * New upstream. + + * Make it build-depend on tk8.4-dev. + Closes: 231876 + + -- Russell Coker <russell@coker.com.au> Thu, 26 Feb 2004 22:07:00 +1100 + +setools (1.2-1) unstable; urgency=low + + * New upstream version. + + -- Russell Coker <russell@coker.com.au> Fri, 6 Feb 2004 15:16:00 +1100 + +setools (1.1.1-3) unstable; urgency=low + + * Fixed build-depends. + Closes: #230830 + + -- Russell Coker <russell@coker.com.au> Tue, 3 Feb 2004 10:16:00 +1100 + +setools (1.1.1-2) unstable; urgency=low + + * Fixed build-depends. + Closes: #229170 + + -- Russell Coker <russell@coker.com.au> Sun, 25 Jan 2004 15:48:00 +1100 + +setools (1.1.1-1) unstable; urgency=low + + * New upstream. + + -- Russell Coker <russell@coker.com.au> Tue, 6 Jan 2004 12:50:00 +1100 + +setools (1.1-3) unstable; urgency=low + + * Upload again with orig archive. + + -- Russell Coker <russell@coker.com.au> Fri, 2 Jan 2004 21:48:00 +1100 + +setools (1.1-2) unstable; urgency=low + + * Added copyright file. + + -- Russell Coker <russell@coker.com.au> Fri, 2 Jan 2004 18:24:00 +1100 + +setools (1.1-1) unstable; urgency=low + + * New upstream. + + -- Russell Coker <russell@coker.com.au> Tue, 23 Dec 2003 16:35:00 +1100 + +setools (1.0.1-1) unstable; urgency=low + + * Initial Release. + + -- Russell Coker <russell@coker.com.au> Wed, 19 Nov 2003 21:45:00 +1100 + diff --git a/debian/compat b/debian/compat new file mode 100644 index 0000000..7ed6ff8 --- /dev/null +++ b/debian/compat @@ -0,0 +1 @@ +5 diff --git a/debian/control b/debian/control new file mode 100644 index 0000000..19cbe65 --- /dev/null +++ b/debian/control @@ -0,0 +1,183 @@ +Source: setools +Priority: optional +Maintainer: J. Tang <jtang@tresys.com> +Build-Depends: cdbs, debhelper (>= 5), autotools-dev, pkg-config, + g++ (>= 4.0), libstdc++-dev, autoconf (>= 2.59), libtool, flex, bison, + libselinux1-dev (>= 1.30), libsepol1-dev (>= 2.0.29), + libxml2-dev, libsqlite3-dev (>= 3.2), + swig (>= 1.3.28), python-dev (>= 2.3), python-central, java-gcj-compat-dev, + tcl8.4-dev (>= 8.4.9) | tcl-dev (>= 8.4.9), + tk8.4-dev (>= 8.4.9) | tk-dev (>= 8.4.9), + libglib2.0-dev, libgtk2.0-dev (>= 2.8), libglade2-dev +Standards-Version: 3.7.2 +Section: utils + +Package: setools +Section: utils +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends}, + libsetools-tcl (= ${Source-Version}), + tk8.4 (>= 8.4.9) | wish, bwidget (>= 1.8), menu +Recommends: setools-console +Suggests: logwatch +Provides: setools-gui +Description: Collection of graphical tools for SELinux policy analysis + SETools is a collection of graphical tools, command-line tools, and + libraries designed to facilitate SELinux policy analysis. + . + This package includes the following graphical tools: + . + * apol policy analysis tool + * seaudit audit log analysis tool + * sediffx semantic policy difference tool + +Package: libsetools +Section: libs +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends} +Suggests: doxygen +Description: SELinux policy analysis libraries + SETools is a collection of graphical tools, command-line tools, and + libraries designed to facilitate SELinux policy analysis. + . + This package includes the following run-time libraries: + . + * libapol policy analysis library + * libpoldiff semantic policy difference library + * libqpol library that abstracts policy internals + * libseaudit parse and filter SELinux audit messages in log files + * libsefs SELinux file contexts library + +Package: libsetools-python +Section: libs +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends}, python (>= 2.3) +XS-Python-Version: current +XB-Python-Version: current +Description: SETools Python bindings + SETools is a collection of graphical tools, command-line tools, and + libraries designed to facilitate SELinux policy analysis. + . + This package includes Python bindings for the following libraries: + . + * libapol policy analysis library + * libpoldiff semantic policy difference library + * libqpol library that abstracts policy internals + * libseaudit parse and filter SELinux audit messages in log files + * libsefs SELinux file contexts library + +Package: libsetools-java +Section: libs +Architecture: any +Depends: java-gcj-compat | java2-runtime, libsetools-jni (= ${binary:Version}) +Description: SETools Java bindings (architecture-independent) + SETools is a collection of graphical tools, command-line tools, and + libraries designed to facilitate SELinux policy analysis. + . + This package includes Java bindings for the following libraries: + . + * libapol policy analysis library + * libpoldiff semantic policy difference library + * libqpol library that abstracts policy internals + * libseaudit parse and filter SELinux audit messages in log files + * libsefs SELinux file contexts library + +Package: libsetools-jni +Section: libs +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: SETools Java bindings (architecture-dependent) + This package includes the architecture-dependent library files needed + for libsetools-java. + +Package: libsetools-tcl +Section: libs +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: SETools Tcl bindings + SETools is a collection of graphical tools, command-line tools, and + libraries designed to facilitate SELinux policy analysis. + . + This package includes Tcl bindings for the following libraries: + . + * libapol policy analysis library + * libpoldiff semantic policy difference library + * libqpol library that abstracts policy internals + * libseaudit parse and filter SELinux audit messages in log files + * libsefs SELinux file contexts library + +Package: libsetools-dev +Section: libdevel +Architecture: any +Depends: libsetools (= ${Source-Version}) +Description: SETools development files + SETools is a collection of graphical tools, command-line tools, and + libraries designed to facilitate SELinux policy analysis. + . + This package includes header files and archives for the following + libraries: + . + * libapol policy analysis library + * libpoldiff semantic policy difference library + * libqpol library that abstracts policy internals + * libseaudit parse and filter SELinux audit messages in log files + * libsefs SELinux file contexts library + +Package: setools-console +Section: utils +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends} +Recommends: setools +Description: Collection of console tools for SELinux policy analysis + SETools is a collection of graphical tools, command-line tools, and + libraries designed to facilitate SELinux policy analysis. + . + This package includes the following console tools: + . + * seaudit-report audit log analysis tool + * sechecker SELinux policy checking tool + * secmds command line tools: seinfo, sesearch, findcon, + replcon, and indexcon + * sediff semantic policy difference tool + +Package: libapol1 +Architecture: all +Depends: libsetools +Description: transitional package to smooth renaming to libsetools + This package installs libsetools, and can be safely removed + afterwards. + +Package: libseaudit1 +Architecture: all +Depends: libsetools +Description: transitional package to smooth renaming to libsetools + This package installs libsetools, and can be safely removed + afterwards. + +Package: libsefs1 +Architecture: all +Depends: libsetools +Description: transitional package to smooth renaming to libsetools + This package installs libsetools, and can be safely removed + afterwards. + +Package: libapol-dev +Architecture: all +Depends: libsetools-dev +Description: transitional package to smooth renaming to libsetools-dev + This package installs libsetools-dev, and can be safely removed + afterwards. + +Package: libseaudit-dev +Architecture: all +Depends: libsetools-dev +Description: transitional package to smooth renaming to libsetools-dev + This package installs libsetools-dev, and can be safely removed + afterwards. + +Package: libsefs-dev +Architecture: all +Depends: libsetools-dev +Description: transitional package to smooth renaming to libsetools-dev + This package installs libsetools-dev, and can be safely removed + afterwards. diff --git a/debian/copyright b/debian/copyright new file mode 100644 index 0000000..cff8edd --- /dev/null +++ b/debian/copyright @@ -0,0 +1,48 @@ +Upstream Author: Tresys Technology <setools@tresys.com> + +Copyright: 2001-2008, Tresys Technology, LLC + + +The SETools package contains files under two licenses. Most files are +copyright as: + + 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, or 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 with + the Debian GNU/Linux distribution in file /usr/share/common-licenses/GPL-2; + 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 General Public +License, version 2, can be found in /usr/share/common-licenses/GPL-2. + + +Libraries, their source files, and their header files, are copyright as: + + 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-2.1. + +The Debian packaging is (C) 2008, Tresys Technology +<setools@tresys.com> and is licensed under the GPL, see +`/usr/share/common-licenses/GPL'. diff --git a/debian/docs b/debian/docs new file mode 100644 index 0000000..7273b60 --- /dev/null +++ b/debian/docs @@ -0,0 +1,5 @@ +NEWS +README +TODO +AUTHORS +KNOWN-BUGS diff --git a/debian/libsetools-dev.install b/debian/libsetools-dev.install new file mode 100644 index 0000000..369954d --- /dev/null +++ b/debian/libsetools-dev.install @@ -0,0 +1,7 @@ +/usr/lib/*.so +/usr/lib/pkgconfig/* +/usr/include/apol/* +/usr/include/poldiff/* +/usr/include/qpol/* +/usr/include/seaudit/* +/usr/include/sefs/* diff --git a/debian/libsetools-java.install b/debian/libsetools-java.install new file mode 100644 index 0000000..edb6c6a --- /dev/null +++ b/debian/libsetools-java.install @@ -0,0 +1,2 @@ +/usr/share/java/* +/usr/share/setools-3.3/*jar diff --git a/debian/libsetools-jni.install b/debian/libsetools-jni.install new file mode 100644 index 0000000..3bf14c3 --- /dev/null +++ b/debian/libsetools-jni.install @@ -0,0 +1 @@ +/usr/lib/jni/* diff --git a/debian/libsetools-jni.postinst b/debian/libsetools-jni.postinst new file mode 100644 index 0000000..b1a382d --- /dev/null +++ b/debian/libsetools-jni.postinst @@ -0,0 +1,41 @@ +#!/bin/sh +# postinst script for myq +# +# see: dh_installdeb(1) + +set -e + +# summary of how this script can be called: +# * <postinst> `configure' <most-recently-configured-version> +# * <old-postinst> `abort-upgrade' <new version> +# * <conflictor's-postinst> `abort-remove' `in-favour' <package> +# <new-version> +# * <postinst> `abort-remove' +# * <deconfigured's-postinst> `abort-deconfigure' `in-favour' +# <failed-install-package> <version> `removing' +# <conflicting-package> <version> +# for details, see http://www.debian.org/doc/debian-policy/ or +# the debian-policy package + + +case "$1" in + configure) + ;; + + abort-upgrade|abort-remove|abort-deconfigure) + ;; + + *) + echo "postinst 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 + + diff --git a/debian/libsetools-jni.postrm b/debian/libsetools-jni.postrm new file mode 100644 index 0000000..8a95093 --- /dev/null +++ b/debian/libsetools-jni.postrm @@ -0,0 +1,39 @@ +#!/bin/sh +# postrm script for myq +# +# see: dh_installdeb(1) + +set -e + +# summary of how this script can be called: +# * <postrm> `remove' +# * <postrm> `purge' +# * <old-postrm> `upgrade' <new-version> +# * <new-postrm> `failed-upgrade' <old-version> +# * <new-postrm> `abort-install' +# * <new-postrm> `abort-install' <old-version> +# * <new-postrm> `abort-upgrade' <old-version> +# * <disappearer's-postrm> `disappear' <overwriter> +# <overwriter-version> +# for details, see http://www.debian.org/doc/debian-policy/ or +# the debian-policy package + + +case "$1" in + purge|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 + + diff --git a/debian/libsetools-python.install b/debian/libsetools-python.install new file mode 100644 index 0000000..175a404 --- /dev/null +++ b/debian/libsetools-python.install @@ -0,0 +1,2 @@ +/usr/lib/python*/site-packages/setools/*so* +/usr/lib/python*/site-packages/setools/*.py diff --git a/debian/libsetools-python.postinst b/debian/libsetools-python.postinst new file mode 100644 index 0000000..b1a382d --- /dev/null +++ b/debian/libsetools-python.postinst @@ -0,0 +1,41 @@ +#!/bin/sh +# postinst script for myq +# +# see: dh_installdeb(1) + +set -e + +# summary of how this script can be called: +# * <postinst> `configure' <most-recently-configured-version> +# * <old-postinst> `abort-upgrade' <new version> +# * <conflictor's-postinst> `abort-remove' `in-favour' <package> +# <new-version> +# * <postinst> `abort-remove' +# * <deconfigured's-postinst> `abort-deconfigure' `in-favour' +# <failed-install-package> <version> `removing' +# <conflicting-package> <version> +# for details, see http://www.debian.org/doc/debian-policy/ or +# the debian-policy package + + +case "$1" in + configure) + ;; + + abort-upgrade|abort-remove|abort-deconfigure) + ;; + + *) + echo "postinst 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 + + diff --git a/debian/libsetools-tcl.install b/debian/libsetools-tcl.install new file mode 100644 index 0000000..553b972 --- /dev/null +++ b/debian/libsetools-tcl.install @@ -0,0 +1,5 @@ +/usr/lib/setools/apol/* +/usr/lib/setools/poldiff/* +/usr/lib/setools/qpol/* +/usr/lib/setools/seaudit/* +/usr/lib/setools/sefs/* diff --git a/debian/libsetools.install b/debian/libsetools.install new file mode 100644 index 0000000..c42eda9 --- /dev/null +++ b/debian/libsetools.install @@ -0,0 +1,5 @@ +/usr/lib/libapol.so.* +/usr/lib/libpoldiff.so.* +/usr/lib/libqpol.so.* +/usr/lib/libseaudit.so.* +/usr/lib/libsefs.so.* diff --git a/debian/libsetools.postinst b/debian/libsetools.postinst new file mode 100644 index 0000000..b1a382d --- /dev/null +++ b/debian/libsetools.postinst @@ -0,0 +1,41 @@ +#!/bin/sh +# postinst script for myq +# +# see: dh_installdeb(1) + +set -e + +# summary of how this script can be called: +# * <postinst> `configure' <most-recently-configured-version> +# * <old-postinst> `abort-upgrade' <new version> +# * <conflictor's-postinst> `abort-remove' `in-favour' <package> +# <new-version> +# * <postinst> `abort-remove' +# * <deconfigured's-postinst> `abort-deconfigure' `in-favour' +# <failed-install-package> <version> `removing' +# <conflicting-package> <version> +# for details, see http://www.debian.org/doc/debian-policy/ or +# the debian-policy package + + +case "$1" in + configure) + ;; + + abort-upgrade|abort-remove|abort-deconfigure) + ;; + + *) + echo "postinst 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 + + diff --git a/debian/libsetools.postrm b/debian/libsetools.postrm new file mode 100644 index 0000000..8a95093 --- /dev/null +++ b/debian/libsetools.postrm @@ -0,0 +1,39 @@ +#!/bin/sh +# postrm script for myq +# +# see: dh_installdeb(1) + +set -e + +# summary of how this script can be called: +# * <postrm> `remove' +# * <postrm> `purge' +# * <old-postrm> `upgrade' <new-version> +# * <new-postrm> `failed-upgrade' <old-version> +# * <new-postrm> `abort-install' +# * <new-postrm> `abort-install' <old-version> +# * <new-postrm> `abort-upgrade' <old-version> +# * <disappearer's-postrm> `disappear' <overwriter> +# <overwriter-version> +# for details, see http://www.debian.org/doc/debian-policy/ or +# the debian-policy package + + +case "$1" in + purge|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 + + diff --git a/debian/rules b/debian/rules new file mode 100755 index 0000000..ace7434 --- /dev/null +++ b/debian/rules @@ -0,0 +1,25 @@ +#!/usr/bin/make -f + +include /usr/share/cdbs/1/rules/debhelper.mk +include /usr/share/cdbs/1/class/autotools.mk + +DEB_CONFIGURE_EXTRA_FLAGS = \ + --with-tcl=/usr/lib/tcl8.4 --with-tk=/usr/lib/tk8.4 \ + --with-tkinclude=/usr/include/tcl8.4 \ + --enable-swig-java --enable-swig-python --enable-swig-tcl \ + --disable-bwidget-check + +DEB_DH_INSTALL_SOURCEDIR = $(CURDIR)/debian/tmp + +install/libsetools-jni:: + mkdir -p $(CURDIR)/debian/tmp/usr/lib/jni + for i in libjapol libjpoldiff libjqpol libjseaudit libjsefs; do \ + mv $(CURDIR)/debian/tmp/usr/lib/$${i}* $(CURDIR)/debian/tmp/usr/lib/jni; \ + done + +install/python-setools:: + chmod 0644 $(CURDIR)/debian/tmp/usr/lib/setools/*/pkgIndex.tcl + +install/setools-console:: + $(MAKE) DESTDIR=$(CURDIR)/debian/tmp install-logwatch + chmod 0755 $(CURDIR)/debian/tmp/usr/share/setools-3.3/seaudit-report-service diff --git a/debian/setools-console.install b/debian/setools-console.install new file mode 100644 index 0000000..42e2be7 --- /dev/null +++ b/debian/setools-console.install @@ -0,0 +1,24 @@ +/etc/logwatch/conf/logfiles/seaudit-report-group.conf +/etc/logwatch/conf/services/seaudit-report-service.conf +/etc/logwatch/scripts/services/seaudit-report-service +/usr/bin/findcon +/usr/bin/indexcon +/usr/bin/replcon +/usr/bin/seaudit-report +/usr/bin/sechecker +/usr/bin/sediff +/usr/bin/seinfo +/usr/bin/sesearch +/usr/share/man/man1/findcon.1 +/usr/share/man/man1/indexcon.1 +/usr/share/man/man1/replcon.1 +/usr/share/man/man1/sechecker.1 +/usr/share/man/man1/sediff.1 +/usr/share/man/man1/seinfo.1 +/usr/share/man/man1/sesearch.1 +/usr/share/man/man8/seaudit-report.8 +/usr/share/setools-3.3/seaudit-report-service +/usr/share/setools-3.3/seaudit-report.conf +/usr/share/setools-3.3/seaudit-report.css +/usr/share/setools-3.3/sechecker-profiles/* +/usr/share/setools-3.3/sechecker_help.txt diff --git a/debian/setools.install b/debian/setools.install new file mode 100644 index 0000000..69aef35 --- /dev/null +++ b/debian/setools.install @@ -0,0 +1,19 @@ +/usr/bin/apol +/usr/bin/sediffx +/usr/lib/setools/apol_tcl/* +/usr/sbin/seaudit +/usr/share/man/man1/apol.1 +/usr/share/man/man1/sediffx.1 +/usr/share/man/man8/seaudit.8 +/usr/share/setools-3.3/*.glade +/usr/share/setools-3.3/*.png +/usr/share/setools-3.3/apol.gif +/usr/share/setools-3.3/apol_help.txt +/usr/share/setools-3.3/domaintrans_help.txt +/usr/share/setools-3.3/dot_seaudit +/usr/share/setools-3.3/file_relabel_help.txt +/usr/share/setools-3.3/infoflow_help.txt +/usr/share/setools-3.3/seaudit_help.txt +/usr/share/setools-3.3/sediff_help.txt +/usr/share/setools-3.3/types_relation_help.txt +/usr/share/setools-3.3/apol_perm_mapping* diff --git a/debian/setools.menu b/debian/setools.menu new file mode 100644 index 0000000..5b1021a --- /dev/null +++ b/debian/setools.menu @@ -0,0 +1,6 @@ +?package(setools):needs="X11" section="Apps/System"\ + title="apol" command="/usr/bin/apol" +?package(setools):needs="X11" section="Apps/System"\ + title="sediff" command="/usr/bin/sediff" +?package(setools):needs="X11" section="Apps/System/Monitoring"\ + title="seaudit" command="/usr/sbin/seaudit" diff --git a/debian/setools.postinst b/debian/setools.postinst new file mode 100644 index 0000000..b1a382d --- /dev/null +++ b/debian/setools.postinst @@ -0,0 +1,41 @@ +#!/bin/sh +# postinst script for myq +# +# see: dh_installdeb(1) + +set -e + +# summary of how this script can be called: +# * <postinst> `configure' <most-recently-configured-version> +# * <old-postinst> `abort-upgrade' <new version> +# * <conflictor's-postinst> `abort-remove' `in-favour' <package> +# <new-version> +# * <postinst> `abort-remove' +# * <deconfigured's-postinst> `abort-deconfigure' `in-favour' +# <failed-install-package> <version> `removing' +# <conflicting-package> <version> +# for details, see http://www.debian.org/doc/debian-policy/ or +# the debian-policy package + + +case "$1" in + configure) + ;; + + abort-upgrade|abort-remove|abort-deconfigure) + ;; + + *) + echo "postinst 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 + + diff --git a/debian/setools.postrm b/debian/setools.postrm new file mode 100644 index 0000000..8a95093 --- /dev/null +++ b/debian/setools.postrm @@ -0,0 +1,39 @@ +#!/bin/sh +# postrm script for myq +# +# see: dh_installdeb(1) + +set -e + +# summary of how this script can be called: +# * <postrm> `remove' +# * <postrm> `purge' +# * <old-postrm> `upgrade' <new-version> +# * <new-postrm> `failed-upgrade' <old-version> +# * <new-postrm> `abort-install' +# * <new-postrm> `abort-install' <old-version> +# * <new-postrm> `abort-upgrade' <old-version> +# * <disappearer's-postrm> `disappear' <overwriter> +# <overwriter-version> +# for details, see http://www.debian.org/doc/debian-policy/ or +# the debian-policy package + + +case "$1" in + purge|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 + + diff --git a/debian/watch b/debian/watch new file mode 100644 index 0000000..7612396 --- /dev/null +++ b/debian/watch @@ -0,0 +1,11 @@ +# Example watch control file for uscan +# Rename this file to "watch" and then 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 + +# Uncomment to examine a Webpage +# <Webpage URL> <string match> +http://oss.tresys.com/projects/setools/wiki/download setools-(.*)\.tar\.gz |