<?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; security/openvpn-auth-ldap</title>
	<atom:link href="https://www.conceicao.eti.br/blog/tag/securityopenvpn-auth-ldap/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>
	</channel>
</rss>
