Install paclink-unix
- Configure a single MTA
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
plu:install_plu [2016/04/14 08:41] gunn [Build paclink-unix] |
plu:install_plu [2021/10/01 12:06] (current) gunn [On Debian bullseye] |
||
---|---|---|---|
Line 1: | Line 1: | ||
====== Check out, build & install paclink-unix ====== | ====== Check out, build & install paclink-unix ====== | ||
* [[https://groups.yahoo.com/neo/groups/paclink-unix/conversations/topics/331 | setup for getting paclink-unix working on Ubuntu]] - from paclink-unix forum on Yahoo. | * [[https://groups.yahoo.com/neo/groups/paclink-unix/conversations/topics/331 | setup for getting paclink-unix working on Ubuntu]] - from paclink-unix forum on Yahoo. | ||
- | ===== Checking out the source code for paclink-unix ===== | + | * These instructions are old & use the un-maintained code from SourceForge. Keep reading to see how to get the latest code from the github repository. |
- | * Click on the 'code' tab from this [[http://sourceforge.net/projects/paclink-unix/ | link]]. | + | ===== Get current source code for paclink-unix ===== |
- | * Or just go to this [[http://sourceforge.net/p/paclink-unix/code | link]] and follow instructions for 'Anonymous CVS Access' | + | * To get a copy of the current repository use [[https://github.com/nwdigitalradio/paclink-unix | this link]]: |
- | * Checking the code out from the CVS repository gets you the latest source containing features & bug fixes that aren't in the current tar ball. | + | |
- | * Use CVS to check out the code do **not** download the tar ball. | + | |
- | * Once the code for paclink-unix is checked out read the **INSTALL.CVS** file | + | |
- | <code bash> | + | |
- | sudo apt-get install cvs | + | |
- | cvs -d:pserver:anonymous@paclink-unix.cvs.sourceforge.net:/cvsroot/paclink-unix login | + | |
- | (just hit enter for the password) | + | |
- | cvs -z3 -d:pserver:anonymous@paclink-unix.cvs.sourceforge.net:/cvsroot/paclink-unix co -P paclink-unix | + | <code> |
+ | git clone https://github.com/nwdigitalradio/paclink-unix | ||
</code> | </code> | ||
+ | |||
+ | * Old notes for reference only from [[plu:install_plu:oldnotes | deprecated SourceForge repo]] | ||
===== Satisfy all paclink-unix build requirements ===== | ===== Satisfy all paclink-unix build requirements ===== | ||
Line 24: | Line 20: | ||
* postfix will prompt for the type of installation you want but for this case the config files are manually edited so your choice is not critical. | * postfix will prompt for the type of installation you want but for this case the config files are manually edited so your choice is not critical. | ||
- | ==== On debian (6.x) Squeeze ==== | + | ==== On Debian (6.x) Squeeze ==== |
* Required packages for Debian Squeeze | * Required packages for Debian Squeeze | ||
Line 31: | Line 27: | ||
</code> | </code> | ||
- | ==== On debian (7.x) Wheezy ==== | + | ==== On Debian (7.x) Wheezy ==== |
* Required packages for Debian Squeeze | * Required packages for Debian Squeeze | ||
Line 44: | Line 40: | ||
</code> | </code> | ||
+ | ===== On Raspian Jessie, Stretch or Buster ==== | ||
+ | * Note that the RPi Raspian install is identical to Debian Jessie | ||
+ | <code bash> | ||
+ | sudo apt-get install postfix libdb-dev libglib2.0-0 zlib1g-dev libncurses5-dev libdb5.3-dev libgmime-2.6-dev | ||
+ | </code> | ||
+ | |||
+ | ===== On Debian bullseye ==== | ||
+ | |||
+ | * Even though libgmime 3.0 is available, use the older libgmime 2.6 until port to 3.0 is complete. | ||
+ | <code bash> | ||
+ | sudo apt-get install postfix libdb-dev libglib2.0-0 zlib1g-dev libncurses5-dev libdb5.3-dev libgmime-2.6-dev | ||
+ | </code> | ||
===== Build paclink-unix ===== | ===== Build paclink-unix ===== | ||
* Before you build paclink-unix you need to know which [[plu:before_you_start#mta | MTA]] is installed & configure the build for that package | * Before you build paclink-unix you need to know which [[plu:before_you_start#mta | MTA]] is installed & configure the build for that package | ||
* Set the proper command line args for sendmail | * Set the proper command line args for sendmail | ||
* postfix & exim4 //sendmail// program use %%-bm%% | * postfix & exim4 //sendmail// program use %%-bm%% | ||
- | * sendmail sendmail program uses -ba | + | * sendmail //sendmail// program uses -ba |
* See Makefile.am | * See Makefile.am | ||
* no argument selects sendmail MTA <code>--enable-postfix</code> selects postfix MTA | * no argument selects sendmail MTA <code>--enable-postfix</code> selects postfix MTA | ||
+ | * find the version of //automake// you are using & copy the //missing// script locally | ||
+ | * The version I have installed is 1.14 | ||
<code bash> | <code bash> | ||
+ | ls -l /usr/share/automake* | ||
+ | cp /usr/share/automake-1.14/missing . | ||
./autogen.sh --enable-postfix | ./autogen.sh --enable-postfix | ||
** ./configure not required if autogen.sh is run -> ./configure --enable-postfix | ** ./configure not required if autogen.sh is run -> ./configure --enable-postfix | ||
Line 80: | Line 92: | ||
* Nick n2qz, the founder of paclink-unix, developed //wl2kserial// to interface to an SCS-PTC-IIpro modem using PACTOR III | * Nick n2qz, the founder of paclink-unix, developed //wl2kserial// to interface to an SCS-PTC-IIpro modem using PACTOR III | ||
====== After install need to do some config ====== | ====== After install need to do some config ====== | ||
- | * Add user to the following groups, change username //webman// to something appropriate. | + | * Add user to the following groups, change username //<your_user_name>// to something appropriate. |
<code bash> | <code bash> | ||
- | usermod -a -G postdrop webman | + | usermod -a -G postdrop <your_user_name> |
- | usermod -a -G mail webman | + | usermod -a -G mail <your_user_name> |
- | usermod -a -G adm webman | + | usermod -a -G adm <your_user_name> |
</code> | </code> | ||
* verify that user is in group //mail// by executing: | * verify that user is in group //mail// by executing: | ||
Line 91: | Line 103: | ||
</code> | </code> | ||
* As root set permissions in the outbox directory: | * As root set permissions in the outbox directory: | ||
- | * change username //webman// to something appropriate. | + | * change //<your_user_name>// to something appropriate. |
<code bash> | <code bash> | ||
cd /usr/local/var/ | cd /usr/local/var/ | ||
- | chown -R webman:mail wl2k | + | chown -R <your_user_name>:mail wl2k |
</code> | </code> | ||
* Edit paclink-unix config file in /usr/local/etc/wl2k.conf | * Edit paclink-unix config file in /usr/local/etc/wl2k.conf | ||
* uncomment lines that you edit | * uncomment lines that you edit | ||
- | * set mycall to your callsign | + | * set //mycall// to your callsign & **use uppercase** |
- | * set timeout to 190 | + | * set //timeout// to 190 |
- | * set email to <username>@localhost in my case that would be webman@localhost | + | * set //email// to <username>@localhost |
+ | * set //wl2k-password// | ||
+ | * For official Winlink documentation go [[https://www.winlink.org/tags/password | here]] and look for the section that starts with: | ||
+ | <file> | ||
+ | If you’re using a different Winlink e-mail client program, you must follow these steps: | ||
+ | </file> | ||
* set ax25port to the //portname// in /etc/ax25/axports | * set ax25port to the //portname// in /etc/ax25/axports | ||
* All the rest of the defaults should be fine | * All the rest of the defaults should be fine |