CRUX-ARM : Home

Home :: Documentation :: Download :: Development :: Community :: Ports :: Packages :: Bugs :: Links :: About :: Donors
filesystem: initial import, version 3.6
authorMatt Housh <jaeger@crux.nu>
Wed, 6 Jan 2021 22:52:45 +0000 (16:52 -0600)
committerMatt Housh <jaeger@crux.nu>
Wed, 6 Jan 2021 22:52:45 +0000 (16:52 -0600)
12 files changed:
filesystem/.footprint [new file with mode: 0644]
filesystem/.signature [new file with mode: 0644]
filesystem/Pkgfile [new file with mode: 0644]
filesystem/fstab [new file with mode: 0644]
filesystem/group [new file with mode: 0644]
filesystem/issue [new file with mode: 0644]
filesystem/mime.types [new file with mode: 0644]
filesystem/motd [new file with mode: 0644]
filesystem/passwd [new file with mode: 0644]
filesystem/securetty [new file with mode: 0644]
filesystem/shadow [new file with mode: 0644]
filesystem/shells [new file with mode: 0644]

diff --git a/filesystem/.footprint b/filesystem/.footprint
new file mode 100644 (file)
index 0000000..88e8f8f
--- /dev/null
@@ -0,0 +1,68 @@
+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)
+drwxr-xr-x     root/root       dev/pts/
+drwxrwxrwt     root/root       dev/shm/
+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)
+lrwxrwxrwx     root/root       etc/mtab -> /proc/self/mounts
+-rw-r--r--     root/root       etc/passwd
+-rw-r--r--     root/root       etc/securetty
+-rw-r-----     root/root       etc/shadow
+-rw-r--r--     root/root       etc/shells
+drwxr-xr-x     root/root       home/
+drwxr-xr-x     root/root       lib/
+drwxr-xr-x     root/root       lib/modules/
+drwxr-xr-x     root/root       lib32/
+lrwxrwxrwx     root/root       lib64 -> lib
+drwxr-xr-x     root/root       mnt/
+drwxr-xr-x     root/root       opt/
+drwxr-xr-x     root/root       opt/bin/
+drwxr-xr-x     root/root       opt/sbin/
+drwxr-xr-x     root/root       proc/
+drwxr-x---     root/root       root/
+drwxr-xr-x     root/root       run/
+drwxr-xr-x     root/root       sbin/
+drwxr-xr-x     root/root       sys/
+drwxrwxrwt     root/root       tmp/
+drwxr-xr-x     root/root       usr/
+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/lib32/
+lrwxrwxrwx     root/root       usr/lib64 -> lib
+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
+drwxr-xr-x     root/root       var/
+drwxr-xr-x     root/root       var/cache/
+drwxr-xr-x     root/root       var/empty/
+drwxr-xr-x     root/root       var/ftp/
+drwxr-xr-x     root/root       var/lib/
+drwxr-xr-x     root/root       var/lib/pkg/
+drwxrwxrwt     root/root       var/lock/
+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)
+drwxr-xr-x     root/root       var/spool/
+drwxrwxrwt     root/root       var/spool/mail/
+drwxrwxrwt     root/root       var/tmp/
+drwxr-xr-x     root/root       var/www/
diff --git a/filesystem/.signature b/filesystem/.signature
new file mode 100644 (file)
index 0000000..4b83d3c
--- /dev/null
@@ -0,0 +1,13 @@
+untrusted comment: verify with /etc/ports/raspberrypi4-arm64.pub
+RWTd3JU7yDA/KWTtzGGjXaBPmO4c+4AWjOYEQoH3/m0IzHJrpaGnIvx6y0P+3EcBAzM6nAUJSttXvrVjPUZVPrQNZ20NUuLCeQg=
+SHA256 (Pkgfile) = a7bfdd8ce194bd5e2d5bf3561cc2097fd66b3b20ca3bb9400eb70f1077417223
+SHA256 (.footprint) = 71e16dd60d5918bb5d50a6adf37048ef35f0d3d2b1d1f3e5f4bbfb9ce22841cd
+SHA256 (issue) = 046b10d8ee26d0203ed301913653a31ada287a813e80c2e321bcdeae8137f301
+SHA256 (motd) = e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
+SHA256 (shells) = f5e8838cb33249bd0ab3a169097bcc411cfb1b37153f268e6655758942e46656
+SHA256 (group) = 6bb5cad2230ad0a7bda290386c345b80ee2e5d111a78d743584b47bc7defb30f
+SHA256 (passwd) = 417070ea646396422dced58302cc8b7a4f6c170cb37b16cc3ba951557494f599
+SHA256 (shadow) = d9bedacbcd3d8a3e548a3be48ecdc441229801fbeaab3cd844980d5df3a84859
+SHA256 (securetty) = 6f94828d9185fbffe81c41f76cd1fdba6b0058022bba02dd90be5362996aa0f5
+SHA256 (fstab) = a15175f3d608e130a3bfeb291d3153a671d69d6efd570ea1f6895592e728ba44
+SHA256 (mime.types) = 09ac2ceedd4514829a0bc4b553b9c3b3ba4171436b5a5a33e67989619c6fc661
diff --git a/filesystem/Pkgfile b/filesystem/Pkgfile
new file mode 100644 (file)
index 0000000..7951147
--- /dev/null
@@ -0,0 +1,81 @@
+# Description: Root filesystem package
+# URL: http://crux.nu
+# Maintainer: CRUX System Team, core-ports at crux dot nu
+# Arch Maintainer: CRUX-ARM System Team, devel at crux-arm dot nu
+  
+name=filesystem
+version=3.6
+release=1
+source=(issue motd shells group passwd shadow securetty fstab mime.types)
+  
+build() {
+  # Directory structure
+  install -d $PKG/bin
+  install -d $PKG/sbin
+  install -d $PKG/boot
+  install -d $PKG/dev
+  install -d $PKG/dev/pts
+  install -d $PKG/proc
+  install -d $PKG/sys
+  install -d $PKG/etc
+  install -d $PKG/mnt
+  install -d $PKG/run
+  install -d $PKG/lib{,32}
+  ln -s lib $PKG/lib64
+  install -d $PKG/lib/modules
+  install -d $PKG/opt
+  install -d $PKG/opt/bin
+  install -d $PKG/opt/sbin
+  install -d $PKG/usr
+  install -d $PKG/usr/{bin,include,lib{,32},sbin,share,src}
+  ln -s lib $PKG/usr/lib64
+  install -d -p $PKG/usr/share/man/man{1,2,3,4,5,6,7,8}
+  ln -s ../var $PKG/usr/var
+  install -d $PKG/var
+  install -d $PKG/var/cache
+  install -d $PKG/var/lib
+  install -d $PKG/var/lib/pkg
+  install -d $PKG/var/log
+  install -d $PKG/var/log/old
+  install -d $PKG/var/run
+  touch $PKG/var/run/utmp
+  install -d $PKG/var/spool
+  install -d $PKG/var/ftp
+  install -d $PKG/var/www
+  install -d $PKG/var/empty
+  ln -s spool/mail $PKG/var/mail
+  install -d $PKG/home
+
+  install -d -m 1777 $PKG/tmp
+  install -d -m 0750 $PKG/root
+  install -d -m 1777 $PKG/var/lock
+  install -d -m 1777 $PKG/var/spool/mail
+  install -d -m 1777 $PKG/var/tmp
+  install -d -m 1777 $PKG/dev/shm
+
+  # /dev
+  mknod $PKG/dev/console c 5 1
+  chmod 0600 $PKG/dev/console
+
+  # /etc
+  install -m 0644 issue $PKG/etc
+  install -m 0644 motd $PKG/etc
+  install -m 0644 shells $PKG/etc
+  install -m 0644 group $PKG/etc
+  install -m 0644 passwd $PKG/etc
+  install -m 0640 shadow $PKG/etc
+  install -m 0644 securetty $PKG/etc
+  install -m 0644 fstab $PKG/etc
+  install -m 0644 mime.types $PKG/etc
+  ln -s /proc/self/mounts $PKG/etc/mtab
+
+  # /usr/bin/crux
+  cat > $PKG/usr/bin/crux << EOF
+#!/bin/sh
+
+echo "CRUX-ARM 64b version $version"
+
+# End of file
+EOF
+  chmod 755 $PKG/usr/bin/crux
+}
diff --git a/filesystem/fstab b/filesystem/fstab
new file mode 100644 (file)
index 0000000..861cb26
--- /dev/null
@@ -0,0 +1,12 @@
+#
+# /etc/fstab: static file system information
+#
+# <file system>        <dir>     <type>    <options>                        <dump> <pass>
+
+/dev/mmcblk0p2         /         ext4      defaults,relatime                0      1
+/dev/mmcblk0p1         /boot     vfat      defaults,relatime                0      0
+
+devpts                 /dev/pts  devpts    noexec,nosuid,gid=tty,mode=0620  0      0
+shm                    /dev/shm  tmpfs     defaults                         0      0
+
+# End of file
diff --git a/filesystem/group b/filesystem/group
new file mode 100644 (file)
index 0000000..fed14fd
--- /dev/null
@@ -0,0 +1,28 @@
+root::0:root
+bin::1:root,bin,daemon
+daemon::2:root,bin,daemon
+sys::3:root,bin
+adm::4:root,daemon
+tty::5:
+disk::6:root
+lp::7:daemon
+mem::8:
+kmem::9:
+wheel::10:root
+ftp::11:
+mail::12:
+mlocate::13:
+dialout::14:
+www::15:
+audio::16:
+video::17:
+floppy::18:
+tape::19:
+scanner::20:
+cdrom::21:
+input::22:
+kvm::23:
+dhcpcd::24:
+nobody::99:
+messagebus::81:
+users::100:
diff --git a/filesystem/issue b/filesystem/issue
new file mode 100644 (file)
index 0000000..984df39
--- /dev/null
@@ -0,0 +1,3 @@
+
+CRUX-ARM 64b (\n) (\l)
+
diff --git a/filesystem/mime.types b/filesystem/mime.types
new file mode 100644 (file)
index 0000000..6b97c3f
--- /dev/null
@@ -0,0 +1,84 @@
+#
+# /etc/mime.types: mime types
+#
+
+application/andrew-inset       ez
+application/excel              xls
+application/octet-stream       bin
+application/oda                        oda
+application/pdf                        pdf
+application/pgp                        pgp
+application/postscript         ps PS eps
+application/rtf                        rtf
+application/x-arj-compressed   arj
+application/x-bcpio            bcpio
+application/x-chess-pgn                pgn
+application/x-cpio             cpio
+application/x-csh              csh
+application/x-debian-package   deb
+application/x-msdos-program    com exe bat
+application/x-dvi              dvi
+application/x-gtar             gtar
+application/x-gunzip           gz
+application/x-hdf              hdf
+application/x-latex            latex
+application/x-mif              mif
+application/x-netcdf           cdf nc
+application/x-perl             pl pm
+application/x-rar-compressed   rar
+application/x-sh               sh
+application/x-shar             shar
+application/x-sv4cpio          sv4cpio
+application/x-sv4crc           sv4crc
+application/x-tar              tar
+application/x-tar-gz           tgz tar.gz
+application/x-tcl              tcl
+application/x-tex              tex
+application/x-texinfo          texi texinfo
+application/x-troff            t tr roff
+application/x-troff-man                man
+application/x-troff-me         me
+application/x-troff-ms         ms
+application/x-ustar            ustar
+application/x-wais-source      src
+application/x-zip-compressed   zip
+
+audio/basic                    snd
+audio/midi                     mid midi
+audio/ulaw                     au
+audio/x-aiff                   aif aifc aiff
+audio/x-wav                    wav
+
+image/gif                      gif
+image/ief                      ief
+image/jpeg                     jpe jpeg jpg
+image/png                      png
+image/tiff                     tif tiff
+image/x-cmu-raster             ras
+image/x-portable-anymap                pnm
+image/x-portable-bitmap                pbm
+image/x-portable-graymap       pgm
+image/x-portable-pixmap                ppm
+image/x-rgb                    rgb
+image/x-xbitmap                        xbm
+image/x-xpixmap                        xpm
+image/x-xwindowdump            xwd
+
+text/html                      html htm
+text/plain                     asc txt
+text/css                       css
+text/richtext                  rtx
+text/tab-separated-values      tsv
+text/x-setext                  etx
+
+video/dl                       dl
+video/fli                      fli
+video/gl                       gl
+video/mpeg                     mp2 mpe mpeg mpg
+video/quicktime                        mov qt
+video/x-msvideo                        avi
+video/x-sgi-movie              movie
+
+x-world/x-vrml                 vrm vrml wrl
+
+# End of file
diff --git a/filesystem/motd b/filesystem/motd
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/filesystem/passwd b/filesystem/passwd
new file mode 100644 (file)
index 0000000..60a5d36
--- /dev/null
@@ -0,0 +1,9 @@
+root:x:0:0:root:/root:/bin/bash
+bin:x:1:1:bin:/bin:
+daemon:x:2:2:daemon:/sbin:
+mail:x:8:12:mail:/var/spool/mail:
+ftp:x:14:11:ftp:/var/ftp:
+www:x:15:15:www:/var/www:/bin/false
+dhcpcd:x:24:24:dhcpcd:/var/lib/dhcpcd:/bin/false
+messagebus:x:81:81::/var/empty:/bin/false
+nobody:x:99:99:nobody:/:
diff --git a/filesystem/securetty b/filesystem/securetty
new file mode 100644 (file)
index 0000000..cab2fdc
--- /dev/null
@@ -0,0 +1,14 @@
+#
+# /etc/securetty: defines which devices root can log in on
+#
+
+console
+ttyS0
+tty1
+tty2
+tty3
+tty4
+tty5
+tty6
+
+# End of file
diff --git a/filesystem/shadow b/filesystem/shadow
new file mode 100644 (file)
index 0000000..fa8b1c7
--- /dev/null
@@ -0,0 +1,9 @@
+root::0::::::
+bin:x:0::::::
+daemon:x:0::::::
+mail:x:0::::::
+ftp:x:0::::::
+www:x:0::::::
+dhcpcd:x:0::::::
+messagebus:x:0::::::
+nobody:x:0::::::
diff --git a/filesystem/shells b/filesystem/shells
new file mode 100644 (file)
index 0000000..5ad41c0
--- /dev/null
@@ -0,0 +1,9 @@
+#
+# /etc/shells: defines valid login shells
+#
+
+/bin/sh
+/bin/bash
+/bin/dash
+
+# End of file