Thursday, April 22, 2010

RPM Fusion repository

Sorry for being vacum, okay i want to write a bash script that i used for mirroring RPM Fusion repository, for you who aren't familiar with RPM Fusion, here a descriptions
RPM Fusion provides software that the Fedora Project or Red Hat doesn't want to ship. That software is provided as precompiled RPMs for all current Fedora versions and Red Hat Enterprise Linux 5; you can use the RPM Fusion repositories with tools like yum and PackageKit.

RPM Fusion is a merger of Dribble, Freshrpms, and Livna; our goal is to simplify end-user experience by grouping as much add-on software as possible in a single location. Also see our FoundingPrinciples.

This clear right?, i need to mirroring RPM Fusion repository. The bad news is they not provide a mechanism for mirroring their repository in this case by serving rsync. We have GNU Wget, it is a powerful network utility from the GNU Project. I won't tell you what Wget offers here, so many ;p. And here the script i used to mirroring RPM Fusion's repository.

http://pastebin.com/raw.php?i=QWtnumMn