How to "portinstall -P" packages that alter ther names via PKGNAMESUFFIX?

Chris Rees utisoft at googlemail.com
Wed Apr 15 12:55:05 UTC 2009


2009/4/15 Panagiotis Christias <p.christias at noc.ntua.gr>:
> RW wrote:
>>
>> On Wed, 15 Apr 2009 02:24:59 +0300
>> Panagiotis Christias <p.christias at noc.ntua.gr> wrote:
>>
>>> The setup works quite well and has saved us a lot of time and effort.
>>> Currently we are looking for ways to automate as much as possible the
>>> whole process. One of the problems we face is the initial
>>> installation of packages that alter their names, like
>>> sendmail+tls+sasl2+ldap+db46 and openldap-sasl-server. Seems like
>>> there is no obvious way to "portinstall -P" such packages.
>>
>> This is sometimes handled through slave ports e.g.
>> net/cvsup-without-gui.
>>
>> If there aren't too many variations you might create some local slave
>> ports.
>
> Wouldn't that require to create the ports INDEX file locally?
>
> --
> Panagiotis J. Christias    Network Management Center
> p.christias at noc.ntua.gr    National Technical Univ. of Athens, GREECE
> _______________________________________________
> freebsd-ports at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-ports
> To unsubscribe, send any mail to "freebsd-ports-unsubscribe at freebsd.org"
>

AFAIK, portupgrade doesn't like funny port names. The correct solution
is to make config the port and order the proper options, or stick them
in your /usr/local/etc/pkgtools.conf; for example instead of
cvsup-without-gui you should change the config and use the port for
cvsup.

Chris

-- 
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?


More information about the freebsd-questions mailing list