This is my private yum repository. It contains packages which I am using, or have used in the past, on my own servers. It's here mainly for my own use and for my clients, however if you see something which interests you, feel free to download the RPMs and/or use the appropriate jms1-xxx.repo file on your server.
However, please realize that unless you are one of my clients (i.e. you are somebody who is paying me for something) you shouldn't expect to receive any kind of support for these files.
| Name | Last modified | Size | Description | |
|---|---|---|---|---|
| RPM-GPG-KEY-jms1 | 03-Mar-2011 04:11 | 3.8K | ||
| RPM-GPG-KEY-jms1-8f8d8c9a9014ad1a | 03-Mar-2011 04:11 | 3.8K | ||
| RPM-GPG-KEY-jms1-15f8395e19bc1d82 | 03-Aug-2017 04:16 | 2.0K | ||
| centos/ | 28-Dec-2016 20:51 | - | ||
| jms1-centos5.repo | 07-Sep-2015 21:10 | 140 | ||
| jms1-centos6.repo | 07-Sep-2015 20:41 | 140 | ||
| jms1-centos7.repo | 16-Dec-2019 01:48 | 140 | ||
The information below is more for my own reference than anything else. Most of this information is available from any number of other places on the Internet, I've just re-formatted it in a way which makes more sense to me.
If you happen to find anything useful here, I'm glad you like it. And of course if you happen to spot any problems, I'd like to hear about them. However, this page (and the repo itself) are not really being offered as any kind of public service, so please don't be surprised if I don't make corrections to the page right away....
http://www.rpm.org/max-rpm/s1-rpm-pgp-signing-packages.html
First you need to configure rpm and/or rpmbuild so it knows which key to use. Run "gpg --list-secret-keys" to list your secret keys. Grab the exact name and email address attached to the secret key you want to use.
Edit your "~/.rpmmacros" file, add this line:
Once the key is configured, use one of the following procedures to sign or re-sign a package:
If building an RPM package, add "--sign" to the rpmbuild command line.
If adding a signature to an existing RPM file, use "rpm --addsign blah.rpm".
If changing the signature on an RPM file (i.e. public key changed, etc.) use "rpm --resign blah.rpm"
Assume standard web site directory structure for a site called repo.jms1.net. Create whatever directory structure you like under /www/repo.jms1.net/docs and upload rpm files as desired. The only restriction is that you should not create a directory called repodata, or if it already exists, you should not touch the files in the directory (the createrepo command will write these files for you.)
After uploading or changing files within the repo...
The "createrepo" command creates a "repodata" directory as a child of the specified directory, with xml files containing an index of what RPM packages are available. Other than the "repodata" directory, you can have any directory structure you like within the repo.
I actually cheat a little bit on my own server. I wrote a simple Makefile, and I just run "make" while sitting in the "repo" directory itself.
Note: The default checksum type for CentOS 6 is sha256. If you're hosting a repo on CentOS 6 but the packages are for CentOS 5, you need to add "-s sha" (which is really SHA-1) to the createrepo command line, otherwise CentOS 5's yum client won't be able to use the repo. The CentOS 5 Makefile below has this change.
|
|
Import the gpg public key.
Download the appropriate jms1.repo file to your /etc/yum.repos.d directory:
Run yum check-update to download the index files from the repo.
Or, if you have several yum repositories configured on a machine and need to reload just one of them...
|
Copyright
1995-2025
John M. Simpson KG4ZOW <jms1@jms1.net>
(PGP key) Last updated 2015-09-07 21:38:37 +0000 |
|