diff --git a/alnux/build b/alnux/build index 5c3e9ae..d6e4666 100755 --- a/alnux/build +++ b/alnux/build @@ -1 +1,51 @@ -mkdir -p $1/dev $1/mnt $1/proc $1/run $1/sbin $1/sys $1/tmp $1/bin $1/usr/bin $1/lib \ No newline at end of file +mkdir -p -m 775\ +$1/dev \ +$1/mnt \ +$1/run \ +$1/sbin \ +$1/sys \ +$1/bin \ +$1/usr \ +$1/usr/share \ +$1/usr/share/man \ +$1/usr/share/man1 \ +$1/usr/share/man2 \ +$1/usr/share/man3 \ +$1/usr/share/man4 \ +$1/usr/share/man5 \ +$1/usr/share/man6 \ +$1/usr/share/man7 \ +$1/usr/share/man8 \ +$1/lib \ +$1/var/ \ +$1/var/cache \ +$1/var/log \ +$1/var/log/old \ +$1/var/lib \ +$1/var/lib/misc \ +$1/var/empty \ +$1/var/service \ +$1/var/spool + +mkdir -m 555 -p \ +$1/proc \ +$1/sys +mkdir -m 0750 -p \ +$1/root + +mkdir -p -m 1777 \ +$1/tmp \ +$1/var/tmp \ + +ln -sf $1/usr/bin $1/bin +ln -sf $1/usr/bin $1/sbin +ln -sf $1/bin $1/usr/sbin +ln -sf $1/usr/lib $1/lib +ln -sf $1/usr/lib $1/lib64 + +ln -sf $1/lib $1/usr/lib64 +ln -sf $1/spool/mail $1/var/mail +ln -sf $1/run $1/var/run +ln -sf $1/run/lock $1/var/lock +ln -sf $1/proc/self/mounts $1/etc/mtab + diff --git a/alnux/package b/alnux/package index 74abeb4..22b8e69 100755 --- a/alnux/package +++ b/alnux/package @@ -1,5 +1,5 @@ pkg_config_deploy=true -pkg_config_ver="0.5" +pkg_config_ver="0.7" pkg_config_name="alnux" pkg_config_makedepends="" -pkg_config_depends="" \ No newline at end of file +pkg_config_depends="" diff --git a/alnux/payload/etc/fstab b/alnux/payload/etc/fstab new file mode 100644 index 0000000..3101b02 --- /dev/null +++ b/alnux/payload/etc/fstab @@ -0,0 +1,7 @@ +# Static information about the filesystems. +# See fstab(5) for details. + +# + +tmpfs /tmp tmpfs defaults,nosuid,nodev,size=20G 0 0 + diff --git a/alnux/payload/etc/host.conf b/alnux/payload/etc/host.conf new file mode 100644 index 0000000..d1a59f7 --- /dev/null +++ b/alnux/payload/etc/host.conf @@ -0,0 +1 @@ +multi on diff --git a/alnux/payload/etc/hosts.conf b/alnux/payload/etc/hosts.conf new file mode 100644 index 0000000..47851a4 --- /dev/null +++ b/alnux/payload/etc/hosts.conf @@ -0,0 +1,3 @@ +127.0.0.1 localhost.localdomain localhost +::1 localhost.localdomain localhost ip6-localhost + diff --git a/alnux/payload/etc/make.conf b/alnux/payload/etc/make.conf new file mode 100644 index 0000000..587d859 --- /dev/null +++ b/alnux/payload/etc/make.conf @@ -0,0 +1,3 @@ +# MAKEOPTS="-j6" +# CFLAGS="-march=native -O3 -pipe -free" +# CXXFLAGS="${CFLAGS}" diff --git a/curl/build b/curl/build index b5f981d..1bcd8fc 100755 --- a/curl/build +++ b/curl/build @@ -1,6 +1,6 @@ -wget https://curl.se/download/curl-7.77.0.tar.bz2 -tar -xf curl-7.77.0.tar.bz2 -cd curl-7.77.0 +wget https://curl.se/download/curl-7.78.0.tar.bz2 +tar -xf curl-7.78.0.tar.bz2 +cd curl-7.78.0 ./configure --with-openssl make diff --git a/curl/package b/curl/package index 7b98de9..d0102a6 100755 --- a/curl/package +++ b/curl/package @@ -1,5 +1,5 @@ pkg_config_deploy=true -pkg_config_ver="7.77.0" +pkg_config_ver="7.78.0" pkg_config_name="curl" pkg_config_makedepends="openssl" pkg_config_depends="openssl"