malfs mekanizma guncelleme

This commit is contained in:
shamil 2016-03-20 03:15:25 +02:00
parent cab80c9dac
commit 1e6f7d6a78
44 changed files with 62 additions and 214 deletions

View File

@ -7,9 +7,8 @@ libtirpc
rpcbind
nfs-utils
jfsutils
dhcpcd
linux-firmware
kernel
dracut
grub
vim
nano

View File

@ -26,5 +26,5 @@ build() {
install -d $PKG/boot/grub
rm -rf $PKG/usr/share/info/dir
install -Dm644 ../grub.cfg \
$PKG/boot/grub/grub.cfg.exemple
$PKG/boot/grub/grub.cfg.ornek
}

View File

@ -1,5 +1,5 @@
# URL: http://savannah.nongnu.org/projects/acl
# Packager: pierre at nutyx dot org
# Packager: milisarge@gmail.com
description="Commands for Manipulating POSIX Access Control Lists."
name=acl
@ -7,7 +7,7 @@ version=2.2.52
release=1
source=( http://download.savannah.gnu.org/releases/$name/$name-$version.src.tar.gz)
#PKGMK_GROUPS=(devel man doc)
build() {
cd acl-*

View File

@ -1,14 +1,14 @@
# Description: Utilities to administer the extended attributes on filesystem objects
# URL: http://savannah.nongnu.org/projects/attr
# Maintainers: Andreas Gruenbacher <agruen>, Brandon Philips <philips>
# Packagers: pierre at nutyx dot org, tnut at nutyx dot org
# Packagers: milisarge@gmail.com
name=attr
version=2.4.47
release=1
source=(http://download.savannah.gnu.org/releases/$name/$name-$version.src.tar.gz)
#PKGMK_GROUPS=(devel man doc)
build() {
cd attr-$version

View File

@ -1,7 +1,7 @@
# Description: For producing shell scripts that can automatically configure source code.
# URL: http://www.gnu.org/software/autoconf/
# Maintainers: David MacKenzie,François Pinard,Karl Berry,Richard Pixley,Ian Lance Taylor,Roland McGrath,Noah Friedman,David d zuhn, and many others.
# Packager: tnut at nutyx dot org
# Packager: milisarge@gmail.com
name=autoconf
version=2.69

View File

@ -1,6 +1,6 @@
# Description: Contains programs for generating Makefiles for use with Autoconf.
# URL: http://www.gnu.org/software/automake/
# Packager: tnut at nutyx dot org
# Packager: milisarge@gmail.com
name=automake
version=1.15

View File

@ -1,6 +1,6 @@
# Description: The Bash package contains the Bourne-Again SHell.
# Maintainers: Brian Fox,Chet Ramey and many more
# Packager: tnut at nutyx dot org
# Packager: milisarge@gmail.com
name=bash
version=4.3.30

View File

@ -1,6 +1,6 @@
# Description: The Bc package contains an arbitrary precision numeric processing language.
# URL: http://ftp.gnu.org/gnu/bc/
# Packager: tnut at nutyx dot org
# Packager: milisarge@gmail.com
name=bc
version=1.06.95
release=1

View File

@ -1,7 +1,7 @@
# Description: Linker, assembler, and other tools for handling object files.
# URL: http://sources.redhat.com/binutils/
# Maintainers: Tristan Gingold ( gingold at adacore dot com ),Alan Modra ( amodra at bigpond dot net dot au )
# Packager: tnut at nutyx dot org
# Packager: milisarge@gmail.com
name=binutils
version=2.26
release=3

View File

@ -1,15 +1,13 @@
# Description: The Bison package contains a parser generator
# URL: http://www.gnu.org/software/bison/
# Maintainers: Robert Corbett,Richard Stallman,Wilfred Hansen
# Packager: tnut at nutyx dot org
# Packager: milisarge@gmail.com
name=bison
version=3.0.4
release=2
source=(http://ftp.gnu.org/gnu/bison/bison-$version.tar.xz)
#PKGMK_GROUPS=(man locale)
build()
{
cd bison-$version

View File

@ -1,7 +1,7 @@
# Description: Programs for compressing and decompressing files.
# URL: http://www.bzip.org/
# Maintainer: Julian Seward ( jseward at bzip dot org )
# Packager: tnut at nutyx dot org
# Packager: milisarge@gmail.com
name=bzip2
version=1.0.6
@ -10,8 +10,6 @@ release=1
source=(http://www.bzip.org/$version/bzip2-$version.tar.gz \
http://www.linuxfromscratch.org/patches/lfs/development/bzip2-$version-install_docs-1.patch)
#PKGMK_GROUPS=(devel doc man)
build() {
cd bzip2-$version

View File

@ -1,6 +1,6 @@
# Description: Certificate Authority certificates, the Public Key Infrastructure.
# URL: http://mxr.mozilla.org/mozilla/source/security/nss/lib/ckfw/builtins/certdata.txt?raw=1
# Packager: tnut at nutyx dot org
# Packager: milisarge@gmail.com
name=ca-certificates
version=20160110

View File

@ -1,7 +1,7 @@
# Description: Utilities for showing and setting the basic system characteristics
# URL: http://www.gnu.org/software/coreutils/
# Maintainer: Jim Meyering meyering at redhat dot com
# Packager: tnut at nutyx dot org
# Packager: milisarge@gmail.com
name=coreutils
version=8.25

View File

@ -1,8 +1,7 @@
# Description: Copies files into or out of a cpio or tar archive.
# URL: http://www.gnu.org/software/cpio/
# Maintainer: Sergey Poznyakoff
# Packager: pierre at nutyx dot org
# Packager: milisarge@gmail.com
name=cpio
version=2.11

View File

@ -1,8 +1,7 @@
# Description: Utility for transferring files with URL syntax to many protocols
# URL: http://curl.haxx.se/
# Maintainer: Daniel Stenberg
# Packager: tnut at nutyx dot org
# Packager: milisarge@gmail.com
name=curl
version=7.47.1

View File

@ -60,6 +60,7 @@ nasm
openssl
libarchive
lzip
lz4
kbd
curl
cpio
@ -72,5 +73,7 @@ gpm
openssh
dialog
squashfs
dhcpcd
sudo
nano
ca-certificates

View File

@ -1,7 +1,7 @@
# Description: Connect your computer to a network which uses DHCP to assign network addresses.
# URL: http://roy.marples.name/projects/dhcpcd
# Maintainer: Roy Marples
# Packager: tnut at nutyx dot org
# Packager: milisarge@gmail.com
name=dhcpcd
version=6.10.1
@ -18,6 +18,5 @@ make
make DESTDIR=$PKG install
sed -i "s;/var/lib;/run;g" dhcpcd-hooks/50-dhcpcd-compat
install -v -m 644 dhcpcd-hooks/50-dhcpcd-compat $PKG/lib/dhcpcd/dhcpcd-hooks/
# Encore un mechand bug
rm -r $PKG/var/tmp
}

View File

@ -1,7 +1,7 @@
# Description: To create nice user interfaces to shell scripts or other scripting languages.
# URL: http://hightek.org/dialog/
# Maintainer: Thomas E. Dickey dickey at invisible-island dot net
# Packager: tnut at nutyx dot org
# Packager: milisarge@gmail.com
name=dialog
version=1.2.20140911

View File

@ -1,7 +1,7 @@
# Description: Programs that show the differences between files or directories.
# URL: http://www.gnu.org/software/diffutils/
# Maintainers: Paul Eggert,Mike Haertel,David Hayes,Len Tower and many more.
# Packager: tnut at nutyx dot org
# Packager: milisarge@gmail.com
name=diffutils
version=3.3

View File

@ -1,7 +1,8 @@
# Description: The Gawk package contains programs for manipulating text files.
# URL: http://www.gnu.org/software/gawk/
# Maintainers: Paul Rubin,Paul Finlason,Richard Stallman,David Trueman and,Arnold Robbins
# Packager: pierre at nutyx dot org
# Packager: milisarge@gmail.com
name=gawk
version=4.1.3
release=1
@ -18,10 +19,6 @@ make check || true
make DESTDIR=$PKG install
rm -rf $PKG/usr/share/info/dir
# Documentation
mkdir -vp $PKG/usr/share/doc/gawk-$version
cp -v doc/{awkforai.txt,*.{eps,pdf,jpg}} \
$PKG/usr/share/doc/gawk-$version
}

View File

@ -1,13 +1,12 @@
# Description: GNU compiler collection, which includes the C, C++, fortran and objc compilers.
# URL: http://gcc.gnu.org
# Packagers: pierre at nutyx dot org, tnut at nutyx dot org
# Packagers: milisarge@gmail.com
# Maintainers: Jakub Jelinek (jakub at redhat dot com),Manuel López-Ibáñez (manu at gcc dot gnu.org,Giovanni Bajo,Peter Barada,Gerald Baumgartner and a lot more.
name=gcc
version=5.3.0
release=1
source=(http://ftp.gnu.org/gnu/gcc/gcc-$version/gcc-$version.tar.bz2)
#PKGMK_GROUPS=(devel man doc)
build()
{

View File

@ -2,7 +2,7 @@
# URL: https://www.gnu.org/software/libc/
# Packagers: milis
kernelversion=4.4
#PKGMK_GROUPS=(devel man doc)
name=glibc
version=2.22
release=1
@ -14,6 +14,13 @@ source=(http://www.kernel.org/pub/linux/kernel/v4.x/linux-$kernelversion.tar.xz
http://ftp.gnu.org/gnu/glibc/glibc-$version.tar.xz glibc.locales.supported )
build() {
case $(uname -m) in
x86_64) ln -sv /lib /lib64
ln -sv /lib /usr/lib64
ln -sv /lib /usr/local/lib64 ;;
esac
# Headers
cd linux-$kernelversion
make mrproper

View File

@ -1,7 +1,8 @@
# Description: The Groff package contains programs for processing and formatting text.
# URL: http://www.gnu.org/software/groff/
# Maintainer: Werner Lemberg wl at gnu dot org
# Packager: pierre at nutyx dot org
# Packager: milisarge@gmail.com
name=groff
version=1.22.3
release=1

View File

@ -1,7 +1,7 @@
# Description: The Iana-Etc package provides data for network services and protocols.
# URL: http://www.sethwklein.net/projects/iana-etc/
# Maintainer: Seth W. Klein sk at sethwklein dot net
# Packager: tnut at nutyx dot org
# Packager: milisarge@gmail.com
name=iana-etc
version=2.30
release=1

View File

@ -1,6 +1,6 @@
# Description: Allows spanning of file systems across multiple physical disks and partitions.
# URL: http://sourceware.org/lvm2/
# Packager: pierre at nutyx dot org
# Packager: milisarge@gmail.com
name=lvm2
version=2.02.141

View File

@ -1,7 +1,7 @@
# Description: Very fast lossless compression algorithm
# Url: https://github.com/Cyan4973/lz4
# Maintainer: Yann Collet
# Packager: tnut at nutyx dot org
# Packager: milisarge@gmail.com
name=lz4
version=r131

View File

@ -1,6 +1,6 @@
# Description: A simple text editor which aims to replace Pico, the default editor in the Pine package.
# URL: http://www.nano-editor.org/
# Packager: pierre at nutyx dot org, tnut at nutyx dot org
# Packager: milisarge@gmail.com
name=nano
version=2.5.2

View File

@ -1,143 +0,0 @@
#!/usr/bin/perl
#
# /etc/ports/drivers/rsync: rsync(1) driver script for ports(8)
#
use warnings;
use strict;
use File::Basename;
my $host = '';
my $collection = '';
my $destination = '';
my %new_checkouts;
my %old_checkouts;
sub error
{
my $message = shift;
print "Error: $message ($!)\nUpdating failed\n";
exit 1;
}
sub warning
{
my $message = shift;
print "Warning: $message ($!)\n";
}
if ($#ARGV < 0)
{
print "Usage: $0 <file>\n";
exit 1;
}
open(FILE, $ARGV[0]) or error("Couldn't open $ARGV[0]");
while (<FILE>)
{
chomp;
if (/^host=(.*)/) { $host = $1; }
elsif (/^collection=(.*)/) { $collection = $1; }
elsif (/^destination=(.*)/) { $destination = $1; }
}
close(FILE);
if ($host eq '') { error("Host field not set in $ARGV[0]"); }
if ($collection eq '') { error("Collection field not set in $ARGV[0]"); }
if ($destination eq '') { error("Destination field not set in $ARGV[0]"); }
if (-e "$destination/.checkouts")
{
# read the old .checkouts file into memory
open(FILE, "$destination/.checkouts") or error("Couldn't read checkouts from $destination/.checkouts");
while (<FILE>)
{
chomp;
$old_checkouts{$_} = 1;
}
close(FILE);
}
print "Updating file list from " . $host . "::$collection\n";
# get the remote file list (new .checkouts)
open(PIPE, 'rsync -crz --no-human-readable ' . $host . '::' . $collection . '|') or error("Couldn't open pipe to rsync");
while (<PIPE>)
{
chomp;
next if /^MOTD:/; # ignore MOTD lines
s/^(.{43})//; # ignore the first 43 characters (mode, date etc...)
next if /^.$/; # ignore the . directory
$new_checkouts{$_} = 1;
}
close(PIPE);
error("Running rsync failed") unless $? == 0;
print "Updating collection " . basename($destination) . "\n";
# now really run rsync
open(PIPE, 'rsync -crz --no-human-readable --log-format "%o %n" ' . $host . "::$collection $destination|") or error("Couldn't open pipe to rsync");
while (<PIPE>)
{
chomp;
if (/^recv (.*)/)
{
if ($old_checkouts{$1})
{
s/^recv/ Edit/;
}
else
{
s/^recv/ Checkout/;
}
}
print $_ . "\n";
}
close(PIPE);
error("Running rsync failed") unless $? == 0;
# save new checkouts into .checkouts
open(FILE, ">$destination/.checkouts") or error("Couldn't save checkouts to $destination/.checkouts");
foreach my $checkout (sort keys %new_checkouts)
{
print FILE "$checkout\n";
}
close(FILE);
# use chroot as an additional safety measure when removing files
chroot($destination) or error("Couldn't chroot into $destination");
chdir('/');
# iterate through old checkouts, remove obsolete files
foreach my $checkout (sort keys %old_checkouts)
{
if (!$new_checkouts{$checkout})
{
if (-f $checkout)
{
print " Delete $checkout\n";
unlink($checkout) or warning("Couldn't delete $checkout");
}
}
}
# iterate through old checkouts, remove obsolete directories
foreach my $checkout (sort keys %old_checkouts)
{
if (!$new_checkouts{$checkout})
{
if (-d $checkout)
{
print " Delete $checkout\n";
rmdir($checkout) or warning("Couldn't delete $checkout");
}
}
}
print "Finished successfully\n";
# End of file

View File

@ -2,11 +2,11 @@ if [ ! -f /etc/rsyncd.conf ]; then
cat > /etc/rsyncd.conf << "EOF"
# use chroot = yes
# [site]
# path = /home/saravane/nutyx.org
# path = /root/x.org
# comment = Site web
# auth users = tnut
# auth users = milisx
# read only = yes
# exclude from = /etc/saravane_rsync_exclude_files.txt
# exclude from = /etc/milis_rsync_exclude_files.txt
# secrets file = /etc/rsyncd.secrets
EOF
fi

View File

@ -5,8 +5,7 @@ name=rsync
version=3.1.2
release=1
source=( http://rsync.samba.org/ftp/$name/$name-$version.tar.gz
rsync.driver )
source=( http://rsync.samba.org/ftp/$name/$name-$version.tar.gz )
build() {
source /etc/blfs-bootscripts
@ -19,11 +18,6 @@ cd $name-$version
make
make DESTDIR=$PKG install
# drivers
mkdir -p $PKG/var/lib/pkg/drivers
install -m 755 $SRC/rsync.driver \
$PKG/var/lib/pkg/drivers/rsync
# service
cd $SRC

View File

@ -1,7 +1,7 @@
# Description: Squashfs is a compressed read-only filesystem for Linux.
# URL: http://squashfs.sourceforge.net/
# Maintainer: phillip at lougher.demon.co.uk
# Packager: guy at nutyx dot org
# Packager: milisarge@gmail.com
# Depends on: zlib lzo xz lz4
name=squashfs

View File

@ -1,6 +1,6 @@
# Description: Give certain users (or groups) the ability to run some commands as root.
# URL: http://www.sudo.ws
# Packagers: pierre at nutyx dot org, tnut at nutyx dot org
# Packagers: milisarge@gmail.com
# Depends on: pam
name=sudo

View File

@ -1,7 +1,7 @@
# Description: For logging system messages, such as those given by the kernel.
# URL: http://www.infodrom.org/projects/sysklogd/
# Maintainer: Dr. Greg Wettstein, greg at wind dot enjellic dot com
# Packager: pierre at nutyx dot org
# Packager: milisarge@gmail.com
name=sysklogd
version=1.5.1
release=1

View File

@ -1,7 +1,7 @@
# Description: Programs for controlling the startup, running, and shutdown of the system.
# URL: ftp://ftp.cistron.nl/pub/people/miquels/sysvinit/
# Maintainer: sysvinit-devel@nongnu.org
# Packager: pierre at nutyx dot org
# Packager: milisarge@gmail.com
name=sysvinit
version=2.88dsf
release=2
@ -27,8 +27,8 @@ mkdir $PKG/etc
cat > $PKG/etc/inittab << "EOF"
# Begin /etc/inittab
# Pour le lancement de la console: id:3 (defaut si installation de base)
# Pour le lancement de lxdm, sddm ou kdm: id:5
# id:3 (defaut si installation de base)
# lxdm, sddm ou kdm: id:5
id:3:initdefault:

View File

@ -1,7 +1,7 @@
# Description: The Tar package contains an archiving program.
# URL: http://www.gnu.org/software/tar/tar.html
# Maintainers: John Gilmore,Henry Spencer,Fred Fish,Ian Darwin,Geoff Collyer,Stan Barber,Guy Harris,Dave Brower,Richard Todd,Michael Rendell,Stu Heiss and,Rich Salz.
# Packager: pierre at nutyx dot org
# Packager: milisarge@gmail.com
name=tar
version=1.28
release=2

View File

@ -1,7 +1,7 @@
# Description: Texinfo is the official documentation format of the GNU project.
# URL: http://www.gnu.org/software/texinfo
# Maintainer: Karl Berry
# Packager: pierre at nutyx dot org
# Packager: milisarge@gmail.com
name=texinfo
version=6.1
release=1

View File

@ -1,6 +1,6 @@
# Description: The zoneinfo database or IANA Time Zone
# URL: http://www.gnu.org/software/libc/
# Packager: tnut at nutyx dot org
# Packager: milisarge@gmail.com
name=tzdata
version=2016a
release=1
@ -14,6 +14,6 @@ timezones=('africa' 'antarctica' 'asia' 'australasia'
zic -y ./yearistype -d $PKG/usr/share/zoneinfo ${timezones[@]}
zic -y ./yearistype -d $PKG/usr/share/zoneinfo/posix ${timezones[@]}
zic -y ./yearistype -d $PKG/usr/share/zoneinfo/right -L leapseconds ${timezones[@]}
zic -y ./yearistype -d $PKG/usr/share/zoneinfo -p America/New_York
zic -y ./yearistype -d $PKG/usr/share/zoneinfo -p Europe/Istanbul
install -m444 -t $PKG/usr/share/zoneinfo iso3166.tab zone.tab
}

View File

@ -1,7 +1,7 @@
# Description: System utilities for handling file systems consoles partitions and messages.
# URL: http://freshmeat.net/projects/util-linux/
# Maintainer: Karel Zak kzak at redhat dot com
# Packager: tnut at nutyx dot org
# Packager: milisarge@gmail.com
name=util-linux
version=2.27.1
release=1

View File

@ -1,7 +1,7 @@
# Description: Utility for non-interactive download of files using HTTP, HTTPS and FTP.
# URL: http://www.gnu.org/software/wget/
# Maintainer: gscrivano at gnu dot org
# Packager: tnut at nutyx dot org
# Packager: milisarge@gmail.com
name=wget
version=1.17.1
release=2

View File

@ -1,9 +1,7 @@
# Description: Free general-purpose data compression software with high compression ratio.
# URL: http://tukaani.org/xz/
# Maintainer: Lasse Collin, lasse dot collin at tukaani dot org
# Packager: tnut at nutyx dot org
PKGMK_GROUPS=(devel man doc)
# Packager: milisarge@gmail.com
name=xz
version=5.2.2

View File

@ -1,10 +1,10 @@
# Description: The Zlib package contains compression and decompression routines used by some programs.
# URL: http://www.zlib.net/
# Maintainer: Jean-loup Gailly (compression), Mark Adler (decompression)
# Packager: mahmutov
# Packager: milisarge@gmail.com
name=zlib
version=1.2.8
release=2
release=1
source=(http://www.zlib.net/zlib-$version.tar.xz)
@ -12,9 +12,9 @@ build() {
# Vérifier si necessaire de faire les verifs du bon fonctionnement de
# glibc et du linker
if [ -L /bin/pwd ];then
mv -v /tools/bin/{ld,ld-old}
mv -v /tools/$(uname -m)-pc-linux-gnu/bin/{ld,ld-old}
mv -v /tools/bin/{ld-new,ld}
mv -v /tools/bin/ld /tools/bin/ld-old
mv -v /tools/$(uname -m)-pc-linux-gnu/bin/ld /tools/$(uname -m)-pc-linux-gnu/bin/ld-old
mv -v /tools/bin/ld-new /tools/bin/ld
ln -sv /tools/bin/ld /tools/$(uname -m)-pc-linux-gnu/bin/ld
gcc -dumpspecs | sed -e 's@/tools@@g' \