[OpenBSD-BR] NEW: net/pftabled

Marcus Carvalho marcusttc em gmail.com
Quinta Agosto 30 22:13:00 BRT 2007


Legal. Como ele funcionaria como "server"?

Abraços

2007/8/30, Giancarlo Rubio <gianrubio em gmail.com>:
>
> Era isso mesmo
>
> Obrigado
>
> 2007/8/30, alicornio <alicornio em ig.com.br>:
> > Em (17:23:41), OpenBSD-BR escreveu:
> > >alicornio escreveu:
> > >> Olá
> > >>
> > >>
> > >>> Srs:
> > >>>
> > >>> Criei meu primeiro port para o open, aqueles que puderem testar eu
> > >>> serei muito grato.
> > >>> http://www.openbsd-br.org/ports/pftabled.tar.gz
> > >>>
> > >>
> > >>
> > >> O que eu estou fazendo errado?
> > >>
> > >> root:/home/thiago/firefox_downloads: # export
> > >> PKG_PATH=http://www.openbsd-br.org/ports/
> > >>
> > >export PKG_PATH=ftp://ftp.openbsd.org/pub/OpenBSD/4.1/packages/i386/
> > >> root:/home/thiago/firefox_downloads: # pkg_add -v
> > >> http://www.openbsd-br.org/ports/pftabled.tar.gz
> > >>
> > >O pftabled nao esta compilado ainda. Vc tem q baixar ele, coloca-lo em
> > >/usr/ports/net/pftabled e dar um make install clean. Nao se esqueca que
> > >vc deve ter o ports no seu diretorio /usr.
> > >Para extrai-lo
> > >#tar -xvzf pftabled.tar.gz
> > >
> > >> No packages available in the PKG_PATH
> > >> Can't resolve pftabled.tar.gz
> > >> root:/home/thiago/firefox_downloads: # ls
> > >> Samurai Shodown (E) [!].zip pftabled.tar.gz
> > >> root:/home/thiago/firefox_downloads: # pkg_add pftabled.tar.gz
> > >> No packages available in the PKG_PATH
> > >> Can't resolve pftabled.tar.gz
> > >>
> > >>
> > >>
> > >>> Att
> > >>> --
> > >>> Giancarlo Rubio
> > >>> _______________________________________________
> > >>> OpenBSD mailing list
> > >>> OpenBSD em openbsd-br.org
> > >>> http://listas.openbsd-br.org/mailman/listinfo/openbsd
> >
> >
> > N00b é foda. :)
> >
> > root:/usr/ports/net/pftabled: # make install
> > ===>  Checking files for pftabled-1.06
> > >> pftabled-1.06.tar.gz doesn't seem to exist on this system.
> > >> Fetch http://www.wolfermann.org/pftabled-1.06.tar.gz.
> > 100%
> >
> |*****************************************************************************|
> > 45174       00:01
> > >> Size matches for /usr/ports/distfiles/pftabled-1.06.tar.gz
> > >> Checksum OK for pftabled-1.06.tar.gz. (sha1)
> > ===>  Extracting for pftabled-1.06
> > ===>  Patching for pftabled-1.06
> > ===>  Configuring for pftabled-1.06
> > checking for gcc... cc
> > checking for C compiler default output file name... a.out
> > checking whether the C compiler works... yes
> > checking whether we are cross compiling... no
> > checking for suffix of executables...
> > checking for suffix of object files... o
> > checking whether we are using the GNU C compiler... yes
> > checking whether cc accepts -g... yes
> > checking for cc option to accept ANSI C... none needed
> > checking how to run the C preprocessor... cc -E
> > checking for a BSD-compatible install... /usr/bin/install -c -o root -g
> bin
> > checking for an ANSI C-conforming const... yes
> > checking for egrep... grep -E
> > checking for ANSI C header files... yes
> > checking whether time.h and sys/time.h may both be included... yes
> > checking for sys/types.h... yes
> > checking for sys/stat.h... yes
> > checking for stdlib.h... yes
> > checking for string.h... yes
> > checking for memory.h... yes
> > checking for strings.h... yes
> > checking for inttypes.h... yes
> > checking for stdint.h... yes
> > checking for unistd.h... yes
> > checking for stdint.h... (cached) yes
> > checking for sys/types.h... (cached) yes
> > checking for inttypes.h... (cached) yes
> > checking sys/socket.h usability... yes
> > checking sys/socket.h presence... yes
> > checking for sys/socket.h... yes
> > checking netinet/in.h usability... yes
> > checking netinet/in.h presence... yes
> > checking for netinet/in.h... yes
> > checking arpa/inet.h usability... yes
> > checking arpa/inet.h presence... yes
> > checking for arpa/inet.h... yes
> > checking errno.h usability... yes
> > checking errno.h presence... yes
> > checking for errno.h... yes
> > checking netdb.h usability... yes
> > checking netdb.h presence... yes
> > checking for netdb.h... yes
> > checking for /usr/include/net/pfvar.h... yes
> > building on pf platform: client and server
> > checking for gethostbyname... yes
> > checking for socket... yes
> > checking for inet_pton... yes
> > configure: creating ./config.status
> > config.status: creating Makefile
> > config.status: creating config.h
> >
> > Configured successfully. Now run make.
> >
> > ===>  Building for pftabled-1.06
> > cc -O2 -pipe -Wall -Wstrict-prototypes -Wmissing-prototypes
> > -Wmissing-declarations -Wshadow -Wpointer-arith -Wcast-qual
> -Wsign-compare
> > -c pftabled-client.c
> > cc -O2 -pipe -Wall -Wstrict-prototypes -Wmissing-prototypes
> > -Wmissing-declarations -Wshadow -Wpointer-arith -Wcast-qual
> -Wsign-compare
> > -c hmac.c
> > cc -O2 -pipe -Wall -Wstrict-prototypes -Wmissing-prototypes
> > -Wmissing-declarations -Wshadow -Wpointer-arith -Wcast-qual
> -Wsign-compare
> > -c sha1.c
> > cc  -o pftabled-client pftabled-client.o hmac.o sha1.o
> > cc -O2 -pipe -Wall -Wstrict-prototypes -Wmissing-prototypes
> > -Wmissing-declarations -Wshadow -Wpointer-arith -Wcast-qual
> -Wsign-compare
> > -c pftabled.c
> > cc  -o pftabled pftabled.o hmac.o sha1.o
> > nroff -Tascii -man pftabled.1 > pftabled.cat1
> > ===>  Faking installation for pftabled-1.06
> > install -c -o root -g bin -m 444 -s -m 555
> > /usr/ports/net/pftabled/w-pftabled-1.06/pftabled-1.06/pftabled-client
> > /usr/ports/net/pftabled/w-pftabled-1.06
> /fake-i386/usr/local/bin/pftabled-client
> > install -c -o root -g bin -m 444 -s -m 555
> > /usr/ports/net/pftabled/w-pftabled-1.06/pftabled-1.06/pftabled
> > /usr/ports/net/pftabled/w-pftabled-1.06
> /fake-i386/usr/local/sbin/pftabled
> > install -c -o root -g bin -m 444 -m 444
> > /usr/ports/net/pftabled/w-pftabled-1.06/pftabled-1.06/pftabled.1
> > /usr/ports/net/pftabled/w-pftabled-1.06
> /fake-i386/usr/local/man/man1/pftabled.1
> > ===>  Building package for pftabled-1.06
> > Create /usr/ports/packages/i386/all/pftabled-1.06.tgz
> > Link to /usr/ports/packages/i386/ftp/pftabled-1.06.tgz
> > Link to /usr/ports/packages/i386/cdrom/pftabled-1.06.tgz
> > ===>  Installing pftabled-1.06 from /usr/ports/packages/i386/all/
> > pftabled-1.06: complete
> > root:/usr/ports/net/pftabled: # pkg_info pftabled
> > Information for pftabled-1.06
> >
> > Comment:
> > udp client and server to sync pf tables with hosts
> >
> > Description:
> > The pftabled daemon is a small helper to make your pf tables reachable
> from
> > other hosts. You can add/delete/flush IP addresses to/from a remote
> table
> > with a single UDP datagram. A simple client program is included to do
> this
> > from the command line.
> >
> > Maintainer: Giancarlo Rubio <gianrubio em gmail.com>
> >
> >
> > root:/usr/ports/net/pftabled: # make clean
> > ===>  Cleaning for pftabled-1.06
> > root:/usr/ports/net/pftabled: # make uninstall
> > ===> Deinstalling for pftabled-1.06
> > pftabled-1.06: complete
> > root:/usr/ports/net/pftabled: # make reinstall
> > ===>  Cleaning for pftabled-1.06
> > /usr/bin/sudo /usr/sbin/pkg_delete pftabled-1.06
> > ===>  Installing pftabled-1.06 from /usr/ports/packages/i386/all/
> > pftabled-1.06: complete
> >
> >
> > É esse tipo de coisa que tem que testar?
> >
> >
> > Thiago
> >
> >
> >
> > _______________________________________________
> > OpenBSD mailing list
> > OpenBSD em openbsd-br.org
> > http://listas.openbsd-br.org/mailman/listinfo/openbsd
> >
> >
>
>
> --
> Giancarlo Rubio
> _______________________________________________
> OpenBSD mailing list
> OpenBSD em openbsd-br.org
> http://listas.openbsd-br.org/mailman/listinfo/openbsd
>



-- 
=====================
Marcus Tulio T. Carvalho
Telemacro Informações e Serviços
=====================
-------------- Próxima Parte ----------
Um anexo em HTML foi limpo...
URL: http://listas.openbsd-br.org/pipermail/openbsd/attachments/20070830/c67c5651/attachment-0001.html 


Mais detalhes sobre a lista de discussão OpenBSD