Tripwire RPM for RHEL 4 , WBEL 4, CentOS 4.

I don’t know everything about linux, who does ? So if I put one into a production environment I want to know if anything changes.

It took a couple of goes, but I finally managed to build a tripwire rpm for Redhat Enterprise Linux, I’ve been testing it for a couple of weeks, all looks good.

It’s available from my files directory or my repo , if you have any problems let me know :-)

Yum Fun !

This has been on my to do list for a while… I have finally converted my little reporsitory of rpm’s into a proper yum repo !

The old xfce repo has been mergered into a new Whitebox repo, which in fact can be used for CentOS, WBEL or Red Hat Enterprise Linux (RHEL).

A new fedora repo exists as well, those with a keen eye will see new rpm sections for FC5 64_86 (my new pc!).

All packages will be signed with my gpg key, and config files can be found here:

  • linickx-fedora.repo
    [LINICKX]
    name=LINICKX Fedora Yum Repo
    baseurl=http://www.linickx.com/files/rpm/fedora/$releasever/$basearch/
    gpgkey=http://www.linickx.com/files/GPG-KEY-NICK
    gpgcheck=1
    
  • linickx-whitebox.repo
    [LINICKX]
    name=LINICKX WBEL Yum Repo
    baseurl=http://www.linickx.com/files/rpm/whitebox/$releasever/$basearch/
    gpgkey=http://www.linickx.com/files/GPG-KEY-NICK
    gpgcheck=1
    

copy the .repo’s into your /etc/yum.repo.d dir and you should be away ! Let me know if you have any problems :cool:

XFCE 4.2.2 Released

XFCE 4.2.2 has been released, and to be honest I’ve struggled to get the rpm rebuilds done… just no time :’( !

Anyway the official announcement was here

http://foo-projects.org/pipermail/xfce-announce/2005-May/000021.html

You can update your whitebox installation using [LINICKX].com ! Check that you have something like this in your /etc/yum.conf

[LINICKX]
name=LINICKX Yum Repo
baseurl=http://www.linickx.com/files/rpm/whitebox/xfce-repo/

Then… from a shell do:

root@localhost # yum update xffm\* xfwm4\* xfce\* xfdesktop

…and your done :cool:

Rebuilding RPMS – Getting Started Guide.

I’ve got a few posts in my wordpress drafts that are based around rebuilding RPMS, I figure that before I finish them it makes sense to wrte a Getting Started Guide.

The first thing is based around the “Unix Golden Rule”: Only use root when you have to.

To rebuild rpms you need a cirtain directory stucture, it is located in /usr/src/redhat, but since it is owned by root you’re gonna need on in your $HOME. The following does the job:

$SHELL>cd $HOME
$SHELL>cp -a /usr/src/redhat/ rpmbuild
$SHELL>echo ‘%_topdir %(echo $HOME)/rpmbuild’ >> .rpmmacros

Next: you need a Source RPM, these are usually found with any other RPM, except they end .src.rpm rather than .i386.rpm or similar. Start with something simple like wget; (Sometimes building rpms requires dependancies) now this import, install as your normal user NOT root.

$SHELL>rpm -ivh wget-1.9.1-17.src.rpm
1:wget ########################################### [100%]
$SHELL>

This will put all of the source in wget-1.9.1-17.src.rpm into your $HOME/rpmbuild directory, specifically you’lll find the actual sources in $HOME/rpmbuild/SOURCES and a SPEC file in $HOME/rpmbuild/SPEC. The Sources are all the files you need; so the source.tar.gz that you’d usually run the “holy trinity” (configure, make, make install ) against, and any patches. The SPEC file is what turns the sources & patches into the RPM, so if you want to change the RPM in anyway, like change the changelog (i.e. packaged by [NICK] ) you edit the spec file.

So to turn the src.rpm into an installable file you run.

$SHELL>cd $HOME/rpmbuild/SPECS
$SHELL>rpmbuild -ba wget.spec

and in $HOME/rpmbuild/arch/will be wget-1.9.1-17.arch.rpm (in my case arch is i386; oh and sometimes you get a debug rpm, which gives you some developemnt stuff you might need), and now you have an exact copy of the wget RPM built by Redhat but this one was built by your fair hands ;)

So to Install as root or using sudo

rpm -ivh wget-1.9.1-17.i386.rpm

& you’re done ! So now if you find a src.rpm but not one to install, now you can build your own.

Here are some useful References :

Better Living Through RPM, Part 1
Better Livig Though RPM, Part 2
How to Sign Custom RPM Pakages with GPG
How to create rpmbuild directory

XFCE Yum Repo For WBEL

UPDATE: 15th Aug 06 – This repo has moved, please see this post.

Yesterday I think google & I fell out, I’ve got WBEL installed on a really old PC and GNOME is just too fat :(

I discovered XFCE when I was playing with Fedora Core 2 some time ago. I found it to be a nice light weight windowmager / Desktop Evnvirmoent that used very little memory; so in my wisdom I decided to install XFCE onto my WBEL box, and to my suprise I couldn’t find a Yum Repo. This left me with three options (1) put up with twm (2) find another alternative, read their manual, and learn how to use xyz window manager or (3) Build XFCE for WBEL from source.

I chose (3): The great guys at xfce.org made my job very easy, on their site is whole load or src.rpms, so all i did was recomplie them (After playing a little chase the depandancy) and yum-arch the directory, I updated my yum.conf & Sorted xfce !

Instructions to install xfce here:http://www.linickx.com/index.php?content=whitebox