diff options
Diffstat (limited to 'sys-apps/baselayout')
-rw-r--r-- | sys-apps/baselayout/baselayout-1.3-r1.ebuild | 106 | ||||
-rw-r--r-- | sys-apps/baselayout/files/pam.d/chfn | 4 | ||||
-rw-r--r-- | sys-apps/baselayout/files/pam.d/chsh | 4 | ||||
-rw-r--r-- | sys-apps/baselayout/files/pam.d/ftp | 7 | ||||
-rw-r--r-- | sys-apps/baselayout/files/pam.d/imap | 2 | ||||
-rw-r--r-- | sys-apps/baselayout/files/pam.d/login | 8 | ||||
-rw-r--r-- | sys-apps/baselayout/files/pam.d/netatalk | 2 | ||||
-rw-r--r-- | sys-apps/baselayout/files/pam.d/other | 6 | ||||
-rw-r--r-- | sys-apps/baselayout/files/pam.d/rexec | 7 | ||||
-rw-r--r-- | sys-apps/baselayout/files/pam.d/rlogin | 8 | ||||
-rw-r--r-- | sys-apps/baselayout/files/pam.d/rsh | 7 | ||||
-rw-r--r-- | sys-apps/baselayout/files/pam.d/samba | 2 | ||||
-rw-r--r-- | sys-apps/baselayout/files/pam.d/su | 6 | ||||
-rw-r--r-- | sys-apps/baselayout/files/pam.d/vlock | 1 | ||||
-rw-r--r-- | sys-apps/baselayout/files/pam.d/xdm | 2 | ||||
-rw-r--r-- | sys-apps/baselayout/files/pam.d/xlock | 1 |
16 files changed, 173 insertions, 0 deletions
diff --git a/sys-apps/baselayout/baselayout-1.3-r1.ebuild b/sys-apps/baselayout/baselayout-1.3-r1.ebuild new file mode 100644 index 000000000000..996347e968c5 --- /dev/null +++ b/sys-apps/baselayout/baselayout-1.3-r1.ebuild @@ -0,0 +1,106 @@ +# Copyright 1999-2000 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License, v2 or later +# Author Achim Gottinger <achim@gentoo.org> +# $Header: /var/cvsroot/gentoo-x86/sys-apps/baselayout/baselayout-1.3-r1.ebuild,v 1.1 2000/11/20 22:16:46 jerry Exp $# Copyright 1999-2000 Gentoo Technologies, Inc. + +A="" +S=${WORKDIR}/${P} +DESCRIPTION="Base layout for Gentoo Linux filesystem (incl. initscripts)" +SRC_URI="" +HOMEPAGE="http://www.gentoo.org" + +src_install() +{ + dodir /boot + dodir /usr/include + dosym /var/log /usr/adm + dosym ../X11R6/include/X11 /usr/include/X11 + dosym ../src/linux/include/linux /usr/include/linux + dosym ../src/linux/include/asm-i386 /usr/include/asm + local foo + for foo in games man lib sbin share bin doc src + do + dodir /usr/local/${foo} + done + doman ${FILESDIR}/MAKEDEV.8 + dodir /usr/lib + dodir /usr/sbin + dosbin ${FILESDIR}/MAKEDEV ${FILESDIR}/run-crons + dodir /dev + dodir /dev/pts + dosym /usr/sbin/MAKEDEV /dev/MAKEDEV + dodir /usr/share /usr/bin/ /usr/doc + dodoc ${FILESDIR}/copyright ${FILESDIR}/changelog.Debian + dodir /usr/X11R6/lib /usr/src/linux/include/linux + dodir /usr/src/linux/include/asm-i386 + dodir /var /var/run /var/log/news + touch ${D}/var/run/utmp + touch ${D}/var/log/wtmp + dodir /var/lib/locate /var/lib/pkg /var/spool + dodir /root /opt /home/ftp /etc/modules /proc + chmod go-rx ${D}/root + dodir /tmp + chmod 1777 ${D}/tmp + insopts -m0644 + insinto /etc + for foo in services passwd shadow nsswitch.conf inetd.conf ld.so.conf protocols fstab hosts syslog.conf pwdb.conf filesystems group profile crontab + do + doins ${FILESDIR}/${foo} + done + for foo in hourly daily weekly monthly + do + dodir /etc/cron.$foo + done + chmod go-rwx ${D}/etc/shadow + dodir /dev/pts /lib /proc /mnt/floppy /mnt/cdrom + chmod go-rwx ${D}/mnt/floppy ${D}/mnt/cdrom + + for x in boot halt 1 2 3 4 5 + do + dodir /etc/rc.d/rc${x}.d + done + dosym rcboot.d /etc/rc.d/rc0.d + dosym rchalt.d /etc/rc.d/rc6.d + + dodir /etc/pam.d + cd ${FILESDIR}/pam.d + insinto /etc/pam.d + doins * + dodir /etc/rc.d/init.d + dodir /etc/rc.d/config + cd ${FILESDIR}/rc.d/init.d + exeinto /etc/rc.d/init.d + doexe * + insinto /etc/rc.d/init.d/extra_scripts + cd ${FILESDIR}/rc.d/config + insinto /etc/rc.d/config + doins * + doins runlevels + cd ${FILESDIR} + insinto /etc + doins inittab + into /usr + dosbin rc-update + insinto /usr/bin + insopts -m0755 + doins colors + dodir /dev + cd ${D}/dev + MAKEDEV generic-i386 + MAKEDEV sg + MAKEDEV scd + MAKEDEV rtc + dodoc README.newusers blurb.txt + cd ${D}/etc/rc.d/config + cp runlevels runlevels.orig + sed -e 's:##OSNAME##:Gentoo Linux:g' -e 's:##ARCH##:i686a:g' runlevels.orig > runlevels + rm runlevels.orig +} + + + + + + + + diff --git a/sys-apps/baselayout/files/pam.d/chfn b/sys-apps/baselayout/files/pam.d/chfn new file mode 100644 index 000000000000..75ae8a1f6c1e --- /dev/null +++ b/sys-apps/baselayout/files/pam.d/chfn @@ -0,0 +1,4 @@ +auth required pam_pwdb.so +account required pam_pwdb.so +password required pam_cracklib.so retry=3 +password required pam_pwdb.so shadow md5 use_authtok diff --git a/sys-apps/baselayout/files/pam.d/chsh b/sys-apps/baselayout/files/pam.d/chsh new file mode 100644 index 000000000000..75ae8a1f6c1e --- /dev/null +++ b/sys-apps/baselayout/files/pam.d/chsh @@ -0,0 +1,4 @@ +auth required pam_pwdb.so +account required pam_pwdb.so +password required pam_cracklib.so retry=3 +password required pam_pwdb.so shadow md5 use_authtok diff --git a/sys-apps/baselayout/files/pam.d/ftp b/sys-apps/baselayout/files/pam.d/ftp new file mode 100644 index 000000000000..17f119801048 --- /dev/null +++ b/sys-apps/baselayout/files/pam.d/ftp @@ -0,0 +1,7 @@ +auth requisite pam_listfile.so \ + item=user sense=deny file=/etc/ftpusers onerr=succeed +auth requisite pam_shells.so +#auth required pam_mysql.so user=root passwd=123 db=pam table=user +auth required pam_pwdb.so +account required pam_pwdb.so +session required pam_pwdb.so diff --git a/sys-apps/baselayout/files/pam.d/imap b/sys-apps/baselayout/files/pam.d/imap new file mode 100644 index 000000000000..29a59206fd5f --- /dev/null +++ b/sys-apps/baselayout/files/pam.d/imap @@ -0,0 +1,2 @@ +auth required pam_pwdb.so +account required pam_pwdb.so diff --git a/sys-apps/baselayout/files/pam.d/login b/sys-apps/baselayout/files/pam.d/login new file mode 100644 index 000000000000..74ef50905835 --- /dev/null +++ b/sys-apps/baselayout/files/pam.d/login @@ -0,0 +1,8 @@ +auth requisite pam_securetty.so +auth required pam_pwdb.so +auth optional pam_group.so +account requisite pam_time.so +account required pam_pwdb.so +password required pam_cracklib.so retry=3 +password required pam_pwdb.so shadow +session required pam_pwdb.so diff --git a/sys-apps/baselayout/files/pam.d/netatalk b/sys-apps/baselayout/files/pam.d/netatalk new file mode 100644 index 000000000000..29a59206fd5f --- /dev/null +++ b/sys-apps/baselayout/files/pam.d/netatalk @@ -0,0 +1,2 @@ +auth required pam_pwdb.so +account required pam_pwdb.so diff --git a/sys-apps/baselayout/files/pam.d/other b/sys-apps/baselayout/files/pam.d/other new file mode 100644 index 000000000000..d8b992503b9c --- /dev/null +++ b/sys-apps/baselayout/files/pam.d/other @@ -0,0 +1,6 @@ +auth required pam_deny.so +auth required pam_warn.so +account required pam_deny.so +password required pam_deny.so +password required pam_warn.so +session required pam_deny.so diff --git a/sys-apps/baselayout/files/pam.d/rexec b/sys-apps/baselayout/files/pam.d/rexec new file mode 100644 index 000000000000..08f4948797ba --- /dev/null +++ b/sys-apps/baselayout/files/pam.d/rexec @@ -0,0 +1,7 @@ +auth requisite pam_securetty.so +auth requisite pam_nologin.so +auth sufficient pam_rhosts_auth.so +auth required pam_pwdb.so +account required pam_pwdb.so +session required pam_pwdb.so +session required pam_limits.so diff --git a/sys-apps/baselayout/files/pam.d/rlogin b/sys-apps/baselayout/files/pam.d/rlogin new file mode 100644 index 000000000000..e31a0bf2ef8c --- /dev/null +++ b/sys-apps/baselayout/files/pam.d/rlogin @@ -0,0 +1,8 @@ +auth requisite pam_securetty.so +auth requisite pam_nologin.so +auth required pam_rhosts_auth.so +account required pam_pwdb.so +password required pam_cracklib.so retry=3 +password required pam_pwdb.so shadow md5 use_authtok +session required pam_pwdb.so +session required pam_limits.so diff --git a/sys-apps/baselayout/files/pam.d/rsh b/sys-apps/baselayout/files/pam.d/rsh new file mode 100644 index 000000000000..08f4948797ba --- /dev/null +++ b/sys-apps/baselayout/files/pam.d/rsh @@ -0,0 +1,7 @@ +auth requisite pam_securetty.so +auth requisite pam_nologin.so +auth sufficient pam_rhosts_auth.so +auth required pam_pwdb.so +account required pam_pwdb.so +session required pam_pwdb.so +session required pam_limits.so diff --git a/sys-apps/baselayout/files/pam.d/samba b/sys-apps/baselayout/files/pam.d/samba new file mode 100644 index 000000000000..29a59206fd5f --- /dev/null +++ b/sys-apps/baselayout/files/pam.d/samba @@ -0,0 +1,2 @@ +auth required pam_pwdb.so +account required pam_pwdb.so diff --git a/sys-apps/baselayout/files/pam.d/su b/sys-apps/baselayout/files/pam.d/su new file mode 100644 index 000000000000..0c6ba71f921d --- /dev/null +++ b/sys-apps/baselayout/files/pam.d/su @@ -0,0 +1,6 @@ +auth required pam_wheel.so use_uid +auth sufficient pam_rootok.so +auth required pam_pwdb.so nullok +account required pam_pwdb.so +password required pam_pwdb.so +session required pam_pwdb.so debug diff --git a/sys-apps/baselayout/files/pam.d/vlock b/sys-apps/baselayout/files/pam.d/vlock new file mode 100644 index 000000000000..e771b212c8ed --- /dev/null +++ b/sys-apps/baselayout/files/pam.d/vlock @@ -0,0 +1 @@ +auth required pam_pwdb.so diff --git a/sys-apps/baselayout/files/pam.d/xdm b/sys-apps/baselayout/files/pam.d/xdm new file mode 100644 index 000000000000..29a59206fd5f --- /dev/null +++ b/sys-apps/baselayout/files/pam.d/xdm @@ -0,0 +1,2 @@ +auth required pam_pwdb.so +account required pam_pwdb.so diff --git a/sys-apps/baselayout/files/pam.d/xlock b/sys-apps/baselayout/files/pam.d/xlock new file mode 100644 index 000000000000..e771b212c8ed --- /dev/null +++ b/sys-apps/baselayout/files/pam.d/xlock @@ -0,0 +1 @@ +auth required pam_pwdb.so |