Commit 57da5ab7 authored by Daniel Baumann's avatar Daniel Baumann Committed by Christian Kastner

Imported Debian patch 0.40~rc1-3

parent c32812db
* update package descriptions
* update sample initscripts
* update copyright file
* rething package priorities and sections
* come up with an failsafe and upgrade-proof initscript
README
README_daemon
README_systemd
README*
* come up with an failsafe, upgrade-proof and admin friendly initscript.
libcgroup (0.40~rc1-3) experimental; urgency=low
* Moving to priority optional.
* Sorting package sections in control.
* Sorting packages in control.
* Sorting depends fields.
* Wrapping build-depends.
* Simplyfing docs debhelper file.
* Removing extra space in makeshlibs override for consistency.
* Updating package descriptions.
* Simplyfing renaming in pam_cgroup.so in rules.
* Don't compress examples so they can be used directly via symlinks.
* Updating symbols file.
* Correcting libcgroup.so link.
* Building package with multiarch paths.
* Updating copyright to standards format 1.0.
* Updating todo file.
-- Daniel Baumann <mail@daniel-baumann.ch> Thu, 19 Sep 2013 11:54:16 +0200
libcgroup (0.40~rc1-2) experimental; urgency=low
* Adding patch to refer to /sys/fs/cgroup as cgroup directory.
......
Source: libcgroup
Priority: extra
Priority: optional
Section: libs
Maintainer: Daniel Baumann <mail@daniel-baumann.ch>
Build-Depends: debhelper (>= 9), dh-autoreconf, autotools-dev, bison, flex, libpam0g-dev
Build-Depends:
debhelper (>= 9),
dh-autoreconf,
autotools-dev,
bison,
flex,
libpam-dev,
Standards-Version: 3.9.4
Section: libs
Homepage: http://libcg.sourceforge.net/
Vcs-Browser: http://daniel-baumann.ch/gitweb/?p=debian/packages/libcgroup.git
Vcs-Git: git://daniel-baumann.ch/git/debian/packages/libcgroup.git
Package: libcgroup-dev
Section: libdevel
Package: cgroup-bin
Section: admin
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.
Depends:
${misc:Depends},
${shlibs:Depends},
Description: control and monitor control groups (tools)
Control Groups (cgroups) provide a mechanism for aggregating/partitioning sets
of tasks, and all their future children, into hierarchical groups with
specialized behaviour.
.
libcgroup allows one to manipulate, control, administrate and monitor cgroups
and the associated controllers.
.
This package contains the command-line tools.
Package: libcgroup1
Section: libs
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.
Depends:
${misc:Depends},
${shlibs:Depends},
Description: control and monitor control groups (library)
Control Groups (cgroups) provide a mechanism for aggregating/partitioning sets
of tasks, and all their future children, into hierarchical groups with
specialized behaviour.
.
libcgroup allows one to manipulate, control, administrate and monitor cgroups
and the associated controllers.
.
This package contains the shared library.
Package: libpam-cgroup
Section: admin
Package: libcgroup-dev
Section: libdevel
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.
Depends:
${misc:Depends},
libcgroup1 (= ${binary:Version}),
Description: control and monitor control groups (development)
Control Groups (cgroups) provide a mechanism for aggregating/partitioning sets
of tasks, and all their future children, into hierarchical groups with
specialized behaviour.
.
libcgroup allows one to manipulate, control, administrate and monitor cgroups
and the associated controllers.
.
This package contains the development files.
Package: cgroup-bin
Package: libpam-cgroup
Section: admin
Architecture: any
Depends: ${shlibs:Depends}, ${misc:Depends}
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.
Depends:
${misc:Depends},
${shlibs:Depends},
Description: control and monitor control groups (PAM)
Control Groups (cgroups) 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
libcgroup allows one to manipulate, control, administrate and monitor cgroups
and the associated controllers.
.
This package contains the PAM module to move a user session into an existing
cgroup by attempting to match uid and gid against the defined cgroup rules
configuration.
This package was debianized by Jon Bernard <jbernard@debian.org> on
Wed, 12 Aug 2009 15:44:52 -0400.
It was downloaded from http://downloads.sourceforge.net/sourceforge/libcg/
Upstream Authors:
Dhaval Giani <dhaval@linux.vnet.ibm.com>
Balbir Singh <balbir@linux.vnet.ibm.com>
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 <vgoyal@redhat.com>
Copyright (C) 1996-1997 Cristian Gafton <gafton@redhat.com>
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 <jbernard@debian.org>
and is licensed under the GPL version 3, see
`/usr/share/common-licenses/GPL-3'.
Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: libcg
Upstream-Contact: libcg-devel@lists.sourceforge.net
Source: http://sourceforge.net/projects/fuse/files/
Files: *
Copyright: 2007-2009 IBM Corporation
Copyright (C) 2008-2009 RedHat Inc.
License: LGPL-2.1+
Files: src/pam/pam_cgroup.c
Copyright: 1996-1997 Cristian Gafton <gafton@redhat.com>
2008 Vivek Goyal <vgoyal@redhat.com>
License: BSD or GPL-2
Files: debian/*
Copyright: 2009 Jon Bernard <jbernard@debian.org>
2013 Daniel Baumann <mail@daniel-baumann.ch>
License: GPL-3
License: BSD
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.
.
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.
License: GPL-2
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 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
along with this program. If not, see <http://www.gnu.org/licenses/>.
.
The complete text of the GNU General Public License
can be found in /usr/share/common-licenses/GPL-2 file.
License: GPL-3
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 3 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
along with this program. If not, see <http://www.gnu.org/licenses/>.
.
The complete text of the GNU General Public License
can be found in /usr/share/common-licenses/GPL-3 file.
License: LGPL-2.1+
This program 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 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 Lesser General Public License for more details.
.
You should have received a copy of the GNU Lesser General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
.
The complete text of the GNU Lesser General Public License
can be found in /usr/share/common-licenses/LGPL-2.1 file.
usr/include
lib/*.so
lib/pkgconfig /usr/lib
usr/lib/*/*.so
usr/lib/*/pkgconfig
lib/libcgroup.so.*
lib/*/*.so.*
......@@ -7,6 +7,7 @@ libcgroup.so.1 libcgroup1 #MINVER#
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
CGROUP_0.39@CGROUP_0.39 0.40~rc1
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
......@@ -15,12 +16,14 @@ libcgroup.so.1 libcgroup1 #MINVER#
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_all_cgroups@CGROUP_0.39 0.40~rc1
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_create_template_group@CGROUP_0.39 0.40~rc1
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
......@@ -60,8 +63,11 @@ libcgroup.so.1 libcgroup1 #MINVER#
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_init_templates_cache@CGROUP_0.39 0.40~rc1
cgroup_log@CGROUP_0.39 0.40~rc1
cgroup_modify_cgroup@CGROUP_0.32 0.36.2
cgroup_new_cgroup@CGROUP_0.32 0.36.2
cgroup_parse_log_level_str@CGROUP_0.39 0.40~rc
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
......@@ -71,6 +77,10 @@ libcgroup.so.1 libcgroup1 #MINVER#
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_reload_cached_templates@CGROUP_0.39 0.40~rc1
cgroup_set_default_logger@CGROUP_0.39 0.40~rc1
cgroup_set_logger@CGROUP_0.39 0.40~rc1
cgroup_set_loglevel@CGROUP_0.39 0.40~rc1
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
......
lib/security/*.so
lib/*/security/*.so
#!/usr/bin/make -f
DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)
%:
dh ${@} --with autoreconf,autotools_dev
override_dh_auto_configure:
dh_auto_configure -- --libdir /lib --enable-opaque-hierarchy="name=systemd"
dh_auto_configure -- --libdir /lib/$(DEB_HOST_MULTIARCH) --enable-opaque-hierarchy="name=systemd"
override_dh_auto_install:
dh_auto_install
# libcgroup-dev
mkdir -p debian/tmp/usr/lib/$(DEB_HOST_MULTIARCH)
mv debian/tmp/lib/$(DEB_HOST_MULTIARCH)/*.so debian/tmp/usr/lib/$(DEB_HOST_MULTIARCH)
mv debian/tmp/lib/$(DEB_HOST_MULTIARCH)/pkgconfig debian/tmp/usr/lib/$(DEB_HOST_MULTIARCH)
# libpam-cgroup
mv debian/tmp/lib/security/pam_cgroup.so.0.0.0 debian/tmp/lib/security/pam_cgroup.so
rm -f debian/tmp/lib/security/pam_cgroup.so.0
mv debian/tmp/lib/$(DEB_HOST_MULTIARCH)/security/pam_cgroup.so.*.*.* debian/tmp/lib/$(DEB_HOST_MULTIARCH)/security/pam_cgroup.so
rm -f debian/tmp/lib/$(DEB_HOST_MULTIARCH)/security/pam_cgroup.so.*
# removing unused files
rm -f debian/tmp/lib/*.la
rm -f debian/tmp/lib/security/*.la
rm -f debian/tmp/lib/$(DEB_HOST_MULTIARCH)/*.la
rm -f debian/tmp/lib/$(DEB_HOST_MULTIARCH)/security/*.la
override_dh_auto_test:
# disabled
......@@ -22,8 +30,17 @@ override_dh_auto_test:
override_dh_builddeb:
dh_builddeb -- -Zxz
override_dh_compress:
dh_compress -Xexamples
override_dh_install:
dh_install --fail-missing
override_dh_link:
# correcting symlink target
dh_link -plibcgroup-dev lib/$(DEB_HOST_MULTIARCH)/$$(basename $$(readlink debian/tmp/usr/lib/$(DEB_HOST_MULTIARCH)/libcgroup.so)) usr/lib/$(DEB_HOST_MULTIARCH)/libcgroup.so
dh_link --remaining-packages
override_dh_makeshlibs:
dh_makeshlibs -X pam_cgroup.so
dh_makeshlibs -Xpam_cgroup.so
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment