pkg, packages and ports - what is pkg saying?

Dale Scott dalescott at
Fri Sep 19 17:17:45 UTC 2014

I'm on fbsd 10 release, installed most software as packages, but recently compiled postfix and dovecot2 from ports to enable their ldap/OpenLDAP option. Afterwhich I thought I'd check and see if anything needed updating.

If I let pkg upgrade everything, as I understand it, postfix and dovecot2 will revert to the options in the distributed package, and I won't have ldap support anymore. Is this correct?

What is the "simplest" approach? (meaning no poudriere etc.). Can I just let pkg do it's thing first, then pkg delete and make install postfix and dovecot2 from ports again?

Is there a better way?


root at whizzer:~ # pkg upgrade
Updating FreeBSD repository catalogue...
FreeBSD repository is up-to-date.
All repositories are up-to-date.
Checking for upgrades (31 candidates): 100%
The following 13 packages will be affected (of 0 checked):

Installed packages to be UPGRADED:
        t1lib: 5.1.2_3,1 -> 5.1.2_4,1
        cairo: 1.10.2_10,2 -> 1.12.16_1,2
        openldap-server: 2.4.39_3 -> 2.4.39_4
        openldap-client: 2.4.39_1 -> 2.4.39_2
        python27: 2.7.8_4 -> 2.7.8_5
        p5-Net-SSLeay: 1.65 -> 1.66
        p5-IO-Socket-IP: 0.31 -> 0.32
        curl: 7.37.1_4 -> 7.38.0_1
        rsync: 3.1.1_2 -> 3.1.1_3
        procmail: 3.22_7 -> 3.22_8

Installed packages to be REINSTALLED:
        postfix-2.11.1_4,1 (options changed)
        dovecot2-2.2.13_3 (options changed)
        dialog4ports-0.1.5_2 (options changed)

The process will require 250 KB more space.
16 MB to be downloaded.

Proceed with this action? [y/N]: N
root at whizzer:~ #

More information about the freebsd-questions mailing list