aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrhatto <rhatto@04377dda-e619-0410-9926-eae83683ac58>2006-09-18 23:22:54 +0000
committerrhatto <rhatto@04377dda-e619-0410-9926-eae83683ac58>2006-09-18 23:22:54 +0000
commita5ad04283516a7ff72cfd33f3221cfd3c10c3b5b (patch)
tree55c12ac5c530bfa4106e7108ac2fddcb5d8d3f64
parentd3d1f990f32160c8e132d0d46578a37db0b39170 (diff)
downloadsimplepkg-a5ad04283516a7ff72cfd33f3221cfd3c10c3b5b.tar.gz
simplepkg-a5ad04283516a7ff72cfd33f3221cfd3c10c3b5b.tar.bz2
simplepkg 0.4.9pre1
git-svn-id: svn+slack://slack.fluxo.info/var/svn/simplepkg@4 04377dda-e619-0410-9926-eae83683ac58
-rw-r--r--CHANGELOG4
-rw-r--r--README15
-rw-r--r--README.pt_BR10
-rwxr-xr-xsimplepkg.SlackBuild2
4 files changed, 22 insertions, 9 deletions
diff --git a/CHANGELOG b/CHANGELOG
index c9b8b37..2de335a 100644
--- a/CHANGELOG
+++ b/CHANGELOG
@@ -1,8 +1,8 @@
simplepkg changelog
-------------------
-0.4.9: (work in progress)
- added createpkg
+0.4.9pre1: added createpkg
+ updated README and README.pt_BR
0.4.8: simplaret: removed extra folder from slamd64 definition
and fixed a typo
diff --git a/README b/README
index 1c6eefc..50b0e9d 100644
--- a/README
+++ b/README
@@ -50,6 +50,8 @@ by the following commands:
- jail-upgrade: upgrade all or some of the jails/installations
- jail-update: update all configuration files of a template
- rebuildpkg: rebuild a package based on its /var/log/packages entry
+ - simplaret: package retrieval tool
+ - createpkg: donwload, compile and package creationg script based on http://slack.sarava.org/slackbuilds
Simplepkg configs are placed at /etc/simplepkg. Templates are .template files containing an one-by-line
package list. A template can be something like this:
@@ -211,12 +213,12 @@ use simplaret and not swaret as the package retrieval tool.
As another example, to create an slack 10.1 installation (assuming your /etc/simplepkg/repos.conf with
the right configuration), just type
- VERSION=10.1 mkjail minha-jaula template-servidor
+ VERSION=10.1 mkjail my-jail server-template
Different archs can be used too. If you have a x86_64 system and wants to install a slack 10.2
in a partition, try something like
- ARCH=i386 VERSION=10.2 ROOT=/mnt mkjail hda2 meu-slackware
+ ARCH=i386 VERSION=10.2 ROOT=/mnt mkjail hda2 my-slackware
Note that the templates are arch and version independent, as they just contain package names,
configuration files and scripts. For this reason, the commands templatepkg, metapkg, lspkg and
@@ -230,8 +232,8 @@ By this way, doesn't matter which versions and archs each of your jails has, jai
the same since your patches are sorted by arch an version, as explained in simplaret documentation
found at http://slack.sarava.org/node/17.
-Auxiliar application: rebuildpkg
---------------------------------
+Auxiliar applications: rebuildpkg and createpkg
+-----------------------------------------------
Simplepkg comes with an additional helper tool that recover installed packages which the original
.tgz file was lost. The command rebuildpkg rebuilds a package from their entry in /var/log/packages.
@@ -242,6 +244,11 @@ As an example,
rebuilds the coreutils package using the files, scripts and metainformations stored in
/var/log/packages/ and /var/log/scripts/.
+If you want to build you own packages using the scripts available from http://slack.sarava.org/slackbuilds,
+use the createpkg script:
+
+ createpkg package-name
+
Source
------
diff --git a/README.pt_BR b/README.pt_BR
index b05d2d6..4e814de 100644
--- a/README.pt_BR
+++ b/README.pt_BR
@@ -52,6 +52,7 @@ simples, composto pelos seguintes comandos:
- jail-upgrade: faz o upgrade nas jaulas
- rebuildpkg: reconstrói um pacote a partir de sua entrada no /var/log/packages
- simplaret: obtém pacotes de repositórios locais ou remotos
+ - createpkg: baixa, compila e empacota software de acordo com http://slack.sarava.org/slackbuilds
A pasta de configuração e armazenamento de templates é a /etc/simplepkg. Templates são arquivos contendo
uma lista de pacotes, um pacote por linha e com a extensão .template. Como exemplo, um template poderia se
@@ -228,8 +229,8 @@ Desse modo, mesmo que você tenha jaulas de versões e arquiteturas diversas, usar
faz a atualização sem problemas, desde que seus patches estejam organizados por arquitetura e versão,
conforme é detalhado na documentação do simplaret, em http://slack.sarava.org/node/16.
-Aplicativo auxiliar: rebuildpkg
--------------------------------
+Aplicativos auxiliares: rebuildpkg e createpkg
+----------------------------------------------
O simplepkg acompanha ainda um aplicativo auxiliar que ajuda a recuperar pacotes instalados cujo tgz original
foi perdido. O comando rebuildpkg reconstrói um pacote a partir de uma entrada no /var/log/packages. O comando
@@ -239,6 +240,11 @@ foi perdido. O comando rebuildpkg reconstrói um pacote a partir de uma entrada n
reconstrói um pacote do coreutils usando os arquivos e as metainformações listadas no arquivo
do /var/log/packages/ correspondente ao coreutils.
+Se você quiser construir seus próprios pacotes baseados nos slackbuilds disponíveis em
+http://slack.sarava.org/slackbuilds, basta utilizar o createpkg:
+
+ createpkg nome-do-pacote
+
Fonte
-----
diff --git a/simplepkg.SlackBuild b/simplepkg.SlackBuild
index 4b25033..26a2d5a 100755
--- a/simplepkg.SlackBuild
+++ b/simplepkg.SlackBuild
@@ -6,7 +6,7 @@
PACKAGE="simplepkg"
PACK_DIR="package-$PACKAGE"
BUILD="1rha"
-VERSION="0.4.9"
+VERSION="0.4.9pre1"
ARCH="noarch"
LIBEXEC="/usr/libexec/$PACKAGE"