Merge pull request #51 from giresun28/master

lsb-release.düzenlendi grub.paketlendi
This commit is contained in:
Milis İşletim Sistemi 2016-08-02 20:42:43 +00:00 committed by GitHub
commit dbd5c1dcc4
12 changed files with 1313313 additions and 112 deletions

View File

@ -1,103 +0,0 @@
http://download.savannah.gnu.org/releases/acl/acl-2.2.52.src.tar.gz
http://download.savannah.gnu.org/releases/attr/attr-2.4.47.src.tar.gz
http://ftp.gnu.org/gnu/autoconf/autoconf-2.69.tar.xz
http://ftp.gnu.org/gnu/automake/automake-1.15.tar.xz
http://ftp.gnu.org/gnu/bash/bash-4.3.30.tar.gz
http://www.linuxfromscratch.org/patches/lfs/development/bash-4.3.30-upstream_fixes-2.patch
http://alpha.gnu.org/gnu/bc/bc-1.06.95.tar.bz2
http://www.linuxfromscratch.org/patches/lfs/development/bc-1.06.95-memory_leak-1.patch
http://ftp.gnu.org/gnu/binutils/binutils-2.26.tar.bz2
http://www.linuxfromscratch.org/patches/downloads/binutils/binutils-2.26-upstream_fix-1.patch
http://www.linuxfromscratch.org/patches/downloads/binutils/binutils-2.26-upstream_fix-2.patch
http://downloads.nutyx.org/current/sources/binutils-2.26-upstream_fix-2.patch
http://www.linuxfromscratch.org/patches/lfs/7.7/bzip2-1.0.6-install_docs-1.patch
http://ftp.gnu.org/gnu/bison/bison-3.0.4.tar.xz
http://www.bzip.org/1.0.6/bzip2-1.0.6.tar.gz
http://downloads.nutyx.org/current/sources/ca-certificates-20160110.tar.gz
http://downloads.sourceforge.net/check/check-0.10.0.tar.gz
http://downloads.nutyx.org/current/sources/cards-1.99.7.tar.gz
http://ftp.gnu.org/gnu/coreutils/coreutils-8.25.tar.xz
http://www.linuxfromscratch.org/patches/lfs/7.9-rc1/coreutils-8.25-i18n-2.patch
http://ftp.gnu.org/gnu/cpio/cpio-2.12.tar.gz
https://curl.haxx.se/download/curl-7.47.1.tar.lzma
http://pkgs.fedoraproject.org/repo/pkgs/dialog/dialog-1.2-20140911.tgz/f33ae989e62efe1d17cf5206cb7144a5/dialog-1.2-20140911.tgz
http://ftp.gnu.org/gnu/dejagnu/dejagnu-1.5.3.tar.gz
http://ftp.gnu.org/gnu/diffutils/diffutils-3.3.tar.xz
http://downloads.sourceforge.net/project/e2fsprogs/e2fsprogs/v1.42.13/e2fsprogs-1.42.13.tar.gz
http://dev.gentoo.org/~blueness/eudev/eudev-3.1.5.tar.gz
http://prdownloads.sourceforge.net/expat/expat-2.1.0.tar.gz
http://prdownloads.sourceforge.net/expect/expect5.45.tar.gz
ftp://ftp.astron.com/pub/file/file-5.25.tar.gz
http://ftp.gnu.org/gnu/findutils/findutils-4.6.0.tar.gz
http://prdownloads.sourceforge.net/flex/flex-2.6.0.tar.xz
http://ftp.gnu.org/gnu/gawk/gawk-4.1.3.tar.xz
http://ftp.gnu.org/gnu/gcc/gcc-5.3.0/gcc-5.3.0.tar.bz2
http://ftp.gnu.org/gnu/gdbm/gdbm-1.11.tar.gz
http://ftp.gnu.org/gnu/gettext/gettext-0.19.7.tar.xz
http://www.linuxfromscratch.org/patches/lfs/7.9-rc1/glibc-2.22-fhs-1.patch
http://www.linuxfromscratch.org/patches/lfs/7.9-rc1/glibc-2.22-upstream_i386_fix-1.patch
http://www.linuxfromscratch.org/patches/lfs/7.9-rc1/glibc-2.22-largefile-1.patch
http://ftp.gnu.org/gnu/glibc/glibc-2.22.tar.xz
http://ftp.gnu.org/gnu/gmp/gmp-6.1.0.tar.xz
http://ftp.gnu.org/gnu/gperf/gperf-3.0.4.tar.gz
http://www.nico.schottelius.org/software/gpm/archives/gpm-1.20.7.tar.bz2
http://ftp.gnu.org/gnu/grep/grep-2.23.tar.xz
http://ftp.gnu.org/gnu/groff/groff-1.22.3.tar.gz
http://ftp.gnu.org/gnu/gzip/gzip-1.6.tar.xz
http://anduin.linuxfromscratch.org/LFS/iana-etc-2.30.tar.bz2
http://ftp.gnu.org/gnu/inetutils/inetutils-1.9.4.tar.xz
https://www.kernel.org/pub/linux/utils/net/iproute2/iproute2-4.4.0.tar.xz
http://www.linuxfromscratch.org/patches/lfs/7.9-rc1/kbd-2.0.3-backspace-1.patch
https://www.kernel.org/pub/linux/utils/kbd/kbd-2.0.3.tar.xz
https://www.kernel.org/pub/linux/utils/kernel/kmod/kmod-22.tar.xz
http://www.greenwoodsoftware.com/less/less-481.tar.gz
http://downloads.nutyx.org/current/sources/libarchive-3.1.2-acl-01.patch
http://downloads.nutyx.org/current/sources/libarchive-3.1.2-limit-write-requests-to-at-most-INT_MAX-01.patch
http://downloads.nutyx.org/current/sources/libarchive-3.1.2-mtree-fix-line-filename-length-calculation-01.patch
http://downloads.nutyx.org/current/sources/libarchive-3.1.2-sparce-mtree-01.patch
http://www.libarchive.org/downloads/libarchive-3.1.2.tar.gz
https://www.kernel.org/pub/linux/libs/security/linux-privs/libcap2/libcap-2.25.tar.xz
http://download.savannah.gnu.org/releases/libpipeline/libpipeline-1.4.1.tar.gz
http://ftp.gnu.org/gnu/libtool/libtool-2.4.6.tar.xz
https://www.kernel.org/pub/linux/kernel/v4.x/linux-4.4.tar.xz
http://linux-pam.org/library/Linux-PAM-1.2.1.tar.bz2
ftp://sources.redhat.com/pub/lvm2/releases/LVM2.2.02.141.tgz
http://www.oberhumer.com/opensource/lzo/download/lzo-2.09.tar.gz
http://ftp.gnu.org/gnu/m4/m4-1.4.17.tar.xz
http://ftp.gnu.org/gnu/make/make-4.1.tar.bz2
http://download.savannah.gnu.org/releases/man-db/man-db-2.7.5.tar.xz
http://www.multiprecision.org/mpc/download/mpc-1.0.3.tar.gz
http://www.mpfr.org/mpfr-3.1.3/mpfr-3.1.3.tar.xz
http://www.linuxfromscratch.org/patches/lfs/7.9-rc1/mpfr-3.1.3-upstream_fixes-1.patch
http://downloads.nutyx.org/current/sources/nasm_2.11.06-1really2.11.05.orig.tar.xz
http://downloads.nutyx.org/current/sources/nasm-2.11.06-xdoc.tar.xz
http://ftp.gnu.org/gnu//ncurses/ncurses-6.0.tar.gz
http://downloads.nutyx.org/current/sources/nutyx-basicfs-8.0.tar.bz2
http://ftp.openbsd.org/pub/OpenBSD/OpenSSH/portable/openssh-7.1p2.tar.gz
https://www.openssl.org/source/openssl-1.0.2f.tar.gz
http://ftp.gnu.org/gnu/patch/patch-2.7.5.tar.xz
https://www.kernel.org/pub/software/utils/pciutils/pciutils-3.4.1.tar.xz
http://www.cpan.org/src/5.0/perl-5.22.1.tar.bz2
http://pkgconfig.freedesktop.org/releases/pkg-config-0.29.tar.gz
http://sourceforge.net/projects/procps-ng/files/Production/procps-ng-3.3.11.tar.xz
http://downloads.sourceforge.net/project/psmisc/psmisc/psmisc-22.21.tar.gz
http://ftp.gnu.org/gnu/readline/readline-6.3.tar.gz
http://www.linuxfromscratch.org/patches/lfs/development/readline-6.3-upstream_fixes-3.patch
https://download.samba.org/pub/rsync/src/rsync-3.1.2.tar.gz
http://ftp.gnu.org/gnu/sed/sed-4.2.2.tar.bz2
http://downloads.nutyx.org/current/sources/service-saravane-01.patch
http://pkg-shadow.alioth.debian.org/releases/shadow-4.2.1.tar.xz
https://sourceforge.net/projects/squashfs/files/squashfs/squashfs4.3/squashfs4.3.tar.gz
ftp://ftp.sudo.ws/pub/sudo/sudo-1.8.15.tar.gz
http://www.infodrom.org/projects/sysklogd/download/sysklogd-1.5.1.tar.gz
http://download.savannah.gnu.org/releases/sysvinit/sysvinit-2.88dsf.tar.bz2
http://www.linuxfromscratch.org/patches/lfs/7.9-rc1/sysvinit-2.88dsf-consolidated-1.patch
http://ftp.gnu.org/gnu/tar/tar-1.28.tar.xz
http://sourceforge.net/projects/tcl/files/Tcl/8.6.4/tcl-core8.6.4-src.tar.gz
http://ftp.gnu.org/gnu/texinfo/texinfo-6.1.tar.xz
http://www.iana.org/time-zones/repository/releases/tzdata2016a.tar.gz
http://anduin.linuxfromscratch.org/LFS/udev-lfs-20140408.tar.bz2
https://www.kernel.org/pub/linux/utils/util-linux/v2.27/util-linux-2.27.1.tar.xz
http://ftp.gnu.org/gnu/wget/wget-1.17.1.tar.xz
http://tukaani.org/xz/xz-5.2.2.tar.xz
http://zlib.net/zlib-1.2.8.tar.xz

View File

@ -0,0 +1,18 @@
# Description: Midna Grub-theme.
# URL: http://kaosx.us
# Pcakager: alihan-ozturk8@hotmail.com
# Depends on: grub
name=grub-theme-midna
version=1.4
release=1
source=( http://sourceforge.net/projects/kaosx/files/sources/grub-themes/$name-$version.zip)
build() {
cd $SRC
mkdir -p $PKG/usr/share/grub/themes
install -dm755 "$PKG/usr/share/grub/themes"
cp -dpr --no-preserve=ownership "midna" "$PKG/usr/share/grub/themes"
}

View File

@ -0,0 +1,53 @@
GRUB_DEFAULT=0
GRUB_TIMEOUT=10
GRUB_DISTRIBUTOR="Milis"
GRUB_CMDLINE_LINUX_DEFAULT="quiet"
GRUB_CMDLINE_LINUX=""
# Preload both GPT and MBR modules so that they are not missed
GRUB_PRELOAD_MODULES="part_gpt part_msdos"
# Uncomment to enable Hidden Menu, and optionally hide the timeout count
#GRUB_HIDDEN_TIMEOUT=5
#GRUB_HIDDEN_TIMEOUT_QUIET=true
# Uncomment to use basic console
GRUB_TERMINAL_INPUT=console
# Uncomment to disable graphical terminal
#GRUB_TERMINAL_OUTPUT=console
# The resolution used on graphical terminal
# note that you can use only modes which your graphic card supports via VBE
# you can see them in real GRUB with the command `vbeinfo'
GRUB_GFXMODE=auto
# Uncomment to allow the kernel use the same resolution used by grub
GRUB_GFXPAYLOAD_LINUX=keep
# Uncomment if you want GRUB to pass to the Linux kernel the old parameter
# format "root=/dev/xxx" instead of "root=/dev/disk/by-uuid/xxx"
#GRUB_DISABLE_LINUX_UUID=true
# Uncomment to disable generation of recovery mode menu entries
GRUB_DISABLE_RECOVERY=true
# Uncomment and set to the desired menu colors. Used by normal and wallpaper
# modes only. Entries specified as foreground/background.
#GRUB_COLOR_NORMAL="white/black"
#GRUB_COLOR_HIGHLIGHT="black/white"
# Uncomment one of them for the gfx desired, a image background or a gfxtheme
#GRUB_BACKGROUND="/path/to/wallpaper"
#GRUB_THEME="/path/to/gfxtheme"
GRUB_THEME="/usr/share/grub/themes/midna/theme.txt"
# Control which initial ramdisk should grub-mkconfig prefer when searching
# default is initrd-*.gz created by geninitrd, uncomment to make it prefer
# initramfs-*.img created by dracut
GRUB_PREFER_DRACUT="true"
# Uncomment to get a beep at GRUB start
#GRUB_INIT_TUNE="480 440 1"
#GRUB_SAVEDEFAULT="true"

View File

@ -0,0 +1,32 @@
diff --git a/util/grub-mkconfig.in b/util/grub-mkconfig.in
index 3390ba9..c416489 100644
--- a/util/grub-mkconfig.in
+++ b/util/grub-mkconfig.in
@@ -218,6 +218,8 @@ export GRUB_DEFAULT \
GRUB_THEME \
GRUB_GFXPAYLOAD_LINUX \
GRUB_DISABLE_OS_PROBER \
+ GRUB_COLOR_NORMAL \
+ GRUB_COLOR_HIGHLIGHT \
GRUB_INIT_TUNE \
GRUB_SAVEDEFAULT \
GRUB_ENABLE_CRYPTODISK \
diff --git a/util/grub.d/00_header.in b/util/grub.d/00_header.in
index d2e7252..8259f45 100644
--- a/util/grub.d/00_header.in
+++ b/util/grub.d/00_header.in
@@ -125,6 +125,14 @@ cat <<EOF
EOF
+if [ x$GRUB_COLOR_NORMAL != x ] && [ x$GRUB_COLOR_HIGHLIGHT != x ] ; then
+ cat << EOF
+set menu_color_normal=$GRUB_COLOR_NORMAL
+set menu_color_highlight=$GRUB_COLOR_HIGHLIGHT
+
+EOF
+fi
+
serial=0;
gfxterm=0;
for x in ${GRUB_TERMINAL_INPUT} ${GRUB_TERMINAL_OUTPUT}; do

View File

@ -0,0 +1,11 @@
--- 10_linux.in.orig 2012-09-05 13:34:26.947842426 -0500
+++ 10_linux.in 2012-09-05 13:34:55.967842887 -0500
@@ -198,6 +198,8 @@
initrd=
for i in "initrd.img-${version}" "initrd-${version}.img" "initrd-${version}.gz" \
"initrd-${version}" "initramfs-${version}.img" \
+ "initramfs-${version}.gz" \
+ "initramfs" \
"initrd.img-${alt_version}" "initrd-${alt_version}.img" \
"initrd-${alt_version}" "initramfs-${alt_version}.img" \
"initramfs-genkernel-${version}" \

View File

@ -0,0 +1,17 @@
--- a/util/grub.d/10_linux.in~ 2012-04-18 23:24:38.000000000 +0200
+++ b/util/grub.d/10_linux.in 2012-11-28 22:27:41.652673833 +0100
@@ -29,7 +29,14 @@
CLASS="--class gnu-linux --class gnu --class os"
if [ "x${GRUB_DISTRIBUTOR}" = "x" ] ; then
OS=GNU/Linux
+ if [ -f "/etc/milis-release" ] ; then
+ OS="$(sed 's, release .*$,,g' /etc/milis-release)"
+ elif [ -e "/etc/system-release" ] ; then
+ OS="$(sed 's, release .*$,,g' /etc/system-release)"
+ else
+ OS=GNU/Linux
+ fi
else
OS="${GRUB_DISTRIBUTOR} GNU/Linux"
CLASS="--class $(echo ${GRUB_DISTRIBUTOR} | tr 'A-Z' 'a-z' | cut -d' ' -f1|LC_ALL=C sed 's,[^[:alnum:]_],_,g') ${CLASS}"

110
talimatname/genel/grub/talimat Executable file
View File

@ -0,0 +1,110 @@
# Description: A Multiboot boot loader
# URL: http://www.gnu.org/software/grub/
# Pcakager: alihan-ozturk8@hotmail.com
# Depends on: freetype help2man efivar efibootmgr os-prober dosfstools fuse mtools libisoburn
name=grub
version=2.02-beta3
release=1
source=( ftp://alpha.gnu.org/gnu/grub/grub-2.02~beta3.tar.xz \
http://source.pisilinux.org/1.0/grub2_extras_915resolution_r10.tar.xz \
unifont-6.3.20131217.bdf \
milis_name.patch \
initramfs.patch \
grub_mkconfig.patch \
grub.default)
build() {
cd $name-2.02~beta3
patch -Np1 -i ../milis_name.patch
patch -i $SRC/initramfs.patch util/grub.d/10_linux.in
patch -Np1 -i ../grub_mkconfig.patch
cp $SRC/unifont-6.3.20131217.bdf $SRC/$name-2.02~beta3/unifont.bdf
mkdir -p SRC/$name-2.02~beta3/grub-extras/915resolution
install -d "$SRC/$name-2.02~beta3/grub-extras"
cp -r "$SRC/915resolution" "SRC/$name-2.02~beta3/grub-extras/915resolution"
export GRUB_CONTRIB="$SRC/$name-2.02~beta3/grub-extras/"
unset CFLAGS
unset CPPFLAGS
unset CXXFLAGS
unset LDFLAGS
unset MAKEFLAGS
./autogen.sh
./configure --disable-werror \
--with-platform=pc \
--target=i386 \
--enable-mm-debug \
--enable-nls \
--enable-device-mapper \
--enable-cache-stats \
--enable-boot-time \
--enable-grub-mkfont \
--enable-grub-mount \
--prefix="/usr" \
--bindir="/usr/bin" \
--sbindir="/usr/bin" \
--mandir="/usr/share/man" \
--infodir="/usr/share/info" \
--datarootdir="/usr/share" \
--sysconfdir="/etc" \
--program-prefix="" \
--with-bootdir=/boot \
--with-grubdir=grub
cp -r "$SRC/$name-2.02~beta3" "$SRC/$name-2.02~beta3-efi"
cd $SRC/$name-2.02~beta3-efi
unset CFLAGS
unset CPPFLAGS
unset CXXFLAGS
unset LDFLAGS
unset MAKEFLAGS
./autogen.sh
./configure --with-platform=efi \
--target=x86_64 \
--enable-mm-debug \
--enable-nls \
--enable-device-mapper \
--enable-cache-stats \
--enable-boot-time \
--enable-grub-mkfont \
--enable-grub-mount \
--prefix="/usr" \
--bindir="/usr/bin" \
--sbindir="/usr/bin" \
--mandir="/usr/share/man" \
--infodir="/usr/share/info" \
--datarootdir="/usr/share" \
--sysconfdir="/etc" \
--program-prefix="" \
--with-bootdir=/boot \
--with-grubdir=grub \
--disable-silent-rules \
--disable-werror
cd $SRC/$name-2.02~beta3
make dist
make
cd $SRC/$name-2.02~beta3-efi
make
cd $SRC/$name-2.02~beta3
./grub-mkfont -o unicode.pf2 unifont.bdf
mkdir -p $PKG/boot/grub
cp $SRC/$name-2.02~beta3/unicode.pf2 $PKG/boot/grub
make DESTDIR=$PKG install
cd $SRC/$name-2.02~beta3-efi
make DESTDIR=$PKG install
mkdir -p $PKG/etc/default/grub
install -D -m0644 "$SRC/grub.default" "$PKG/etc/default/grub"
}

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,4 @@
DISTRIB_ID="Milis"
DISTRIB_RELEASE="1.0"
DISTRIB_DESCRIPTION="Milis İsletim Sistemi 1.0"
DISTRIB_CODENAME="Atilla"

View File

@ -0,0 +1 @@
Milis 1.0 Atilla

View File

@ -0,0 +1 @@
Milis 1.0 Atilla

View File

@ -1,20 +1,21 @@
# Description: Provides informations about LSB status (Linux Standards Base) of the distribution.
# URL: http://www.linuxbase.org/
# Maintainer: Sven-Hendrik Haase
# Packager: geantbrun at gmail dot com
# Packager: alihan-ozturk28@hotmail.com
# Depends on:
name=lsb-release
version=1.4
release=1
source=(http://sourceforge.net/projects/lsb/files/lsb_release/${version}/${name}-${version}.tar.gz)
source=(http://sourceforge.net/projects/lsb/files/lsb_release/${version}/${name}-${version}.tar.gz \
lsbrelease)
build() {
cd ${name}-${version}
sed -i "s|n/a|unavailable|" lsb_release
./help2man -N --include ./lsb_release.examples \
--alt_version_key=program_version ./lsb_release > lsb_release.1
mkdir -p $PKG/usr/{bin,share/man/man1}
install -v -m 644 lsb_release.1 $PKG/usr/share/man/man1/lsb_release.1
install -v -m 755 lsb_release $PKG/usr/bin/lsb_release
make
make DESTDIR=$PKG prefix="/usr" install
mkdir -p $PKG/etc/
cp $SRC/lsbrelease $PKG/etc/lsb-release
cp $SRC/lsbrelease $PKG/etc/milis-release
cp $SRC/lsbrelease $PKG/etc/system-release
}