New /bin/sh based script to manage ports
Panagiotis Astithas
past at ebs.gr
Mon Jan 30 08:38:32 PST 2006
Doug Barton wrote:
> Panagiotis Astithas wrote:
>
>> Can portmaster be used to do something like 'portupgrade -rf gnutls'
>> (i.e. rebuild all dependent applications), like it is often requested in
>> UPDATING?
>
> Thanks for this suggestion. I just added this feature, and updated the web
> page.
>
> http://dougbarton.us/portmaster.html
Thank you! Now, while working towards replacing portupgrade with
portmaster in my daily system maintenance I encountered a couple of
other issues:
% portmaster -aiv
===>>> Starting check of installed ports for available updates
grep: /var/db/pkg/pkgdb.db/+CONTENTS: Not a directory
===>>> Checking installed port: birda-1.3
===>>> Checking installed port: ca-roots-1.1
===>>> Checking installed port: cabextract-1.1
===>>> Checking installed port: cscope-15.5_1
===>>> Checking installed port: cvsup-without-gui-16.1h_2
===>>> Checking installed port: freebsd-update-1.6_2
===>>> Checking installed port: hcidump-1.5.1
===>>> Checking installed port: iftop-0.16_1
===>>> Checking installed port: iwi-firmware-2.4_2
===>>> Checking installed port: last.fm-player-1.0.3
===>>> This port has been deleted:
===>>> Aborting update
The first grep error comes from portupgrade, which creates a pkgdb.db
file in that directory. Can portmaster be smart enough to skip that, or
even better, not consider regular files (i.e. not directories) at all?
The seconf error comes from my installation of a package that does not
come from a port (last.fm-player-1.0.3). I installed it directly from
the vendor's site (http://last.fm). Can portmaster not error when
encountering such packages, but rather just produce a warning?
Thanks,
Panagiotis
More information about the freebsd-ports
mailing list