aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrhatto <rhatto@04377dda-e619-0410-9926-eae83683ac58>2006-12-11 02:27:59 +0000
committerrhatto <rhatto@04377dda-e619-0410-9926-eae83683ac58>2006-12-11 02:27:59 +0000
commit712f7db70725758c26c51c475e6ebbbb5a35322d (patch)
tree1c7ec58fbc5fc42dcfd225ba5d8bcadd05b47271
parent7853b58334f7e7512b5ef060c6cd29c01896d68b (diff)
downloadsimplepkg-712f7db70725758c26c51c475e6ebbbb5a35322d.tar.gz
simplepkg-712f7db70725758c26c51c475e6ebbbb5a35322d.tar.bz2
last commit of the day
git-svn-id: svn+slack://slack.fluxo.info/var/svn/simplepkg@76 04377dda-e619-0410-9926-eae83683ac58
-rw-r--r--conf/repos.conf.new22
-rw-r--r--doc/CHANGELOG5
-rwxr-xr-xsrc/jail-upgrade1
-rwxr-xr-xsrc/simplaret3
4 files changed, 25 insertions, 6 deletions
diff --git a/conf/repos.conf.new b/conf/repos.conf.new
index 35c76d6..cd3b9ab 100644
--- a/conf/repos.conf.new
+++ b/conf/repos.conf.new
@@ -1,5 +1,5 @@
#
-# repositories definitions for simplaret
+# repository definitions for simplaret
#
# root repositories
@@ -8,18 +8,32 @@ ROOT-i386="sarava%http://slack.sarava.org/slackware/"
ROOT-x86_64="sarava%http://slack.sarava.org/slamd64/"
ROOT-x86_64="slackadelic%http://mirror1.slackadelic.com/slamd64/"
ROOT-x86_64="heanet%http://ftp.heanet.ie/pub/slamd64/"
+ROOT-powerpc="workaround%http://slackintosh.workaround.ch/pub/slackintosh/"
# noarch
NOARCH="sarava%http://slack.sarava.org/packages/noarch"
-# 10.2
+# i386 10.2
REPOS-i386-10.2="sarava%http://slack.sarava.org/packages/slackware/slackware-10.2/"
+PATCHES-i386-10.2="sarava%http://slack.sarava.org/packages/slackware/slackware-10.2/pacthes/"
+
+# x86_64 10.2
REPOS-x86_64-10.2="sarava%http://slack.sarava.org/packages/slamd64/slamd64-10.2/"
+PATCHES-x86_64-10.2="sarava%http://slack.sarava.org/packages/slamd64/slamd64-10.2/patches/"
-# 10.2b
+# x86_64 10.2b
REPOS-x86_64-10.2b="sarava%http://slack.sarava.org/packages/slamd64/slamd64-10.2b/"
+PATCHES-x86_64-10.2b=""sarava%http://slack.sarava.org/packages/slamd64/slamd64-10.2b/patches/"
-# 11.0
+# i386 11.0
REPOS-i386-11.0="sarava%http://slack.sarava.org/packages/slackware/slackware-11.0/"
+PATCHES-i386-11.0="sarava%http://slack.sarava.org/packages/slackware/slackware-11.0/patches/"
+
+# x86_64 11.0
REPOS-x86_64-11.0="sarava%http://slack.sarava.org/packages/slamd64/slamd64-11.0/"
+PATCHES-x86_64-11.0="sarava%http://slack.sarava.org/slamd64/slamd64-11.0/patches/"
+
+# powerpc 11.0
+REPOS-powerpc-11.0="sarava%http://slack.sarava.org/packages/slackintosh/slackintosh-11.0/"
+PATCHES-powerpc-11.0="sarava%http://slackintosh.workaround.ch/pub/slackintosh/11.0/patches/"
diff --git a/doc/CHANGELOG b/doc/CHANGELOG
index d066994..7ec3a65 100644
--- a/doc/CHANGELOG
+++ b/doc/CHANGELOG
@@ -1,7 +1,8 @@
simplepkg changelog
-------------------
-0.4.10pre1: jail-upgrade:
+0.4.10pre1: repos: added patches/ metafile creation
+ jail-upgrade:
- added option CONSIDER_ALL_PACKAGES_AS_PATCHES
- merged swaret and simplaret upgrade procedures
- act recursively on patches' folder
@@ -17,6 +18,8 @@ simplepkg changelog
in the local repository has the same version and
build number, otherwise erase the old and download
the new one.
+ - fixed --get-paches
+ - added --upgrade option
0.4.9: released 0.4.9pre6 as 0.4.9
diff --git a/src/jail-upgrade b/src/jail-upgrade
index c44f32d..fffc099 100755
--- a/src/jail-upgrade
+++ b/src/jail-upgrade
@@ -57,7 +57,6 @@ function jail_upgrade {
elif [ "$SIMPLARET" == "swaret" ]; then
echo error: cant upgrade on $1: no such patch dir $patches_dir
fi
- return
fi
# optionally, search all packages in the repositories and apply a patch if:
diff --git a/src/simplaret b/src/simplaret
index 4f8a4cd..1cef677 100755
--- a/src/simplaret
+++ b/src/simplaret
@@ -514,6 +514,9 @@ function simplaret_get_jail_patches {
# grab patches from every other places
if [ "$CONSIDER_ALL_PACKAGES_AS_PATCHES" == "1" ]; then
+ # TODO: for sugested in `simplaret_search -formatted`; do
+ # and also think yet some more about this scheme... does ROOT/patches
+ # should be dealed as a PATCHES repository?
for sugested in `simplaret_search patches -formatted | grep -v patches`; do
simplaret_search_and_download_patch
done