about summary refs log tree commit diff stats
path: root/conf
diff options
context:
space:
mode:
authorSilvino Silva <silvino@bk.ru>2016-08-20 05:35:06 +0100
committerSilvino Silva <silvino@bk.ru>2016-08-20 05:35:06 +0100
commitc178db81d64eed21177b4c5d78ab3db7a785b7fe (patch)
tree986f5a2a25b3e7ab65de1fcba71648b1c405064f /conf
parentaa990cd7e4f7be6e760e9cbdd402041dfecca8c7 (diff)
downloaddoc-c178db81d64eed21177b4c5d78ab3db7a785b7fe.tar.gz
initial ports, scripts revision
Diffstat (limited to 'conf')
-rw-r--r--conf/fstab45
-rw-r--r--conf/pkgmk.conf38
-rw-r--r--conf/prt-get.conf50
3 files changed, 110 insertions, 23 deletions
diff --git a/conf/fstab b/conf/fstab
index b3133e6..07f3c28 100644
--- a/conf/fstab
+++ b/conf/fstab
@@ -13,51 +13,50 @@
 #/dev/cdrom            /cdrom    iso9660   ro,user,noauto,unhide            0      0
 #/dev/dvd              /dvd      udf       ro,user,noauto,unhide            0      0
 #/dev/floppy/0         /floppy   vfat      user,noauto,unhide               0      0
-devpts                 /dev/pts  devpts    noexec,nosuid,gid=tty,mode=0620  0      0
+#devpts                 /dev/pts  devpts    noexec,nosuid,gid=tty,mode=0620  0      0
 #tmp                   /tmp      tmpfs     defaults                         0      0
 #shm                   /dev/shm  tmpfs     defaults                         0      0
 #usb                   /proc/bus/usb usbfs defaults                         0      0
 
 #/
 #/dev/sda3:
-UUID=f7fce1b0-5117-4b76-8c0e-00870a824ab2   /	ext4	defaults	0	1
+UUID=4ed0d5c1-d0c6-4eeb-bbbf-dc94f6f66efd   /	ext4	defaults	0	1
 
 #/boot
 #/dev/sda2:
-UUID=c8489141-7e72-4ddd-b27f-d21a6686bc23   /boot	ext4	defaults,nodev,noexec,nosuid	0	2
+UUID=c304a4a0-bb4f-4d19-be62-75aaa6b713f3   /boot	ext4	defaults,nodev,noexec,nosuid	0	2
 
 #/boot/efi
 #/dev/sda1:
-UUID=F74C-0993  /boot/efi       vfat    umask=0077      0       2
+UUID=15B2-1D41  /boot/efi       vfat    umask=0077      0       2
 
-#swap
+#/var
 #/dev/sda4:
-UUID=0ec84a34-8255-465d-83b0-091dabafeb41   none            swap    sw              0       0
+UUID=182a7038-1f14-4cea-88f8-4347a3e9c3a2   /var            ext4    defaults,nodev,noexec,nosuid        0       2
 
-#/var
+#/tmp
 #/dev/sda5:
-UUID=8a417c13-95cd-40e3-bac7-e71a5a432985   /var            ext4    defaults,nodev,noexec,nosuid        0       2
-
+UUID=1325ee41-27c9-4621-ab69-125bb6e1c63b   /tmp            ext4    defaults,nodev,nosuid,noexec        1 2
 
-#/tmp
+#/usr
 #/dev/sda6:
-UUID=2ce9a85c-fc86-4583-9146-5e23de8a000c   /tmp            ext4    defaults,nodev,nosuid,noexec        1 2
+UUID=9004d59a-310c-44cc-a0f5-b338c2619af6   /usr            ext4    defaults,nodev        0       2
 
-#/usr
-#/dev/sda7:
-UUID=c16a02a6-a1bc-4a5a-bdf3-b843a3e9b196   /usr            ext4    defaults,nodev        0       2
+#/home
+#/dev/sda7
+UUID=d1df6743-d3cb-4d5a-badb-96cef3181095   /home           ext4    defaults,nodev,nosuid,noexec        0       2
+
+#/usr/ports
+#/dev/sda8
+#UUID=d1df6743-d3cb-4d5a-badb-96cef3181095   /usr/ports       ext4    defaults,nodev,nosuid,noexec        0       2
 
-#/var/ports/work
-#pkgmk   /var/ports/work tmpfs size=20G,gid=101,uid=101,defaults 0 0
+#swap
+#/dev/sda9:
+#UUID=182a7038-1f14-4cea-88f8-4347a3e9c3a2   none            swap    sw              0       0
 
-## Home /home
-#UUID=935a4189-aea5-46c4-8e29-f9e9ace3addf /home           ext4    defaults,nodev,nosuid,noexec        0       2
+#/usr/ports/work
+#pkgmk   /usr/ports/work tmpfs size=30G,gid=101,uid=101,defaults 0 0
 
 devpts                 /dev/pts  devpts    noexec,nosuid,gid=tty,mode=0620  0      0
 
-#/dev/sda8: UUID="d2ba3926-0839-4179-b2b1-62256b51e964" TYPE="ext4" PARTUUID="71c78b3c-2898-47b7-adad-133f2b47eca8"
-#/dev/sda10: UUID="1158f1d1-71d9-4f76-a54e-538e34419d0b" TYPE="ext4" PARTUUID="b90776d1-8051-4751-acc6-7477dbb04e4e"
-#/dev/sda11: UUID="935a4189-aea5-46c4-8e29-f9e9ace3addf" TYPE="ext4" PARTUUID="6dd2492e-bd14-4177-9bc7-60bc3e330203"
-#
-
 # End of file
diff --git a/conf/pkgmk.conf b/conf/pkgmk.conf
new file mode 100644
index 0000000..220ac48
--- /dev/null
+++ b/conf/pkgmk.conf
@@ -0,0 +1,38 @@
+#
+# /etc/pkgmk.conf: pkgmk(8) configuration
+#
+
+export CFLAGS="-O2 -march=x86-64"
+export CXXFLAGS="${CFLAGS}"
+
+export MAKEFLAGS="-j4"
+
+case ${PKGMK_ARCH} in
+	"64"|"")
+		;;
+	"32")
+		export CFLAGS="${CFLAGS} -m32"
+		export CXXFLAGS="${CXXFLAGS} -m32"
+		export LDFLAGS="${LDFLAGS} -m32"
+		export PKG_CONFIG_LIBDIR="/usr/lib32/pkgconfig"
+		;;
+	*)
+		echo "Unknown architecture selected! Exiting."
+		exit 1
+		;;
+esac
+
+# PKGMK_SOURCE_MIRRORS=()
+PKGMK_SOURCE_DIR="/usr/ports/distfiles"
+PKGMK_PACKAGE_DIR="/usr/ports/packages"
+PKGMK_WORK_DIR="/usr/ports/work/$name"
+# PKGMK_DOWNLOAD="no"
+# PKGMK_IGNORE_FOOTPRINT="no"
+# PKGMK_IGNORE_NEW="no"
+# PKGMK_NO_STRIP="no"
+# PKGMK_DOWNLOAD_PROG="wget"
+# PKGMK_WGET_OPTS=""
+# PKGMK_CURL_OPTS=""
+# PKGMK_COMPRESSION_MODE="gz"
+
+# End of file
diff --git a/conf/prt-get.conf b/conf/prt-get.conf
new file mode 100644
index 0000000..6ebaa1c
--- /dev/null
+++ b/conf/prt-get.conf
@@ -0,0 +1,50 @@
+###
+### prt-get conf
+###
+
+# note: the order matters: the package found first is used
+prtdir /usr/ports/core
+prtdir /usr/ports/opt
+prtdir /usr/ports/xorg
+
+# the following line enables the multilib compat-32 collection
+#prtdir /usr/ports/compat-32
+
+# the following line enables the user maintained contrib collection
+prtdir /usr/ports/contrib
+
+### use mypackage form local directory
+# prtdir /home/packages/build:mypackage
+
+### log options:
+writelog enabled         # (enabled|disabled)
+logmode  overwrite       # (append|overwrite)
+rmlog_on_success yes     # (no|yes)
+logfile  /var/log/pkgbuild/%n.log
+                           # path, %p=path to port dir, %n=port name
+                           #       %v=version, %r=release
+
+### use alternate cache file (default: /var/lib/pkg/prt-get.cache
+# cachefile /mnt/nfs/cache
+
+### print README information:
+readme verbose           # (verbose|compact|disabled)
+
+### prefer higher versions in sysup / diff
+preferhigher yes      # (yes|no)
+
+### use regexp search
+# useregex no        # (yes|no)
+
+### run pre- and post-installs scripts; yes is equivalent to the
+### --install-scripts option
+runscripts yes            # (no|yes)
+
+
+### EXPERT SECTION ###
+
+### alternative commands
+makecommand      sudo -H -u pkgmk fakeroot pkgmk
+addcommand       pkgadd
+removecommand    pkgrm
+runscriptcommand sh