libsemanage (1.8-1) unstable; urgency=low * New upstream release * Merged patch to skip reload if no active store exists and the store path doesn't match the active store path from Dan Walsh. * Merged patch to not destroy sepol handle on error path of connect from James Athey. * Merged patch to add genhomedircon path to semanage.conf from James Athey. * Updated version for release. * Bug fix: "'Conflicts: python2.4-semanage' has incorrect version", thanks to Max Bowsher (Closes: #391596). -- Manoj Srivastava Fri, 20 Oct 2006 13:21:59 -0500 libsemanage (1.6.16-3) unstable; urgency=low * Set the policy version compiled to version 20, the highest supported by kernel version 2.6.17, which is the latest currently released one. (Closes: #386928) -- Manoj Srivastava Tue, 12 Sep 2006 03:09:04 -0500 libsemanage (1.6.16-2) unstable; urgency=low * Update with new builddepends, to compile with the newest libsepol -- Manoj Srivastava Mon, 11 Sep 2006 15:57:58 -0500 libsemanage (1.6.16-1) unstable; urgency=low * New upstream point release * Make most copy errors fatal, but allow exceptions for file_contexts.local, seusers, and netfilter_contexts if the source file does not exist in the store. * Add md5sums * Bug fix: "libsemanage: .version file for python package (python-semanage) contains spaces", thanks to Rudolph Pereira (Closes: #385098). -- Manoj Srivastava Thu, 7 Sep 2006 01:02:45 -0500 libsemanage (1.6.15-2) unstable; urgency=low * Fix wrong directory the extensions were installed in. * Bug fix: "python-semanage: Description says "Python2.4 bindings" but it's both 2.3 and 2.4", thanks to Erich Schubert (Closes: #382878). -- Manoj Srivastava Tue, 15 Aug 2006 00:32:55 -0500 libsemanage (1.6.15-1) unstable; urgency=low * New upstream point release * Merged separate local file contexts patch from Chris PeBenito. * Merged patch to make most copy errors non-fatal from Dan Walsh. -- Manoj Srivastava Sun, 13 Aug 2006 00:36:51 -0500 libsemanage (1.6.13-1) unstable; urgency=low * New upstream point release * Merged netfilter contexts support from Chris PeBenito. * Moved the package over to the new python policy. This means that the old python2.4-semanage package is now a virtual package, and now we provide python packages for all supported versions of python, determining the depends and the provides relationships of the python package dynamically. The build depends has been changed to acoomodate it. The package uses the python-support utility to help with byte compilation and other modules handling. (Closes: #380865) * Python transition (#2): you are building a private python module ! * Bug fix: "setup.py file for building the python extension", thanks to Matthias Klose. Thanks for the hint about -z,defs; however, I have elected to stick close to the upstream Makefile and not use setup.py. (Closes: #382581). -- Manoj Srivastava Sat, 12 Aug 2006 01:05:45 -0500 libsemanage (1.6.12-1) unstable; urgency=low * New upstream point release * Merged support for read operations on read-only fs from Caleb Case (Tresys Technology). * Lindent. * Merged setfiles location check patch from Dan Walsh. * Merged several fixes from Serge Hallyn: dbase_file_cache: deref of uninit data on error path. dbase_policydb_cache: clear fp to avoid double fclose semanage_fc_sort: destroy temp on error paths * Updated default location for setfiles to /sbin to match policycoreutils. This can also be adjusted via semanage.conf using the syntax: [setfiles] path = /path/to/setfiles args = -q -c $@ $< [end] * Merged fix warnings patch from Karl MacMillan. * Merged updated file context sorting patch from Christopher Ashworth, with bug fix for escaped character flag. * Merged file context sorting code from Christopher Ashworth (Tresys Technology), based on fc_sort.c code in refpolicy. * Merged python binding t_output_helper removal patch from Dan Walsh. * Regenerated swig files. * Merged corrected fix for descriptor leak from Dan Walsh. * Merged Makefile PYLIBVER definition patch from Dan Walsh. * Merged man page reorganization from Ivan Gyurdiev. -- Manoj Srivastava Wed, 19 Jul 2006 17:46:54 -0500 libsemanage (1.6-1) unstable; urgency=low * New upstream release * Updated version for release. * Merged abort early on merge errors patch from Ivan Gyurdiev. * Cleaned up error handling in semanage_split_fc based on a patch by Serge Hallyn (IBM) and suggestions by Ivan Gyurdiev. * Merged MLS handling fixes from Ivan Gyurdiev. * Merged bug fix for fcontext validate handler from Ivan Gyurdiev. * Merged base_merge_components changes from Ivan Gyurdiev. * Merged paths array patch from Ivan Gyurdiev. * Merged bug fix patch from Ivan Gyurdiev. * Merged improve bindings patch from Ivan Gyurdiev. * Merged use PyList patch from Ivan Gyurdiev. * Merged memory leak fix patch from Ivan Gyurdiev. * Merged nodecon support patch from Ivan Gyurdiev. * Merged cleanups patch from Ivan Gyurdiev. * Merged split swig patch from Ivan Gyurdiev. * Merged optionals in base patch from Joshua Brindle. * Merged treat seusers/users_extra as optional sections patch from Ivan Gyurdiev. * Merged parse_optional fixes from Ivan Gyurdiev. * Merged seuser/user_extra support patch from Joshua Brindle. * Merged remote system dbase patch from Ivan Gyurdiev. * Merged clone record on set_con patch from Ivan Gyurdiev. * Merged fname parameter patch from Ivan Gyurdiev. * Merged more size_t -> unsigned int fixes from Ivan Gyurdiev. * Merged seusers.system patch from Ivan Gyurdiev. * Merged improve port/fcontext API patch from Ivan Gyurdiev. * Merged seuser -> seuser_local rename patch from Ivan Gyurdiev. * Merged set_create_store, access_check, and is_connected interfaces from Joshua Brindle. * Regenerate python wrappers. * Merged pywrap Makefile diff from Dan Walsh. * Merged cache management patch from Ivan Gyurdiev. * Merged bugfix for dbase_llist_clear from Ivan Gyurdiev. * Merged remove apply_local function patch from Ivan Gyurdiev. * Merged only do read locking in direct case patch from Ivan Gyurdiev. * Merged cache error path memory leak fix from Ivan Gyurdiev. * Merged auto-generated file header patch from Ivan Gyurdiev. * Merged pywrap test update from Ivan Gyurdiev. * Merged hidden defs update from Ivan Gyurdiev. * Merged disallow port overlap patch from Ivan Gyurdiev. * Merged join prereq and implementation patches from Ivan Gyurdiev. * Merged join user extra data part 2 patch from Ivan Gyurdiev. * Merged bugfix patch from Ivan Gyurdiev. * Merged remove add_local/set_local patch from Ivan Gyurdiev. * Merged user extra data part 1 patch from Ivan Gyurdiev. * Merged size_t -> unsigned int patch from Ivan Gyurdiev. * Merged calloc check in semanage_store patch from Ivan Gyurdiev, bug noticed by Steve Grubb. * Merged cleanups after add/set removal patch from Ivan Gyurdiev. * Merged fcontext compare fix from Ivan Gyurdiev. * Fixed commit to return the commit number aka policy sequence number. * Merged const in APIs patch from Ivan Gyurdiev. * Merged validation of local file contexts patch from Ivan Gyurdiev. * Merged compare2 function patch from Ivan Gyurdiev. * Merged hidden def/proto update patch from Ivan Gyurdiev. * Re-applied string and file optimization patch from Russell Coker, with bug fix. * Reverted string and file optimization patch from Russell Coker. * Clarified error messages from parse_module_headers and parse_base_headers for base/module mismatches. * Merged string and file optimization patch from Russell Coker. * Merged swig header reordering patch from Ivan Gyurdiev. * Merged toggle modify on add patch from Ivan Gyurdiev. * Merged ports parser bugfix patch from Ivan Gyurdiev. * Merged fcontext swig patch from Ivan Gyurdiev. * Merged remove add/modify/delete for active booleans patch from Ivan Gyurdiev. * Merged man pages for dbase functions patch from Ivan Gyurdiev. * Merged pywrap tests patch from Ivan Gyurdiev. -- Manoj Srivastava Wed, 22 Mar 2006 23:34:44 -0600 libsemanage (1.4-4) unstable; urgency=low * Bug fix: "python2.4-semanage: Cannot be installed. Conflicting file with libsemanage-dev", thanks to Tomasz Rybak (Closes: #348050). -- Manoj Srivastava Mon, 23 Jan 2006 13:49:56 -0600 libsemanage (1.4-3) unstable; urgency=low * Split out python2.4-semanage into a separate package, since the python bindings should not be in a -dev package. -- Manoj Srivastava Sun, 1 Jan 2006 09:19:05 -0600 libsemanage (1.4-2) unstable; urgency=low * Fix dependencies to facilitate backports. * Bug fix: "libsemanage: Build dependencies shouldn't contain debian revision numbers", thanks to Erich Schubert (Closes: #345461). -- Manoj Srivastava Sat, 31 Dec 2005 14:01:41 -0600 libsemanage (1.4-1) unstable; urgency=low * New upstream release * Updated version for release. * Changed semanage_handle_create() to set do_reload based on is_selinux_enabled(). This prevents improper attempts to load policy on a non-SELinux system. * Dropped handle from user_del_role interface. * Removed defrole interfaces. * Merged Makefile python definitions patch from Dan Walsh. * Removed is_selinux_mls_enabled() conditionals in seusers and users file parsers. * Merged wrap char*** for user_get_roles patch from Joshua Brindle. * Merged remove defrole from sepol patch from Ivan Gyurdiev. * Merged swig wrappers for modifying users and seusers from Joshua Brindle. * Fixed free->key_free bug. * Merged clear obsolete patch from Ivan Gyurdiev. * Merged modified swigify patch from Dan Walsh (original patch from Joshua Brindle). * Merged move genhomedircon call patch from Chad Sellers. * Merged move seuser validation patch from Ivan Gyurdiev. * Merged hidden declaration fixes from Ivan Gyurdiev, with minor corrections. * Merged cleanup patch from Ivan Gyurdiev. This renames semanage_module_conn to semanage_direct_handle, and moves sepol handle create/destroy into semanage handle create/destroy to allow use even when disconnected (for the record interfaces). * Clear modules modified flag upon disconnect and commit. * Added tracking of module modifications and use it to determine whether expand-time checks should be applied on commit. * Reverted semanage_set_reload_bools() interface. * Disabled calls to port dbase for merge and commit and stubbed out calls to sepol_port interfaces since they are not exported. * Merged rename instead of copy patch from Joshua Brindle (Tresys). * Added hidden_def/hidden_proto for exported symbols used within libsemanage to eliminate relocations. Wrapped type definitions in exported headers as needed to avoid conflicts. Added src/context_internal.h and src/iface_internal.h. * Added semanage_is_managed() interface to allow detection of whether the policy is managed via libsemanage. This enables proper handling in setsebool for non-managed systems. * Merged semanage_set_reload_bools() interface from Ivan Gyurdiev, to enable runtime control over preserving active boolean values versus reloading their saved settings upon commit. * Merged seuser parser resync, dbase tracking and cleanup, strtol bug, copyright, and assert space patches from Ivan Gyurdiev. * Added src/*_internal.h in preparation for other changes. * Added hidden/hidden_proto/hidden_def to src/debug.[hc] and src/seusers.[hc]. * Merged interface parse/print, context_to_string interface change, move assert_noeof, and order preserving patches from Ivan Gyurdiev. * Added src/dso.h in preparation for other changes. * Merged install seusers, handle/error messages, MLS parsing, and seusers validation patches from Ivan Gyurdiev. * Merged record interface, dbase flush, common database code, and record bugfix patches from Ivan Gyurdiev. * Merged dbase policydb list and count change from Ivan Gyurdiev. * Merged enable dbase and set relay patches from Ivan Gyurdiev. * Merged query APIs and dbase_file_set patches from Ivan Gyurdiev. * Merged sepol handle passing, seusers support, and policydb cache patches from Ivan Gyurdiev. * Merged resync to sepol changes and booleans fixes/improvements patches from Ivan Gyurdiev. * Merged support for genhomedircon/homedir template, store selection, explicit policy reload, and semanage.conf relocation from Joshua Brindle. * Merged resync to sepol changes and transaction fix patches from Ivan Gyurdiev. * Merged reorganize users patch from Ivan Gyurdiev. * Merged remove unused relay functions patch from Ivan Gyurdiev. * Fixed policy file leaks in semanage_load_module and semanage_write_module. * Merged further database work from Ivan Gyurdiev. * Fixed bug in semanage_direct_disconnect. * Merged interface renaming patch from Ivan Gyurdiev. * Merged policy component patch from Ivan Gyurdiev. * Renamed 'check=' configuration value to 'expand-check=' for clarity. * Changed semanage_commit_sandbox to check for and report errors on rename(2) calls performed during rollback. * Added optional check= configuration value to semanage.conf and updated call to sepol_expand_module to pass its value to control assertion and hierarchy checking on module expansion. * Merged fixes for make DESTDIR= builds from Joshua Brindle. * Merged default database from Ivan Gyurdiev. * Merged removal of connect requirement in policydb backend from Ivan Gyurdiev. * Merged commit locking fix and lock rename from Joshua Brindle. * Merged transaction rollback in lock patch from Joshua Brindle. * Changed default args for load_policy to be null, as it no longer takes a pathname argument and we want to preserve booleans. * Merged move local dbase initialization patch from Ivan Gyurdiev. * Merged acquire/release read lock in databases patch from Ivan Gyurdiev. * Merged rename direct -> policydb as appropriate patch from Ivan Gyurdiev. * Added calls to sepol_policy_file_set_handle interface prior to invoking sepol operations on policy files. * Updated call to sepol_policydb_from_image to pass the handle. * Merged user and port APIs - policy database patch from Ivan Gyurdiev. * Converted calls to sepol link_packages and expand_module interfaces from using buffers to using sepol handles for error reporting, and changed direct_connect/disconnect to create/destroy sepol handles. * Merged bugfix patch from Ivan Gyurdiev. * Merged seuser database patch from Ivan Gyurdiev. Merged direct user/port databases to the handle from Ivan Gyurdiev. * Removed obsolete include/semanage/commit_api.h (leftover). Merged seuser record patch from Ivan Gyurdiev. * Merged boolean and interface databases from Ivan Gyurdiev. * Updated to use get interfaces for hidden sepol_module_package type. * Changed semanage_expand_sandbox and semanage_install_active to generate/install the latest policy version supported by libsepol by default (unless overridden by semanage.conf), since libselinux will now downgrade automatically for load_policy. * Merged new callback-based error reporting system and ongoing database work from Ivan Gyurdiev. * Fixed semanage_install_active() to use the same logic for selecting a policy version as semanage_expand_sandbox(). Dropped dead code from semanage_install_sandbox(). * Updated for changes to libsepol, and to only use types and interfaces provided by the shared libsepol. * Merged further database work from Ivan Gyurdiev. * Merged iterate, redistribute, and dbase split patches from Ivan Gyurdiev. * Merged patch series from Ivan Gyurdiev. (pointer typedef elimination, file renames, dbase work, backend separation) * Split interfaces from semanage.[hc] into handle.[hc], modules.[hc]. * Separated handle create from connect interface. * Added a constructor for initialization. * Moved up src/include/*.h to src. * Created a symbol map file; dropped dso.h and hidden markings. * Merged major update to libsemanage organization and functionality from Karl MacMillan (Tresys). * Merged dbase redesign patch from Ivan Gyurdiev. * Merged boolean record, stub record handler, and status codes patches from Ivan Gyurdiev. * Merged stub iterator functionality from Ivan Gyurdiev. * Merged interface record patch from Ivan Gyurdiev. * Merged stub functionality for managing user and port records, and record table code from Ivan Gyurdiev. -- Manoj Srivastava Sun, 11 Dec 2005 00:53:26 -0600 libsemanage (1.2-1) unstable; urgency=low * New package. -- Manoj Srivastava Wed, 14 Sep 2005 23:21:42 -0500