malfs mekanizma guncelleme
This commit is contained in:
parent
cab80c9dac
commit
1e6f7d6a78
44 changed files with 62 additions and 214 deletions
|
|
@ -7,9 +7,8 @@ libtirpc
|
||||||
rpcbind
|
rpcbind
|
||||||
nfs-utils
|
nfs-utils
|
||||||
jfsutils
|
jfsutils
|
||||||
dhcpcd
|
|
||||||
linux-firmware
|
linux-firmware
|
||||||
kernel
|
kernel
|
||||||
dracut
|
dracut
|
||||||
|
grub
|
||||||
vim
|
vim
|
||||||
nano
|
|
||||||
|
|
|
||||||
|
|
@ -26,5 +26,5 @@ build() {
|
||||||
install -d $PKG/boot/grub
|
install -d $PKG/boot/grub
|
||||||
rm -rf $PKG/usr/share/info/dir
|
rm -rf $PKG/usr/share/info/dir
|
||||||
install -Dm644 ../grub.cfg \
|
install -Dm644 ../grub.cfg \
|
||||||
$PKG/boot/grub/grub.cfg.exemple
|
$PKG/boot/grub/grub.cfg.ornek
|
||||||
}
|
}
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
# URL: http://savannah.nongnu.org/projects/acl
|
# 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."
|
description="Commands for Manipulating POSIX Access Control Lists."
|
||||||
name=acl
|
name=acl
|
||||||
|
|
@ -7,7 +7,7 @@ version=2.2.52
|
||||||
release=1
|
release=1
|
||||||
|
|
||||||
source=( http://download.savannah.gnu.org/releases/$name/$name-$version.src.tar.gz)
|
source=( http://download.savannah.gnu.org/releases/$name/$name-$version.src.tar.gz)
|
||||||
#PKGMK_GROUPS=(devel man doc)
|
|
||||||
build() {
|
build() {
|
||||||
cd acl-*
|
cd acl-*
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,14 +1,14 @@
|
||||||
# Description: Utilities to administer the extended attributes on filesystem objects
|
# Description: Utilities to administer the extended attributes on filesystem objects
|
||||||
# URL: http://savannah.nongnu.org/projects/attr
|
# URL: http://savannah.nongnu.org/projects/attr
|
||||||
# Maintainers: Andreas Gruenbacher <agruen>, Brandon Philips <philips>
|
# Maintainers: Andreas Gruenbacher <agruen>, Brandon Philips <philips>
|
||||||
# Packagers: pierre at nutyx dot org, tnut at nutyx dot org
|
# Packagers: milisarge@gmail.com
|
||||||
|
|
||||||
name=attr
|
name=attr
|
||||||
version=2.4.47
|
version=2.4.47
|
||||||
release=1
|
release=1
|
||||||
|
|
||||||
source=(http://download.savannah.gnu.org/releases/$name/$name-$version.src.tar.gz)
|
source=(http://download.savannah.gnu.org/releases/$name/$name-$version.src.tar.gz)
|
||||||
#PKGMK_GROUPS=(devel man doc)
|
|
||||||
build() {
|
build() {
|
||||||
cd attr-$version
|
cd attr-$version
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,7 @@
|
||||||
# Description: For producing shell scripts that can automatically configure source code.
|
# Description: For producing shell scripts that can automatically configure source code.
|
||||||
# URL: http://www.gnu.org/software/autoconf/
|
# 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.
|
# 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
|
name=autoconf
|
||||||
version=2.69
|
version=2.69
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
# Description: Contains programs for generating Makefiles for use with Autoconf.
|
# Description: Contains programs for generating Makefiles for use with Autoconf.
|
||||||
# URL: http://www.gnu.org/software/automake/
|
# URL: http://www.gnu.org/software/automake/
|
||||||
# Packager: tnut at nutyx dot org
|
# Packager: milisarge@gmail.com
|
||||||
|
|
||||||
name=automake
|
name=automake
|
||||||
version=1.15
|
version=1.15
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
# Description: The Bash package contains the Bourne-Again SHell.
|
# Description: The Bash package contains the Bourne-Again SHell.
|
||||||
# Maintainers: Brian Fox,Chet Ramey and many more
|
# Maintainers: Brian Fox,Chet Ramey and many more
|
||||||
# Packager: tnut at nutyx dot org
|
# Packager: milisarge@gmail.com
|
||||||
|
|
||||||
name=bash
|
name=bash
|
||||||
version=4.3.30
|
version=4.3.30
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
# Description: The Bc package contains an arbitrary precision numeric processing language.
|
# Description: The Bc package contains an arbitrary precision numeric processing language.
|
||||||
# URL: http://ftp.gnu.org/gnu/bc/
|
# URL: http://ftp.gnu.org/gnu/bc/
|
||||||
# Packager: tnut at nutyx dot org
|
# Packager: milisarge@gmail.com
|
||||||
name=bc
|
name=bc
|
||||||
version=1.06.95
|
version=1.06.95
|
||||||
release=1
|
release=1
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,7 @@
|
||||||
# Description: Linker, assembler, and other tools for handling object files.
|
# Description: Linker, assembler, and other tools for handling object files.
|
||||||
# URL: http://sources.redhat.com/binutils/
|
# URL: http://sources.redhat.com/binutils/
|
||||||
# Maintainers: Tristan Gingold ( gingold at adacore dot com ),Alan Modra ( amodra at bigpond dot net dot au )
|
# 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
|
name=binutils
|
||||||
version=2.26
|
version=2.26
|
||||||
release=3
|
release=3
|
||||||
|
|
|
||||||
|
|
@ -1,15 +1,13 @@
|
||||||
# Description: The Bison package contains a parser generator
|
# Description: The Bison package contains a parser generator
|
||||||
# URL: http://www.gnu.org/software/bison/
|
# URL: http://www.gnu.org/software/bison/
|
||||||
# Maintainers: Robert Corbett,Richard Stallman,Wilfred Hansen
|
# Maintainers: Robert Corbett,Richard Stallman,Wilfred Hansen
|
||||||
# Packager: tnut at nutyx dot org
|
# Packager: milisarge@gmail.com
|
||||||
name=bison
|
name=bison
|
||||||
version=3.0.4
|
version=3.0.4
|
||||||
release=2
|
release=2
|
||||||
|
|
||||||
source=(http://ftp.gnu.org/gnu/bison/bison-$version.tar.xz)
|
source=(http://ftp.gnu.org/gnu/bison/bison-$version.tar.xz)
|
||||||
|
|
||||||
#PKGMK_GROUPS=(man locale)
|
|
||||||
|
|
||||||
build()
|
build()
|
||||||
{
|
{
|
||||||
cd bison-$version
|
cd bison-$version
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,7 @@
|
||||||
# Description: Programs for compressing and decompressing files.
|
# Description: Programs for compressing and decompressing files.
|
||||||
# URL: http://www.bzip.org/
|
# URL: http://www.bzip.org/
|
||||||
# Maintainer: Julian Seward ( jseward at bzip dot org )
|
# Maintainer: Julian Seward ( jseward at bzip dot org )
|
||||||
# Packager: tnut at nutyx dot org
|
# Packager: milisarge@gmail.com
|
||||||
|
|
||||||
name=bzip2
|
name=bzip2
|
||||||
version=1.0.6
|
version=1.0.6
|
||||||
|
|
@ -10,8 +10,6 @@ release=1
|
||||||
source=(http://www.bzip.org/$version/bzip2-$version.tar.gz \
|
source=(http://www.bzip.org/$version/bzip2-$version.tar.gz \
|
||||||
http://www.linuxfromscratch.org/patches/lfs/development/bzip2-$version-install_docs-1.patch)
|
http://www.linuxfromscratch.org/patches/lfs/development/bzip2-$version-install_docs-1.patch)
|
||||||
|
|
||||||
#PKGMK_GROUPS=(devel doc man)
|
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
|
|
||||||
cd bzip2-$version
|
cd bzip2-$version
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
# Description: Certificate Authority certificates, the Public Key Infrastructure.
|
# Description: Certificate Authority certificates, the Public Key Infrastructure.
|
||||||
# URL: http://mxr.mozilla.org/mozilla/source/security/nss/lib/ckfw/builtins/certdata.txt?raw=1
|
# 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
|
name=ca-certificates
|
||||||
version=20160110
|
version=20160110
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,7 @@
|
||||||
# Description: Utilities for showing and setting the basic system characteristics
|
# Description: Utilities for showing and setting the basic system characteristics
|
||||||
# URL: http://www.gnu.org/software/coreutils/
|
# URL: http://www.gnu.org/software/coreutils/
|
||||||
# Maintainer: Jim Meyering meyering at redhat dot com
|
# Maintainer: Jim Meyering meyering at redhat dot com
|
||||||
# Packager: tnut at nutyx dot org
|
# Packager: milisarge@gmail.com
|
||||||
|
|
||||||
name=coreutils
|
name=coreutils
|
||||||
version=8.25
|
version=8.25
|
||||||
|
|
|
||||||
|
|
@ -1,8 +1,7 @@
|
||||||
# Description: Copies files into or out of a cpio or tar archive.
|
# Description: Copies files into or out of a cpio or tar archive.
|
||||||
# URL: http://www.gnu.org/software/cpio/
|
# URL: http://www.gnu.org/software/cpio/
|
||||||
# Maintainer: Sergey Poznyakoff
|
# Maintainer: Sergey Poznyakoff
|
||||||
# Packager: pierre at nutyx dot org
|
# Packager: milisarge@gmail.com
|
||||||
|
|
||||||
|
|
||||||
name=cpio
|
name=cpio
|
||||||
version=2.11
|
version=2.11
|
||||||
|
|
|
||||||
|
|
@ -1,8 +1,7 @@
|
||||||
# Description: Utility for transferring files with URL syntax to many protocols
|
# Description: Utility for transferring files with URL syntax to many protocols
|
||||||
# URL: http://curl.haxx.se/
|
# URL: http://curl.haxx.se/
|
||||||
# Maintainer: Daniel Stenberg
|
# Maintainer: Daniel Stenberg
|
||||||
# Packager: tnut at nutyx dot org
|
# Packager: milisarge@gmail.com
|
||||||
|
|
||||||
|
|
||||||
name=curl
|
name=curl
|
||||||
version=7.47.1
|
version=7.47.1
|
||||||
|
|
|
||||||
|
|
@ -60,6 +60,7 @@ nasm
|
||||||
openssl
|
openssl
|
||||||
libarchive
|
libarchive
|
||||||
lzip
|
lzip
|
||||||
|
lz4
|
||||||
kbd
|
kbd
|
||||||
curl
|
curl
|
||||||
cpio
|
cpio
|
||||||
|
|
@ -72,5 +73,7 @@ gpm
|
||||||
openssh
|
openssh
|
||||||
dialog
|
dialog
|
||||||
squashfs
|
squashfs
|
||||||
|
dhcpcd
|
||||||
sudo
|
sudo
|
||||||
|
nano
|
||||||
ca-certificates
|
ca-certificates
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,7 @@
|
||||||
# Description: Connect your computer to a network which uses DHCP to assign network addresses.
|
# Description: Connect your computer to a network which uses DHCP to assign network addresses.
|
||||||
# URL: http://roy.marples.name/projects/dhcpcd
|
# URL: http://roy.marples.name/projects/dhcpcd
|
||||||
# Maintainer: Roy Marples
|
# Maintainer: Roy Marples
|
||||||
# Packager: tnut at nutyx dot org
|
# Packager: milisarge@gmail.com
|
||||||
|
|
||||||
name=dhcpcd
|
name=dhcpcd
|
||||||
version=6.10.1
|
version=6.10.1
|
||||||
|
|
@ -18,6 +18,5 @@ make
|
||||||
make DESTDIR=$PKG install
|
make DESTDIR=$PKG install
|
||||||
sed -i "s;/var/lib;/run;g" dhcpcd-hooks/50-dhcpcd-compat
|
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/
|
install -v -m 644 dhcpcd-hooks/50-dhcpcd-compat $PKG/lib/dhcpcd/dhcpcd-hooks/
|
||||||
# Encore un mechand bug
|
|
||||||
rm -r $PKG/var/tmp
|
rm -r $PKG/var/tmp
|
||||||
}
|
}
|
||||||
|
|
@ -1,7 +1,7 @@
|
||||||
# Description: To create nice user interfaces to shell scripts or other scripting languages.
|
# Description: To create nice user interfaces to shell scripts or other scripting languages.
|
||||||
# URL: http://hightek.org/dialog/
|
# URL: http://hightek.org/dialog/
|
||||||
# Maintainer: Thomas E. Dickey dickey at invisible-island dot net
|
# Maintainer: Thomas E. Dickey dickey at invisible-island dot net
|
||||||
# Packager: tnut at nutyx dot org
|
# Packager: milisarge@gmail.com
|
||||||
|
|
||||||
name=dialog
|
name=dialog
|
||||||
version=1.2.20140911
|
version=1.2.20140911
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,7 @@
|
||||||
# Description: Programs that show the differences between files or directories.
|
# Description: Programs that show the differences between files or directories.
|
||||||
# URL: http://www.gnu.org/software/diffutils/
|
# URL: http://www.gnu.org/software/diffutils/
|
||||||
# Maintainers: Paul Eggert,Mike Haertel,David Hayes,Len Tower and many more.
|
# Maintainers: Paul Eggert,Mike Haertel,David Hayes,Len Tower and many more.
|
||||||
# Packager: tnut at nutyx dot org
|
# Packager: milisarge@gmail.com
|
||||||
|
|
||||||
name=diffutils
|
name=diffutils
|
||||||
version=3.3
|
version=3.3
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,8 @@
|
||||||
# Description: The Gawk package contains programs for manipulating text files.
|
# Description: The Gawk package contains programs for manipulating text files.
|
||||||
# URL: http://www.gnu.org/software/gawk/
|
# URL: http://www.gnu.org/software/gawk/
|
||||||
# Maintainers: Paul Rubin,Paul Finlason,Richard Stallman,David Trueman and,Arnold Robbins
|
# Maintainers: Paul Rubin,Paul Finlason,Richard Stallman,David Trueman and,Arnold Robbins
|
||||||
# Packager: pierre at nutyx dot org
|
# Packager: milisarge@gmail.com
|
||||||
|
|
||||||
name=gawk
|
name=gawk
|
||||||
version=4.1.3
|
version=4.1.3
|
||||||
release=1
|
release=1
|
||||||
|
|
@ -18,10 +19,6 @@ make check || true
|
||||||
make DESTDIR=$PKG install
|
make DESTDIR=$PKG install
|
||||||
rm -rf $PKG/usr/share/info/dir
|
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
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,13 +1,12 @@
|
||||||
# Description: GNU compiler collection, which includes the C, C++, fortran and objc compilers.
|
# Description: GNU compiler collection, which includes the C, C++, fortran and objc compilers.
|
||||||
# URL: http://gcc.gnu.org
|
# 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.
|
# 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
|
name=gcc
|
||||||
version=5.3.0
|
version=5.3.0
|
||||||
release=1
|
release=1
|
||||||
|
|
||||||
source=(http://ftp.gnu.org/gnu/gcc/gcc-$version/gcc-$version.tar.bz2)
|
source=(http://ftp.gnu.org/gnu/gcc/gcc-$version/gcc-$version.tar.bz2)
|
||||||
#PKGMK_GROUPS=(devel man doc)
|
|
||||||
|
|
||||||
build()
|
build()
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -2,7 +2,7 @@
|
||||||
# URL: https://www.gnu.org/software/libc/
|
# URL: https://www.gnu.org/software/libc/
|
||||||
# Packagers: milis
|
# Packagers: milis
|
||||||
kernelversion=4.4
|
kernelversion=4.4
|
||||||
#PKGMK_GROUPS=(devel man doc)
|
|
||||||
name=glibc
|
name=glibc
|
||||||
version=2.22
|
version=2.22
|
||||||
release=1
|
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 )
|
http://ftp.gnu.org/gnu/glibc/glibc-$version.tar.xz glibc.locales.supported )
|
||||||
build() {
|
build() {
|
||||||
|
|
||||||
|
case $(uname -m) in
|
||||||
|
x86_64) ln -sv /lib /lib64
|
||||||
|
ln -sv /lib /usr/lib64
|
||||||
|
ln -sv /lib /usr/local/lib64 ;;
|
||||||
|
esac
|
||||||
|
|
||||||
|
|
||||||
# Headers
|
# Headers
|
||||||
cd linux-$kernelversion
|
cd linux-$kernelversion
|
||||||
make mrproper
|
make mrproper
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,8 @@
|
||||||
# Description: The Groff package contains programs for processing and formatting text.
|
# Description: The Groff package contains programs for processing and formatting text.
|
||||||
# URL: http://www.gnu.org/software/groff/
|
# URL: http://www.gnu.org/software/groff/
|
||||||
# Maintainer: Werner Lemberg wl at gnu dot org
|
# Maintainer: Werner Lemberg wl at gnu dot org
|
||||||
# Packager: pierre at nutyx dot org
|
# Packager: milisarge@gmail.com
|
||||||
|
|
||||||
name=groff
|
name=groff
|
||||||
version=1.22.3
|
version=1.22.3
|
||||||
release=1
|
release=1
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,7 @@
|
||||||
# Description: The Iana-Etc package provides data for network services and protocols.
|
# Description: The Iana-Etc package provides data for network services and protocols.
|
||||||
# URL: http://www.sethwklein.net/projects/iana-etc/
|
# URL: http://www.sethwklein.net/projects/iana-etc/
|
||||||
# Maintainer: Seth W. Klein sk at sethwklein dot net
|
# Maintainer: Seth W. Klein sk at sethwklein dot net
|
||||||
# Packager: tnut at nutyx dot org
|
# Packager: milisarge@gmail.com
|
||||||
name=iana-etc
|
name=iana-etc
|
||||||
version=2.30
|
version=2.30
|
||||||
release=1
|
release=1
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
# Description: Allows spanning of file systems across multiple physical disks and partitions.
|
# Description: Allows spanning of file systems across multiple physical disks and partitions.
|
||||||
# URL: http://sourceware.org/lvm2/
|
# URL: http://sourceware.org/lvm2/
|
||||||
# Packager: pierre at nutyx dot org
|
# Packager: milisarge@gmail.com
|
||||||
|
|
||||||
name=lvm2
|
name=lvm2
|
||||||
version=2.02.141
|
version=2.02.141
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,7 @@
|
||||||
# Description: Very fast lossless compression algorithm
|
# Description: Very fast lossless compression algorithm
|
||||||
# Url: https://github.com/Cyan4973/lz4
|
# Url: https://github.com/Cyan4973/lz4
|
||||||
# Maintainer: Yann Collet
|
# Maintainer: Yann Collet
|
||||||
# Packager: tnut at nutyx dot org
|
# Packager: milisarge@gmail.com
|
||||||
|
|
||||||
name=lz4
|
name=lz4
|
||||||
version=r131
|
version=r131
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
# Description: A simple text editor which aims to replace Pico, the default editor in the Pine package.
|
# Description: A simple text editor which aims to replace Pico, the default editor in the Pine package.
|
||||||
# URL: http://www.nano-editor.org/
|
# URL: http://www.nano-editor.org/
|
||||||
# Packager: pierre at nutyx dot org, tnut at nutyx dot org
|
# Packager: milisarge@gmail.com
|
||||||
|
|
||||||
name=nano
|
name=nano
|
||||||
version=2.5.2
|
version=2.5.2
|
||||||
|
|
@ -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
|
|
||||||
|
|
@ -2,11 +2,11 @@ if [ ! -f /etc/rsyncd.conf ]; then
|
||||||
cat > /etc/rsyncd.conf << "EOF"
|
cat > /etc/rsyncd.conf << "EOF"
|
||||||
# use chroot = yes
|
# use chroot = yes
|
||||||
# [site]
|
# [site]
|
||||||
# path = /home/saravane/nutyx.org
|
# path = /root/x.org
|
||||||
# comment = Site web
|
# comment = Site web
|
||||||
# auth users = tnut
|
# auth users = milisx
|
||||||
# read only = yes
|
# read only = yes
|
||||||
# exclude from = /etc/saravane_rsync_exclude_files.txt
|
# exclude from = /etc/milis_rsync_exclude_files.txt
|
||||||
# secrets file = /etc/rsyncd.secrets
|
# secrets file = /etc/rsyncd.secrets
|
||||||
EOF
|
EOF
|
||||||
fi
|
fi
|
||||||
|
|
|
||||||
|
|
@ -5,8 +5,7 @@ name=rsync
|
||||||
version=3.1.2
|
version=3.1.2
|
||||||
release=1
|
release=1
|
||||||
|
|
||||||
source=( http://rsync.samba.org/ftp/$name/$name-$version.tar.gz
|
source=( http://rsync.samba.org/ftp/$name/$name-$version.tar.gz )
|
||||||
rsync.driver )
|
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
source /etc/blfs-bootscripts
|
source /etc/blfs-bootscripts
|
||||||
|
|
@ -19,11 +18,6 @@ cd $name-$version
|
||||||
make
|
make
|
||||||
make DESTDIR=$PKG install
|
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
|
# service
|
||||||
cd $SRC
|
cd $SRC
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,7 @@
|
||||||
# Description: Squashfs is a compressed read-only filesystem for Linux.
|
# Description: Squashfs is a compressed read-only filesystem for Linux.
|
||||||
# URL: http://squashfs.sourceforge.net/
|
# URL: http://squashfs.sourceforge.net/
|
||||||
# Maintainer: phillip at lougher.demon.co.uk
|
# Maintainer: phillip at lougher.demon.co.uk
|
||||||
# Packager: guy at nutyx dot org
|
# Packager: milisarge@gmail.com
|
||||||
# Depends on: zlib lzo xz lz4
|
# Depends on: zlib lzo xz lz4
|
||||||
|
|
||||||
name=squashfs
|
name=squashfs
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
# Description: Give certain users (or groups) the ability to run some commands as root.
|
# Description: Give certain users (or groups) the ability to run some commands as root.
|
||||||
# URL: http://www.sudo.ws
|
# URL: http://www.sudo.ws
|
||||||
# Packagers: pierre at nutyx dot org, tnut at nutyx dot org
|
# Packagers: milisarge@gmail.com
|
||||||
# Depends on: pam
|
# Depends on: pam
|
||||||
|
|
||||||
name=sudo
|
name=sudo
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,7 @@
|
||||||
# Description: For logging system messages, such as those given by the kernel.
|
# Description: For logging system messages, such as those given by the kernel.
|
||||||
# URL: http://www.infodrom.org/projects/sysklogd/
|
# URL: http://www.infodrom.org/projects/sysklogd/
|
||||||
# Maintainer: Dr. Greg Wettstein, greg at wind dot enjellic dot com
|
# Maintainer: Dr. Greg Wettstein, greg at wind dot enjellic dot com
|
||||||
# Packager: pierre at nutyx dot org
|
# Packager: milisarge@gmail.com
|
||||||
name=sysklogd
|
name=sysklogd
|
||||||
version=1.5.1
|
version=1.5.1
|
||||||
release=1
|
release=1
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,7 @@
|
||||||
# Description: Programs for controlling the startup, running, and shutdown of the system.
|
# Description: Programs for controlling the startup, running, and shutdown of the system.
|
||||||
# URL: ftp://ftp.cistron.nl/pub/people/miquels/sysvinit/
|
# URL: ftp://ftp.cistron.nl/pub/people/miquels/sysvinit/
|
||||||
# Maintainer: sysvinit-devel@nongnu.org
|
# Maintainer: sysvinit-devel@nongnu.org
|
||||||
# Packager: pierre at nutyx dot org
|
# Packager: milisarge@gmail.com
|
||||||
name=sysvinit
|
name=sysvinit
|
||||||
version=2.88dsf
|
version=2.88dsf
|
||||||
release=2
|
release=2
|
||||||
|
|
@ -27,8 +27,8 @@ mkdir $PKG/etc
|
||||||
|
|
||||||
cat > $PKG/etc/inittab << "EOF"
|
cat > $PKG/etc/inittab << "EOF"
|
||||||
# Begin /etc/inittab
|
# Begin /etc/inittab
|
||||||
# Pour le lancement de la console: id:3 (defaut si installation de base)
|
# id:3 (defaut si installation de base)
|
||||||
# Pour le lancement de lxdm, sddm ou kdm: id:5
|
# lxdm, sddm ou kdm: id:5
|
||||||
|
|
||||||
id:3:initdefault:
|
id:3:initdefault:
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,7 @@
|
||||||
# Description: The Tar package contains an archiving program.
|
# Description: The Tar package contains an archiving program.
|
||||||
# URL: http://www.gnu.org/software/tar/tar.html
|
# 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.
|
# 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
|
name=tar
|
||||||
version=1.28
|
version=1.28
|
||||||
release=2
|
release=2
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,7 @@
|
||||||
# Description: Texinfo is the official documentation format of the GNU project.
|
# Description: Texinfo is the official documentation format of the GNU project.
|
||||||
# URL: http://www.gnu.org/software/texinfo
|
# URL: http://www.gnu.org/software/texinfo
|
||||||
# Maintainer: Karl Berry
|
# Maintainer: Karl Berry
|
||||||
# Packager: pierre at nutyx dot org
|
# Packager: milisarge@gmail.com
|
||||||
name=texinfo
|
name=texinfo
|
||||||
version=6.1
|
version=6.1
|
||||||
release=1
|
release=1
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
# Description: The zoneinfo database or IANA Time Zone
|
# Description: The zoneinfo database or IANA Time Zone
|
||||||
# URL: http://www.gnu.org/software/libc/
|
# URL: http://www.gnu.org/software/libc/
|
||||||
# Packager: tnut at nutyx dot org
|
# Packager: milisarge@gmail.com
|
||||||
name=tzdata
|
name=tzdata
|
||||||
version=2016a
|
version=2016a
|
||||||
release=1
|
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 ${timezones[@]}
|
||||||
zic -y ./yearistype -d $PKG/usr/share/zoneinfo/posix ${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/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
|
install -m444 -t $PKG/usr/share/zoneinfo iso3166.tab zone.tab
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,7 @@
|
||||||
# Description: System utilities for handling file systems consoles partitions and messages.
|
# Description: System utilities for handling file systems consoles partitions and messages.
|
||||||
# URL: http://freshmeat.net/projects/util-linux/
|
# URL: http://freshmeat.net/projects/util-linux/
|
||||||
# Maintainer: Karel Zak kzak at redhat dot com
|
# Maintainer: Karel Zak kzak at redhat dot com
|
||||||
# Packager: tnut at nutyx dot org
|
# Packager: milisarge@gmail.com
|
||||||
name=util-linux
|
name=util-linux
|
||||||
version=2.27.1
|
version=2.27.1
|
||||||
release=1
|
release=1
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,7 @@
|
||||||
# Description: Utility for non-interactive download of files using HTTP, HTTPS and FTP.
|
# Description: Utility for non-interactive download of files using HTTP, HTTPS and FTP.
|
||||||
# URL: http://www.gnu.org/software/wget/
|
# URL: http://www.gnu.org/software/wget/
|
||||||
# Maintainer: gscrivano at gnu dot org
|
# Maintainer: gscrivano at gnu dot org
|
||||||
# Packager: tnut at nutyx dot org
|
# Packager: milisarge@gmail.com
|
||||||
name=wget
|
name=wget
|
||||||
version=1.17.1
|
version=1.17.1
|
||||||
release=2
|
release=2
|
||||||
|
|
|
||||||
|
|
@ -1,9 +1,7 @@
|
||||||
# Description: Free general-purpose data compression software with high compression ratio.
|
# Description: Free general-purpose data compression software with high compression ratio.
|
||||||
# URL: http://tukaani.org/xz/
|
# URL: http://tukaani.org/xz/
|
||||||
# Maintainer: Lasse Collin, lasse dot collin at tukaani dot org
|
# Maintainer: Lasse Collin, lasse dot collin at tukaani dot org
|
||||||
# Packager: tnut at nutyx dot org
|
# Packager: milisarge@gmail.com
|
||||||
|
|
||||||
PKGMK_GROUPS=(devel man doc)
|
|
||||||
|
|
||||||
name=xz
|
name=xz
|
||||||
version=5.2.2
|
version=5.2.2
|
||||||
|
|
|
||||||
|
|
@ -1,10 +1,10 @@
|
||||||
# Description: The Zlib package contains compression and decompression routines used by some programs.
|
# Description: The Zlib package contains compression and decompression routines used by some programs.
|
||||||
# URL: http://www.zlib.net/
|
# URL: http://www.zlib.net/
|
||||||
# Maintainer: Jean-loup Gailly (compression), Mark Adler (decompression)
|
# Maintainer: Jean-loup Gailly (compression), Mark Adler (decompression)
|
||||||
# Packager: mahmutov
|
# Packager: milisarge@gmail.com
|
||||||
name=zlib
|
name=zlib
|
||||||
version=1.2.8
|
version=1.2.8
|
||||||
release=2
|
release=1
|
||||||
|
|
||||||
source=(http://www.zlib.net/zlib-$version.tar.xz)
|
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
|
# Vérifier si necessaire de faire les verifs du bon fonctionnement de
|
||||||
# glibc et du linker
|
# glibc et du linker
|
||||||
if [ -L /bin/pwd ];then
|
if [ -L /bin/pwd ];then
|
||||||
mv -v /tools/bin/{ld,ld-old}
|
mv -v /tools/bin/ld /tools/bin/ld-old
|
||||||
mv -v /tools/$(uname -m)-pc-linux-gnu/bin/{ld,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,ld}
|
mv -v /tools/bin/ld-new /tools/bin/ld
|
||||||
ln -sv /tools/bin/ld /tools/$(uname -m)-pc-linux-gnu/bin/ld
|
ln -sv /tools/bin/ld /tools/$(uname -m)-pc-linux-gnu/bin/ld
|
||||||
|
|
||||||
gcc -dumpspecs | sed -e 's@/tools@@g' \
|
gcc -dumpspecs | sed -e 's@/tools@@g' \
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue