RPM Community Forums

Mailing List Message of <rpm-devel>

Is there a LGPL parser for ...

From: Jeff Johnson <n3npq@mac.com>
Date: Mon 31 Mar 2008 - 20:48:46 CEST
Message-Id: <5BAEF8A8-798B-4F93-89A8-64ED48E862B4@mac.com>
I'm looking at mapping the contents of /etc/yum.repos.d/*.repo
files into a header extension.

Is there a reasonable pre-existing LGPL parser around for this spew:

[fedora]
name=Fedora $releasever - $basearch
failovermethod=priority
#baseurl=http://download.fedora.redhat.com/pub/fedora/linux/releases/ 
$releasever/Everything/$basearch/os/
mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=fedora- 
$releasever&arch=$basearch
enabled=0
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora file:///etc/pki/rpm- 
gpg/RPM-GPG-KEY

[fedora-debuginfo]
name=Fedora $releasever - $basearch - Debug
failovermethod=priority
#baseurl=http://download.fedora.redhat.com/pub/fedora/linux/releases/ 
$releasever/Everything/$basearch/debug/
mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=fedora- 
debug-$releasever&arch=$basearch
enabled=0
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora file:///etc/pki/rpm- 
gpg/RPM-GPG-KEY

[fedora-source]
name=Fedora $releasever - Source
failovermethod=priority
#baseurl=http://download.fedora.redhat.com/pub/fedora/linux/releases/ 
$releasever/Everything/source/SRPMS/
mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=fedora- 
source-$releasever&arch=$basearch
enabled=0
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora file:///etc/pki/rpm- 
gpg/RPM-GPG-KEY

I can certainly knock out my own parser in a couple of hours if not.

However, I'm really the last person in the world you want writing  
parsers ... ;-)

73 de Jeff
Received on Mon Mar 31 20:49:42 2008
Driven by Jeff Johnson and the RPM project team.
Hosted by OpenPKG and Ralf S. Engelschall.
Powered by FreeBSD and OpenPKG.