CentOS 6.9 - x86_64 .... stunnel-5.46
Configure o "ambiente rpmbuild" $ HOME / rpms /
$ rpm -i http://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/source/tree/Packages/s/stunnel-5.46-1.fc29.src.rpm
$ cd rpms/SPECS/ // Edit stunnel.spec to :
: 37 : # BuildRequires: systemd // comment out "BuildRequires: systemd"
: 69 : make // edit to "no-pie" ( to 'make' only )
$ rpmbuild -bb stunnel.spec
.
Wrote: /home/knudfl/rpms/RPMS/x86_64/stunnel-5.46-1.el6.x86_64.rpm
Wrote: /home/knudfl/rpms/RPMS/x86_64/stunnel-debuginfo-5.46-1.el6.x86_64.rpm
stunnel_make.log.txt link
Pacote stunnel-5.46-1.el6.x86_64.rpm
link
# yum install Downloads/stunnel-5.46-1.el6.x86_64.rpm
Meu teste de instalação ...
# yum install /home/knudfl/rpms/RPMS/x86_64/stunnel-5.46-1.el6.x86_64.rpm
.
.
Running Transaction Test
Transaction Test Succeeded
Running Transaction
Updating : stunnel-5.46-1.el6.x86_64
/var/tmp/rpm-tmp.82cIfj: line 2: fg: no job control
warning: %post(stunnel-5.46-1.el6.x86_64) scriptlet failed, exit status 1
Non-fatal POSTIN scriptlet failure in rpm package stunnel-5.46-1.el6.x86_64
Cleanup : stunnel-4.56-4.el6.x86_64
Verifying : stunnel-5.46-1.el6.x86_64
Verifying : stunnel-4.56-4.el6.x86_64
A "falha de scriptlet POSTIN não fatal" é sobre %systemd_post stunnel.service
→ No systemd no CentOS 6. ... Nota : Informações como "linha 2: fg: sem controle de tarefa" e avisos são erros não . Apenas informação.
Instalando o padrão stunnel-4.29
(novamente): link