Re: security/heimdal generates openssl conflict [was - Re: Installing openssl from ports]

2013-03-26 Thread Shane Ambler

On 26/03/2013 11:53, Shane Ambler wrote:


Either the man pages list is incorrect or heimdal installs a
duplicate copy of the openssl man pages - maybe this could be
disabled if openssl from ports is used.


For reference - heimdal includes source for libhcrypto which it uses if
openssl is not present. While it doesn't install libhcrypto it still
installs the man pages which conflicts with the openssl port man pages.

I have submitted a patch to fix this -

http://www.freebsd.org/cgi/query-pr.cgi?pr=177397


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: security/heimdal generates openssl conflict [was - Re: Installing openssl from ports]

2013-03-25 Thread Shane Ambler

On 26/03/2013 00:42, Jim Ballantine wrote:

Hi

I had removed the port, but it was reinstalled as a dependency of
other ports. I have WITH_OPENSSL_PORT=yes in /etc/make.conf, and
after I do a pkg delete -f heimdal openssl installs fine, but when I
try to install heimdal from ports (with  DISABLE_CONFLICTS=
openssl-1.0.1_8 in the Makefile) the installs ends with:


snip

Stop in /usr/ports/security/heimdal.

So I must be doing something wrong, but what??



Your not doing anything wrong, that's why I cc'd the last email to the
heimdal maintainer. I might look at making a patch to fix it today and
submit a PR as it appears the maintainer didn't respond to a previous PR

From what I see heimdal includes the openssl man pages in it's list of
files it installs, the new pkg system is picking up the same files
installed by openssl and heimdal and preventing the conflict, while the
old install system overlooked it.

Either the man pages list is incorrect or heimdal installs a duplicate
copy of the openssl man pages - maybe this could be disabled if openssl
from ports is used.

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Installing openssl from ports

2013-03-22 Thread Shane Ambler

On 22/03/2013 04:36, Jim Ballantine wrote:


But when I attempt to install the latest openssl for the
port system, it fails with a conflict (installs file in the same place)
with heimdal.


Take a close look at the message and what happens before. openssl only 
gives a conflict message if the base version is newer than the port.


Heimdal conflicts with krb4 krb5 and srp

Any other conflicts will be from dependencies, you'll need to check what 
port brings in a dependency that generates the conflict.



___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Installing openssl from ports

2013-03-22 Thread Jim Ballantine
The port is newer than the base version:
port is 1.0.1_8 and the base is 0.9.2

Both openssl and heimdal install fine from the base system src,
it's only when I try to install openssl from the ports, with heimdal
installed by the base system that I get the error.

When I run make install, what I get before the conflict message is:

===  Compressing manual pages for openssl-1.0.1_8zopenssl-1.0.1_8
===  Running ldconfig
/sbin/ldconfig -m /usr/local/lib
Installing openssl-1.0.1_8...pkg: openssl-1.0.1_8 conflicts with
heimdal-1.5.2_4 (installs files into the same place).
Problematic files: /usr/local/man/man3/DH_generate_key.3.gz
*** [fale-pkg] Error code 70


On Fri, Mar 22, 2013 at 8:09 AM, Shane Ambler free...@shaneware.biz wrote:

 On 22/03/2013 04:36, Jim Ballantine wrote:

  But when I attempt to install the latest openssl for the
 port system, it fails with a conflict (installs file in the same place)
 with heimdal.


 Take a close look at the message and what happens before. openssl only
 gives a conflict message if the base version is newer than the port.

 Heimdal conflicts with krb4 krb5 and srp

 Any other conflicts will be from dependencies, you'll need to check what
 port brings in a dependency that generates the conflict.



___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Installing openssl from ports

2013-03-21 Thread Jim Ballantine
Hi,

I understand that heimdal and openssl are both port of the base system and
both install
fine with a system build/install.  But when I attempt to install the latest
openssl for the
port system, it fails with a conflict (installs file in the same place)
with heimdal.  I've search
the web for an answer but haven't found one and asked the port owner.

So my question is short of editing the Make file to remove the installation
of the file in
conflict, what do I need to do to install the openssl port?

Thanks
Jim Ballantine
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Installing openssl from ports

2013-03-21 Thread Jerry
On Thu, 21 Mar 2013 14:06:52 -0400
Jim Ballantine articulated:

 Hi,
 
 I understand that heimdal and openssl are both port of the base
 system and both install
 fine with a system build/install.  But when I attempt to install the
 latest openssl for the
 port system, it fails with a conflict (installs file in the same
 place) with heimdal.  I've search
 the web for an answer but haven't found one and asked the port owner.
 
 So my question is short of editing the Make file to remove the
 installation of the file in
 conflict, what do I need to do to install the openssl port?

I have the port version installed also. You need to put this in
your /etc/make.conf file sans quotations marks:
WITH_OPENSSL_PORT=yes and then build the port. Be sure to run
make config in the port prior to actually building it and that is
about it. If you are building it manually, you might want to run make
clean in the port prior to attempting to build it though.

-- 
Jerry ♔

Disclaimer: off-list followups get on-list replies or get ignored.
Please do not ignore the Reply-To header.
__

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org

Re: Installing OpenSSL from ports, how to remove base-openssl?

2009-01-16 Thread Herbert J. Skuhra
Frederique Rijsdijk frederi...@isafeelin.org writes:

 For a certain customer that wants to use a later version of OpenSSL
 (base is at 'e' while ports is at 'j') I installed
 /usr/ports/security/openssl. This is all fine, but now I have two sets
 binaries and libraries of OpenSSL on that system.

To build you ports with the openssl version in /usr/ports:

# echo WITH_OPENSSL_PORT=yes  /etc/make.conf

 What is the proper way to remove the base openssl? I looked with
 sysinstall distributions but it's not listed there as something that you
 can add or remove.

# echo WITHOUT_OPENSSL=yes  /etc/src.conf
# cd /usr/src  make check-old
# make delete-old 
# make delete-old-libs

Read src.conf(5).

- Herbert
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Installing OpenSSL from ports, how to remove base-openssl?

2009-01-15 Thread Frederique Rijsdijk
For a certain customer that wants to use a later version of OpenSSL
(base is at 'e' while ports is at 'j') I installed
/usr/ports/security/openssl. This is all fine, but now I have two sets
binaries and libraries of OpenSSL on that system.

What is the proper way to remove the base openssl? I looked with
sysinstall distributions but it's not listed there as something that you
can add or remove.


-- Frederique
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org