Re: Portmaster binary package upgrade question
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 2/10/12 6:14 PM, Doug Barton wrote: > On 02/10/2012 14:45, Greg Larkin wrote: >> Hi folks, >> >> I'm in the midst of building a system to use Tinderbox and FreeBSD jails >> to keep them up to date as new port updates are committed to the tree. >> >> I created some meta-ports in /usr/ports/local/misc to record >> dependencies and be able to install one top-level port that pulls in all >> other required ports. >> >> I'm now testing the ability to run an upgrade with portmaster once a new >> package set is built, and I'm using this command: >> >> pkgtester# env INDEXDIR=/tmp >> MASTER_SITE_INDEX=http://pkgbuilder.shn.prv/tb/packages/8.2-FreeBSD-SHN-201202101009/Latest/ >> PACKAGESITE=http://pkgbuilder.shn.prv/tb/packages/8.2-FreeBSD-SHN-201202101009/Latest/ > > You probably want to put these in a portmaster rc file. Also to avoid > code duplication you can set the first then use > PACKAGESITE=$MASTER_SITE_INDEX. The /Latest is going to get stripped off > anyway. And are you really putting your INDEX file in /Latest/ ?? Ok, will do. INDEX landed in Latest for the time being, but I'll move it to the correct place once I tighten up the scripts. > >> portmaster -PP -v --update-if-newer > > The --update-if-newer flag is only useful if you're feeding portmaster a > list of ports, some of which are already up to date. That flag doesn't apply to any calculated dependencies of the port specified on the command line, then? > >> --index-only server-web\* >> >> ===>>> Currently installed version: server-web-0.201202071358 >> ===>>> Port directory: /usr/ports/local/misc/server-web > > You can't do 5 levels of port directories. Either leave out the category > below local, or name the categories local-misc, local-foo, local-bar, etc. > > > hth, > > Doug > Do you mean that portmaster doesn't support 5 level port directories, or they don't work with the ports tree infrastructure? I've had good luck following this guide: http://marc.info/?l=freebsd-ports&m=117761097231712, but I had to make changes to bsd.port.mk (PRs filed) to get some parts working. I found portshaker today, and that looks useful for managing ports tree overlays, too. Thank you, Greg - -- Greg Larkin http://www.FreeBSD.org/ - The Power To Serve http://www.sourcehosting.net/ - Ready. Set. Code. http://twitter.com/cpucycle/ - Follow you, follow me -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.11 (Darwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEUEARECAAYFAk85VxYACgkQ0sRouByUApDpzwCgly2r8RUbNBadVgo4zc0764js j8oAl3/ZGb6Mql9ESgLU3qQZg5WECQE= =EN1O -END PGP SIGNATURE- ___ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"
Re: Portmaster binary package upgrade question
On 02/10/2012 14:45, Greg Larkin wrote: > Hi folks, > > I'm in the midst of building a system to use Tinderbox and FreeBSD jails > to keep them up to date as new port updates are committed to the tree. > > I created some meta-ports in /usr/ports/local/misc to record > dependencies and be able to install one top-level port that pulls in all > other required ports. > > I'm now testing the ability to run an upgrade with portmaster once a new > package set is built, and I'm using this command: > > pkgtester# env INDEXDIR=/tmp > MASTER_SITE_INDEX=http://pkgbuilder.shn.prv/tb/packages/8.2-FreeBSD-SHN-201202101009/Latest/ > PACKAGESITE=http://pkgbuilder.shn.prv/tb/packages/8.2-FreeBSD-SHN-201202101009/Latest/ You probably want to put these in a portmaster rc file. Also to avoid code duplication you can set the first then use PACKAGESITE=$MASTER_SITE_INDEX. The /Latest is going to get stripped off anyway. And are you really putting your INDEX file in /Latest/ ?? > portmaster -PP -v --update-if-newer The --update-if-newer flag is only useful if you're feeding portmaster a list of ports, some of which are already up to date. > --index-only server-web\* > > ===>>> Currently installed version: server-web-0.201202071358 > ===>>> Port directory: /usr/ports/local/misc/server-web You can't do 5 levels of port directories. Either leave out the category below local, or name the categories local-misc, local-foo, local-bar, etc. hth, Doug -- It's always a long day; 86400 doesn't fit into a short. Breadth of IT experience, and depth of knowledge in the DNS. Yours for the right price. :) http://SupersetSolutions.com/ signature.asc Description: OpenPGP digital signature
Portmaster binary package upgrade question
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi folks, I'm in the midst of building a system to use Tinderbox and FreeBSD jails to keep them up to date as new port updates are committed to the tree. I created some meta-ports in /usr/ports/local/misc to record dependencies and be able to install one top-level port that pulls in all other required ports. I'm now testing the ability to run an upgrade with portmaster once a new package set is built, and I'm using this command: pkgtester# env INDEXDIR=/tmp MASTER_SITE_INDEX=http://pkgbuilder.shn.prv/tb/packages/8.2-FreeBSD-SHN-201202101009/Latest/ PACKAGESITE=http://pkgbuilder.shn.prv/tb/packages/8.2-FreeBSD-SHN-201202101009/Latest/ portmaster -PP -v --update-if-newer --index-only server-web\* ===>>> Currently installed version: server-web-0.201202071358 ===>>> Port directory: /usr/ports/local/misc/server-web ===>>> Gathering dependency list for local/misc/server-web from INDEX-8 ===>>> Starting dependency check ===>>> Checking dependency: www/apache22 ===>>> Update failed ===>>> Aborting update Terminated pkgtester# As you can see, there's not a lot to go on. My INDEX-8 file has my local ports included in it, so I think the dependency list is OK: pkgtester# grep ^server-web INDEX-8 | cut -f1 -d\| server-web-0.201202101009 If I change the package name above from server-web\* to apache\*, it works fine, so it seems to be an issue with my local meta-ports. Does anyone have an idea where to look to troubleshoot the problem? Thank you, Greg - -- Greg Larkin http://www.FreeBSD.org/ - The Power To Serve http://www.sourcehosting.net/ - Ready. Set. Code. http://twitter.com/cpucycle/ - Follow you, follow me -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.11 (Darwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAk81nhkACgkQ0sRouByUApAO4wCgx4CZ8pcuSlll8BBFLlyO5Lqq U30An221nkq0Ajdp0fqye9PcMuipw2OY =qY4M -END PGP SIGNATURE- ___ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"