GENTOO Vdr ebuilds

From VDR Wiki
Jump to navigation Jump to search

The VDR ebuilds are no official Gentoo ebuilds, and are therefor maintained in the german CVS of Gentoo.de.

Automatic method

One can avoid the detour with the CVS tree of Berlios and directly use

emerge sync

Therefor /etc/make.conf get the following entry

SYNC="rsync://rsync16.de.gentoo.org/gentoo-merged"

and the entry: PORTAGE_OVERLAY can (if present) be deleted.

NOTE: The gentoo-merged Tree is outdated, the Server was switched off in May 2005

If you want to use portage for the VDR Ebuilds, you can use the PORTAGE_OVERLAY functionality by following the steps below:

For updating the ebuilds you will use gensync from the gentoolkit-dev package:

emerge gentoolkit-dev
mkdir -p /usr/local/gentoo-de

In /etc/gensync/gentoo-de.syncsource write

id="gentoo-de"
description="gentoo.de Portage Overlay"
rsync="rsync://rsync16.de.gentoo.org/gentoo-de-ebuilds"
# mirror is the none with all VDR ebuilds!!!
# overlay="/my/absolute/path"
overlay="/usr/local/gentoo-de"

Now you can download our Ebuilds by means of gensync, and later also with the same command to keep them up to date.

gensync gentoo-de

Change the PORTDIR_OVERLAY Variable in /etc/make.conf:

PORTDIR_OVERLAY="/usr/local/gentoo-de"

Manual method

To use this ebuilds, they have to be brought in the Gentoo system manually. Sadly, there is no mechanism like emerge sync. The ebuild are downloaded as tarballs from gentoo.de.

1) wget "http://cvs.berlios.de/cgi-bin/viewcvs.cgi/gentoo-deutsch/ebuilds/ebuilds.tar.gz?tarball=1" -O ebuilds.tar.gz

To use specific ebuilds, there exists the portage variable PORTDIR_OVERLAY in the file /etc/make.conf. This variable should be set to /usr/local/portage (default).

2) vi +/PORTDIR_OVERLAY /etc/make.conf

Now the tarball should be unpacked and the files moved to the appropiate locations

3) mkdir /usr/local/portage
4) tar xfvz ebuilds.tar.gz -C /usr/local/portage
5) mv /usr/local/portage/ebuilds/* /usr/local/portage/

Try emerge -p vdr. Something like this should be the result

[ebuild  N   ] media-video/linuxdvb-1.0.0_pre2
[ebuild  N   ] media-video/vdr-1.1.26

To update the ebuild the steps 1, 4 and 5 are sufficient.

  • Gentoo.de Linux Portage tree mirror
rsync://rsync16.de.gentoo.org/gentoo-de
  • Gentoo.de and Gentoo.org Linux Portage tree mirror
rsync://rsync16.de.gentoo.org/gentoo-merged

Links

[1] http://www.fh-luh.de/snapshots Portage snapshots