OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
Subject: here's an easy way to do postfix *outside* the rpm system
From: Alan J Rosenthal (flapsdgp.toronto.edu)
Date: Thu May 25 2000 - 18:08:56 CDT


Greetings. From a quick glance at a rather huge file of postfix-users
mail from the last semi-infinite number of months, it looks like the
following is no longer nearly as useful as it might have been if I had
submitted it when I first made it last year...

But anyway, for people using an rpm-based gnu/linux distribution where all
the MUAs require "smtpdaemon" but you want to uninstall the sendmail rpm
and you don't want to install one of the postfix rpms (most likely because
you're building from source for just one or a few machines), you might want
to install this place-holder. This is an rpm with zero files and really
not much of any content except that it satisfies all those MUAs' smtpdaemon
rpm requirements; it's an rpm-database kludge, but a fairly clean one.
Without something like this you can install those MUAs with --nodeps, but
I found that to be a real pain because it breaks my update scripts because
then the update version of the MUA can't install without --nodeps also, etc.

Uuencoded rpm file follows (small!), then the spec file (which is all you
need to produce that binary rpm file itself). I offer this primarily as
the idea rather than as the implementation, although people who somehow
feel that they trust me might want to install the binary rpm.

regards,
ajr

begin 644 smtp-placeholder-0-0.noarch.rpm
M[:ONVP,`````_W-M='`M<&QA8V5H;VQD97(M,"TP````````````````````
M```````````````````````````````````````````!``4`````````````
M````````CJWH`0`````````"````%````^````$``````````$```/L````
M!P````0````0```#_$$L.'^6C_0!I^/[D\O+M+`````CJWH`0`````````6
M```"7````&0````(``````````$```/H````!````(````!```#Z0````8`
M```3`````0```^H````&````%0````$```/L````"0```!<````!```#[0``
M``D```!2`````0```^X````$```!A`````$```/O````!```8````!```#
M\0````0```&`````0```_8````&```!I`````$```/W````!```<8````!
M```#^`````D```'O`````0```_T````&```""````$```/^````!```A``
M```!```$%`````8```(7`````0``!!8````$```"-`````$```07````"```
M`C````!```$'0````0```)$`````0``!!X````(```"2`````$```0?````
M"````E$````!```$*`````8```)2`````0``!%$````$```"6`````%#`'-M
M='`M<&QA8V5H;VQD97(`,``P`'1O(&-A=7-E('1H92!S;71P9&%E;6]N(&9A
M8VEL:71Y('1O(&)E(&-O;G-I9&5R960<')O=FED960`4V]M92!R<&T<&%C
M:V%G97,*&UO<W1L>2!-54%S*2!R97%U:7)E('1H92`B<VUT<&1A96UO;B(
M9F%C:6QI='DL(&)U="!T:&4*351!($D=7-E(&ES(&YO="!S=7!P;&EE9"!I
M;B!A;B!R<&T<&%C:V%G92X($EN<W1A;&QI;F<=&AE('-M='`M<&QA8V5H
M;VQD97(*<G!M(&UA:V5S(')P;2!P86-K86=E<R!W:&EC:"!R97%U:7)E(")S
M;71P9&%E;6]N(B!H87!P>2X($ET(&%L<V\;&ES=',*<V5N9&UA:6P87,
M82!C;VYF;&EC="!T;R!P<F5V96YT(&EN<W1A;&QI;F<=&AE('-E;F1M86EL
M(')P;2`H92YG+B!U<&=R861E<RDN````.2VL<6%T;&%S+F1G<"YT;W)O;G1O
M+F5D=0````````!P=6)L:6,9&]M86EN("AN;W08V]P>7)I9VAT86)L92D`
M06QA;B!*(%)O<V5N=&AA;"`\9FQA<'-`9&=P+G1O<F]N=&\N961U/!3>7-T
M96T16YV:7)O;FUE;G0O1&%E;6]N<P!,:6YU>`!N;V%R8V`<VUT<"UP;&%C
M96AO;&1E<BTP+3`N<W)C+G)P;0````!\<VUT<&1A96UO;```````'-E;F1M
M86EL```S+C`N,``````'XL(`````````S,P-S`W,#0#A"K#ATDP1A08Z>
2/JY!BHJ*#$```-;I[#5\````
`
end

and the spec file (the input to "rpm -bb" which produces the above as output):

Summary: to cause the smtpdaemon facility to be considered provided
Name: smtp-placeholder
Version: 0
Release: 0
License: public domain (not copyrightable)
Group: System Environment/Daemons
Packager: Alan J Rosenthal <flapsdgp.toronto.edu>
Provides: smtpdaemon
Conflicts: sendmail
%description
Some rpm packages (mostly MUAs) require the "smtpdaemon" facility, but the
MTA I use is not supplied in an rpm package. Installing the smtp-placeholder
rpm makes rpm packages which require "smtpdaemon" happy. It also lists
sendmail as a conflict to prevent installing the sendmail rpm (e.g. upgrades).

%files