View difference between Paste ID: 78MdJ4AU and St7q7Ewj
SHOW: | | - or go back to the newest paste.
1
LibreSSL installed in $HOME and compile ZNC using it
2
3-
>> Getting Dependencies on Debian
3+
>> Getting Dependencies on Debian: 
4
apt-get build-dep znc
5
6
>> Add User running ZNC:
7
adduser znc
8
su - znc
9
10
>> Download Sources:
11
wget https://github.com/libressl/portable/releases/download/v4.1.0/libressl-4.1.0.tar.gz
12
wget https://znc.in/releases/znc-1.10.1.tar.gz
13
14
>> Unpack:
15
tar xvfz libressl-4.1.0.tar.gz
16
tar xvfz znc-1.10.1.tar.gz
17
18
>> Compile and install LibreSSL to $HOME:
19
cd libressl-4.1.0
20
./configure --prefix=$HOME
21
make
22
make install
23
24
>> Add to ~/.profile or ~/.bashrc and relogin:
25
LIBRARYPATH=$HOME/lib
26
export LD_LIBRARY_PATH="${LIBRARYPATH}:${LD_LIBRARY_PATH}"
27
export PKG_CONFIG_PATH="$HOME/lib/pkgconfig"
28
29-
>> 
29+
30-
$HOME/bin/znc --makeconf
30+
cd znc-1.10.1
31
./configure CXXFLAGS=-I$HOME/include LDFLAGS=-L$HOME/lib --prefix=$HOME
32
make
33
make install
34
35
>> Start compiled ZNC:
36
$HOME/bin/znc