summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsibel <lesibel@free.fr>2011-03-10 21:44:38 +0100
committersibel <lesibel@free.fr>2011-03-10 21:44:38 +0100
commita340126bd65752f00cb52e7bb5ee7ce71bcfa33d (patch)
tree60dfed978ee62a4427cb84a9ffbf17845e9a2a29
parent2de50aead299c7e4478a1ecfc4c76cf31e2c980a (diff)
parent904acf19cf23605501aaac48660438a86db5f6e0 (diff)
downloadnutyx-pakxe-a340126bd65752f00cb52e7bb5ee7ce71bcfa33d.tar.gz
nutyx-pakxe-a340126bd65752f00cb52e7bb5ee7ce71bcfa33d.tar.bz2
nutyx-pakxe-a340126bd65752f00cb52e7bb5ee7ce71bcfa33d.tar.xz
nutyx-pakxe-a340126bd65752f00cb52e7bb5ee7ce71bcfa33d.zip
Merge branch 'master' of ssh://kiao.no-ip.info:443/~/pakxe
-rw-r--r--base/pkg-get-awk/Pkgfile4
-rwxr-xr-xbase/pkg-get-awk/pkg-get.awk16
-rwxr-xr-xextra/lcms/Pkgfile4
-rwxr-xr-xextra/libieee1284/Pkgfile2
-rw-r--r--extra/xmlsec/.md5sum.x86_642
5 files changed, 16 insertions, 12 deletions
diff --git a/base/pkg-get-awk/Pkgfile b/base/pkg-get-awk/Pkgfile
index d47a1b130..39b939a38 100644
--- a/base/pkg-get-awk/Pkgfile
+++ b/base/pkg-get-awk/Pkgfile
@@ -1,11 +1,11 @@
-# Description: Un gestionnaire de paquets binaire pour NuTyX léger et rapide
+# Description: Un gestionnaire de paquets binaires pour NuTyX léger et rapide
# URL: http://www.nutyx.org
# Maintainer: NuTyX core team
# Packager: guy_
name=pkg-get-awk
version=0.3.2
-release=1
+release=2
source=(syn pkg-get.awk pkg-get-awk.conf pkg-get.po)
PKGMK_KEEP_LOCALES=yes
diff --git a/base/pkg-get-awk/pkg-get.awk b/base/pkg-get-awk/pkg-get.awk
index 7206dfc55..4cb30ce2a 100755
--- a/base/pkg-get-awk/pkg-get.awk
+++ b/base/pkg-get-awk/pkg-get.awk
@@ -14,7 +14,7 @@ function configs( a, i, k, n, old_FS)
n=split(ENVIRON["_"],a,"/")
NPKG = a[n]
VERSION = "0.3.2"
- DATE = "2011-03-06"
+ DATE = "2011-03-10"
# defauts
CONF = "/etc/pkg-get.conf"
@@ -185,7 +185,6 @@ function depinst( i)
function depinst2(Pkg, a, i, n)
{
-# print "=== depinst2 " Pkg
n=split(tb_DEPS[Pkg],a,",")
for (i=1; i<=n; i++) {
if (tb_DEP_TRT[a[i]]==0) {
@@ -193,13 +192,11 @@ function depinst2(Pkg, a, i, n)
if (a[i] in tb_DEPS)
depinst2(a[i])
if (!(a[i] in tb_DB)) {
-# print "=== install2_update2 F: " a[i]
install2_update2(a[i], "")
}
}
}
if (!(Pkg in tb_DB)) {
-# print "=== install2_update2 Z: " Pkg
install2_update2(Pkg, "")
}
}
@@ -358,6 +355,12 @@ function install( i)
function install2_update2(Pkg, Oper, cmd, i, pak)
{
+###
+ if (!(Pkg in tb_REPO)) {
+ print "\033[1;31m" _"Paquet" " " Pkg " " _"indisponible" "\033[1;0m"
+ return
+ }
+###
if (tb_REPO[Pkg] != "" ) {
pak=Pkg"#"tb_REPO[Pkg] ".pkg.tar.xz"
download(pak)
@@ -386,6 +389,9 @@ function install2_update2(Pkg, Oper, cmd, i, pak)
print
close(cmd)
}
+###
+ tb_DB[Pkg]=tb_REPO[Pkg]
+###
if (POST=="y" && tb_POST[Pkg]=="yes") { # post-install
cmd = "/bin/bash " tb_PKGDIR[Pkg] "/PKGINST " Pkg "_post_install"
if ("--dry" in tb_OPT) {
@@ -751,7 +757,7 @@ function update( i)
load_REPO()
load_DB() ##
for (i=1; i<=nPKG; i++) {
- if (!(tb_PKG[i] in tb_LOCK)) {
+ if (!(tb_PKG[i] in tb_LOCK) && !(tb_PKG[i] in tb_DB)) {
print _"paquet à mettre à jour:" " " tb_PKG[i]
install2_update2(tb_PKG[i], "-u")
}
diff --git a/extra/lcms/Pkgfile b/extra/lcms/Pkgfile
index 5c5e8ad27..13a8f96c3 100755
--- a/extra/lcms/Pkgfile
+++ b/extra/lcms/Pkgfile
@@ -2,8 +2,8 @@
# URL: http://www.littlecms.com/
# Maintainer: NuTyX core team
# Packager: thierryn1 at hispeed dot ch
-# Depends on: libtiff, libjpeg, python
-# Run on: libtiff,libjpeg,python
+# Depends on: libtiff, libjpeg
+# Run on: libtiff,libjpeg
name=lcms
version=1.19
diff --git a/extra/libieee1284/Pkgfile b/extra/libieee1284/Pkgfile
index bd0559066..afc4c844a 100755
--- a/extra/libieee1284/Pkgfile
+++ b/extra/libieee1284/Pkgfile
@@ -2,8 +2,6 @@
# URL: http://cyberelk.net/tim/software/libieee1284/
# Maintainer: NuTyX core team
# Packager: fred.galusik at gmail dot com
-# Depends on: python
-# Run on: python
name=libieee1284
version=0.2.11
diff --git a/extra/xmlsec/.md5sum.x86_64 b/extra/xmlsec/.md5sum.x86_64
index 0ef5a8d81..6e92f45e1 100644
--- a/extra/xmlsec/.md5sum.x86_64
+++ b/extra/xmlsec/.md5sum.x86_64
@@ -1 +1 @@
-17e8eb9a4ec4139b7689d139be4da133 xmlsec1-1.2.16.tar.gz
+ee69dcb7eac8fd5f6b43e95a86a155fe xmlsec1-1.2.16.tar.gz