I am operating a FreeBSD 9.3-RELEASE headless server, having 212 ports installed from source and maintained via ports-mgmt/portmaster.
For experimenting with the Dual Mode Maintenance, I set up a FreeBSD 10-RELEASE test system, that got for the time being much less ports/packages installed. My approach so far is to maintain the small list of customized/patched ports in a text file, and in the update cycle feeding this list into
I guess, what I am looking for is a way to tell ports-mgmt/pkg to ignore/exclude some certain ports in the course of its upgrade processing, however, I cannot find that kind of feature of pkg. Does this feature not exist? Is there another way? Anyway, is Dual Mode Maintenance feasible without major hassle?
- Most of these ports are dragged-in dependencies, and for these I always leave the configure options at there respective default values.
- Most of the ports that were requested to being install are also built using the default configure options.
- I need a handful (ca. 5) of ports having customized configure options.
- In two additional ports, I placed local patch files in order to modify certain functionalities to my needs.
pkg upgrade.For experimenting with the Dual Mode Maintenance, I set up a FreeBSD 10-RELEASE test system, that got for the time being much less ports/packages installed. My approach so far is to maintain the small list of customized/patched ports in a text file, and in the update cycle feeding this list into
portmaster --update-if-newer, instead of utilizing the -a command line option. Then, in a second step, I run pkg upgrade, expecting that it leaves the ports already updated by portmaster alone. Instead it is always complaining about that port on the test system that got local patches applied: # pkg upgrade
Code:
Updating repository catalogue
FreeBSD repository is up-to-date
All repositories are up-to-date
Checking for upgrades (17 candidates): 100%
Checking integrity... done (0 conflicting)
The following 1 packages will be affected (of 0 checked):
Installed packages to be REINSTALLED:
mDNSResponder-544_2 (needed shared library changed)
The process will require 318 B more space
Proceed with this action [y/N]: n