Dot Sharp Consulting

Yum-Repo-Sync

português

This program has two parts, the executable script and the config file, the shell script get download informations from config file and use rsync to make download.

The config file can be locate in /etc/sysconfig/yum-repo-sync, the file is very well comented.

The config file is pre-configured with repository for Fedora Core 3, 4, 5 and 6 but disable per default, to enable edit the config file and change the line ENABLE_n from false to true.

License

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

Instalação

tar.gz

Extract files

tar -xzvf yum-repo-sync-1.1.tar.gz

Change to directory

cd yum-repo-sync-1.1

Run make command

make

To enable auto download make a synlink in the diretoryo /etc/cron.daily/

ln -s /usr/bin/yum-repo-sync /etc/cron.daily/yum-repo-sync

RPM

Only install package

rpm -ivh yum-repo-sync-1.1-1.noarch.rpm

Rebuild src.rpm

Use rpmbuild to rebuild the source rpm

rpmbuild --rebuild yum-repo-sync-1.1-1.src.rpm

To rebuild from tar.gz use command below

rpmbuild -ta yum-repo-sync-1.1.tar.gz

Download

yum-repo-sync-1.1.tar.gz
yum-repo-sync-1.1.noarch.rpm
yum-repo-sync-1.1-1.src.rpm

Todos os textos disponiveis no site tem como objetivo mostrar casos praticos de uso, não nos responsabilizamos de forma alguma por problemas causados pelo mau uso das informações.
Valid CSS! Valid XHTML 1.1