From 9291e062cb24bac5d7c7059d4dc64669c1917b33 Mon Sep 17 00:00:00 2001 From: tnut Date: Sun, 8 Jan 2012 12:12:28 +0100 Subject: aaabasicfs 2011-3 et split des dépot base et extra en 2 git séparé MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pkg-get/.footprint.i686 | 11 +++++++++++ pkg-get/.footprint.x86_64 | 11 +++++++++++ pkg-get/.md5sum.i686 | 2 ++ pkg-get/.md5sum.x86_64 | 2 ++ pkg-get/Pkgfile | 21 +++++++++++++++++++++ pkg-get/syn | 44 ++++++++++++++++++++++++++++++++++++++++++++ 6 files changed, 91 insertions(+) create mode 100644 pkg-get/.footprint.i686 create mode 100644 pkg-get/.footprint.x86_64 create mode 100644 pkg-get/.md5sum.i686 create mode 100644 pkg-get/.md5sum.x86_64 create mode 100644 pkg-get/Pkgfile create mode 100644 pkg-get/syn (limited to 'pkg-get') diff --git a/pkg-get/.footprint.i686 b/pkg-get/.footprint.i686 new file mode 100644 index 000000000..a7cdc34c6 --- /dev/null +++ b/pkg-get/.footprint.i686 @@ -0,0 +1,11 @@ +drwxr-xr-x root/root etc/ +-rwxr-xr-x root/root etc/pkg-get.conf +drwxr-xr-x root/root usr/ +drwxr-xr-x root/root usr/bin/ +-rwxr-xr-x root/root usr/bin/pkg-get +-rwxr-xr-x root/root usr/bin/syn +drwxr-xr-x root/root usr/share/ +drwxr-xr-x root/root usr/share/locale/ +drwxr-xr-x root/root usr/share/locale/fr/ +drwxr-xr-x root/root usr/share/locale/fr/LC_MESSAGES/ +-rw-r--r-- root/root usr/share/locale/fr/LC_MESSAGES/pkg-get.mo diff --git a/pkg-get/.footprint.x86_64 b/pkg-get/.footprint.x86_64 new file mode 100644 index 000000000..a7cdc34c6 --- /dev/null +++ b/pkg-get/.footprint.x86_64 @@ -0,0 +1,11 @@ +drwxr-xr-x root/root etc/ +-rwxr-xr-x root/root etc/pkg-get.conf +drwxr-xr-x root/root usr/ +drwxr-xr-x root/root usr/bin/ +-rwxr-xr-x root/root usr/bin/pkg-get +-rwxr-xr-x root/root usr/bin/syn +drwxr-xr-x root/root usr/share/ +drwxr-xr-x root/root usr/share/locale/ +drwxr-xr-x root/root usr/share/locale/fr/ +drwxr-xr-x root/root usr/share/locale/fr/LC_MESSAGES/ +-rw-r--r-- root/root usr/share/locale/fr/LC_MESSAGES/pkg-get.mo diff --git a/pkg-get/.md5sum.i686 b/pkg-get/.md5sum.i686 new file mode 100644 index 000000000..18265b57a --- /dev/null +++ b/pkg-get/.md5sum.i686 @@ -0,0 +1,2 @@ +3653b64e437d6f06a2e14c8d1e4560d0 pkg-get-0.3.93.tar.gz +4b2308a5898180c997380228c0dc893b syn diff --git a/pkg-get/.md5sum.x86_64 b/pkg-get/.md5sum.x86_64 new file mode 100644 index 000000000..18265b57a --- /dev/null +++ b/pkg-get/.md5sum.x86_64 @@ -0,0 +1,2 @@ +3653b64e437d6f06a2e14c8d1e4560d0 pkg-get-0.3.93.tar.gz +4b2308a5898180c997380228c0dc893b syn diff --git a/pkg-get/Pkgfile b/pkg-get/Pkgfile new file mode 100644 index 000000000..bf3dac834 --- /dev/null +++ b/pkg-get/Pkgfile @@ -0,0 +1,21 @@ +# Description: Un gestionnaire de paquets binaires pour NuTyX léger et rapide +# URL: http://www.nutyx.org +# Maintainer: NuTyX core team +# Packager: tnut at nutyx dot com +# Depends on: curl + +name=pkg-get +version=0.3.93 +release=1 +source=(http://nutyx.meticul.eu/files/$name-$version.tar.gz \ + syn) + +build() +{ + cd $name-$version + make clean + make + make DESTDIR=$PKG install + sed -i "s/uname-m/`uname -m`/g" $PKG/etc/pkg-get.conf + install -m 755 ../syn $PKG/usr/bin/syn +} diff --git a/pkg-get/syn b/pkg-get/syn new file mode 100644 index 000000000..68a38c4b2 --- /dev/null +++ b/pkg-get/syn @@ -0,0 +1,44 @@ +#!/bin/bash +MediaDepot=/media/cdrom/depot +Depot=/srv/NuTyX +find_cd() { +EXPECT_LABEL="nutyxcd" +let PKGNB=0 +for SYS in /sys/block/sd* /sys/block/sr* ; do + if [ ! -d "$SYS" ]; then continue; fi + DEV=/dev/${SYS##*/} + LABEL=`dd if=$DEV bs=1 skip=32808 count=32 2>/dev/null` + if [ $LABEL == $EXPECT_LABEL ] 2>/dev/null ; then + mkdir -p /media/cdrom 2>/dev/null + mount $DEV /media/cdrom + if [ ! -d /media/cdrom/depot ]; then + umount -n /media/cdrom + fi + break + fi +done +} +if [ ! "$EUID" -eq 0 ]; then + echo "Seul le compte root peut synchroniser les ports NuTyX" + exit 1 +fi +if ! mountpoint /media/cdrom > /dev/null; then + find_cd +fi +pkg-get sync +for i in `cat /etc/pkg-get.conf |grep -v ^#|grep http|cut -d "|" -f 1|cut -d" " -f2|cut -d"/" -f4` +do + if [ -d $MediaDepot/$i ]; then + rm -r $Depot/$i > /dev/null 2>&1 + mkdir -p $Depot/$i + for j in $MediaDepot/$i/*.xz + do + let PKGNB=$PKGNB+1 + fj=`basename $j` + ln -sf $MediaDepot/$i/$fj $Depot/$i/$fj + echo -n -e "$PKGNB Paquets trouvés sur le média\r" + done + echo "$PKGNB Paquets trouvés sur le média" + cp $MediaDepot/$i/PKG* $Depot/$i/ + fi +done -- cgit v1.2.3-70-g09d2 From 659810a2bcd598441b308e56ee6cdee7c213c488 Mon Sep 17 00:00:00 2001 From: tnut Date: Sat, 14 Jan 2012 11:17:42 +0100 Subject: pkg-get, maj 0.3.94-1 --- pkg-get/.md5sum.i686 | 2 +- pkg-get/.md5sum.x86_64 | 2 +- pkg-get/Pkgfile | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) (limited to 'pkg-get') diff --git a/pkg-get/.md5sum.i686 b/pkg-get/.md5sum.i686 index 18265b57a..07209fb2f 100644 --- a/pkg-get/.md5sum.i686 +++ b/pkg-get/.md5sum.i686 @@ -1,2 +1,2 @@ -3653b64e437d6f06a2e14c8d1e4560d0 pkg-get-0.3.93.tar.gz +48ab36d988e6dae3ff3d41e32fd39e8f pkg-get-0.3.94.tar.gz 4b2308a5898180c997380228c0dc893b syn diff --git a/pkg-get/.md5sum.x86_64 b/pkg-get/.md5sum.x86_64 index 18265b57a..07209fb2f 100644 --- a/pkg-get/.md5sum.x86_64 +++ b/pkg-get/.md5sum.x86_64 @@ -1,2 +1,2 @@ -3653b64e437d6f06a2e14c8d1e4560d0 pkg-get-0.3.93.tar.gz +48ab36d988e6dae3ff3d41e32fd39e8f pkg-get-0.3.94.tar.gz 4b2308a5898180c997380228c0dc893b syn diff --git a/pkg-get/Pkgfile b/pkg-get/Pkgfile index bf3dac834..d32cf2c10 100644 --- a/pkg-get/Pkgfile +++ b/pkg-get/Pkgfile @@ -5,7 +5,7 @@ # Depends on: curl name=pkg-get -version=0.3.93 +version=0.3.94 release=1 source=(http://nutyx.meticul.eu/files/$name-$version.tar.gz \ syn) -- cgit v1.2.3-70-g09d2 From 6c934507f59d7b47306b959635eb75b85fc4c60d Mon Sep 17 00:00:00 2001 From: tnut Date: Sat, 14 Jan 2012 21:57:28 +0100 Subject: pkg-get, maj 0.3.94.1-1 --- pkg-get/.md5sum.i686 | 2 +- pkg-get/.md5sum.x86_64 | 2 +- pkg-get/Pkgfile | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) (limited to 'pkg-get') diff --git a/pkg-get/.md5sum.i686 b/pkg-get/.md5sum.i686 index 07209fb2f..20df2cc52 100644 --- a/pkg-get/.md5sum.i686 +++ b/pkg-get/.md5sum.i686 @@ -1,2 +1,2 @@ -48ab36d988e6dae3ff3d41e32fd39e8f pkg-get-0.3.94.tar.gz +2a62d335e3473caf51dd3bed252aef72 pkg-get-0.3.94.1.tar.gz 4b2308a5898180c997380228c0dc893b syn diff --git a/pkg-get/.md5sum.x86_64 b/pkg-get/.md5sum.x86_64 index 07209fb2f..20df2cc52 100644 --- a/pkg-get/.md5sum.x86_64 +++ b/pkg-get/.md5sum.x86_64 @@ -1,2 +1,2 @@ -48ab36d988e6dae3ff3d41e32fd39e8f pkg-get-0.3.94.tar.gz +2a62d335e3473caf51dd3bed252aef72 pkg-get-0.3.94.1.tar.gz 4b2308a5898180c997380228c0dc893b syn diff --git a/pkg-get/Pkgfile b/pkg-get/Pkgfile index d32cf2c10..53c7825fb 100644 --- a/pkg-get/Pkgfile +++ b/pkg-get/Pkgfile @@ -5,7 +5,7 @@ # Depends on: curl name=pkg-get -version=0.3.94 +version=0.3.94.1 release=1 source=(http://nutyx.meticul.eu/files/$name-$version.tar.gz \ syn) -- cgit v1.2.3-70-g09d2 From b2ac8562039daebd8730bef994b695834ce74492 Mon Sep 17 00:00:00 2001 From: tnut Date: Sun, 15 Jan 2012 13:54:24 +0100 Subject: pkg-get maj 0.3.94.2-1 --- pkg-get/.footprint.i686 | 2 +- pkg-get/.footprint.x86_64 | 2 +- pkg-get/.md5sum.i686 | 2 +- pkg-get/.md5sum.x86_64 | 2 +- pkg-get/Pkgfile | 4 +--- 5 files changed, 5 insertions(+), 7 deletions(-) (limited to 'pkg-get') diff --git a/pkg-get/.footprint.i686 b/pkg-get/.footprint.i686 index a7cdc34c6..3d58d2fb9 100644 --- a/pkg-get/.footprint.i686 +++ b/pkg-get/.footprint.i686 @@ -1,5 +1,5 @@ drwxr-xr-x root/root etc/ --rwxr-xr-x root/root etc/pkg-get.conf +-rw-r--r-- root/root etc/pkg-get.conf drwxr-xr-x root/root usr/ drwxr-xr-x root/root usr/bin/ -rwxr-xr-x root/root usr/bin/pkg-get diff --git a/pkg-get/.footprint.x86_64 b/pkg-get/.footprint.x86_64 index a7cdc34c6..3d58d2fb9 100644 --- a/pkg-get/.footprint.x86_64 +++ b/pkg-get/.footprint.x86_64 @@ -1,5 +1,5 @@ drwxr-xr-x root/root etc/ --rwxr-xr-x root/root etc/pkg-get.conf +-rw-r--r-- root/root etc/pkg-get.conf drwxr-xr-x root/root usr/ drwxr-xr-x root/root usr/bin/ -rwxr-xr-x root/root usr/bin/pkg-get diff --git a/pkg-get/.md5sum.i686 b/pkg-get/.md5sum.i686 index 20df2cc52..ca4c14c05 100644 --- a/pkg-get/.md5sum.i686 +++ b/pkg-get/.md5sum.i686 @@ -1,2 +1,2 @@ -2a62d335e3473caf51dd3bed252aef72 pkg-get-0.3.94.1.tar.gz +e8f643ed75391e8a5b7314084f0b9f9a pkg-get-0.3.94.2.tar.gz 4b2308a5898180c997380228c0dc893b syn diff --git a/pkg-get/.md5sum.x86_64 b/pkg-get/.md5sum.x86_64 index 20df2cc52..ca4c14c05 100644 --- a/pkg-get/.md5sum.x86_64 +++ b/pkg-get/.md5sum.x86_64 @@ -1,2 +1,2 @@ -2a62d335e3473caf51dd3bed252aef72 pkg-get-0.3.94.1.tar.gz +e8f643ed75391e8a5b7314084f0b9f9a pkg-get-0.3.94.2.tar.gz 4b2308a5898180c997380228c0dc893b syn diff --git a/pkg-get/Pkgfile b/pkg-get/Pkgfile index 53c7825fb..0f6b08181 100644 --- a/pkg-get/Pkgfile +++ b/pkg-get/Pkgfile @@ -5,7 +5,7 @@ # Depends on: curl name=pkg-get -version=0.3.94.1 +version=0.3.94.2 release=1 source=(http://nutyx.meticul.eu/files/$name-$version.tar.gz \ syn) @@ -13,9 +13,7 @@ source=(http://nutyx.meticul.eu/files/$name-$version.tar.gz \ build() { cd $name-$version - make clean make make DESTDIR=$PKG install - sed -i "s/uname-m/`uname -m`/g" $PKG/etc/pkg-get.conf install -m 755 ../syn $PKG/usr/bin/syn } -- cgit v1.2.3-70-g09d2 From e45a50aadb0a6847ea8a10f723116af79a454f1f Mon Sep 17 00:00:00 2001 From: tnut Date: Sat, 21 Jan 2012 21:56:22 +0100 Subject: pkg-get maj 0.3.95-1 --- pkg-get/.md5sum.i686 | 2 +- pkg-get/.md5sum.x86_64 | 2 +- pkg-get/Pkgfile | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) (limited to 'pkg-get') diff --git a/pkg-get/.md5sum.i686 b/pkg-get/.md5sum.i686 index ca4c14c05..a1aa5eca9 100644 --- a/pkg-get/.md5sum.i686 +++ b/pkg-get/.md5sum.i686 @@ -1,2 +1,2 @@ -e8f643ed75391e8a5b7314084f0b9f9a pkg-get-0.3.94.2.tar.gz +6a090bcb120dc28f8160d1326889e1c6 pkg-get-0.3.95.tar.gz 4b2308a5898180c997380228c0dc893b syn diff --git a/pkg-get/.md5sum.x86_64 b/pkg-get/.md5sum.x86_64 index ca4c14c05..a1aa5eca9 100644 --- a/pkg-get/.md5sum.x86_64 +++ b/pkg-get/.md5sum.x86_64 @@ -1,2 +1,2 @@ -e8f643ed75391e8a5b7314084f0b9f9a pkg-get-0.3.94.2.tar.gz +6a090bcb120dc28f8160d1326889e1c6 pkg-get-0.3.95.tar.gz 4b2308a5898180c997380228c0dc893b syn diff --git a/pkg-get/Pkgfile b/pkg-get/Pkgfile index 0f6b08181..36ff163b1 100644 --- a/pkg-get/Pkgfile +++ b/pkg-get/Pkgfile @@ -5,7 +5,7 @@ # Depends on: curl name=pkg-get -version=0.3.94.2 +version=0.3.95 release=1 source=(http://nutyx.meticul.eu/files/$name-$version.tar.gz \ syn) -- cgit v1.2.3-70-g09d2