diff options
author | tnut <tnut at nutyx dot com> | 2012-01-08 12:15:45 +0100 |
---|---|---|
committer | tnut <tnut at nutyx dot com> | 2012-01-08 12:15:45 +0100 |
commit | 3f57a7f93b3e7550cbd73036f6a56654e17d1d5c (patch) | |
tree | 819b14ab0377fe2054fe59866669d904e9e0b4b5 /base/pkg-get | |
parent | c9972ec7f32bf9d37388e853fe9bf633e242d05a (diff) | |
download | nutyx-extra-3f57a7f93b3e7550cbd73036f6a56654e17d1d5c.tar.gz nutyx-extra-3f57a7f93b3e7550cbd73036f6a56654e17d1d5c.tar.bz2 nutyx-extra-3f57a7f93b3e7550cbd73036f6a56654e17d1d5c.tar.xz nutyx-extra-3f57a7f93b3e7550cbd73036f6a56654e17d1d5c.zip |
split de git pakxe et NuTyX-extra
Diffstat (limited to 'base/pkg-get')
-rw-r--r-- | base/pkg-get/.footprint.i686 | 11 | ||||
-rw-r--r-- | base/pkg-get/.footprint.x86_64 | 11 | ||||
-rw-r--r-- | base/pkg-get/.md5sum.i686 | 2 | ||||
-rw-r--r-- | base/pkg-get/.md5sum.x86_64 | 2 | ||||
-rw-r--r-- | base/pkg-get/Pkgfile | 21 | ||||
-rw-r--r-- | base/pkg-get/syn | 44 |
6 files changed, 0 insertions, 91 deletions
diff --git a/base/pkg-get/.footprint.i686 b/base/pkg-get/.footprint.i686 deleted file mode 100644 index a7cdc34c6..000000000 --- a/base/pkg-get/.footprint.i686 +++ /dev/null @@ -1,11 +0,0 @@ -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/base/pkg-get/.footprint.x86_64 b/base/pkg-get/.footprint.x86_64 deleted file mode 100644 index a7cdc34c6..000000000 --- a/base/pkg-get/.footprint.x86_64 +++ /dev/null @@ -1,11 +0,0 @@ -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/base/pkg-get/.md5sum.i686 b/base/pkg-get/.md5sum.i686 deleted file mode 100644 index 18265b57a..000000000 --- a/base/pkg-get/.md5sum.i686 +++ /dev/null @@ -1,2 +0,0 @@ -3653b64e437d6f06a2e14c8d1e4560d0 pkg-get-0.3.93.tar.gz -4b2308a5898180c997380228c0dc893b syn diff --git a/base/pkg-get/.md5sum.x86_64 b/base/pkg-get/.md5sum.x86_64 deleted file mode 100644 index 18265b57a..000000000 --- a/base/pkg-get/.md5sum.x86_64 +++ /dev/null @@ -1,2 +0,0 @@ -3653b64e437d6f06a2e14c8d1e4560d0 pkg-get-0.3.93.tar.gz -4b2308a5898180c997380228c0dc893b syn diff --git a/base/pkg-get/Pkgfile b/base/pkg-get/Pkgfile deleted file mode 100644 index bf3dac834..000000000 --- a/base/pkg-get/Pkgfile +++ /dev/null @@ -1,21 +0,0 @@ -# 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/base/pkg-get/syn b/base/pkg-get/syn deleted file mode 100644 index 68a38c4b2..000000000 --- a/base/pkg-get/syn +++ /dev/null @@ -1,44 +0,0 @@ -#!/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 |