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

"Herbert Fortes (hpfn)" <[email protected]>
Newsgroups gmane.linux.debian.devel.portuguese
Message-ID <[email protected]>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512


> 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))

Usei essa.

O debian/changelog:

sagan (1.0.1-0.3) unstable; urgency=low
  .
    * Non-maintainer upload.
    * kfreebsd-i386 and hurd-i386 added to the condiction which
      set '--enable-system-strstr' when running configure script.

Mentors:
http://mentors.debian.net/package/sagan
http://mentors.debian.net/debian/pool/main/s/sagan/sagan_1.0.1-0.3.dsc


abraço,
Herbert


>
> 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)
> >
>


- -- 
Herbert Parentes Fortes Neto (hpfn)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQIcBAEBCgAGBQJW4cpDAAoJEFUlbyisYGEameYP+gJQUpB9Zsc8TPOQI5tHjHGx
SHk7hZ3TGsMIDBwprxX8itI3XcSbLCLlq6QNRYnLytOZaeYRrRBAxvxGps9dQFyY
EwKGZP1NHgVPfouVOVYgwZBJqoizAfYDtQa1PquGv4lV8Kp5UH6xLTIPXCb9ZRo+
Xdz94TKq2ISOBmuf6RU620ynpL3BTdNL1A/UeF0buPp5xqmyV07peIF+8w5j9m2H
OZWOtrOZULd+K6PRcVxb4thzUUjpyRoRMCf7iCAMiQU2iHrTl+nnq5bbZ6O9x1an
Ed4GAUSeSPhgPPVcrX4Z8ncvS2TC1yYnrb2FE9YJmt1pQmM/7ql9Kh+VJSdyj2wd
ri6Y6bxbXh66Bs2/HsjOkh9gAyZZ+pviqHVxIDcVXvIOMGRoMJA9w49c7Zfoyo9C
Uge00iHCj4Oc5e4Omihx77JOit6R9R2znffFP8cEY7iVr0x1kU6GBB5U0cSGRd3k
EE/N6SbfEqlmEsAwKsQVi4CgOpL8yJxN8auOzKhNkdko9bcMusKomB7RLKiU/HBp
hvZy3QWSDv9hMtiCJTQfJRnwGxni5X7uZuTFQVgJM/EPzZIU09R33FtOW1P7XxKY
VC67q5YCM50sUTq/usY0dVCeoKfkHnHTfaupLhvpZquyZGrMemZasGztJZznzFD3
b+MizHfLxdfqyMnbudvg
=J5sh
-----END PGP SIGNATURE-----
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.