about summary refs log tree commit diff stats
path: root/core/ports.html
diff options
context:
space:
mode:
authorSilvino Silva <silvino@bk.ru>2017-02-20 09:06:21 +0000
committerSilvino Silva <silvino@bk.ru>2017-02-20 09:06:21 +0000
commit0e7880313b3a3e016c0d2e287802cc6ddff9edd1 (patch)
tree4ab03821ada4e4817dd58d161ae46041e24575b0 /core/ports.html
parentfd15c7a1ea378eaea467a741253483b2f5b31ea9 (diff)
downloaddoc-0e7880313b3a3e016c0d2e287802cc6ddff9edd1.tar.gz
core revision
Diffstat (limited to 'core/ports.html')
-rw-r--r--core/ports.html16
1 files changed, 11 insertions, 5 deletions
diff --git a/core/ports.html b/core/ports.html
index 489e728..98ccbba 100644
--- a/core/ports.html
+++ b/core/ports.html
@@ -23,7 +23,8 @@
         # useradd -U -M -d /usr/ports -s /bin/false pkgmk
         </pre>
 
-        <p>You can add your self to group pkgmk,</p>
+        <p>You can add your self to group pkgmk, Members of this group will
+        not be under <a href="linux.html#sysctl">tpe</a> protection.</p>
 
         <pre>
         # usermod -a -G pkgmk c9admin
@@ -85,6 +86,8 @@
         export CFLAGS="-O2 -march=native -mtune=native"
         </pre>
 
+        <p>"-protector-strong" which only insert stack canaries in fuctions where overflow might actually happen</p>
+
         <p>Discover number of cores/cpus to hard code -j option.</p>
 
         <pre>
@@ -107,7 +110,7 @@
         # /etc/pkgmk.conf: pkgmk(8) configuration
         #
 
-        export CFLAGS="-O2 -march=x86-64"
+        export CFLAGS="-O2 -march=native -mtune=native"
         export CXXFLAGS="${CFLAGS}"
 
         export MAKEFLAGS="-j4"
@@ -127,7 +130,7 @@
                         ;;
         esac
 
-        PKGMK_SOURCE_MIRRORS=(http://crux.nu/distfiles/)
+        #PKGMK_SOURCE_MIRRORS=(http://crux.nu/distfiles/)
         PKGMK_SOURCE_DIR="/usr/ports/distfiles"
         PKGMK_PACKAGE_DIR="/usr/ports/packages"
         PKGMK_WORK_DIR="/usr/ports/work/$name"
@@ -163,6 +166,9 @@
         # the following line enables the user maintained contrib collection
         prtdir /usr/ports/contrib
 
+        # ports described on this documentation
+        #prtdir /usr/ports/c9-ports
+
         # 6c37 team provides a collection with freetype-iu, fontconfig-iu
         # and cairo-iu ports.
         #prtdir /usr/ports/6c37
@@ -185,7 +191,7 @@
         readme verbose           # (verbose|compact|disabled)
 
         ### prefer higher versions in sysup / diff
-        preferhigher no      # (yes|no)
+        preferhigher yes      # (yes|no)
 
         ### use regexp search
         # useregex no        # (yes|no)
@@ -198,7 +204,7 @@
         ### EXPERT SECTION ###
 
         ### alternative commands
-        makecommand      sudo -H -u pkgmk fakeroot pkgmk
+        makecommand      sudo -H -u pkgmk -g pkgmk fakeroot pkgmk
         addcommand       sudo pkgadd
         removecommand    sudo pkgrm
         runscriptcommand sudo sh