Date: Fri, 5 Mar 2010 16:25:18 -0500 From: Jeremy Pyne <jeremy.pyne@gmail.com> To: ruby@FreeBSD.org Subject: pkgtools-2.4.6-1 Patch: Add a override for packages to always update from source. Message-ID: <2c0c01051003051325i8047c4fycb3ae31673b9614d@mail.gmail.com>
next in thread | raw e-mail | index | archive | help
--0016367f9af42cdedd0481145a6a Content-Type: text/plain; charset=ISO-8859-1 Sorry in advance as I haven't ever done patched for FreeBSD before So I'm probably doing it wrong. Anyway, here it goes: This is a minor patch for portupgrade that adds the USE_PORTS user variable. Simply put any packages in this list will always update from source regardless of -P/-PP settings. The problem with portupgrade was that it would overwrite ports compiled with local configuration changes with the default binary version. (apache, php, virtualbox-ose-kmod) and so those would have to me individually updated without -P. Now the user can configure witch packages should always come from source and then use packages for the rest. -- Jeremy Pyne -- "Fear is the mind killer." <Frank Herbert> --0016367f9af42cdedd0481145a6a Content-Type: text/x-patch; charset=US-ASCII; name="pkgtools-2.4.6-1.patch" Content-Disposition: attachment; filename="pkgtools-2.4.6-1.patch" Content-Transfer-Encoding: base64 X-Attachment-Id: f_g6fhubq70 ZGlmZiAtTnVyYSBwa2d0b29scy0yLjQuNi9iaW4vcG9ydHVwZ3JhZGUgcGtndG9vbHMtMi40LjYt MS9iaW4vcG9ydHVwZ3JhZGUKLS0tIHBrZ3Rvb2xzLTIuNC42L2Jpbi9wb3J0dXBncmFkZQkyMDEw LTAzLTA1IDE1OjI2OjQxLjYyMjIwOTUyNCArMDAwMAorKysgcGtndG9vbHMtMi40LjYtMS9iaW4v cG9ydHVwZ3JhZGUJMjAxMC0wMy0wNSAxNzowMDoxNi44MTE0OTQxOTUgKzAwMDAKQEAgLTEyMjEs NiArMTIyMSwxNiBAQAogICAgIGVuZAogICBlbmQKIAorICBpZiAkdXNlX3BhY2thZ2VzICYmIG9y aWdpbiAmJiBjb25maWdfdXNlX3BvcnRzPyhvcmlnaW4pCisgICAgcHJvZ3Jlc3NfbWVzc2FnZSAi VXNpbmcgdGhlIHBv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GEgaGFzaCB0byBkZWZpbmUgYWx0ZXJuYXRpdmUgcGFj a2FnZSBkZXBlbmRlbmNpZXMuICBGb3IKZGlmZiAtTnVyYSBwa2d0b29scy0yLjQuNi9saWIvcGtn dG9vbHMucmIgcGtndG9vbHMtMi40LjYtMS9saWIvcGtndG9vbHMucmIKLS0tIHBrZ3Rvb2xzLTIu NC42L2xpYi9wa2d0b29scy5yYgkyMDEwLTAzLTA1IDE1OjI2OjQxLjYzODIwODc2NCArMDAwMAor KysgcGtndG9vbHMtMi40LjYtMS9saWIvcGtndG9vbHMucmIJMjAxMC0wMy0wNSAxNjoxOToxOC40 MTc4MTUxMTEgKzAwMDAKQEAgLTI4LDcgKzI4LDcgQEAKICMgJElkOiBwa2d0b29scy5yYix2IDEu MzYgMjAwOC8wNy8xMSAxMDozOToxOSBzZW1fcHJnIEV4cCAkCiAKIFBSRUZJWCA9ICIvdXNyL2xv Y2FsIgotVmVyc2lvbiA9ICIyLjQuNiIKK1ZlcnNpb24gPSAiMi40LjYtMSIKIAogYmVnaW4KICAg cmVxdWlyZSAnZmVhdHVyZXMvcnVieTE4L2ZpbGUnCkBAIC0yMDcsNiArMjA3LDEwIEBACiAgIGNv bmZpZ19pbmNsdWRlPyg6VVNFX1BLR1MsIHApCiBlbmQKIAorZGVmIGNvbmZpZ191c2VfcG9ydHM/ KHApCisgIGNvbmZpZ19pbmNsdWRlPyg6VVNFX1BPUlRTLCBwKQorZW5kCisKIGRlZiBjb25maWdf aGVsZD8ocCkKICAgY29uZmlnX2luY2x1ZGU/KDpIT0xEX1BLR1MsIHApCiBlbmQK --0016367f9af42cdedd0481145a6a--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?2c0c01051003051325i8047c4fycb3ae31673b9614d>