Build / Compile RetroShare v0.6.5 on Debian 10 Buster

Install dependencies

apt install -y git cmake qttools5-dev libglib2.0-dev libupnp-dev libssl-dev libxss-dev libbz2-dev libsqlcipher-dev libspeex-dev libspeexdsp-dev libxslt1-dev libcurl4-openssl-dev libopencv-dev tcl8.6 libmicrohttpd-dev rapidjson-dev qt5-default qtmultimedia5-dev libqt5x11extras5-dev build-essential (libgnome-keyring-dev)

Get the Source

git clone https://github.com/RetroShare/RetroShare.git
git checkout v0.6.5

build the Source

cd RetroShare && qmake CONFIG-=debug CONFIG+=release && make && make install

run retroshare

/usr/bin/retroshare

without gui

/usr/bin/retroshare-nogui

with webinterface

/usr/bin/retroshare-nogui --webinterface 9090 --docroot /usr/share/retroshare/webui/ --http-allow-all

with debugging

./retroshare-gui/src/retroshare -d 0

enable DHT with bdboot.txt (get bdboot.txt from installer or portable) and put it into your ~/.retroshare/LOC06_…/bdboot.txt

debug:

qmake CONFIG+=tests CONFIG+=address_sanitizer
make -j4
tests/unittests/unittests

OpenWRT flash Asus RT-N66U

Upload OpenWRT Firmware for Asus RT-N66U via tftp / curl

  1. Set your computer to a static IP (e.g. 192.168.1.123), subnet 255.255.255.0, default gateway 192.168.1.1
  2. Put router into recovery mode by holding down the reset button while powering up the router, wait until the power led is blinking slowly, then release the reset button.
  3. upload .trx file (brcm47xx/mips74k/) with
    curl -T openwrt-18.06.4-brcm47xx-mips74k-asus-rt-n66u-squashfs.trx tftp://192.168.1.1
  4. When complete, wait until the router reboots itself, which can take at least 10 minutes.
  5. Wait until the router reboots itself, then access the OpenWRT GUI (Luci) at 192.168.1.1 to set a password.

OpenBSD 6.5

http://www.openbsd.org/65.html

http://www.openbsd.org/ftp.html

i386 install65.iso

untrusted comment: verify with openbsd-65-base.pub
 RWSZaRmt1LEQT5jTLVD6GSy5JmjT5DSHfGsH9UzLQjITpxHEdafOrwrCOkEfXGuhDrSAYt9FTJVPdLPMhJoTfJYqIgZxtkPw5QM=
 SHA256 (BUILDINFO) = fc4f7e0721af6461864b81e731dc4030d3df33a06bd090f5cf91583c95c7d685
 SHA256 (INSTALL.i386) = c6bd55de1624a90682d12da5c94d438d95b255686c6e43c5d60a7d031abc7461
 SHA256 (base65.tgz) = d5cd8ea3a9890a23111daa7bc3036ae36ef64a4cca3fe00da304f9881d6a0707
 SHA256 (bsd) = fd46de48ffaef06201af5d6d977ed93d56836795079a4b3bdd0bb64aba7bd439
 SHA256 (bsd.mp) = 393f219693a6911b122f5820746c530a9d6ea034221751d67ba8c4e6f6f27d78
 SHA256 (bsd.rd) = ac8e47663ec9e7f4022a0c641645c6481f6d0756e7880c2c122e29cc27e61fab
 SHA256 (cd65.iso) = da2113bf20015ec18d98a0b5faacd0fae64baba70cdd5a054f597d11e45bf8c3
 SHA256 (cdboot) = 6847c2e1ea541d077a6ccb5564701c719b100ece1218f632c40eb97a2d8f52c8
 SHA256 (cdbr) = ae317601f3bc75e38479dfbe94e41c9e6f7be2f44742361461f0c30ad5096e12
 SHA256 (comp65.tgz) = 8135f7fb51183493df9e0f3501cb0ace02141fb8f91dd1074d5f06a0fa221aba
 SHA256 (floppy65.fs) = fc9eb956db0323d285bcf3ec0fbe10699e9b25bb52d94a6211ca3fc0532caddf
 SHA256 (game65.tgz) = 38a3c0f33cf5efe2a5732013065d9b4addade981316c80413f2dcacc8ba744ff
 SHA256 (install65.fs) = 5c3a2843ab6b89af088b5770ed65ce2e7ac1d54c59193b0e8ea9e498056b91d9
 SHA256 (install65.iso) = 8fcb4b6582836237e1f979806700c90dbeb93ad903e41a0aad588e771c3c7548
 SHA256 (man65.tgz) = 921a867a38fa9dc20b6f86d5b4f3075781cf45e28d5629f73544c3e7e3c48bf9
 SHA256 (miniroot65.fs) = afc42c144a294f43d011d3b130a531c10faa8383b1870b6b83fef7fbd4cd6f96
 SHA256 (pxeboot) = dbd3f2f14bdc597945f8e10607809297c2674e145a44cf0dbe09c5e6449438b7
 SHA256 (xbase65.tgz) = 341ac5ddf6288b4c1b3b152317b5118b283e8ae353a785c5cc267f2fe5fb74e5
 SHA256 (xfont65.tgz) = a3e8865f4dd611fb3ff4405e561305e2bbce5e2e8c4e931a2eb08b206cab9c2b
 SHA256 (xserv65.tgz) = 8c87c46866429a22c91183e526d51e523b34180d1ce9683b57fdc2ca22cd7dbf
 SHA256 (xshare65.tgz) = ea01e7aa4713a79fb545238b4c61761c1aedbb879bad010a7a5f86644a6b0d7d

amd64 install65.iso

untrusted comment: verify with openbsd-65-base.pub
 RWSZaRmt1LEQT1JWrTlQMKk/YSrqjuW8ACbat3tXV/knSUGOBOYYgeAQ3bPGs5vfZNgFOlLo0lSkOmi0DhzovsDjk0oPu7qiAwg=
 SHA256 (BOOTIA32.EFI) = 110705712639a9857ea2a83e7fe51fe604bbfef70684c4ba9a950bfe44acf1e0
 SHA256 (BOOTX64.EFI) = 33cde25e802ca2c8bcb60e53e1cbb310fc844649d11c055a0bcd6a65ee56685f
 SHA256 (BUILDINFO) = 41d85f7f5fefc5df5c06f6626807ac7b4727ced52b8c8eab4f93027b5f65881f
 SHA256 (INSTALL.amd64) = a82bc9f2bf23a36e6d6ac90a235ab9008328e2a1ba5b441bfef3cdf83c8b3226
 SHA256 (base65.tgz) = 025f5c813863ef13e2bec9bcac244afce59fae68dd7918f1a7b5fcaa13ceda69
 SHA256 (bsd) = 5d2dc1065f24c506fee15c6e19ab16a88801bf528155fd30402c8ce4016b33f8
 SHA256 (bsd.mp) = b5442ae9089ae87a86e995dc04238e994dadf3bfa28ef4e02fe62251cbce73a7
 SHA256 (bsd.rd) = f028d397f85f8ef01476ec849c2da83d39649d8d4c6f97b624aa9efb29de909a
 SHA256 (cd65.iso) = c0ed31c5f50de4cc80bed01e6080beab96df4ee50a5ad14be88faf40a20c43ed
 SHA256 (cdboot) = b91ce8cb1e3a9e32d706e669013495080401ce0b8710ab06f92ba05e34fc4f56
 SHA256 (cdbr) = 1bca1d8fe83e8b41a5c72735895413b5e60477478e591d53ed449deaeda7b35e
 SHA256 (comp65.tgz) = 74d9b205f57d4f51eef4249516fa18b5575d508d01c83e6ce0bb7181f01f5ef1
 SHA256 (floppy65.fs) = d18ba79b5c9fc67fe9f33b96abe5c78eee565bb525bbd762a3f73a81ffe86fc7
 SHA256 (game65.tgz) = 564782ff7f1da5ef8ce67a028c4591e25dd8d558d3397a9eff4ec005f350b9da
 SHA256 (install65.fs) = ed420c77ac82a768e1116c3b72f0811cb03091de90990460dd39ade9db06c3cf
 SHA256 (install65.iso) = 38d1f8cadd502f1c27bf05c5abde6cc505dd28f3f34f8a941048ff9a54f9f608
 SHA256 (man65.tgz) = bd21a3f675d34bb7c2f467406b6c6d2a565f68f102c9c08a7fdbfe7b854f7e67
 SHA256 (miniroot65.fs) = 561a496c05e2faf0873d19589d225023a0dfa74b994a89541b3197ae6524ca66
 SHA256 (pxeboot) = 61bbf74bfa6e7974e9d02775d0c05aa7fba25428027f29fca9cc4866ccc897ee
 SHA256 (xbase65.tgz) = ae9032a9bb7def0519f60620f9d1f40a18eaf2bb02bead4d2e3d6b07d8126175
 SHA256 (xfont65.tgz) = e188e26c138df409dc491266eff8fbf64ec7e85ae71813503676abdffdbe3a1a
 SHA256 (xserv65.tgz) = d9e4e645404f6faba86640b08c88664dd3b56d8cf909b365dced1bc30ce45d92
 SHA256 (xshare65.tgz) = 09fa9a180cb641d2aca57908e31e1a2f72f8f932100690b15573f6c821cfb569

arm64

untrusted comment: verify with openbsd-65-base.pub
 RWSZaRmt1LEQT2ZYbizN6EdtadJz6NgZtWxYxNYoKjeeRVAST7XprVYBVhrud+gOth//KZP31CShsNDAwBxi2LU4gDx2NNr40QU=
 SHA256 (BOOTAA64.EFI) = 27bb01f4a7d6d5e660a2fa9d9080159bb3bea35eb70b2300263d91e782adf710
 SHA256 (BUILDINFO) = 04ccc5420e24bb25338d58bf1a9a56ea71b85bcbeea81a4a5f274f66e47ef413
 SHA256 (INSTALL.arm64) = e4d7cf664489e4a8be3e8cde32773f7a31727829e5c3a4b5b22ded0c9667514b
 SHA256 (base65.tgz) = 83803cce922af198d6fb54d06447d1a957c0a5f6285017cb11ba4afd35ad2779
 SHA256 (bsd) = 0e46b977331dd1833637696cc596208babc8bea6b69e9dfc015def5f905fbbed
 SHA256 (bsd.mp) = cb271107b1ff8f1b0c9c3e33f0dce42a3206d9787086e0a858e0a94f6bb241a7
 SHA256 (bsd.rd) = 0b03937a966d08620a79f1bcda9d0aab30fff62c3c3f347cef7724586e97a1b3
 SHA256 (comp65.tgz) = e36e99bb6b2ab01f778116babe8c9475e3c2f5496f80d10476f943ae8f2d4746
 SHA256 (game65.tgz) = e2bd8324b0b8b8e9cc29f79588279359f2751cbea0b2d89b16e9fab6e22feb34
 SHA256 (man65.tgz) = 832a4c8371d76b3790920bbead96d5488761c94dc6c5629028535c3ce048f32c
 SHA256 (miniroot65.fs) = 329ab164b6ad1b2fdd7bb596f5b5e68f07445c26e37f169f0dd7c12b4cb50794
 SHA256 (xbase65.tgz) = c6cde3460972d381a1312d50026ad73ab197dd6ed3c26830509d8fc3c33de832
 SHA256 (xfont65.tgz) = 60a81e3d2e0a0d1db0f672af3883472dd36136010cb50edb70e883f920af3f96
 SHA256 (xserv65.tgz) = 7c943e73e73534309ad055d9ee27739ada3b529a70afb05abc0393615d81b112
 SHA256 (xshare65.tgz) = f5fea81a508919b27bf7102a608603ad47741f1dc87fa255dd47154951caaf2a

Check Signature

signify pubkeys for this release:
openbsd-65-base.pub:
RWSZaRmt1LEQT9CtPygf9CvONu8kYPTlVEJdysNoUR62/NkeWgdkc3zY
openbsd-65-fw.pub:
RWQYdGVtTv5IvpH2c+TLQAC4iV7RjoGZ/v75q8MCuC9Mca7nFVCXRefy
openbsd-65-pkg.pub:
RWS5D4+188RI6jULDOFzga0Cm1zrXYUAHT6xu0mLrZidbn6xrMB5aZeR
openbsd-65-syspatch.pub:
RWT8U2yd3Aq5DnetILjmSoCQxmyt3VqfGS7GBh19oh4Xre4ywc31PEpw
signify -C -p /etc/signify/openbsd-65-base.pub -x SHA256.sig
signify-openbsd -Cp openbsd-65-base.pub -x SHA256.sig install65.iso

Full Disk Encryption Install auf sd0/wd0
Boot CD and start (S)hell

zeroing the first chunk of the entire scsi disc (optional)

dd if=/dev/zero of=/dev/rsd2c bs=1m count=1

sd/rsd: Its device files would be /dev/sd2a for the block device and /dev/rsd2a for the raw (character) device.
2: The devices are numbered by the order in which they are detected at boot time, starting at zero. Here: Disc number three.
c: The c partition is always the entire disk.

if there is no sd0 (optional)

cd /dev && sh MAKEDEV sd0
fdisk -iy sd0
disklabel -E sd0

add partition a

z
a a

offset: [64]
size: [1234567890]
FS type: [4.2BSD] RAID

w[Enter]q[Enter]
bioctl -c C -l /dev/sd0a softraid0
exit

start (I)nstall

Which disk is the root disk? (‘?’ for detials) [sd0]
“?” should show you “sd?: SR CRYPTO”
e.g. “sd1”


install Packages
add to .profiles file:

export PKG_PATH=https://ftp.fau.de/pub/OpenBSD/`uname -r`/packages/`uname -m`/
pkg_add nano rsync wget openvpn firefox unzip htop

search Packages

pkg_info -Q sshfs
pkg_add sshfs-fuse

update OpenBSD

pkg_add -Uu

install mate Desktop

disable display manager

rcctl disable xenodm
pkg_add -Iv mate-desktop mate-notification-daemon mate-terminal mate-panel mate-session-manager mate-icon-theme mate-control-center mate-calc caja slim slim-themes
echo 'exec mate-session' > .xinitrc
echo "/usr/local/bin/slim -d" >> /etc/rc.local
echo 'pkg_scripts="dbus_daemon avahi_daemon"
dbus_enable=YES' >> /etc/rc.conf.local
startx