Loading libcgroup/PKGBUILD +11 −8 Original line number Diff line number Diff line Loading @@ -9,15 +9,18 @@ pkgdesc='Library and tools that abstracts the control group file system in Linux arch=(i686 x86_64) url='http://libcg.sourceforge.net' license=(LGPL) backup=('etc/conf.d/cgred' 'etc/conf.d/cgconfig' 'etc/cgconfig.conf' 'etc/cgrules.conf') backup=('etc/conf.d/cgred' 'etc/conf.d/cgconfig' 'etc/cgconfig.conf' 'etc/cgrules.conf') options=('!emptydirs' '!libtool') install=libcgroup.install source=("http://downloads.sourceforge.net/libcg/$pkgname-$pkgver.tar.bz2" cgred cgconfig cgconfig.conf) 'cgred.rc' 'cgconfig.rc') md5sums=('f0f7d4060bf36ccc19d75dbf4f1695db' '72abd2fd52853579b91e1ca6ea87197a' '8e2ee870398dd62d3c4730330bbf6c21' 'cf4244ed9a413fa888be66bf0bc6d055') '8e2ee870398dd62d3c4730330bbf6c21') build() { cd $pkgname-$pkgver Loading @@ -32,6 +35,7 @@ package() { cd $pkgname-$pkgver make DESTDIR="$pkgdir" pkgconfigdir=/usr/lib/pkgconfig install # install samples install -Dm644 samples/cgconfig.sysconfig "$pkgdir/etc/conf.d/cgconfig" install -Dm644 samples/cgred.conf "$pkgdir/etc/conf.d/cgred" install -Dm644 samples/cgconfig.conf "$pkgdir/etc/cgconfig.conf" install -Dm644 samples/cgrules.conf "$pkgdir/etc/cgrules.conf" Loading @@ -40,11 +44,10 @@ package() { cd "$pkgdir/usr/lib/security" mv pam_cgroup.so.0.0.0 pam_cgroup.so rm -vf pam_cgroup.so.* # install initscripts # install custom initscripts cd "$pkgdir" install -Dm755 "$srcdir/cgred" etc/rc.d/cgred install -Dm755 "$srcdir/cgconfig" etc/rc.d/cgconfig install -Dm644 "$srcdir/cgconfig.conf" etc/conf.d/cgconfig install -Dm755 "$srcdir/cgred.rc" etc/rc.d/cgred install -Dm755 "$srcdir/cgconfig.rc" etc/rc.d/cgconfig # Make cgexec setgid cgred #chown root:160 usr/bin/cgexec #chmod 2755 usr/bin/cgexec Loading libcgroup/cgconfig.confdeleted 100644 → 0 +0 −21 Original line number Diff line number Diff line # Service cgconfig can create a default group in all mounted hierarchies and # move all processes there on boot. If no default rule is specified in # /etc/cgrules.conf, the default group is named '/sysdefault'. # This automatically created group(s) can be useful e.g. when using 'cpu' # controller to limit cpu.shares of this default group and allowing some more # important group take most of the CPU. # # By default, create these groups: CREATE_DEFAULT=yes # Uncomment following line to disable creation of the default group on startup: #CREATE_DEFAULT=no # Service cgconfig can classify all processes according to /etc/cgrules.conf on # boot. # # By default, classify all processes: CLASSIFY=yes # Uncomment following line to disable classification of processes on boot: #CLASSIFY=no libcgroup/cgconfig→libcgroup/cgconfig.rc +0 −0 File moved. View file libcgroup/cgred→libcgroup/cgred.rc +0 −0 File moved. View file Loading
libcgroup/PKGBUILD +11 −8 Original line number Diff line number Diff line Loading @@ -9,15 +9,18 @@ pkgdesc='Library and tools that abstracts the control group file system in Linux arch=(i686 x86_64) url='http://libcg.sourceforge.net' license=(LGPL) backup=('etc/conf.d/cgred' 'etc/conf.d/cgconfig' 'etc/cgconfig.conf' 'etc/cgrules.conf') backup=('etc/conf.d/cgred' 'etc/conf.d/cgconfig' 'etc/cgconfig.conf' 'etc/cgrules.conf') options=('!emptydirs' '!libtool') install=libcgroup.install source=("http://downloads.sourceforge.net/libcg/$pkgname-$pkgver.tar.bz2" cgred cgconfig cgconfig.conf) 'cgred.rc' 'cgconfig.rc') md5sums=('f0f7d4060bf36ccc19d75dbf4f1695db' '72abd2fd52853579b91e1ca6ea87197a' '8e2ee870398dd62d3c4730330bbf6c21' 'cf4244ed9a413fa888be66bf0bc6d055') '8e2ee870398dd62d3c4730330bbf6c21') build() { cd $pkgname-$pkgver Loading @@ -32,6 +35,7 @@ package() { cd $pkgname-$pkgver make DESTDIR="$pkgdir" pkgconfigdir=/usr/lib/pkgconfig install # install samples install -Dm644 samples/cgconfig.sysconfig "$pkgdir/etc/conf.d/cgconfig" install -Dm644 samples/cgred.conf "$pkgdir/etc/conf.d/cgred" install -Dm644 samples/cgconfig.conf "$pkgdir/etc/cgconfig.conf" install -Dm644 samples/cgrules.conf "$pkgdir/etc/cgrules.conf" Loading @@ -40,11 +44,10 @@ package() { cd "$pkgdir/usr/lib/security" mv pam_cgroup.so.0.0.0 pam_cgroup.so rm -vf pam_cgroup.so.* # install initscripts # install custom initscripts cd "$pkgdir" install -Dm755 "$srcdir/cgred" etc/rc.d/cgred install -Dm755 "$srcdir/cgconfig" etc/rc.d/cgconfig install -Dm644 "$srcdir/cgconfig.conf" etc/conf.d/cgconfig install -Dm755 "$srcdir/cgred.rc" etc/rc.d/cgred install -Dm755 "$srcdir/cgconfig.rc" etc/rc.d/cgconfig # Make cgexec setgid cgred #chown root:160 usr/bin/cgexec #chmod 2755 usr/bin/cgexec Loading
libcgroup/cgconfig.confdeleted 100644 → 0 +0 −21 Original line number Diff line number Diff line # Service cgconfig can create a default group in all mounted hierarchies and # move all processes there on boot. If no default rule is specified in # /etc/cgrules.conf, the default group is named '/sysdefault'. # This automatically created group(s) can be useful e.g. when using 'cpu' # controller to limit cpu.shares of this default group and allowing some more # important group take most of the CPU. # # By default, create these groups: CREATE_DEFAULT=yes # Uncomment following line to disable creation of the default group on startup: #CREATE_DEFAULT=no # Service cgconfig can classify all processes according to /etc/cgrules.conf on # boot. # # By default, classify all processes: CLASSIFY=yes # Uncomment following line to disable classification of processes on boot: #CLASSIFY=no