Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 08 Sep 2014 23:34:04 +0100
From:      Matthew Seaman <matthew@FreeBSD.org>
To:        freebsd-pkg@freebsd.org
Subject:   Re: upgrading ports/packages: mixing portupgrade/portmaster with binary dependencies
Message-ID:  <540E2EDC.2040803@FreeBSD.org>
In-Reply-To: <alpine.BSF.2.00.1409090048580.31355@woozle.rinet.ru>
References:  <alpine.BSF.2.00.1409090048580.31355@woozle.rinet.ru>

next in thread | previous in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 4880 and 3156)
--q0JGJMbxd2rDPc4xhGpuXcaSlJfXa4GRs
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

On 08/09/2014 21:53, Dmitry Morozovsky wrote:
> (and, yes, I know I should plan, prepare and deploy poudriere server fo=
r the=20
> most correct answer to my question ;-P)
>=20
> is there a shortcut way to source-upgrade ports which configured differ=
ently=20
> comparing to the master default, having install dependencies (which are=
 usually=20
> needed only for building, not for running) from default pkg repository?=
=20
>=20
> something like old (pre-pkg era) portupgrade -a -PP ; portupgrade -a
>=20
> And, after all of this dance, it would be great to run ``pkg autoremove=
'' and=20
> see installed package list much shorter ;)

Not yet.  This sort of thing is definitely on the drawing board though.

At the moment I guess it would be a small matter of writing some scripts
to work out what build deps are needed, use pkg to install them from the
repo and mark them for automatic removal while doing so, and then do a
build from ports of the software you want to apply special options to.

Or you could take the easy way out and run a poudriere instance to build
just the ports you want custom options on.  Well, except that will also
build everything those ports depend on as well.  But you should be able
to use your custom repo in parallel with the official repos.  Just be a
bit careful to match the revision of the ports tree you build your
custom stuff with to the revision used to build the latest official
package set.

	Cheers,

	Matthew

--=20
Dr Matthew J Seaman MA, D.Phil.
PGP: http://www.infracaninophile.co.uk/pgpkey



--q0JGJMbxd2rDPc4xhGpuXcaSlJfXa4GRs
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG/MacGPG2 v2.0.20 (Darwin)

iQJ8BAEBCgBmBQJUDi7cXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w
ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQ2NTNBNjhCOTEzQTRFNkNGM0UxRTEzMjZC
QjIzQUY1MThFMUE0MDEzAAoJELsjr1GOGkATKGcP/ieMmy225w0U07KIzlbiaiuG
pbOUoNN2llumncm+pLgmIargo0X9Tp/g2ErqSBRuLEctb92ZEZ57z6poak7w+/4v
O+uihCMysDje50tXvVWEU1tjDNnN3iNtiX/VDgtiZNnNM00ArJDoDBaTb/br/vyh
esJ8ywihajWO0oiRjN7/y5nSfCWD832GGgWa0jtghDvL7KG/VLM81eb7ck2PIybQ
VeI1KAuW1cIeEt9EXN6tIajLMoUuQVUBqWyZO+yiYpvW65+o/h16n3Fuuc9vprnL
fdVrE2t+0tQbhg1yvaE6Beo/TV1aYilmxqDU1WZrOJq1AkV5ToOgrzaKO7sAk3SF
dB0j90h/xrkrJv86dJhl0VaT1CIpMH+kIxpmcE6W27300hbNz38FnsBOQlR3cTWg
MbDQnWDK2IhtyJjZfZ6sV2TRJvuSe6Bn3sEAuARcqUELuxv/ShVgOynkY/rO4HR7
dUXpivrG1uEv2pU7Mgjmx9hC+mp9UItnQqYvqiIb7VRJ/oGpOS7Uj3jc7UX/zTuJ
q1QCDmepXtFzm3/X5uvcsV6DM7hwgeyL+vRjKNjH3kWBgZTD/DlVYr+3e2/8OLwx
0nVmZfF9uSqrUbNpP/Z/YxxtLOWP6fYIsarylTXOaykXJS8RkPyXuuIk2dvZlIfe
52UwdtXwJInAYx5tLk2J
=9UKD
-----END PGP SIGNATURE-----

--q0JGJMbxd2rDPc4xhGpuXcaSlJfXa4GRs--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?540E2EDC.2040803>