Re: RFS: sagan -- Real-time System & Event Log Monitoring System

Eriberto <[email protected]>
Newsgroups gmane.linux.debian.devel.portuguese
Message-ID <CAP+dXJePrezgfxiji6Y-m8i3-r+M-4kFnfCXZw9HoCN9+PhTfw@mail.gmail.com>
Oi Herbert,

Pelo que vi, construiu na i386 e houve um problema de falta da
dependência na hurd-i386. Ele não construiu, por erro, na
kfreebsd-i386.

Eu fiz um teste na máquina fischer.debian.org[1] e construiu com esses dois:

ifeq ($(DEB_HOST_ARCH),$(filter $(DEB_HOST_ARCH),i386 kfreebsd-i386 hurd-i386))

ifeq ($(DEB_HOST_ARCH),$(findstring $(DEB_HOST_ARCH),i386
kfreebsd-i386 hurd-i386))

Testei em uma jaula i386 e também deu certo. Bem, aguardo o seu pacote
para novo upload.

[1] https://db.debian.org/machines.cgi

[]s

Eriberto


Em 9 de março de 2016 14:04, Herbert Fortes <[email protected]> escreveu:
> Olá,
>
> Estou procurando um sponsor para o pacote sagan[0], é um trabalho de NMU.
>
>  * Nome do pacote     : sagan
>  * Versão             : 1.0.1-0.3
>  * Upstream Author    : Softwink, Inc. - Champ Clark III
>  * URL                : https://quadrantsec.com/sagan_log_analysis_engine/
>  * License            : GPL-2
>    Section            : admin
>
> [0] - https://packages.qa.debian.org/s/sagan.html
>
>
> Produz os seguintes binários:
>
>  - sagan -- Real-time System & Event Log Monitoring System
>
> Já fiz dois NMU para esse pacote[1], mas um
> erro ainda persiste.
>
> [1] - http://metadata.ftp-master.debian.org/changelogs/main/s/sagan/unstable_changelog
>
> Para compilar em *i386 é preciso passar uma
> informação na hora de executar o 'configure'.
> Então fiz:
>
> DEB_HOST_ARCH ?= $(shell dpkg-architecture -qDEB_HOST_ARCH)
>
> ifeq ($(DEB_HOST_ARCH),i386)
>      ...
> else
>      ...
> endif
>
> Desta forma não são reconhecidas 'hurd-i386'
> e 'kfreebsd-i386'. Vi na manpage do dpkg-architecture
> que tem a opção '--match-wildcard'. Ou não é
> o caso de ser usada nesta essa situação, ou
> não estou sabendo usar.
>
> Alguma das seguintes maneiras vai funcionar ?
>
>  - ifeq ($(DEB_HOST_ARCH),i386 kfreebsd-i386 hurd-i386)
>
>  - o uso do filter:
>    ifeq ($(DEB_HOST_ARCH),$(filter $(DEB_HOST_ARCH),i386 kfreebsd-i386 hurd-i386))
>
>  - o uso de findstring:
>    ifeq ($(DEB_HOST_ARCH),$(findstring $(DEB_HOST_ARCH),i386 kfreebsd-i386 hurd-i386))
>
>
> abraços,
> --
> Herbert Parentes Fortes Neto (hpfn)
>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.