summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLukc <lukc@upyum.com>2010-12-11 20:35:17 +0100
committerLukc <lukc@upyum.com>2010-12-11 20:35:17 +0100
commitff9a1469c0aa655c5573a3921ffaee37e4ecde2a (patch)
tree1a116aa9470d717e4880c1eec7544d7d8cc01bed
parenta839f40ceafb5f799a4ddfd89e608a48fc3cfc14 (diff)
downloadbase-ff9a1469c0aa655c5573a3921ffaee37e4ecde2a.tar.gz
base-ff9a1469c0aa655c5573a3921ffaee37e4ecde2a.tar.bz2
base-ff9a1469c0aa655c5573a3921ffaee37e4ecde2a.tar.xz
base-ff9a1469c0aa655c5573a3921ffaee37e4ecde2a.zip
Recette de filesystem mise ? jour.
-rw-r--r--filesystem/.footprint28
-rw-r--r--filesystem/.sha256sum9
-rw-r--r--filesystem/Pkgfile121
3 files changed, 85 insertions, 73 deletions
diff --git a/filesystem/.footprint b/filesystem/.footprint
index c488bbd..084e071 100644
--- a/filesystem/.footprint
+++ b/filesystem/.footprint
@@ -1,14 +1,14 @@
drwxr-xr-x root/root bin/
drwxr-xr-x root/root boot/
drwxr-xr-x root/root dev/
-crw------- root/root dev/console (5, 1)
+crw------- root/root dev/console
drwxr-xr-x root/root etc/
-rw-r--r-- root/root etc/fstab
-rw-r--r-- root/root etc/group
-rw-r--r-- root/root etc/issue
-rw-r--r-- root/root etc/mime.types
--rw-r--r-- root/root etc/motd (EMPTY)
--rw-r--r-- root/root etc/mtab (EMPTY)
+-rw-r--r-- root/root etc/motd
+-rw-r--r-- root/root etc/mtab
-rw-r--r-- root/root etc/passwd
-rw-r--r-- root/root etc/securetty
-rw-r----- root/root etc/shadow
@@ -30,19 +30,19 @@ drwxr-xr-x root/root usr/bin/
-rwxr-xr-x root/root usr/bin/crux
drwxr-xr-x root/root usr/include/
drwxr-xr-x root/root usr/lib/
-drwxr-xr-x root/root usr/man/
-drwxr-xr-x root/root usr/man/man1/
-drwxr-xr-x root/root usr/man/man2/
-drwxr-xr-x root/root usr/man/man3/
-drwxr-xr-x root/root usr/man/man4/
-drwxr-xr-x root/root usr/man/man5/
-drwxr-xr-x root/root usr/man/man6/
-drwxr-xr-x root/root usr/man/man7/
-drwxr-xr-x root/root usr/man/man8/
drwxr-xr-x root/root usr/sbin/
drwxr-xr-x root/root usr/share/
+drwxr-xr-x root/root usr/share/man/
+drwxr-xr-x root/root usr/share/man/man1/
+drwxr-xr-x root/root usr/share/man/man2/
+drwxr-xr-x root/root usr/share/man/man3/
+drwxr-xr-x root/root usr/share/man/man4/
+drwxr-xr-x root/root usr/share/man/man5/
+drwxr-xr-x root/root usr/share/man/man6/
+drwxr-xr-x root/root usr/share/man/man7/
+drwxr-xr-x root/root usr/share/man/man8/
drwxr-xr-x root/root usr/src/
-lrwxrwxrwx root/root usr/var -> ../var
+lrwxrwxrwx root/root usr/var -> .var
drwxr-xr-x root/root var/
drwxr-xr-x root/root var/cache/
drwxr-xr-x root/root var/empty/
@@ -54,7 +54,7 @@ drwxr-xr-x root/root var/log/
drwxr-xr-x root/root var/log/old/
lrwxrwxrwx root/root var/mail -> spool/mail
drwxr-xr-x root/root var/run/
--rw-r--r-- root/root var/run/utmp (EMPTY)
+-rw-r--r-- root/root var/run/utmp
drwxr-xr-x root/root var/spool/
drwxrwxrwt root/root var/spool/mail/
drwxrwxrwt root/root var/tmp/
diff --git a/filesystem/.sha256sum b/filesystem/.sha256sum
new file mode 100644
index 0000000..91a315e
--- /dev/null
+++ b/filesystem/.sha256sum
@@ -0,0 +1,9 @@
+92326a5c8f10d29b92332092686c45426996dc269fa0e64a41586799587fe20e fstab
+693ceb3945b525bb9c571e165887b841641e0a9da71ec397c492d5f76157ac9d group
+e8f3a830102f902bf869c946634215f419ff76f4e03f627d84b8809ed85e65c2 issue
+09ac2ceedd4514829a0bc4b553b9c3b3ba4171436b5a5a33e67989619c6fc661 mime.types
+e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 motd
+0c1352f12669270fd7987be8cf06f21917c8063773d9e7a00ee7c9f030a4f93a passwd
+6f94828d9185fbffe81c41f76cd1fdba6b0058022bba02dd90be5362996aa0f5 securetty
+6c497de1ad43bb6ca95f98ca27dfa652b2072902c862fb5d393356997f921b56 shadow
+13e8c18eb4018901658d6eb7c043b2b2aa7a4474d3d9f7e6278b5d19730679cc shells
diff --git a/filesystem/Pkgfile b/filesystem/Pkgfile
index a5075ec..5d981bd 100644
--- a/filesystem/Pkgfile
+++ b/filesystem/Pkgfile
@@ -1,70 +1,73 @@
-description="Root filesystem package"
-packager=""
-maintainer="CRUX System Team, core-ports at crux dot nu"
+description="Root filesystem package."
+packager="CRUX System Team <core-ports AT crux DOT nu>"
+maintainer="Lukc <lukc AT upyum DOT com>"
url="http://crux.nu"
depends=()
+# FIXME: Change versions, some pathes, etc.
+
name=filesystem
version=2.7
release=1
source=(issue motd shells group passwd shadow securetty fstab mime.types)
build ()
{
- mkdir $PKG/bin;
- mkdir $PKG/sbin;
- mkdir $PKG/boot;
- mkdir $PKG/dev;
- mkdir $PKG/proc;
- mkdir $PKG/sys;
- mkdir $PKG/etc;
- mkdir $PKG/tmp;
- mkdir $PKG/mnt;
- mkdir $PKG/root;
- mkdir $PKG/lib;
- mkdir $PKG/lib/modules;
- mkdir $PKG/opt;
- mkdir $PKG/opt/bin;
- mkdir $PKG/opt/sbin;
- mkdir $PKG/usr;
- mkdir $PKG/usr/{bin,include,lib,sbin,share,src,man};
- mkdir $PKG/usr/man/man{1,2,3,4,5,6,7,8};
- ln -s ../var $PKG/usr/var;
- mkdir $PKG/var;
- mkdir $PKG/var/cache;
- mkdir $PKG/var/lib;
- mkdir $PKG/var/lib/pkg;
- mkdir $PKG/var/lock;
- mkdir $PKG/var/log;
- mkdir $PKG/var/log/old;
- mkdir $PKG/var/run;
- touch $PKG/var/run/utmp;
- mkdir $PKG/var/spool;
- mkdir $PKG/var/spool/mail;
- mkdir $PKG/var/tmp;
- mkdir $PKG/var/ftp;
- mkdir $PKG/var/www;
- mkdir $PKG/var/empty;
- ln -s spool/mail $PKG/var/mail;
- mkdir $PKG/home;
- chmod 1777 $PKG/var/spool/mail;
- chmod 1777 $PKG/tmp;
- chmod 1777 $PKG/var/lock;
- chmod 1777 $PKG/var/tmp;
- chmod 0750 $PKG/root;
- mknod $PKG/dev/console c 5 1;
- chmod 0600 $PKG/dev/console;
- cp issue $PKG/etc;
- cp motd $PKG/etc;
- cp shells $PKG/etc;
- cp group $PKG/etc;
- cp passwd $PKG/etc;
- cp shadow $PKG/etc;
- cp securetty $PKG/etc;
- cp fstab $PKG/etc;
- cp mime.types $PKG/etc;
- touch $PKG/etc/mtab;
- chmod 640 $PKG/etc/shadow;
- cat > $PKG/usr/bin/crux <<EOF
+ mkdir $PKG/bin;
+ mkdir $PKG/sbin;
+ mkdir $PKG/boot;
+ mkdir $PKG/dev;
+ mkdir $PKG/proc;
+ mkdir $PKG/sys;
+ mkdir $PKG/etc;
+ mkdir $PKG/tmp;
+ mkdir $PKG/mnt;
+ mkdir $PKG/root;
+ mkdir $PKG/lib;
+ mkdir $PKG/lib/modules;
+ mkdir $PKG/opt;
+ mkdir $PKG/opt/bin;
+ mkdir $PKG/opt/sbin;
+ mkdir $PKG/usr;
+ mkdir $PKG/usr/{bin,include,lib,sbin,share,src};
+ mkdir $PKG/usr/share/man;
+ mkdir $PKG/usr/share/man/man{1,2,3,4,5,6,7,8};
+ ln -s ../var $PKG/usr/var;
+ mkdir $PKG/var;
+ mkdir $PKG/var/cache;
+ mkdir $PKG/var/lib;
+ mkdir $PKG/var/lib/pkg;
+ mkdir $PKG/var/lock;
+ mkdir $PKG/var/log;
+ mkdir $PKG/var/log/old;
+ mkdir $PKG/var/run;
+ touch $PKG/var/run/utmp;
+ mkdir $PKG/var/spool;
+ mkdir $PKG/var/spool/mail;
+ mkdir $PKG/var/tmp;
+ mkdir $PKG/var/ftp;
+ mkdir $PKG/var/www;
+ mkdir $PKG/var/empty;
+ ln -s spool/mail $PKG/var/mail;
+ mkdir $PKG/home;
+ chmod 1777 $PKG/var/spool/mail;
+ chmod 1777 $PKG/tmp;
+ chmod 1777 $PKG/var/lock;
+ chmod 1777 $PKG/var/tmp;
+ chmod 0750 $PKG/root;
+ mknod $PKG/dev/console c 5 1;
+ chmod 0600 $PKG/dev/console;
+ cp issue $PKG/etc;
+ cp motd $PKG/etc;
+ cp shells $PKG/etc;
+ cp group $PKG/etc;
+ cp passwd $PKG/etc;
+ cp shadow $PKG/etc;
+ cp securetty $PKG/etc;
+ cp fstab $PKG/etc;
+ cp mime.types $PKG/etc;
+ touch $PKG/etc/mtab;
+ chmod 640 $PKG/etc/shadow;
+ cat > $PKG/usr/bin/crux <<EOF
#!/bin/sh
echo "CRUX version $version"
@@ -72,5 +75,5 @@ echo "CRUX version $version"
# End of file
EOF
- chmod 755 $PKG/usr/bin/crux
+ chmod 755 $PKG/usr/bin/crux
}