<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>MWC Labs &#187; FreeBSD</title>
	<atom:link href="https://www.conceicao.eti.br/blog/tag/freebsd/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.conceicao.eti.br/blog</link>
	<description>TI, BSD, Linux, Network &#38; Security !</description>
	<lastBuildDate>Fri, 23 May 2014 22:37:30 +0000</lastBuildDate>
	<language>en-US</language>
		<sy:updatePeriod>hourly</sy:updatePeriod>
		<sy:updateFrequency>1</sy:updateFrequency>
	<generator>https://wordpress.org/?v=3.9.40</generator>
	<item>
		<title>Erro ao instalar o port security/openvpn-auth-ldap no FreeBSD 9</title>
		<link>https://www.conceicao.eti.br/blog/2013/11/04/erro-ao-instalar-o-port-securityopenvpn-auth-ldap-no-freebsd-9/</link>
		<comments>https://www.conceicao.eti.br/blog/2013/11/04/erro-ao-instalar-o-port-securityopenvpn-auth-ldap-no-freebsd-9/#comments</comments>
		<pubDate>Mon, 04 Nov 2013 19:32:38 +0000</pubDate>
		<dc:creator><![CDATA[Matheus]]></dc:creator>
				<category><![CDATA[FreeBSD]]></category>
		<category><![CDATA[LDAP]]></category>
		<category><![CDATA[OpenVPN]]></category>
		<category><![CDATA[Ports]]></category>
		<category><![CDATA[security/openvpn-auth-ldap]]></category>

		<guid isPermaLink="false">http://conceicao.eti.br/blog/?p=102</guid>
		<description><![CDATA[Buenas; No FreeBSD 9 o portÂ security/openvpn-auth-ldap estÃ¡ marcado comoÂ BROKEN devido ao seguinte erro na fase deÂ configure do port. configure: WARNING: Check library not found. Unit tests will not be built or run. checking for openvpn-plugin.h... no configure: error: Could not locate a working openvpn source tree. See `config.log' for more details. ===&#62; Script "configure" failed [&#8230;]]]></description>
				<content:encoded><![CDATA[<p>Buenas;</p>
<p>No FreeBSD 9 o portÂ <strong>security/openvpn-auth-ldap</strong> estÃ¡ marcado comoÂ <strong>BROKEN</strong> devido ao seguinte erro na fase deÂ <strong>configure</strong> do port.</p>
<pre>configure: WARNING: Check library not found. Unit tests will not be built or run.
checking for openvpn-plugin.h... no
configure: error: Could not locate a working openvpn source tree.
See `config.log' for more details.
===&gt; Script "configure" failed unexpectedly.
Please report the problem to snb@FreeBSD.org [maintainer] and attach the
"/usr/ports/security/openvpn-auth-ldap/work/auth-ldap-2.0.3/config.log"
including the output of the failure of your make command. Also, it might be
a good idea to provide an overview of all packages installed on your system
(e.g. a /usr/sbin/pkg_info -Ea).
*** Error code 1</pre>
<p>Olhando no config.log temos:</p>
<pre>configure:5511: checking for openvpn-plugin.h
configure:5544: cc -o conftest -O2 -pipe -DLDAP_DEPRECATED -fno-strict-aliasing -I/usr/ports/security/openvpn/work/openvpn-2.3.0 -export-dynamic conftest.c &gt;&amp;5
conftest.c:15:34: error: openvpn-plugin.h: No such file or directory</pre>
<p>Outro erro que tambÃ©m pode acontecer Ã© o seguinte:</p>
<pre>
checking how to run the Objective C preprocessor... /lib/cpp
configure: error: Objective C preprocessor "/lib/cpp" fails sanity check
</pre>
<p>Para resolver essa questÃ£o, basta aplicarmos um <a title="Patch security/openvpn-auth-ldap" href="http://conceicao.eti.br/pub/openvpn-auth-ldap.patch">patch</a> no port para que o mesmo funcione corretamente.</p>

<div class="wp-shkshell"><span class="wp-shkshell-prompt">#</span> <span class="wp-shkshell-command">cd</span> <span class="wp-shkshell-path">/usr/ports/security/openvpn-auth-ldap</span><br /><span class="wp-shkshell-prompt">#</span> <span class="wp-shkshell-command">wget</span> http://conceicao.eti.br/pub/openvpn-auth-ldap.patch<br /><span class="wp-shkshell-prompt">#</span> <span class="wp-shkshell-command">patch</span> -p0 <span class="wp-shkshell-special"><</span> openvpn-auth-ldap.patch<br /><span class="wp-shkshell-prompt">#</span> <span class="wp-shkshell-command">make</span> <span class="wp-shkshell-special">&</span><span class="wp-shkshell-special">&</span> <span class="wp-shkshell-command">make</span> install<br /></div>

]]></content:encoded>
			<wfw:commentRss>https://www.conceicao.eti.br/blog/2013/11/04/erro-ao-instalar-o-port-securityopenvpn-auth-ldap-no-freebsd-9/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Erro &#8220;tar: Unrecognized archive format&#8221; no FreeBSD 8.2</title>
		<link>https://www.conceicao.eti.br/blog/2013/05/20/erro-tar-unrecognized-archive-format-no-freebsd-8-2/</link>
		<comments>https://www.conceicao.eti.br/blog/2013/05/20/erro-tar-unrecognized-archive-format-no-freebsd-8-2/#comments</comments>
		<pubDate>Mon, 20 May 2013 17:22:12 +0000</pubDate>
		<dc:creator><![CDATA[Matheus]]></dc:creator>
				<category><![CDATA[FreeBSD]]></category>
		<category><![CDATA[Ports]]></category>
		<category><![CDATA[tar]]></category>
		<category><![CDATA[xz]]></category>

		<guid isPermaLink="false">http://conceicao.eti.br/blog/?p=83</guid>
		<description><![CDATA[Dica rÃ¡pida. Problema: Ao tentar instalar um Port no FreeBSD 8.2, estou recebendo o seguinte erro: tar: Unrecognized archive format Investigando um pouco, descobri que a versÃ£o do bsdtar em questÃ£o nÃ£o consegue reconhecer automaticamente a compressÃ£o &#8220;xz&#8221; entre -7 e -9. Como medida de contorno, enquanto nÃ£o Ã© possÃ­vel realizar o upgrade da versÃ£o [&#8230;]]]></description>
				<content:encoded><![CDATA[<p>Dica rÃ¡pida.</p>
<p>Problema:</p>
<p>Ao tentar instalar um Port no FreeBSD 8.2, estou recebendo o seguinte erro:</p>
<pre>tar: Unrecognized archive format</pre>
<p>Investigando um pouco, descobri que a versÃ£o do bsdtar em questÃ£o nÃ£o consegue reconhecer automaticamente a compressÃ£o &#8220;xz&#8221; entre <strong>-7</strong> e <strong>-9</strong>.</p>
<p>Como medida de contorno, enquanto nÃ£o Ã© possÃ­vel realizar o upgrade da versÃ£o do FreeBSD para a 8.3, pode-se realizar o seguinte procedimento:</p>
<p>Instalar o port <strong>archivers/libarchive</strong> e entÃ£o adicionar a linha abaixo no arquivo <em>/etc/make.conf</em>:</p>
<pre class="brush:shell">TAR=/usr/local/bin/bsdtar</pre>
<p>Com isso, a instalaÃ§Ã£o do Port funcionou corretamente.</p>
<p><a href="http://forums.freebsd.org/showthread.php?t=39404">Mais informaÃ§Ãµes.</a></p>
<p><strong>UPDATE</strong></p>
<p>Caso na compilaÃ§Ã£o do pacote <strong>archivers/libarchive</strong> aconteÃ§a o erro abaixo:</p>
<pre>error: spawn.h: No such file or directory</pre>
<p>VocÃª deverÃ¡ executar os seguintes comandos:</p>
<pre class="brush:shell">make clean
make ac_cv_header_spawn_h=no
make install</pre>
]]></content:encoded>
			<wfw:commentRss>https://www.conceicao.eti.br/blog/2013/05/20/erro-tar-unrecognized-archive-format-no-freebsd-8-2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Lendo e gravando em NTFS no FreeBSD</title>
		<link>https://www.conceicao.eti.br/blog/2010/04/03/lendo-e-gravando-em-ntfs-no-freebsd/</link>
		<comments>https://www.conceicao.eti.br/blog/2010/04/03/lendo-e-gravando-em-ntfs-no-freebsd/#comments</comments>
		<pubDate>Sat, 03 Apr 2010 20:47:37 +0000</pubDate>
		<dc:creator><![CDATA[Matheus]]></dc:creator>
				<category><![CDATA[FreeBSD]]></category>
		<category><![CDATA[Tutorial]]></category>
		<category><![CDATA[dica]]></category>
		<category><![CDATA[hd externo]]></category>
		<category><![CDATA[ntfs]]></category>
		<category><![CDATA[ntfs-3g]]></category>

		<guid isPermaLink="false">http://conceicao.eti.br/blog/?p=38</guid>
		<description><![CDATA[Fala pessoal! Depois de MUITOÂ³ tempo sem postar algo, retomarei aos poucos no meu blog, com dicas rÃ¡pidas, anotaÃ§Ãµes e quem sabe alguns artigos mais extensos. Vamos a dica! Eu estava montando meu hd externo da seguinte maneira: # mount -t nfs /dev/da0s1 /mnt PorÃ©m ele ficava somente leitura. Para podermos montar com leitura e [&#8230;]]]></description>
				<content:encoded><![CDATA[<p>Fala pessoal!</p>
<p>Depois de MUITOÂ³ tempo sem postar algo, retomarei aos poucos no meu blog, com dicas rÃ¡pidas, anotaÃ§Ãµes e quem sabe alguns artigos mais extensos.</p>
<p><strong>Vamos a dica!</strong></p>
<p>Eu estava montando meu hd externo da seguinte maneira:</p>
<pre># mount -t nfs /dev/da0s1 /mnt</pre>
<p>PorÃ©m ele ficava somente leitura. Para podermos montar com leitura e escrita devemos instalar o NTFS-3G.<br />
Instalando o port:</p>
<pre>
# cd /usr/ports/sysutils/fusefs-ntfs
# make install
</pre>
<p>Carregando o mÃ³dulo:</p>
<pre># kldload /usr/local/modules/fuse.ko</pre>
<p>Montando o HD:</p>
<pre># mount -t ntfs-3g /dev/da0s1 /mnt</pre>
<p>Caso o Ãºltimo comando nÃ£o funcionar (aconteceu comigo, parece que Ã© um bug) utilize o seguinte comando:</p>
<pre># ntfs-3g /dev/da0s1 /mnt</pre>
<p>T+ pessoal.</p>
]]></content:encoded>
			<wfw:commentRss>https://www.conceicao.eti.br/blog/2010/04/03/lendo-e-gravando-em-ntfs-no-freebsd/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
