Re: Port Changes FAQ

看板FB_questions作者時間11年前 (2014/06/16 02:01), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串6/15 (看更多)
Thanks, guys. I like the new pkg (8) command. Will they be recompiling ports whenever they have been patched against vulnerabilities? Chris On Sun, Jun 15, 2014 at 3:06 AM, Roland Smith <rsmith@xs4all.nl> wrote: > On Sun, Jun 15, 2014 at 02:26:26AM +0200, Polytropon wrote: >> On Sat, 14 Jun 2014 16:53:06 -0700, Chris Maness wrote: >> > I used to use ports, portsnap, portaudit, portupgrade, etc... >> >> No big changes here so far. The system's package database has >> been moved from pkg_* tools to the pkg (pkgng) system, but >> portupgrade or portmaster can deal with that fine. The data >> is now kept in a different database (sqlite). The pkg command >> also has an audit functionality now. >> >> https://wiki.freebsd.org/pkgng >> >> http://www.freebsd.org/cgi/man.cgi?query=pkg&sektion=7 >> >> http://www.freebsd.org/cgi/man.cgi?query=pkg-audit&format=html >> >> Additionally, CVS has been deprecated, so you use SVN to get >> the updates for your local ports tree (or simply use portsnap). > > It seems that portsnap and freebsd-update have certain vulnerabilities that > make it vulnerable to e.g. MITM attacks; > http://lists.freebsd.org/pipermail/freebsd-questions/2014-April/257394.html > > Some PRs have been filed about it as well, e.g; > https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=188433 > https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=188428 > https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=188430 > https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=188432 > > So unless somebody finds the time to address these, it is not inconceivable > that portsnap will be retired after 8.x and 9.x reach EOL. > > Updating ports with svnlite is easy. Initially do a check-out; > > # rm -rf /usr/ports > # mkdir /usr/ports > # svnlite checkout https://svn0.eu.FreeBSD.org/ports/head /usr/ports > > (I'm using the European mirror as an example. Choose a relatively close mirror.) > > After that you can update the ports tree with; > > # svnlite update /usr/ports |& less > >> > I >> > used to build everything from ports, #make install clean sorts of >> > commands. Is this going away? >> >> It sill works as expected and is still supported. For few >> software, it's the only way of installation because no binary >> package exists (maybe you need specific compile-time options >> which are not the default options). >> >> So far, those are the "big changes" regarding software >> installation: >> >> 1. pkg (instead of pkg_* toolset) >> >> 2. clang (instead of gcc) >> >> 3. Subversion (instead of CVS) > > There is another change coming; the support for installing Python packages for > multiple Python versions. > > Roland > -- > R.F.Smith http://rsmith.home.xs4all.nl/ > [plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated] > pgp: 5753 3324 1661 B0FE 8D93 FCED 40F6 D5DC A38A 33E0 (keyID: A38A33E0) _______________________________________________ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"
文章代碼(AID): #1JdTzVe6 (FB_questions)
討論串 (同標題文章)
文章代碼(AID): #1JdTzVe6 (FB_questions)