Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

portugrade -aR (except)

1 view
Skip to first unread message

m.ha...@mchsi.com

unread,
Aug 5, 2004, 10:00:05 AM8/5/04
to
Greetings, all.

I am running 4.10-Stable, and I have the following question
about portupgrade.

So far, I have not had a successful build of OpenOffice (on
any version of FreeBSD... ever... so I use their binaries
as they become available), and the samba port is broken
(until I upgrade the system to 5.x).

What I do now is simply grep a list of installed ports with
updates available and send the outbut to a file. (ie, #
portversion | grep "<" > ~/pupdate.sh )

Then I edit ~/pupdate.sh so that every line begins with
"portupgrade -R." (And, of course, I delete the samba and
OpenOffice entries) In other words my file would look
something like this:

>>>
#!/bin/sh
portupgrade -R blip
portupgrade -R blop
portupgrade -R bluey
<<<

make it executable, run it overnight, and fix the small
stuff in the morning.

Obviously, because I like to upgrade my systems every week,
this gets old. Is there any way I can tell portupgrade to
simply portupgrade -aR (except for a specific list of
packages)?

If not, does anyone have a more simple solution?

And again, if not, would this be considered a worthy
suggestion for the developers of /portupgrade?

Thanks

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

m.ha...@mchsi.com

unread,
Aug 5, 2004, 10:28:43 AM8/5/04
to
Whoa. This would definately help with the "in the morning
fixes" as well. lol... I didn't even know that was there.
Thanks so much!


On Thursday 05 August 2004 10:22 am, Randy Pratt proclaimed:
> On Thu, 5 Aug 2004 09:56:50 -0400

> Hi,
>
> I think what you're looking for is
> /usr/local/etc/pkgtools.conf .
>
> Here is an excerpt from that file:
>
> # HOLD_PKGS: array
> #
> # This is a list of ports you don't want portupgrade(1)
> to upgrade, # portversion(1) to suggest upgrading, or
> pkgdb(1) to fix.
>
> Its a very handy tool since you can also set make
> variables which portupgrade will also honor.
>
> Best regards,
>
> Randy

pa...@utdallas.edu

unread,
Aug 5, 2004, 10:50:08 AM8/5/04
to
--On Thursday, August 05, 2004 09:56:50 AM -0400 Mike Hauber
<m.ha...@mchsi.com> wrote:
>
> So far, I have not had a successful build of OpenOffice (on
> any version of FreeBSD... ever... so I use their binaries
> as they become available), and the samba port is broken
> (until I upgrade the system to 5.x).
>
That's odd. I've had no problem with *any* port of samba, and I've been
running it for over three years now, with numerous upgrades.

What sort of problem are you having?

Paul Schmehl (pa...@utdallas.edu)
Adjunct Information Security Officer
The University of Texas at Dallas
AVIEN Founding Member
http://www.utdallas.edu/ir/security/

m.ha...@mchsi.com

unread,
Aug 5, 2004, 11:13:07 AM8/5/04
to
>>>
wizard# uname -a

FreeBSD wizard.valleygate.net 4.10-STABLE FreeBSD
4.10-STABLE #0: Thu Jul 8 19:53:59 EDT 2004
ro...@wizard.valleygate.net:/usr/obj/usr/src/sys/WIZARD
i386

wizard# portupgrade -R samba

** Port marked as IGNORE: net/samba:
"is marked as broken: "ACL support requires a recent
FreeBSD 5.0-CURRENT""
<<<


It's not really that big of a deal for me, though. The
version I have (samba-2.2.8a_2) does what I need it to. Of
course when I _do_ upgrade to 5.x, I'll be excited to see
what the new version has in store.


On Thursday 05 August 2004 10:49 am, Paul Schmehl
proclaimed:

>ns To unsubscribe, send any mail to

0 new messages