Gentooized Novell-client & initial linamh ebuilds
git-svn-id: https://svn.disconnected-by-peer.at/svn/linamh/trunk/linamh@50 6952d904-891a-0410-993b-d76249ca496b
This commit is contained in:
53
sys-fs/trustees/ChangeLog
Normal file
53
sys-fs/trustees/ChangeLog
Normal file
@@ -0,0 +1,53 @@
|
||||
# ChangeLog for sys-fs/trustees
|
||||
# Copyright 2000-2007 Gentoo Foundation; Distributed under the GPL v2
|
||||
# $Header: $
|
||||
|
||||
19 Feb 2007; Mario Fetka <mario-fetka@gmx.at> +trustees-3.0.ebuild:
|
||||
Initial Ebuild
|
||||
|
||||
*trustees-3.0 (26 Aug 2005)
|
||||
|
||||
12 Sep 2005; Matt Stegman <matts@ksu.edu> trustees-3.0.ebuild:
|
||||
Brand new ebuild for Trustees version 3.0, which works only on 2.6 kernels!
|
||||
Includes initscript and corresponding conf.d file, and an additional
|
||||
example trustees.conf in a gentoo-extras tarball.
|
||||
|
||||
01 Jul 2004; Jeremy Huddleston <eradicator@gentoo.org> trustees-2.10.ebuild:
|
||||
virtual/glibc -> virtual/libc
|
||||
|
||||
10 Mar 2004; Max Kalika <max@gentoo.org> trustees-2.10.ebuild:
|
||||
Ditch sed dependency.
|
||||
|
||||
29 Oct 2003; Max Kalika <max@gentoo.org> trustees-2.10.ebuild:
|
||||
Really fix link error. Move kernel check to pkg_setup(). Add echo of the
|
||||
compile operation. Use CFLAGS during compile.
|
||||
|
||||
27 Oct 2003; Max Kalika <max@gentoo.org> trustees-2.10.ebuild:
|
||||
Fix linking error.
|
||||
|
||||
*trustees-2.10 (13 Oct 2003)
|
||||
|
||||
13 Oct 2003; Max Kalika <max@gentoo.org> metadata.xml, trustees-2.10.ebuild,
|
||||
files/trustees.conf, files/trustees.rc6:
|
||||
Cleanup and mark stable.
|
||||
|
||||
03 Jul 2003; Max Kalika <max@gentoo.org> trustees-2.10.ebuild:
|
||||
Set KEYWORDS to ~x86.
|
||||
|
||||
11 Jun 2003; Max Kalika <max@gentoo.org> trustees-2.10.ebuild,
|
||||
files/trustees.rc6:
|
||||
Start trustees before net.
|
||||
|
||||
23 May 2003; Max Kalika <max@gentoo.org> files/trustees.rc6:
|
||||
Add check for /proc/trustee in startup script.
|
||||
|
||||
22 May 2003; Max Kalika <max@gentoo.org> trustees-2.10.ebuild,
|
||||
files/trustees.conf, files/trustees.rc6:
|
||||
Add startup script and corresponding config file. Remove post-install message
|
||||
about loading permissions on boot.
|
||||
|
||||
*trustees-2.10 (08 May 2003)
|
||||
|
||||
08 May 2003; Max Kalika <max@gentoo.org> trustees-2.10.ebuild:
|
||||
Initial version.
|
||||
|
||||
3
sys-fs/trustees/Manifest
Normal file
3
sys-fs/trustees/Manifest
Normal file
@@ -0,0 +1,3 @@
|
||||
MD5 1ad1e25dfcb23f328113d712d3adde59 ChangeLog 1732
|
||||
MD5 1380097ad9f66c7900b91e2f111e60ff files/digest-trustees-3.0 134
|
||||
MD5 dbd9bac66e4e73c926db7e16216ebf28 trustees-3.0.ebuild 1990
|
||||
2
sys-fs/trustees/files/digest-trustees-3.0
Normal file
2
sys-fs/trustees/files/digest-trustees-3.0
Normal file
@@ -0,0 +1,2 @@
|
||||
MD5 7fc546fffd129862b1a28a8e1e21b2f0 trustees-3.0-gentoo.tar.bz2 1445
|
||||
MD5 45b7e894f9fe2321d671a5272dac76c2 trustees-3.0.tar.bz2 26958
|
||||
76
sys-fs/trustees/trustees-3.0.ebuild
Normal file
76
sys-fs/trustees/trustees-3.0.ebuild
Normal file
@@ -0,0 +1,76 @@
|
||||
# ebuild for Trustees 3.0 by M Stegman
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
inherit linux-mod
|
||||
|
||||
MY_PP=${PN}-${PV}-gentoo
|
||||
DESCRIPTION="Advanced permission management system for Linux"
|
||||
HOMEPAGE="http://trustees.sourceforge.net/"
|
||||
SRC_URI="http://umn.dl.sourceforge.net/sourceforge/trustees/${PN}-${PV}.tar.bz2
|
||||
http://www.ephess.net/gentoo/${MY_PP}.tar.bz2"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="x86"
|
||||
IUSE=""
|
||||
RESTRICT="nomirror"
|
||||
|
||||
DEPEND="virtual/libc
|
||||
virtual/linux-sources"
|
||||
|
||||
pkg_setup() {
|
||||
# linux-mod inherits linux-info !
|
||||
linux-mod_pkg_setup
|
||||
# check prerequisites for Trustees 3.0:
|
||||
# CONFIG_SECURITY is enabled
|
||||
# kernel is 2.6.XXX
|
||||
linux_chkconfig_builtin "SECURITY" || die "You must have CONFIG_SECURITY built in to use trustees!"
|
||||
if ! kernel_is 2 6; then
|
||||
einfo "Your kernel version is ${KV}!"
|
||||
die "Trustees 3.0 is for kernel 2.6 only!"
|
||||
fi
|
||||
|
||||
# I guess we're OK!
|
||||
MODULE_NAMES="trustees(security:${S}/module)"
|
||||
BUILD_TARGETS="clean all"
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
linux-mod_src_compile
|
||||
cd "${S}/src"
|
||||
make
|
||||
}
|
||||
|
||||
src_install() {
|
||||
linux-mod_src_install
|
||||
dodir /etc
|
||||
dodir /trustees
|
||||
GENTOO_DIR="${WORKDIR}/gentoo-extra"
|
||||
newinitd ${GENTOO_DIR}/trustees-init.d trustees
|
||||
newconfd ${GENTOO_DIR}/trustees-conf.d trustees
|
||||
dodoc README
|
||||
docinto examples
|
||||
dodoc examples/*
|
||||
dodoc ${GENTOO_DIR}/trustees3.conf
|
||||
exeinto /sbin
|
||||
doexe src/settrustees
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
linux-mod_pkg_postinst
|
||||
|
||||
einfo "You need to create /etc/trustees.conf. See examples in"
|
||||
einfo "/usr/share/doc/${PF}/examples. After setting up your config"
|
||||
einfo "file, simply use the initscript to start using trustees:"
|
||||
einfo " /etc/init.d/trustees start"
|
||||
einfo "After starting trustees, if you modify /etc/trustees.conf,"
|
||||
einfo "you need to reload trustees for the changes to take effect:"
|
||||
einfo " /etc/init.d/trustees reload"
|
||||
}
|
||||
|
||||
pkg_prerm() {
|
||||
/etc/init.d/trustees stop
|
||||
# just in case something broke...
|
||||
umount -a -t trusteesfs
|
||||
rmmod trustees
|
||||
}
|
||||
Reference in New Issue
Block a user