Sunday, October 17, 2010

Repositories and Distribution

In this session I will discuss signing of rpm packages, which I had the opportunity of performing. In my previous blog I talked about using koji setup with the sshguard rpm package that I built from scratch. I used sshguard as the package of choice for rpm signing as well. In an effort to briefly chronicle the steps taken. I had to first create a gpg key using the following command: gpg --gen-key - then I added my gpg key macros with e-mail address details ex %_gpg_name <"email address goes here">.

I proceeded to sign the package with the command: rpm --addsign <packagename> - below is a screenshot that exhibits the process/outcome.

The second phase saw me create a "Yum Repositorty", which was pretty cool to do. I can now say that I have been able to build a package that is capable of being served to other users, for their own purposes.

To accomplish this I placed my signed package in the /var/www/html directory, thereby making it accessible via a web browser. Once that process was completed, I then created a new rpm to contain a new repo file and GPG key. I will now be working on a project, which I will create a discussion about in the next few weeks...should be interesting. I cannot disclose at the moment what this project may involved; as it tentative at the moment. I will keep you posted regarding this development.

No comments: