Changes between Version 202 and Version 203 of members/GRIP-UQAM


Ignore:
Timestamp:
Oct 6, 2016, 2:01:17 PM (5 years ago)
Author:
Grip Uqam
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • members/GRIP-UQAM

    v202 v203  
    394394=== Portable ===
    395395* [http://superuser.com/questions/647151/package-manager-for-use-as-normal-user-inside-home-direcotry package manager for use as normal user inside home directory]
     396==== NetBSD pkgsrc ===
    396397* https://en.wikipedia.org/wiki/Pkgsrc
    397398 * http://www.pkgsrc.org/ (see within others: Latest stable release)
     
    399400 * https://pkgsrc.joyent.com/bootstrap/
    400401 * http://www.netbsd.org/docs/pkgsrc/using.html
    401 * https://en.wikipedia.org/wiki/Gentoo/Alt Gentoo Prefix
     402===== Example =====
     403{{{#!sh
     404$ sudo aptitude install cvs
     405$ mkdir pkgsrc
     406$ cd pkgsrc/
     407$ cvs -d anoncvs@anoncvs.netbsd.org:/cvsroot co -rpkgsrc-2014Q4 -P pkgsrc # UPDATE this! See News on http://pkgsrc.org/
     408$ cd pkgsrc/bootstrap/
     409$ rm -r work/ # just in case it is not the first attempt to compile
     410$ env SH=/bin/bash ./bootstrap --prefix=${HOME}/pkgsrc --unprivileged
     411...
     412=> Please note the following:
     413
     414===========================================================================
     415$NetBSD: MESSAGE,v 1.6 2014/12/05 14:31:07 schmonz Exp $
     416
     417You may wish to have the vulnerabilities file downloaded daily so that
     418it remains current.  This may be done by adding an appropriate entry
     419to a user's crontab(5) entry.  For example the entry
     420
     421# download vulnerabilities file
     4220 3 * * * /home/$USER/pkgsrc/sbin/pkg_admin fetch-pkg-vulnerabilities >/dev/null 2>&1
     423
     424will update the vulnerability list every day at 3AM. You may wish to do
     425this more often than once a day.
     426
     427In addition, you may wish to run the package audit from the daily
     428security script.  This may be accomplished by adding the following
     429lines to /etc/security.local
     430
     431if [ -x /home/$USER/pkgsrc/sbin/pkg_admin ]; then
     432        /home/$USER/pkgsrc/sbin/pkg_admin audit
     433fi
     434
     435Alternatively this can also be acomplished by adding an entry to a user's
     436crontab(5) file. e.g.:
     437
     438# run audit-packages
     4390 3 * * * /home/$USER/pkgsrc/sbin/pkg_admin audit
     440
     441Both pkg_admin subcommands can be run as as an unprivileged user,
     442as long as the user chosen has permission to read the pkgdb and to write
     443the pkg-vulnerabilities to /home/$USER/pkgsrc/var/db/pkg.
     444
     445The behavior of pkg_admin and pkg_add can be customised with
     446pkg_install.conf.  Please see pkg_install.conf(5) for details.
     447
     448If you want to use GPG signature verification you will need to install
     449GnuPG and set the path for GPG appropriately in your pkg_install.conf.
     450===========================================================================
     451
     452=> Registering installation for pkg_install-20130902nb1
     453===> running: /bin/sh /tmp/pkgsrc/pkgsrc/bootstrap/work/bin/install-sh -d -o $USER -g $USER /home/$USER/pkgsrc/etc
     454
     455===========================================================================
     456
     457Please remember to add /home/$USER/pkgsrc/bin to your PATH environment variable
     458and /home/$USER/pkgsrc/man to your MANPATH environment variable, if necessary.
     459
     460An example mk.conf file with the settings you provided to "bootstrap"
     461has been created for you. It can be found in:
     462
     463      /home/$USER/pkgsrc/etc/mk.conf
     464
     465You can find extensive documentation of the NetBSD Packages Collection
     466in /tmp/pkgsrc/pkgsrc/doc/pkgsrc.txt.
     467
     468Hopefully everything is now complete.
     469Thank you for using pkgsrc!
     470
     471===========================================================================
     472}}}
     473==== Gentoo Prefix ====
     474* https://en.wikipedia.org/wiki/Gentoo/Alt
    402475 * https://wiki.gentoo.org/wiki/Project:Alt
    403476 * https://wiki.gentoo.org/wiki/Project:Prefix