summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authororchidman <lesibel@free.fr>2012-01-01 01:51:15 +0100
committerorchidman <lesibel@free.fr>2012-01-01 01:51:15 +0100
commita9d655be69c75e57ba2735b654f10ca9159d8077 (patch)
treef21838885e846205bc059977d38436e5d1e242eb
parent9ce23d03e7e99c31651e926ad0761c7b742806df (diff)
parenta9237573feb9d946b057b5c8f357543a6cc745d5 (diff)
downloadnutyx-pakxe-a9d655be69c75e57ba2735b654f10ca9159d8077.tar.gz
nutyx-pakxe-a9d655be69c75e57ba2735b654f10ca9159d8077.tar.bz2
nutyx-pakxe-a9d655be69c75e57ba2735b654f10ca9159d8077.tar.xz
nutyx-pakxe-a9d655be69c75e57ba2735b654f10ca9159d8077.zip
Merge branch 'master' of ssh://kiao.no-ip.info:443/~/pakxe
-rw-r--r--base/dev/Pkgfile6
-rw-r--r--base/pkg-get/.footprint.i68612
-rw-r--r--base/pkg-get/.footprint.x86_6412
-rw-r--r--base/pkg-get/.md5sum.i6866
-rw-r--r--base/pkg-get/.md5sum.x86_646
-rw-r--r--base/pkg-get/Pkgfile31
-rw-r--r--base/pkg-get/syn7
-rw-r--r--base/prt-get/.md5sum.i6862
-rw-r--r--base/prt-get/.md5sum.x86_642
-rw-r--r--base/prt-get/Pkgfile2
-rw-r--r--base/prt-get/prt-get.conf3
-rw-r--r--base/shadow/.footprint.i68627
-rw-r--r--base/shadow/.footprint.x86_6427
-rwxr-xr-xbase/shadow/Pkgfile79
14 files changed, 51 insertions, 171 deletions
diff --git a/base/dev/Pkgfile b/base/dev/Pkgfile
index 310c7b36e..f4d29d60b 100644
--- a/base/dev/Pkgfile
+++ b/base/dev/Pkgfile
@@ -1,13 +1,13 @@
# Description: Ce paquet installe tous les outils necessaires à la compilation
# URL: www.nutyx.org
# Maintainer: tnut at nutyx dot com
-# Depends on: jdk,cmake,git,spice-protocol,xorg-xcb-proto,xorg-xproto,xorg-xf86bigfontproto,xorg-kbproto,xorg-inputproto,xorg-renderproto,xorg-fixesproto,xorg-damageproto,xorg-randrproto,xorg-xineramaproto,xorg-xf86miscproto,xorg-xcmiscproto,xorg-bigreqsproto,xorg-glproto,xorg-dri2proto,xorg-xf86vidmodeproto,xorg-fontsproto,xorg-xf86driproto,xorg-recordproto,xorg-dmxproto,xorg-videoproto,xorg-resourceproto,xorg-compositeproto,xorg-xf86dgaproto,xorg-scrnsaverproto,xorg-printproto,xorg-xextproto
-# Run on: jdk,cmake,git,spice-protocol,xorg-xcb-proto,xorg-xproto,xorg-xf86bigfontproto,xorg-kbproto,xorg-inputproto,xorg-renderproto,xorg-fixesproto,xorg-damageproto,xorg-randrproto,xorg-xineramaproto,xorg-xf86miscproto,xorg-xcmiscproto,xorg-bigreqsproto,xorg-glproto,xorg-dri2proto,xorg-xf86vidmodeproto,xorg-fontsproto,xorg-xf86driproto,xorg-recordproto,xorg-dmxproto,xorg-videoproto,xorg-resourceproto,xorg-compositeproto,xorg-xf86dgaproto,xorg-scrnsaverproto,xorg-printproto,xorg-xextproto
+# Depends on: ports,prt-get,jdk,cmake,git,spice-protocol,xorg-xcb-proto,xorg-xproto,xorg-xf86bigfontproto,xorg-kbproto,xorg-inputproto,xorg-renderproto,xorg-fixesproto,xorg-damageproto,xorg-randrproto,xorg-xineramaproto,xorg-xf86miscproto,xorg-xcmiscproto,xorg-bigreqsproto,xorg-glproto,xorg-dri2proto,xorg-xf86vidmodeproto,xorg-fontsproto,xorg-xf86driproto,xorg-recordproto,xorg-dmxproto,xorg-videoproto,xorg-resourceproto,xorg-compositeproto,xorg-xf86dgaproto,xorg-scrnsaverproto,xorg-printproto,xorg-xextproto
+# Run on: ports,prt-get,jdk,cmake,git,spice-protocol,xorg-xcb-proto,xorg-xproto,xorg-xf86bigfontproto,xorg-kbproto,xorg-inputproto,xorg-renderproto,xorg-fixesproto,xorg-damageproto,xorg-randrproto,xorg-xineramaproto,xorg-xf86miscproto,xorg-xcmiscproto,xorg-bigreqsproto,xorg-glproto,xorg-dri2proto,xorg-xf86vidmodeproto,xorg-fontsproto,xorg-xf86driproto,xorg-recordproto,xorg-dmxproto,xorg-videoproto,xorg-resourceproto,xorg-compositeproto,xorg-xf86dgaproto,xorg-scrnsaverproto,xorg-printproto,xorg-xextproto
name=dev
version=1
-release=0
+release=1
source=()
build() {
mkdir $PKG/usr
diff --git a/base/pkg-get/.footprint.i686 b/base/pkg-get/.footprint.i686
index c40474feb..a7cdc34c6 100644
--- a/base/pkg-get/.footprint.i686
+++ b/base/pkg-get/.footprint.i686
@@ -1,13 +1,11 @@
drwxr-xr-x root/root etc/
--rw-rw-r-- root/root etc/pkg-get-awk.conf
-lrwxrwxrwx root/root etc/pkg-get.conf -> pkg-get-awk.conf
+-rwxr-xr-x root/root etc/pkg-get.conf
drwxr-xr-x root/root usr/
drwxr-xr-x root/root usr/bin/
-lrwxrwxrwx root/root usr/bin/pkg-get -> pkg-get.awk
--rwxr-xr-x root/root usr/bin/pkg-get.awk
+-rwxr-xr-x root/root usr/bin/pkg-get
-rwxr-xr-x root/root usr/bin/syn
drwxr-xr-x root/root usr/share/
drwxr-xr-x root/root usr/share/locale/
-drwxr-xr-x root/root usr/share/locale/en/
-drwxr-xr-x root/root usr/share/locale/en/LC_MESSAGES/
--rw-r--r-- root/root usr/share/locale/en/LC_MESSAGES/pkg-get.mo
+drwxr-xr-x root/root usr/share/locale/fr/
+drwxr-xr-x root/root usr/share/locale/fr/LC_MESSAGES/
+-rw-r--r-- root/root usr/share/locale/fr/LC_MESSAGES/pkg-get.mo
diff --git a/base/pkg-get/.footprint.x86_64 b/base/pkg-get/.footprint.x86_64
index c40474feb..a7cdc34c6 100644
--- a/base/pkg-get/.footprint.x86_64
+++ b/base/pkg-get/.footprint.x86_64
@@ -1,13 +1,11 @@
drwxr-xr-x root/root etc/
--rw-rw-r-- root/root etc/pkg-get-awk.conf
-lrwxrwxrwx root/root etc/pkg-get.conf -> pkg-get-awk.conf
+-rwxr-xr-x root/root etc/pkg-get.conf
drwxr-xr-x root/root usr/
drwxr-xr-x root/root usr/bin/
-lrwxrwxrwx root/root usr/bin/pkg-get -> pkg-get.awk
--rwxr-xr-x root/root usr/bin/pkg-get.awk
+-rwxr-xr-x root/root usr/bin/pkg-get
-rwxr-xr-x root/root usr/bin/syn
drwxr-xr-x root/root usr/share/
drwxr-xr-x root/root usr/share/locale/
-drwxr-xr-x root/root usr/share/locale/en/
-drwxr-xr-x root/root usr/share/locale/en/LC_MESSAGES/
--rw-r--r-- root/root usr/share/locale/en/LC_MESSAGES/pkg-get.mo
+drwxr-xr-x root/root usr/share/locale/fr/
+drwxr-xr-x root/root usr/share/locale/fr/LC_MESSAGES/
+-rw-r--r-- root/root usr/share/locale/fr/LC_MESSAGES/pkg-get.mo
diff --git a/base/pkg-get/.md5sum.i686 b/base/pkg-get/.md5sum.i686
index 5f7021b76..2f4c516c3 100644
--- a/base/pkg-get/.md5sum.i686
+++ b/base/pkg-get/.md5sum.i686
@@ -1,4 +1,2 @@
-f6315a1706ee8cee7dcd4b63b520a37a pkg-get-awk.conf
-c594d6ef62e81a176398d1c0cfd41e5d pkg-get.awk
-bf4713f8f6976dd4d2d860fe6b4b03d0 pkg-get.po
-4d89f89107b269e1579a7e4a440eddb1 syn
+5500e0bc02c7ea34f50d7a5aaac3e242 pkg-get-0.3.91.tar.gz
+4b2308a5898180c997380228c0dc893b syn
diff --git a/base/pkg-get/.md5sum.x86_64 b/base/pkg-get/.md5sum.x86_64
index 5f7021b76..2f4c516c3 100644
--- a/base/pkg-get/.md5sum.x86_64
+++ b/base/pkg-get/.md5sum.x86_64
@@ -1,4 +1,2 @@
-f6315a1706ee8cee7dcd4b63b520a37a pkg-get-awk.conf
-c594d6ef62e81a176398d1c0cfd41e5d pkg-get.awk
-bf4713f8f6976dd4d2d860fe6b4b03d0 pkg-get.po
-4d89f89107b269e1579a7e4a440eddb1 syn
+5500e0bc02c7ea34f50d7a5aaac3e242 pkg-get-0.3.91.tar.gz
+4b2308a5898180c997380228c0dc893b syn
diff --git a/base/pkg-get/Pkgfile b/base/pkg-get/Pkgfile
index b2b88119e..b6e9d1cc4 100644
--- a/base/pkg-get/Pkgfile
+++ b/base/pkg-get/Pkgfile
@@ -1,25 +1,20 @@
# Description: Un gestionnaire de paquets binaires pour NuTyX léger et rapide
# URL: http://www.nutyx.org
# Maintainer: NuTyX core team
-# Packager: guy_
+# Packager: tnut at nutyx dot com
+# Depends on: curl
name=pkg-get
-version=0.3.5
-release=3
-source=(syn pkg-get.awk pkg-get-awk.conf pkg-get.po)
+version=0.3.91
+release=2
+source=(http://nutyx.meticul.eu/files/$name-$version.tar.gz \
+ syn)
-PKGMK_KEEP_LOCALES=yes
-
-build() {
- msgfmt pkg-get.po -o pkg-get.mo
- mkdir -p $PKG/usr/bin
- install -m 755 pkg-get.awk $PKG/usr/bin
- install -m 755 syn $PKG/usr/bin/syn
- ln -s pkg-get.awk $PKG/usr/bin/pkg-get
- mkdir -p $PKG/etc
- install -m 664 pkg-get-awk.conf $PKG/etc
- sed -i "s/uname-m/`uname -m`/g" $PKG/etc/pkg-get-awk.conf
- ln -s pkg-get-awk.conf $PKG/etc/pkg-get.conf
- mkdir -p $PKG/usr/share/locale/en/LC_MESSAGES
- install -m 644 pkg-get.mo $PKG/usr/share/locale/en/LC_MESSAGES
+build()
+{
+ cd $name-$version
+ make
+ make DESTDIR=$PKG install
+ sed -i "s/uname-m/`uname -m`/g" $PKG/etc/pkg-get.conf
+ install -m 755 ../syn $PKG/usr/bin/syn
}
diff --git a/base/pkg-get/syn b/base/pkg-get/syn
index 95284d529..68a38c4b2 100644
--- a/base/pkg-get/syn
+++ b/base/pkg-get/syn
@@ -25,13 +25,6 @@ fi
if ! mountpoint /media/cdrom > /dev/null; then
find_cd
fi
-for i in `cat /etc/pkg-get.conf |grep -v ^#|grep http|cut -d "|" -f 1|cut -d" " -f2|cut -d"/" -f4`
-do
- if [ -a $Depot/$i ]; then
- rm -r $Depot/$i
- fi
- mkdir -p $Depot/$i
-done
pkg-get sync
for i in `cat /etc/pkg-get.conf |grep -v ^#|grep http|cut -d "|" -f 1|cut -d" " -f2|cut -d"/" -f4`
do
diff --git a/base/prt-get/.md5sum.i686 b/base/prt-get/.md5sum.i686
index 81d245992..271244277 100644
--- a/base/prt-get/.md5sum.i686
+++ b/base/prt-get/.md5sum.i686
@@ -1,4 +1,4 @@
d0abf2a28823f9527c36832d5cbb8257 prt-get-5.18.tar.gz
84bd5457f322042c96a25836584485b2 prt-get.aliases
-88c9d97e76c565d2d1c5bbe1a1baf9d3 prt-get.conf
+e2e4aa220afb2c9fcef6db3b0ef6ef04 prt-get.conf
b4eeea27244550754219801bcf29c5e3 prt-get.diff
diff --git a/base/prt-get/.md5sum.x86_64 b/base/prt-get/.md5sum.x86_64
index 81d245992..271244277 100644
--- a/base/prt-get/.md5sum.x86_64
+++ b/base/prt-get/.md5sum.x86_64
@@ -1,4 +1,4 @@
d0abf2a28823f9527c36832d5cbb8257 prt-get-5.18.tar.gz
84bd5457f322042c96a25836584485b2 prt-get.aliases
-88c9d97e76c565d2d1c5bbe1a1baf9d3 prt-get.conf
+e2e4aa220afb2c9fcef6db3b0ef6ef04 prt-get.conf
b4eeea27244550754219801bcf29c5e3 prt-get.diff
diff --git a/base/prt-get/Pkgfile b/base/prt-get/Pkgfile
index 852197118..7467e0647 100644
--- a/base/prt-get/Pkgfile
+++ b/base/prt-get/Pkgfile
@@ -5,7 +5,7 @@
name=prt-get
version=5.18
-release=4
+release=5
source=(http://jw.smts.ch/files/crux/prt-get-$version.tar.gz
prt-get.diff prt-get.conf prt-get.aliases)
diff --git a/base/prt-get/prt-get.conf b/base/prt-get/prt-get.conf
index 8e335b91f..72b8c2898 100644
--- a/base/prt-get/prt-get.conf
+++ b/base/prt-get/prt-get.conf
@@ -4,10 +4,7 @@
# note: L'ordre importe: Le premier paquet qui sera trouvé, sera utilisé
prtdir /usr/ports/base
-prtdir /usr/ports/xorg
prtdir /usr/ports/extra
-prtdir /usr/ports/xfce
-prtdir /usr/ports/kde
### Utiliser mypackage d'un dossier locale
# prtdir /home/packages/build:mypackage
diff --git a/base/shadow/.footprint.i686 b/base/shadow/.footprint.i686
index a531daf28..e36f2a35c 100644
--- a/base/shadow/.footprint.i686
+++ b/base/shadow/.footprint.i686
@@ -3,25 +3,9 @@ drwxr-xr-x root/root bin/
-rwsr-xr-x root/root bin/passwd
-rwsr-xr-x root/root bin/su
drwxr-xr-x root/root etc/
+-rw-r--r-- root/root etc/limits
+-rw-r--r-- root/root etc/login.access
-rw-r--r-- root/root etc/login.defs
--rw-r--r-- root/root etc/login.defs.orig
-drwxr-xr-x root/root etc/pam.d/
--rw-r--r-- root/root etc/pam.d/chage
--rw-r--r-- root/root etc/pam.d/chfn
--rw-r--r-- root/root etc/pam.d/chgpasswd
--rw-r--r-- root/root etc/pam.d/chpasswd
--rw-r--r-- root/root etc/pam.d/chsh
--rw-r--r-- root/root etc/pam.d/groupadd
--rw-r--r-- root/root etc/pam.d/groupdel
--rw-r--r-- root/root etc/pam.d/groupmems
--rw-r--r-- root/root etc/pam.d/groupmod
--rw-r--r-- root/root etc/pam.d/login
--rw-r--r-- root/root etc/pam.d/newusers
--rw-r--r-- root/root etc/pam.d/passwd
--rw-r--r-- root/root etc/pam.d/su
--rw-r--r-- root/root etc/pam.d/useradd
--rw-r--r-- root/root etc/pam.d/userdel
--rw-r--r-- root/root etc/pam.d/usermod
drwxr-xr-x root/root sbin/
-rwxr-xr-x root/root sbin/nologin
drwxr-xr-x root/root usr/
@@ -36,7 +20,6 @@ drwxr-xr-x root/root usr/bin/
-rwsr-xr-x root/root usr/bin/newgrp
lrwxrwxrwx root/root usr/bin/sg -> newgrp
drwxr-xr-x root/root usr/lib/
-lrwxrwxrwx root/root usr/lib/libshadow.so -> ../../lib/libshadow.so.0
drwxr-xr-x root/root usr/sbin/
-rwxr-xr-x root/root usr/sbin/chgpasswd
-rwxr-xr-x root/root usr/sbin/chpasswd
@@ -81,8 +64,11 @@ drwxr-xr-x root/root usr/share/man/fr/man3/
drwxr-xr-x root/root usr/share/man/fr/man5/
-rw-r--r-- root/root usr/share/man/fr/man5/faillog.5.gz
-rw-r--r-- root/root usr/share/man/fr/man5/gshadow.5.gz
+-rw-r--r-- root/root usr/share/man/fr/man5/limits.5.gz
+-rw-r--r-- root/root usr/share/man/fr/man5/login.access.5.gz
-rw-r--r-- root/root usr/share/man/fr/man5/login.defs.5.gz
-rw-r--r-- root/root usr/share/man/fr/man5/passwd.5.gz
+-rw-r--r-- root/root usr/share/man/fr/man5/porttime.5.gz
-rw-r--r-- root/root usr/share/man/fr/man5/shadow.5.gz
-rw-r--r-- root/root usr/share/man/fr/man5/suauth.5.gz
drwxr-xr-x root/root usr/share/man/fr/man8/
@@ -122,8 +108,11 @@ drwxr-xr-x root/root usr/share/man/man3/
drwxr-xr-x root/root usr/share/man/man5/
-rw-r--r-- root/root usr/share/man/man5/faillog.5.gz
-rw-r--r-- root/root usr/share/man/man5/gshadow.5.gz
+-rw-r--r-- root/root usr/share/man/man5/limits.5.gz
+-rw-r--r-- root/root usr/share/man/man5/login.access.5.gz
-rw-r--r-- root/root usr/share/man/man5/login.defs.5.gz
-rw-r--r-- root/root usr/share/man/man5/passwd.5.gz
+-rw-r--r-- root/root usr/share/man/man5/porttime.5.gz
-rw-r--r-- root/root usr/share/man/man5/shadow.5.gz
-rw-r--r-- root/root usr/share/man/man5/suauth.5.gz
drwxr-xr-x root/root usr/share/man/man8/
diff --git a/base/shadow/.footprint.x86_64 b/base/shadow/.footprint.x86_64
index a531daf28..e36f2a35c 100644
--- a/base/shadow/.footprint.x86_64
+++ b/base/shadow/.footprint.x86_64
@@ -3,25 +3,9 @@ drwxr-xr-x root/root bin/
-rwsr-xr-x root/root bin/passwd
-rwsr-xr-x root/root bin/su
drwxr-xr-x root/root etc/
+-rw-r--r-- root/root etc/limits
+-rw-r--r-- root/root etc/login.access
-rw-r--r-- root/root etc/login.defs
--rw-r--r-- root/root etc/login.defs.orig
-drwxr-xr-x root/root etc/pam.d/
--rw-r--r-- root/root etc/pam.d/chage
--rw-r--r-- root/root etc/pam.d/chfn
--rw-r--r-- root/root etc/pam.d/chgpasswd
--rw-r--r-- root/root etc/pam.d/chpasswd
--rw-r--r-- root/root etc/pam.d/chsh
--rw-r--r-- root/root etc/pam.d/groupadd
--rw-r--r-- root/root etc/pam.d/groupdel
--rw-r--r-- root/root etc/pam.d/groupmems
--rw-r--r-- root/root etc/pam.d/groupmod
--rw-r--r-- root/root etc/pam.d/login
--rw-r--r-- root/root etc/pam.d/newusers
--rw-r--r-- root/root etc/pam.d/passwd
--rw-r--r-- root/root etc/pam.d/su
--rw-r--r-- root/root etc/pam.d/useradd
--rw-r--r-- root/root etc/pam.d/userdel
--rw-r--r-- root/root etc/pam.d/usermod
drwxr-xr-x root/root sbin/
-rwxr-xr-x root/root sbin/nologin
drwxr-xr-x root/root usr/
@@ -36,7 +20,6 @@ drwxr-xr-x root/root usr/bin/
-rwsr-xr-x root/root usr/bin/newgrp
lrwxrwxrwx root/root usr/bin/sg -> newgrp
drwxr-xr-x root/root usr/lib/
-lrwxrwxrwx root/root usr/lib/libshadow.so -> ../../lib/libshadow.so.0
drwxr-xr-x root/root usr/sbin/
-rwxr-xr-x root/root usr/sbin/chgpasswd
-rwxr-xr-x root/root usr/sbin/chpasswd
@@ -81,8 +64,11 @@ drwxr-xr-x root/root usr/share/man/fr/man3/
drwxr-xr-x root/root usr/share/man/fr/man5/
-rw-r--r-- root/root usr/share/man/fr/man5/faillog.5.gz
-rw-r--r-- root/root usr/share/man/fr/man5/gshadow.5.gz
+-rw-r--r-- root/root usr/share/man/fr/man5/limits.5.gz
+-rw-r--r-- root/root usr/share/man/fr/man5/login.access.5.gz
-rw-r--r-- root/root usr/share/man/fr/man5/login.defs.5.gz
-rw-r--r-- root/root usr/share/man/fr/man5/passwd.5.gz
+-rw-r--r-- root/root usr/share/man/fr/man5/porttime.5.gz
-rw-r--r-- root/root usr/share/man/fr/man5/shadow.5.gz
-rw-r--r-- root/root usr/share/man/fr/man5/suauth.5.gz
drwxr-xr-x root/root usr/share/man/fr/man8/
@@ -122,8 +108,11 @@ drwxr-xr-x root/root usr/share/man/man3/
drwxr-xr-x root/root usr/share/man/man5/
-rw-r--r-- root/root usr/share/man/man5/faillog.5.gz
-rw-r--r-- root/root usr/share/man/man5/gshadow.5.gz
+-rw-r--r-- root/root usr/share/man/man5/limits.5.gz
+-rw-r--r-- root/root usr/share/man/man5/login.access.5.gz
-rw-r--r-- root/root usr/share/man/man5/login.defs.5.gz
-rw-r--r-- root/root usr/share/man/man5/passwd.5.gz
+-rw-r--r-- root/root usr/share/man/man5/porttime.5.gz
-rw-r--r-- root/root usr/share/man/man5/shadow.5.gz
-rw-r--r-- root/root usr/share/man/man5/suauth.5.gz
drwxr-xr-x root/root usr/share/man/man8/
diff --git a/base/shadow/Pkgfile b/base/shadow/Pkgfile
index 0444a845f..55a61bc0d 100755
--- a/base/shadow/Pkgfile
+++ b/base/shadow/Pkgfile
@@ -7,7 +7,7 @@
name=shadow
version=4.1.4.3
-release=2
+release=3
source=( http://pkg-shadow.alioth.debian.org/releases/$name-$version.tar.bz2\
)
@@ -26,7 +26,7 @@ sed -i 's/man_MANS = $(man_nopam) /man_MANS = /' man/ru/Makefile.in
sed -i -e 's@#ENCRYPT_METHOD DES@ENCRYPT_METHOD SHA512@' \
-e 's@/var/spool/mail@/var/mail@' etc/login.defs
-./configure --sysconfdir=/etc
+./configure --sysconfdir=/etc --without-libpam
make
make DESTDIR=$PKG install
for i in de cs fi id hu ja it ko pl ru sv tr pt_BR zh_CN zh_TW
@@ -36,79 +36,4 @@ done
rm -rf $PKG/etc/default
mkdir $PKG/usr/lib
mv -v $PKG/usr/bin/passwd $PKG/bin
-
-
-if (pkginfo -i |grep linux-pam > /dev/null) then
-
- ln -sfv ../../lib/libshadow.so.0 $PKG/usr/lib/libshadow.so
- cp $PKG/etc/{login.defs,login.defs.orig}
-for FUNCTION in LASTLOG_ENAB MAIL_CHECK_ENAB \
- PORTTIME_CHECKS_ENAB CONSOLE \
- MOTD_FILE NOLOGINS_FILE PASS_MIN_LEN \
- SU_WHEEL_ONLY MD5_CRYPT_ENAB \
- CONSOLE_GROUPS ENVIRON_FILE \
- ULIMIT ENV_TZ ENV_HZ ENV_SUPATH \
- ENV_PATH QMAIL_DIR MAIL_DIR MAIL_FILE \
- CHFN_AUTH FAILLOG_ENAB QUOTAS_ENAB FTMP_FILE \
- OBSCURE_CHECKS_ENAB CRACKLIB_DICTPATH \
- PASS_CHANGE_TRIES PASS_ALWAYS_WARN ISSUE_FILE
-do
- sed -i "s/^$FUNCTION/# &/" $PKG/etc/login.defs
-done
- cat > $PKG/etc/pam.d/login << "EOF"
-# Begin /etc/pam.d/login
-
-auth requisite pam_nologin.so
-auth required pam_securetty.so
-auth required pam_env.so
-auth required pam_unix.so
-account required pam_access.so
-account required pam_unix.so
-session required pam_motd.so
-session required pam_limits.so
-session optional pam_mail.so dir=/var/mail standard
-session optional pam_lastlog.so
-session required pam_unix.so
-password required pam_unix.so md5 shadow
-
-# End /etc/pam.d/login
-EOF
-cat > $PKG/etc/pam.d/passwd << "EOF"
-# Begin /etc/pam.d/passwd
-
-password required pam_unix.so md5 shadow
-
-# End /etc/pam.d/passwd
-EOF
-cat > $PKG/etc/pam.d/su << "EOF"
-# Begin /etc/pam.d/su
-
-auth sufficient pam_rootok.so
-auth required pam_unix.so
-account required pam_unix.so
-session optional pam_mail.so dir=/var/mail standard
-session optional pam_xauth.so
-session required pam_env.so
-session required pam_unix.so
-
-# End /etc/pam.d/su
-EOF
-cat > $PKG/etc/pam.d/chage << "EOF"
-# Begin /etc/pam.d/chage
-
-auth sufficient pam_rootok.so
-auth required pam_unix.so
-account required pam_unix.so
-session required pam_unix.so
-password required pam_permit.so
-
-# End /etc/pam.d/chage
-EOF
- for PROGRAM in chpasswd chgpasswd groupadd groupdel groupmems \
- groupmod newusers useradd userdel usermod
- do
- install -v -m644 $PKG/etc/pam.d/chage $PKG/etc/pam.d/$PROGRAM
- sed -i "s/chage/$PROGRAM/" $PKG/etc/pam.d/$PROGRAM
- done
-fi
}