/[gentoo-x86]/sys-apps/rsbac-admin/rsbac-admin-1.2.99.ebuild
Gentoo

Diff of /sys-apps/rsbac-admin/rsbac-admin-1.2.99.ebuild

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.2 Revision 1.3
1# Copyright 1999-2005 Gentoo Foundation 1# Copyright 1999-2005 Gentoo Foundation
2# Distributed under the terms of the GNU General Public License v2 2# Distributed under the terms of the GNU General Public License v2
3# $Header: /var/cvsroot/gentoo-x86/sys-apps/rsbac-admin/Attic/rsbac-admin-1.2.99.ebuild,v 1.2 2005/11/17 22:21:18 kang Exp $ 3# $Header: /var/cvsroot/gentoo-x86/sys-apps/rsbac-admin/Attic/rsbac-admin-1.2.99.ebuild,v 1.3 2005/11/29 19:48:07 flameeyes Exp $
4 4
5inherit eutils 5inherit eutils
6inherit subversion 6inherit subversion
7 7
8IUSE="pam" 8IUSE="pam"
60pkg_postinst() { 60pkg_postinst() {
61 enewgroup secoff 400 || die "problem adding group secoff" 61 enewgroup secoff 400 || die "problem adding group secoff"
62 enewuser secoff 400 /bin/bash /secoff secoff || \ 62 enewuser secoff 400 /bin/bash /secoff secoff || \
63 die "problem adding user secoff" 63 die "problem adding user secoff"
64 enewgroup audit 404 || die "problem adding group audit" 64 enewgroup audit 404 || die "problem adding group audit"
65 enewuser audit 404 /bin/false /dev/null audit || \ 65 enewuser audit 404 -1 /dev/null audit || \
66 die "problem adding user audit" 66 die "problem adding user audit"
67 67
68 chmod 700 /secoff /var/log/rsbac || \ 68 chmod 700 /secoff /var/log/rsbac || \
69 die "problem changing permissions of /secoff and/or /secoff/log" 69 die "problem changing permissions of /secoff and/or /secoff/log"
70 chown secoff:secoff -R /secoff || \ 70 chown secoff:secoff -R /secoff || \

Legend:
Removed from v.1.2  
changed lines
  Added in v.1.3

  ViewVC Help
Powered by ViewVC 1.1.20