debian/0000775000000000000000000000000012073040507007166 5ustar debian/source/0000775000000000000000000000000012073040507010466 5ustar debian/source/format0000664000000000000000000000001412073034570011677 0ustar 3.0 (quilt) debian/changelog0000664000000000000000000001463412073034570011053 0ustar libcgroup (0.38-1ubuntu2) raring; urgency=low * Properly remove the old init scripts. (LP: #1096771) -- Serge Hallyn Mon, 07 Jan 2013 16:03:40 -0600 libcgroup (0.38-1ubuntu1) quantal; urgency=low * Merge from debian unstable * Depend on cgroup-lite -- Serge Hallyn Fri, 29 Jun 2012 11:49:49 -0500 libcgroup (0.38-1) unstable; urgency=low [ Jon Bernard ] * [1165703] New upstream version 0.38 (Closes: 664886) * [c985151] Remove obsolete debian patches * [baa3edd] Remove initscripts cgconfig and cgred * [ffe7f33] Include systemd README in cgroup-bin [ Laurent Bigonville ] * [0a54950] Disable compile time tests, the package FTBFS trying to load cgroups * [1ed98ff] debian/libcgroup1.symbols: Add .symbols file (Closes: #665958) * [c9eeddb] Call configure with --enable-opaque-hierarchy="name=systemd" (Closes: #664886) -- Jon Bernard Tue, 19 Jun 2012 20:38:38 -0400 libcgroup (0.37.1-2) unstable; urgency=low [ Laurent Bigonville ] * [07baa0c] Bump Standards-Version to 3.9.3 (no further changes) * [b0189dc] Bump debhelper compatibility to 9. (Closes: #654819) * [b072a58] Put the signal as the last parameter for killproc in cgreg initscript (Closes: #627264) * [98cdcd2] Call kill with the signal name instead of the signal number in cgreg initscript (Closes: #607816) -- Jon Bernard Fri, 27 Apr 2012 18:08:20 -0400 libcgroup (0.37.1-1) unstable; urgency=low * [f7cc41d] New upstream version 0.37.1 (Closes: #615987) * [24dfa81] Refresh existing patches * [25be27b] Add patch to fix cgconfig.conf manpage * [4a06e2d] Add patch to fix spelling mistake in cgcreate. Thanks to Nikita A Menkovich (Closes: #610967) * [25e7f37] Remove article from start of description synopsis -- Jon Bernard Sun, 10 Apr 2011 09:55:33 -0400 libcgroup (0.37-2) unstable; urgency=low * [01392d] Fix typo in debian initscript patch (Closes: #607814) - thanks to Edward Allcutt -- Jon Bernard Wed, 22 Dec 2010 10:39:46 -0500 libcgroup (0.37-1) unstable; urgency=low * [59d325] New upstream version 0.37 * [bb3923] Set source format to 3.0 (quilt) * [084091] Bump Standards-Version to 3.9.1 * [3504c3] Update watchfile to look for bzip2 files * [41151b] Convert patches to git-buldpackage's patch queue format (Closes: #604635) -- Jon Bernard Wed, 15 Dec 2010 11:20:42 -0500 libcgroup (0.36.2-3) unstable; urgency=low * [a1bd2b] Add device controller to the default configuration (LP: #607849) - thanks to Serge Hallyn -- Jon Bernard Sun, 25 Jul 2010 16:51:29 -0400 libcgroup (0.36.2-2) unstable; urgency=low * [ae0921] Replace sysconfig with default in cgconfig initscript patch (Closes: #588494) * [412460] Fix config file reference in cgred initscript patch * [3822c1] Update cgred default configuration file * [17fdaf] Add cgconfig default configuration file * [577ac2] Bump standards version to 3.9.0, no changes necessary * [f28c7d] Fix typo in copyright file * [14244b] Remove redundant reference to BSD license in copyright file -- Jon Bernard Sun, 18 Jul 2010 09:41:48 -0400 libcgroup (0.36.2-1) unstable; urgency=low * [df1c38] Imported Upstream version 0.36.2 * [afe1f0] Remove cgdelete manpage, included upstream * [afecca] Remove lscgroup manpage, included upstream * [e68c9a] Remove lssubsys manpage, included upstream * [54f5da] Fix install override to handle changed location of pam module -- Jon Bernard Wed, 23 Jun 2010 14:16:40 -0400 libcgroup (0.36.1-2) unstable; urgency=low * [8a9de6] Install shared object and symlinks in /lib (Closes: #583513) -- Jon Bernard Thu, 27 May 2010 20:13:39 -0400 libcgroup (0.36.1-1) unstable; urgency=low * [d1d65a] Add Vcs fields to debian/control * [2ca672] Exclude release candidates from debian/watch * [36e728] Imported Upstream version 0.36.1 * [41bdfa] Remove missing-includes patch, included upstream -- Jon Bernard Fri, 21 May 2010 15:54:53 -0400 libcgroup (0.36-1) unstable; urgency=low * [be0275] Fix typo in debian/watch * [1db135] Imported Upstream version 0.36 (Closes: #582440) * [63e1bd] Remove cgget manpage, included upstream * [66f232] Remove manpages patch, included upstream * [5ab7ce] Remove pkg-config patch, included upstream * [47ea10] Remove sa_restorer patch, included upstream * [124d53] Add patch for missing includes, fixes build -- Jon Bernard Thu, 20 May 2010 15:57:47 -0400 libcgroup (0.35-3) unstable; urgency=low * [b5eb1b] Drop .la files (Closes: #579812) * [c9f683] Backport libcgroup.pc pkg-config file from upstream (Closes: #579753) -- Jon Bernard Mon, 03 May 2010 11:01:18 -0400 libcgroup (0.35-2) unstable; urgency=low * Use memset to initialize sigaction struct (Closes: #549581) -- Jon Bernard Mon, 08 Mar 2010 14:28:53 -0500 libcgroup (0.35-1) unstable; urgency=low * Imported Upstream version 0.35 * Remove manpage for cgclear, included upstream * Remove obsolete debian patches * Add missing manpages from upstream * Update debian/watch to support new upstream versioning scheme * Run autoreconf before configure * Stop removing RPATH from certain files, fixed upstream * Remove chrpath and docbook-to-man from build dependencies * Bump standards version to 3.8.4, no changes necessary * Remove redundant section definition for libcgroup1 * debian/libcgroup1.install: replace hardcoded version with wildcard * debian/libcgroup1.install: include .la file in libcgroup1 * debian/cgroup-bin.manpages: update installed manpages * Update manpages patch to escape hyphens * Depend on 'cgconfig' in cgred initscript (Closes: #549480) * Refresh cgconfig initscript patch * Include patch tags on vendor patches (DEP3) -- Jon Bernard Fri, 05 Mar 2010 14:49:56 -0500 libcgroup (0.34-2) unstable; urgency=low * Fix initscript dependencies (Closes: #549480) - thanks to Petter Reinholdtsen -- Jon Bernard Wed, 28 Oct 2009 14:31:34 -0400 libcgroup (0.34-1) unstable; urgency=low * Initial release (Closes: #536167) -- Jon Bernard Tue, 08 Sep 2009 22:40:43 -0400 debian/cgroup-bin.install0000664000000000000000000000003712073034570012626 0ustar usr/bin usr/sbin usr/share/man debian/watch0000664000000000000000000000011212073034570010214 0ustar version=3 http://sf.net/libcg/libcgroup-(?:v)?([\d\.]+)\.tar\.(?:gz|bz2) debian/cgroup-bin.examples0000664000000000000000000000025112073034570012774 0ustar samples/cgconfig.conf samples/cgconfig.sysconfig samples/cgred.conf samples/cgrules.conf samples/cgsnapshot_blacklist.conf scripts/init.d/cgconfig scripts/init.d/cgred debian/copyright0000664000000000000000000001267212073034570011134 0ustar This package was debianized by Jon Bernard on Wed, 12 Aug 2009 15:44:52 -0400. It was downloaded from http://downloads.sourceforge.net/sourceforge/libcg/ Upstream Authors: Dhaval Giani Balbir Singh Copyright: Copyright (C) 2007-2009 IBM Corporation Copyright (C) 2008-2009 RedHat Inc. License: This package 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 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 Lesser General Public License for more details. You should have received a copy of the GNU Lesser 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 systems, the complete text of the GNU Lesser General Public License version 2.1 can be found in `/usr/share/common-licenses/LGPL-2.1'. `src/parse.h' and `src/parse.c' are: Copyright (C) 1984, 1989, 1990, 2000, 2001, 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc. License: 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; either version 2, or (at your option) any later version. 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 along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. As a special exception, you may create a larger work that contains part or all of the Bison parser skeleton and distribute that work under terms of your choice, so long as that work isn't itself a parser generator using the skeleton or a modified version thereof as a parser skeleton. Alternatively, if you modify or redistribute the parser skeleton itself, you may (at your option) remove this special exception, which will cause the skeleton and the resulting Bison output files to be licensed under the GNU General Public License without this special exception. This special exception was added by the Free Software Foundation in version 2.2 of Bison. These files are autogenerated by bison at build-time. As a result of the bison exception, the upstream authors wish to release these works under the GNU Lesser General Public License version 2.1. On Debian systems, the complete text of the GNU Lesser General Public License version 2.1 can be found in `/usr/share/common-licenses/LGPL-2.1'. `src/pam/pam_cgroup.c' is: Copyright (C) 2008 Vivek Goyal Copyright (C) 1996-1997 Cristian Gafton License: Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the above copyright notice, and the entire permission notice in its entirety, including the disclaimer of warranties. 2. 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. 3. The name of the author may not be used to endorse or promote products derived from this software without specific prior written permission. ALTERNATIVELY, this product may be distributed under the terms of the GNU Public License, in which case the provisions of the GPL are required INSTEAD OF the above restrictions. (This clause is necessary due to a potential bad interaction between the GPL and the restrictions contained in a BSD-style copyright.) THIS SOFTWARE IS PROVIDED ``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 AUTHOR 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. As a result of the dual license, the upstream authors wish to release this work under the GNU General Public License version 2. On Debian systems, the complete text of the GNU General Public License version 2 can be found in `/usr/share/common-licenses/GPL-2'. The Debian packaging is: Copyright (C) 2009 Jon Bernard and is licensed under the GPL version 3, see `/usr/share/common-licenses/GPL-3'. debian/rules0000775000000000000000000000061512073034570010253 0ustar #!/usr/bin/make -f %: dh $@ override_dh_auto_configure: autoreconf --install --force dh_auto_configure -- --libdir /lib \ --enable-opaque-hierarchy="name=systemd" override_dh_install: mv debian/tmp/lib/security/pam_cgroup.so.0.0.0 debian/tmp/lib/security/pam_cgroup.so dh_install override_dh_makeshlibs: dh_makeshlibs -X pam_cgroup.so override_dh_auto_test: debian/libcgroup-dev.install0000664000000000000000000000012012073034570013314 0ustar usr/include lib/libcgroup.so lib/pkgconfig/libcgroup.pc /usr/lib/pkgconfig debian/libcgroup1.symbols0000664000000000000000000000720112073034570012652 0ustar libcgroup.so.1 libcgroup1 #MINVER# CGROUP_0.32.1@CGROUP_0.32.1 0.36.2 CGROUP_0.32@CGROUP_0.32 0.36.2 CGROUP_0.33@CGROUP_0.33 0.36.2 CGROUP_0.34@CGROUP_0.34 0.36.2 CGROUP_0.35@CGROUP_0.35 0.36.2 CGROUP_0.36@CGROUP_0.36 0.37.1 CGROUP_0.37@CGROUP_0.37 0.37.1 CGROUP_0.38@CGROUP_0.38 0.38 cg_chmod_recursive@CGROUP_0.37 0.37.1 cgroup_add_controller@CGROUP_0.32 0.36.2 cgroup_add_value_bool@CGROUP_0.32 0.36.2 cgroup_add_value_int64@CGROUP_0.32 0.36.2 cgroup_add_value_string@CGROUP_0.32 0.36.2 cgroup_add_value_uint64@CGROUP_0.32 0.36.2 cgroup_attach_task@CGROUP_0.32 0.36.2 cgroup_attach_task_pid@CGROUP_0.32 0.36.2 cgroup_change_cgroup_flags@CGROUP_0.34 0.36.2 cgroup_change_cgroup_path@CGROUP_0.32 0.36.2 cgroup_change_cgroup_uid_gid@CGROUP_0.32 0.36.2 cgroup_change_cgroup_uid_gid_flags@CGROUP_0.32 0.36.2 cgroup_compare_cgroup@CGROUP_0.32 0.36.2 cgroup_compare_controllers@CGROUP_0.32 0.36.2 cgroup_config_load_config@CGROUP_0.32 0.36.2 cgroup_config_set_default@CGROUP_0.38 0.38 cgroup_config_unload_config@CGROUP_0.38 0.38 cgroup_copy_cgroup@CGROUP_0.32 0.36.2 cgroup_create_cgroup@CGROUP_0.32 0.36.2 cgroup_create_cgroup_from_parent@CGROUP_0.32 0.36.2 cgroup_delete_cgroup@CGROUP_0.32 0.36.2 cgroup_delete_cgroup_ext@CGROUP_0.35 0.36.2 cgroup_free@CGROUP_0.32 0.36.2 cgroup_free_controllers@CGROUP_0.32 0.36.2 cgroup_get_all_controller_begin@CGROUP_0.35 0.36.2 cgroup_get_all_controller_end@CGROUP_0.35 0.36.2 cgroup_get_all_controller_next@CGROUP_0.35 0.36.2 cgroup_get_cgroup@CGROUP_0.32 0.36.2 cgroup_get_controller@CGROUP_0.34 0.36.2 cgroup_get_controller_begin@CGROUP_0.34 0.36.2 cgroup_get_controller_end@CGROUP_0.34 0.36.2 cgroup_get_controller_next@CGROUP_0.34 0.36.2 cgroup_get_current_controller_path@CGROUP_0.32 0.36.2 cgroup_get_last_errno@CGROUP_0.33 0.36.2 cgroup_get_procname_from_procfs@CGROUP_0.34 0.36.2 cgroup_get_procs@CGROUP_0.37 0.37.1 cgroup_get_subsys_mount_point@CGROUP_0.34 0.36.2 cgroup_get_subsys_mount_point_begin@CGROUP_0.38 0.38 cgroup_get_subsys_mount_point_end@CGROUP_0.38 0.38 cgroup_get_subsys_mount_point_next@CGROUP_0.38 0.38 cgroup_get_task_begin@CGROUP_0.34 0.36.2 cgroup_get_task_end@CGROUP_0.34 0.36.2 cgroup_get_task_next@CGROUP_0.34 0.36.2 cgroup_get_uid_gid@CGROUP_0.32 0.36.2 cgroup_get_uid_gid_from_procfs@CGROUP_0.34 0.36.2 cgroup_get_value_bool@CGROUP_0.32 0.36.2 cgroup_get_value_int64@CGROUP_0.32 0.36.2 cgroup_get_value_name@CGROUP_0.35 0.36.2 cgroup_get_value_name_count@CGROUP_0.35 0.36.2 cgroup_get_value_string@CGROUP_0.32 0.36.2 cgroup_get_value_uint64@CGROUP_0.32 0.36.2 cgroup_init@CGROUP_0.32 0.36.2 cgroup_init_rules_cache@CGROUP_0.32 0.36.2 cgroup_modify_cgroup@CGROUP_0.32 0.36.2 cgroup_new_cgroup@CGROUP_0.32 0.36.2 cgroup_print_rules_config@CGROUP_0.32 0.36.2 cgroup_read_stats_begin@CGROUP_0.34 0.36.2 cgroup_read_stats_end@CGROUP_0.34 0.36.2 cgroup_read_stats_next@CGROUP_0.34 0.36.2 cgroup_read_value_begin@CGROUP_0.37 0.37.1 cgroup_read_value_end@CGROUP_0.37 0.37.1 cgroup_read_value_next@CGROUP_0.37 0.37.1 cgroup_register_unchanged_process@CGROUP_0.34 0.36.2 cgroup_reload_cached_rules@CGROUP_0.32 0.36.2 cgroup_set_permissions@CGROUP_0.38 0.38 cgroup_set_uid_gid@CGROUP_0.32 0.36.2 cgroup_set_value_bool@CGROUP_0.32 0.36.2 cgroup_set_value_int64@CGROUP_0.32 0.36.2 cgroup_set_value_string@CGROUP_0.32 0.36.2 cgroup_set_value_uint64@CGROUP_0.32 0.36.2 cgroup_strerror@CGROUP_0.32.1 0.36.2 cgroup_unload_cgroups@CGROUP_0.34 0.36.2 cgroup_walk_tree_begin@CGROUP_0.33 0.36.2 cgroup_walk_tree_end@CGROUP_0.33 0.36.2 cgroup_walk_tree_next@CGROUP_0.33 0.36.2 cgroup_walk_tree_set_flags@CGROUP_0.34 0.36.2 create_cgroup_from_name_value_pairs@CGROUP_0.35 0.36.2 debian/libcgroup1.install0000664000000000000000000000002312073034570012623 0ustar lib/libcgroup.so.* debian/libpam-cgroup.install0000664000000000000000000000003312073034570013316 0ustar lib/security/pam_cgroup.so debian/NEWS0000664000000000000000000000115612073034570007673 0ustar libcgroup (0.38-1) unstable; urgency=low This version sees the removal of both initscripts cgconfig and cgred from the cgroup-bin package. This means that cgroups will not be mounted by default and no classification will occur during boot. There are numerous issues surrounding the boot-time classification including race conditions and collisions with lxc and libvirt. I may replace support for mounting available cgroups at boot time as time allows. This version provides a stable point from which to move forward. -- Jon Bernard Mon, 18 Jun 2012 21:29:29 -0400 debian/cgroup-bin.postrm0000664000000000000000000000164312073034570012510 0ustar #!/bin/sh # # see: dh_installdeb(1) set -e # summary of how this script can be called: # * `configure' # * `abort-upgrade' # * `abort-remove' `in-favour' # # * `abort-remove' # * `abort-deconfigure' `in-favour' # `removing' # # for details, see http://www.debian.org/doc/debian-policy/ or # the debian-policy package for conffile in /etc/init/libvirt-cgconfig-wait.conf \ /etc/init/cgred.conf /etc/init/cgconfig.conf; do dpkg-maintscript-helper rm_conffile \ $conffile 0.38-1ubuntu2~ cgroup-bin -- "$@" done # dh_installdeb will replace this with shell code automatically # generated by other debhelper scripts. #DEBHELPER# exit 0 debian/cgroup-bin.docs0000664000000000000000000000004412073034570012106 0ustar README README_daemon README_systemd debian/control0000664000000000000000000000460012073034570010574 0ustar Source: libcgroup Priority: extra Maintainer: Ubuntu Developers XSBC-Original-Maintainer: Jon Bernard Build-Depends: debhelper (>= 9), autoconf, automake, libtool, bison, flex, libpam0g-dev Standards-Version: 3.9.3 Section: libs Vcs-Git: git://git.debian.org/git/collab-maint/libcgroup.git Vcs-Browser: http://git.debian.org/?p=collab-maint/libcgroup.git;a=summary Homepage: http://sourceforge.net/projects/libcg/ Package: libcgroup-dev Section: libdevel Architecture: any Depends: ${misc:Depends}, libcgroup1 (= ${binary:Version}) Description: Development libraries to develop applications that utilize control groups Control Groups provide a mechanism for aggregating/partitioning sets of tasks, and all their future children, into hierarchical groups with specialized behaviour. . It provides API to create/delete and modify cgroup nodes. It will also in the future allow creation of persistent configuration for control groups and provide scripts to manage that configuration. Package: libcgroup1 Architecture: any Depends: ${shlibs:Depends}, ${misc:Depends} Description: Library to control and monitor control groups Control Groups provide a mechanism for aggregating/partitioning sets of tasks, and all their future children, into hierarchical groups with specialized behaviour. . This library allows applications to manipulate, control, administrate and monitor control groups and the associated controllers. Package: libpam-cgroup Section: admin Architecture: any Depends: ${shlibs:Depends}, ${misc:Depends} Description: PAM module to move a user session into a cgroup Control Groups provide a mechanism for aggregating/partitioning sets of tasks, and all their future children, into hierarchical groups with specialized behaviour. . This PAM module will move a user session into an existing cgroup by attempting to match uid and gid against the defined cgroup rules configuration. Package: cgroup-bin Section: admin Architecture: any Depends: ${shlibs:Depends}, ${misc:Depends}, cgroup-lite (>= 1.3) Description: Tools to control and monitor control groups Control Groups provide a mechanism for aggregating/partitioning sets of tasks, and all their future children, into hierarchical groups with specialized behaviour. . These tools help manipulate, control, administrate and monitor control groups and the associated controllers. debian/cgroup-bin.preinst0000664000000000000000000000164312073034570012650 0ustar #!/bin/sh # # see: dh_installdeb(1) set -e # summary of how this script can be called: # * `configure' # * `abort-upgrade' # * `abort-remove' `in-favour' # # * `abort-remove' # * `abort-deconfigure' `in-favour' # `removing' # # for details, see http://www.debian.org/doc/debian-policy/ or # the debian-policy package for conffile in /etc/init/libvirt-cgconfig-wait.conf \ /etc/init/cgred.conf /etc/init/cgconfig.conf; do dpkg-maintscript-helper rm_conffile \ $conffile 0.38-1ubuntu2~ cgroup-bin -- "$@" done # dh_installdeb will replace this with shell code automatically # generated by other debhelper scripts. #DEBHELPER# exit 0 debian/cgroup-bin.postinst0000664000000000000000000000164312073034570013047 0ustar #!/bin/sh # # see: dh_installdeb(1) set -e # summary of how this script can be called: # * `configure' # * `abort-upgrade' # * `abort-remove' `in-favour' # # * `abort-remove' # * `abort-deconfigure' `in-favour' # `removing' # # for details, see http://www.debian.org/doc/debian-policy/ or # the debian-policy package for conffile in /etc/init/libvirt-cgconfig-wait.conf \ /etc/init/cgred.conf /etc/init/cgconfig.conf; do dpkg-maintscript-helper rm_conffile \ $conffile 0.38-1ubuntu2~ cgroup-bin -- "$@" done # dh_installdeb will replace this with shell code automatically # generated by other debhelper scripts. #DEBHELPER# exit 0 debian/compat0000664000000000000000000000000212073034570010367 0ustar 9