Syndicate
Site (RSS, Atom)
Contact
Weblog status
Total entries: 50
Last entry: 2016-10-17 22:22:03
Last updated: 2016-10-18 07:57:57
powered by vim, bash, cat, grep, sed, and nb 3.4.2

April 2015 Archives

2015-04-26 21:00:13

tuxad yum package repository for RHEL / CentOS 5 x86_64

About

The tuxad repository contains some special packages and some "updates" for RHEL / CentOS 5.

News

The tuxad repository is now also available for x86_64 architecture.

The optional openssl1 package which provides modern ciphers and protocols for RHEL 5 was updated (based on the latest RHEL 6 package).

The openssl1-devel package got some mods to fix bugs when compiling some packages which use openssl - this enhances the compatibility with 0.98.

The list of packages available for x86_64 including some against openssl1 re-compiled RHEL server packages like Apache or postfix:

$ yum --disablerepo="*" --enablerepo="tuxad" \
      --disableexcludes=all list available
ash.x86_64                   0.3.8-20                  tuxad
cdb.x86_64                   0.75-5                    tuxad
curl.x86_64                  7.15.5-17.el5_11          tuxad
curl-devel.x86_64            7.15.5-17.el5_11          tuxad
daemontools.x86_64           0.76-15                   tuxad
djbdns.x86_64                1.05-26                   tuxad
dovecot.x86_64               1.0.7-9.el5_11.4.log      tuxad
enchant.x86_64               1:1.6.0-1                 tuxad
enchant-aspell.x86_64        1:1.6.0-1                 tuxad
enchant-devel.x86_64         1:1.6.0-1                 tuxad
enchant-voikko.x86_64        1:1.6.0-1                 tuxad
fuse-sshfs.x86_64            2.4-2                     tuxad
glib216.x86_64               2.16.6-5                  tuxad
glib216-devel.x86_64         2.16.6-5                  tuxad
heirloom-sh.x86_64           20090118-1                tuxad
hunspell.x86_64              1.2.8-15                  tuxad
hunspell-devel.x86_64        1.2.8-15                  tuxad
libmalaga.x86_64             7.12-6                    tuxad
libvoikko.noarch             2.2.2-1                   tuxad
libvoikko-devel.noarch       2.2.2-1                   tuxad
loudmouth.x86_64             20150208-1                tuxad
loudmouth-devel.x86_64       20150208-1                tuxad
malaga.x86_64                7.12-6                    tuxad
malaga-devel.x86_64          7.12-6                    tuxad
malaga-suomi-voikko.x86_64   1.4-0.3.rc3               tuxad
mcabber.x86_64               0.10.3-2                  tuxad
mcabber-devel.x86_64         0.10.3-2                  tuxad
mu-conference.x86_64         0.8-8.fwb                 tuxad
ngtx.x86_64                  20140811-1                tuxad
ngtx-monitoringfs.x86_64     20140811-1                tuxad
openssl1.x86_64              1.0.1e-30.rh5.8           tuxad
openssl1-devel.x86_64        1.0.1e-30.rh5.8           tuxad
openssl1-static.x86_64       1.0.1e-30.rh5.8           tuxad
python-libvoikko.noarch      2.2.2-1                   tuxad
rman.x86_64                  3.2-8                     tuxad
shish.x86_64                 0.7pre3-1                 tuxad
tuxad-release.noarch         5-2                       tuxad
ucspi-tcp.x86_64             0.88-27                   tuxad
voikko-tools.noarch          2.2.2-1                   tuxad
vsftpd.x86_64                2.0.5-28.el5_11           tuxad
wget.x86_64                  1.11.4-3.el5_11.2         tuxad

For security reasons some server software have been explicitely excluded in the repo file: dovecot httpd postfix vsftpd. If you actually want to use these openssl1 enabled packages then you must remove the exclude(s) or use --disableexcludes on the command line.

Install / use the custom RHEL 5 repository

Install the repository configuration and GPG key:

rpm -i http://www.tuxad.de/repo/5/tuxad.rpm

Once you have done this you might be able to install i.e. openssl1 by

yum install openssl1

The GPG key file RPM-GPG-KEY-TUXAD-A95F6F37 will be placed in /etc/pki/rpm-gpg/ and it will be automatically imported on your first "yum install" from this repo.


Posted by Frank W. Bergmann | Permanent link | File under: ssl, encryption, rpm, yum, repository, redhat, openssl

2015-04-07 20:46:09

AirPrint with Red Hat / Fedora

Apple's AirPrint uses Bonjour / Zeroconf to automatically announce services and more in a network. Under the hood it uses Multicast DNS (mDNS) or DNS Service Discovery (dns-sd). On Linux servers this is done by avahi.

Many tutorials have been written for this topic. Even a special script airprint-generate.py was written to automatically create an avahi service description for every printer published by a (local) CUPS printing service.

Nevertheless many Fedora-like distros still need some manual configuration due to missing MIME type image/urf. I made a small patch to also automate adding of the MIME type and its conversion if the (local) CUPS server does not yet support it.

If the MIME type image/urf is missing then airprint-generate-rh.py will issue a warning:

# python2 airprint-generate-rh.py -v
image/urf is not in mime types, generating airprint.types and
 airprint.convs; you should restart cups by
 "systemctl restart cups.service" and run this script again
Created: /etc/avahi/services/AirPrint-Epson-smb.service

You will see two new files:

# ls -l /usr/share/cups/mime/air*
total 32
-rw-r--r--. 1 root root   53 Apr  7 16:28 airprint.convs
-rw-r--r--. 1 root root   36 Apr  7 16:28 airprint.types

After restarting cups and running the script again there should be no warning anymore.


Posted by Frank W. Bergmann | Permanent link | File under: networking, redhat, fedora, apple, python