• BinkD

    From Avon@21:1/101 to All on Sat Oct 10 09:47:26 2020
    Where is the best place to download the lastest BinkD for Linux 64 bit from?

    Any tips on how to build it or things I need to install first?

    With thanks,, Paul

    --- Mystic BBS v1.12 A46 2020/08/26 (Windows/32)
    * Origin: Agency BBS | Dunedin, New Zealand | agency.bbs.nz (21:1/101)
  • From Al@21:4/106.1 to Avon on Fri Oct 9 18:22:14 2020
    Where is the best place to download the lastest BinkD for Linux 64 bit from?

    A good place to grab binkd binaries is..

    http://download.binkd.org

    In the case of linux you can grab binkd from your package manager in some cases like debian, or build your own.

    Any tips on how to build it or things I need to install first?

    On linux I always build my own, it's fairly simple. I use the cvs instructions posted weekly in the BINKD area and I think there is also a github page to grab the source.

    If you try that and get stuck just hollar and I'll be glad to help.

    --- BBBS/Li6 v4.10 Toy-4
    * Origin: The Rusty MailBox - Penticton, BC Canada (21:4/106.1)
  • From Oli@21:3/102 to Avon on Sat Oct 10 09:46:39 2020
    Avon wrote (2020-10-10):

    Where is the best place to download the lastest BinkD for Linux 64 bit from?

    Any tips on how to build it or things I need to install first?

    sudo apt install zlib1g-dev libbz2-dev libperl-dev

    ../configure --with-aso --with-perl --with-zlib --with-bzip2 --with-proxy

    Maybe the build-essential package for gcc and stuff

    ---
    * Origin: (21:3/102)
  • From Avon@21:1/101 to Al on Sat Oct 10 20:49:30 2020
    On 09 Oct 2020 at 06:22p, Al pondered and said...

    A good place to grab binkd binaries is..

    http://download.binkd.org

    Hmm the /linux dir has something dated 2016 :(

    I'll keep looking :)

    --- Mystic BBS v1.12 A46 2020/08/26 (Windows/32)
    * Origin: Agency BBS | Dunedin, New Zealand | agency.bbs.nz (21:1/101)
  • From Al@21:4/106.1 to Avon on Sat Oct 10 01:00:20 2020
    http://download.binkd.org

    Hmm the /linux dir has something dated 2016 :(

    Yeah, that's only good for Windows and OS/2, for binaries.

    I'll keep looking :)

    I would build your own and Oli just posted the needed stuff.. :)

    If you have questions.. just ask.. :)

    If I remember right I had tons of questions when I first started with linux.

    --- BBBS/Li6 v4.10 Toy-4
    * Origin: The Rusty MailBox - Penticton, BC Canada (21:4/106.1)
  • From Avon@21:1/101 to Al on Sat Oct 10 21:03:31 2020
    On 09 Oct 2020 at 06:22p, Al pondered and said...

    In the case of linux you can grab binkd from your package manager in
    some cases like debian, or build your own.

    Any tips on how to build it or things I need to install first?

    On linux I always build my own, it's fairly simple. I use the cvs instructions posted weekly in the BINKD area and I think there is also a github page to grab the source.

    If you try that and get stuck just hollar and I'll be glad to help.

    It does not seem as easy as I had hoped.

    I found the binkd FAQ to be confusing. Having never used CVS I am unsure if I need to install something first, and which of many lines stated I need to
    run, yet alone how to build it afterwards. I am new to this so I guess that's why.

    I found a number of the sites that stated they had binkd files were quite dated, then there were a ton of 2020-ish files all for windows and os2

    A github link didn't look that fresh either, I guess there may be some other git site I can clone then build from?

    Going to bed now... head hurts :)

    --- Mystic BBS v1.12 A46 2020/08/26 (Windows/32)
    * Origin: Agency BBS | Dunedin, New Zealand | agency.bbs.nz (21:1/101)
  • From Avon@21:1/101 to Oli on Sat Oct 10 21:04:40 2020
    On 10 Oct 2020 at 09:46a, Oli pondered and said...

    sudo apt install zlib1g-dev libbz2-dev libperl-dev

    ../configure --with-aso --with-perl --with-zlib --with-bzip2 --with-proxy

    Maybe the build-essential package for gcc and stuff

    OK thanks Oli :) I'll try and use this when I find a copy I can build from. I agree with Al I'd rather build something than install a pre made thingy (technical term)

    --- Mystic BBS v1.12 A46 2020/08/26 (Windows/32)
    * Origin: Agency BBS | Dunedin, New Zealand | agency.bbs.nz (21:1/101)
  • From Al@21:4/106.1 to Avon on Sat Oct 10 01:11:34 2020
    If you try that and get stuck just hollar and I'll be glad to help.

    It does not seem as easy as I had hoped.

    I'm going to do a little write up for you here shortly.

    Going to bed now... head hurts :)

    Understood.. :)

    I'll try to have something quick and easy for you when after you've had some sleep.

    You'll need to have "cvs" or "git" installed.

    --- BBBS/Li6 v4.10 Toy-4
    * Origin: The Rusty MailBox - Penticton, BC Canada (21:4/106.1)
  • From Oli@21:3/102 to Avon on Sat Oct 10 10:57:03 2020
    Avon wrote (2020-10-10):

    On 10 Oct 2020 at 09:46a, Oli pondered and said...

    sudo apt install zlib1g-dev libbz2-dev libperl-dev

    ../configure --with-aso --with-perl --with-zlib --with-bzip2
    --with-proxy

    Maybe the build-essential package for gcc and stuff

    OK thanks Oli :) I'll try and use this when I find a copy I can build
    from. I agree with Al I'd rather build something than install a pre made thingy (technical term)


    sudo apt install git
    git clone https://github.com/pgul/binkd

    ---
    * Origin: (21:3/102)
  • From alterego@21:2/116 to Avon on Sat Oct 10 21:13:46 2020
    Re: Re: BinkD
    By: Avon to Al on Sat Oct 10 2020 09:03 pm

    Howdy,

    A github link didn't look that fresh either, I guess there may be some other git site I can clone then build from?

    If you are after binkd, I have a deb which you can use:

    curl -sL http://apt.leenooks.net/buster/setup.sh | sh
    RUN apt-get update && apt-get install -y binkd=1.1a-109

    Or if you want to build it yourself, you can follow my build steps: https://dev.leenooks.net/bbs/binkd/-/blob/master/.gitlab-deb-x86_64.yml (line 5-14).

    (I dont think you need my patch, but I just patch to use /etc/binkd instead of /etc/ftn.)

    ...лоеп

    ... Ahhhhhhhh, I forget what I was going to say.
    --- SBBSecho 3.11-Linux
    * Origin: I'm playing with ANSI+videotex - wanna play too? (21:2/116)
  • From Oli@21:3/102 to Avon on Sat Oct 10 12:26:27 2020
    Avon wrote (2020-10-10):

    A github link didn't look that fresh either, I guess there may be some other git site I can clone then build from?

    Github has the most recent version, there is not much new development, only occasional bug fixes. The latest version is Binkd 1.1a-111 from May 26.

    https://github.com/pgul/binkd

    ---
    * Origin: (21:3/102)
  • From Avon@21:1/101 to Oli on Sun Oct 11 10:04:21 2020
    On 10 Oct 2020 at 09:46a, Oli pondered and said...

    sudo apt install zlib1g-dev libbz2-dev libperl-dev

    ../configure --with-aso --with-perl --with-zlib --with-bzip2 --with-proxy

    OK did this and also it's compiled.

    I'm not sure about the next bit.

    Binkd is successfully compiled.

    If you want to install Binkd files into /usr/local
    1. Run `make -n install' to be sure this makefile will
    do not something criminal during the installation;
    2. `su' to root;
    3. Run `make install' to install Binkd.
    4. Edit /usr/local/etc/binkd.conf-dist and RENAME it or
    MOVE it somewhere (so another `make install' will
    not overwrite it during your next Binkd upgrade)

    If you want to put the files into some other directory just
    run `configure --prefix=/another/path' and go to step 1.

    I want to have all my binkd files in a dir like /hub/binkd

    What's the best way to run the steps above (install stage?) so I can get the installer to put the files where I want them

    would I just re-run ./configure with all your switches and add --prefix=/hub/binkd as well then run 'make' and then ??

    --- Mystic BBS v1.12 A46 2020/08/26 (Windows/32)
    * Origin: Agency BBS | Dunedin, New Zealand | agency.bbs.nz (21:1/101)
  • From Avon@21:1/101 to Oli on Sun Oct 11 10:13:10 2020
    On 11 Oct 2020 at 10:04a, Avon pondered and said...

    would I just re-run ./configure with all your switches and add --prefix=/hub/binkd as well then run 'make' and then ??

    I did that and it seems to have worked.

    Not sure, will keep poking :)

    If I want to install a different copy elsewhere I guess I just repeat the process and state a different prefix.

    Thing is if/when I want to delete the instance and start over I am unsure how to remove all the links etc that seem to have been created when I ran make -n install and make install.

    --- Mystic BBS v1.12 A46 2020/08/26 (Windows/32)
    * Origin: Agency BBS | Dunedin, New Zealand | agency.bbs.nz (21:1/101)
  • From Al@21:4/106.1 to Avon on Sat Oct 10 14:21:20 2020
    If you try that and get stuck just hollar and I'll be glad to help.

    It does not seem as easy as I had hoped.

    I'm hoping this will help, I'm going to provide a git example because I think that is the simplest and best way to go although I have always used cvs since that was the only method in times past, git is the way to go today.

    I'm going to copy a fair bit of this from Oli's posts since he was spot on.

    You'll need a build environment installed. On a debian based system you can install the "build-essential" meta package. Be root or use sudo to install packages on debian based environments

    apt-get install build-essential, or sudo apt-get install build-essential

    You'll also need some additional development packages for support to compress data on the fly.

    apt-get install zlib1g-dev libbz2-dev libperl-dev, you may need sudo.

    Once thos are installed use git to grab the source. Change to a directory of your choice (create a temporary directory if you like) and clone the binkd repository with git.

    git clone https://github.com/pgul/binkd

    Then change to the root binkd directory. Instructions are in the README.md but this is it in a nutshell.

    Copy all the files in the mkfls/unix directory to the root binkd directory.

    cp mkfls/unix/* .

    Run the configure script to create the makefile. Run make --help to see the options available to you. I'll put some good defaults here, there are others as Oli suggested like --with-aso, I have never used that option and I don't know if hpt will use that feature. I build with perl support, you may or may not want that, you might at some point. I had to use the --with-proxy option for some reason I forget now, it might have been for binkps support.

    ./configure --with-perl --with-proxy

    If all is well at this point build binkd with the make command.

    make

    If that was successful you will now have a binkd binary that you can copy to a directory on your path to easily call binkd. The default makefile will place it in /usr/local/sbin and that is a good place for it. That is not on your path so you will always have to run /usr/local/sbin/binkd to run binkd. If you place the executible on your path you can run it from anywhere as simply binkd.

    You can also strip binkd if you never run it on another machine.

    strip binkd

    At this point if all has gone according to plan you should be ready to configure and run binkd.

    --- BBBS/Li6 v4.10 Toy-4
    * Origin: The Rusty MailBox - Penticton, BC Canada (21:4/106.1)
  • From Avon@21:1/101 to Al on Sun Oct 11 20:34:14 2020
    On 10 Oct 2020 at 02:21p, Al pondered and said...

    I'm hoping this will help, I'm going to provide a git example because I

    Thank you for taking the time to type all of this up for me.

    apt-get install build-essential, or sudo apt-get install build-essential

    Yep, tick that box :) got that when I needed to try and start building GD
    and FH which I have also been trying to install.

    apt-get install zlib1g-dev libbz2-dev libperl-dev, you may need sudo.

    Did that also, those were the ones Oli had suggested (from memory)

    git clone https://github.com/pgul/binkd

    Did that :)

    Then change to the root binkd directory. Instructions are in the
    README.md but this is it in a nutshell.

    Copy all the files in the mkfls/unix directory to the root binkd directory.

    cp mkfls/unix/* .

    Yes if all else fails RTFM which I found and did the above steps

    the options available to you. I'll put some good defaults here, there
    are others as Oli suggested like --with-aso, I have never used that
    option and I don't know if hpt will use that feature. I build with perl

    I used the switches Oli suggested, hopefully it will play nice with HPT?

    ./configure --with-perl --with-proxy

    If all is well at this point build binkd with the make command.

    make

    this all worked well.

    copy to a directory on your path to easily call binkd. The default makefile will place it in /usr/local/sbin and that is a good place for
    it. That is not on your path so you will always have to run /usr/local/sbin/binkd to run binkd. If you place the executible on your path you can run it from anywhere as simply binkd.

    I went with another switch with configure --prefix=/hub/binkd and that seemed to work then ran

    make -n install

    then as root ran 'make install' which created the binary and config file,
    each were in different sub dirs - sbin and etc respectively. I'm thinking I
    can now just move both to the binkd dir - I think.

    You can also strip binkd if you never run it on another machine.

    I don't understand what this means.

    But I am thinking can I repeat my steps to build another copy of BinkD if needed and place it elsewhere on the system, assuming I wanted another copy
    to run as a separate instance. I guess I could just copy the current binary
    and cfg also.

    it. That is not on your path so you will always have to run /usr/local/sbin/binkd to run binkd. If you place the executible on your path you can run it from anywhere as simply binkd.

    How do I set a PATH for Linux? I know how to in windows, not sure for this OS :)

    Best, Paul

    --- Mystic BBS v1.12 A46 2020/08/26 (Windows/32)
    * Origin: Agency BBS | Dunedin, New Zealand | agency.bbs.nz (21:1/101)
  • From Al@21:4/106.1 to Avon on Sun Oct 11 01:06:56 2020
    Thank you for taking the time to type all of this up for me.

    No worries.. I hope it was helpful.

    Yes if all else fails RTFM which I found and did the above steps

    Yes, RTFM is a first step.. :)

    I used the switches Oli suggested, hopefully it will play nice with HPT?

    Yes, your binkd will have support for the amiga style outbound. Oli could explain that better than I can.

    I went with another switch with configure --prefix=/hub/binkd and that seemed to work then ran

    That is fine, that option will change the default install root.

    make -n install

    then as root ran 'make install' which created the binary and config file, each were in different sub dirs - sbin and etc respectively. I'm thinking I can now just move both to the binkd dir - I think.

    Yes, you can also copy or move binkd to a directory on your path like /usr/bin or /usr/local/bin. Then you don't have to type out the full path all the time.

    You can also strip binkd if you never run it on another machine.

    I don't understand what this means.

    strip will remove symbols from object files. Don't do that if you built a debug version or you won't be able to debug with it. It will make your binkd smaller removing unneeded symbols. It's an optional step.

    But I am thinking can I repeat my steps to build another copy of BinkD if needed and place it elsewhere on the system, assuming I wanted another copy to run as a separate instance. I guess I could just copy the current binary and cfg also.

    Yes, you can run "make clean" in your binkd directory and make a fresh copy. Rerun the ./configure script if you want to change build options. I usually leave my binkd directory intact in case I want to grab another copy but it's easy enough to do a fresh git clone also.

    it. That is not on your path so you will always have to run
    /usr/local/sbin/binkd to run binkd. If you place the executible on your
    path you can run it from anywhere as simply binkd.

    How do I set a PATH for Linux? I know how to in windows, not sure for this OS :)

    There are a few ways. My path is set globally in my /etc/profile and you can also do it per user with . files in your home directory like .bash_profile and possibly others. Look for "PATH=/usr/local/bin/..." in those files.

    --- BBBS/Li6 v4.10 Toy-4
    * Origin: The Rusty MailBox - Penticton, BC Canada (21:4/106.1)
  • From Oli@21:3/102 to Avon on Sun Oct 11 10:51:25 2020
    Avon wrote (2020-10-11):

    On 11 Oct 2020 at 10:04a, Avon pondered and said...

    would I just re-run ./configure with all your switches and add
    --prefix=/hub/binkd as well then run 'make' and then ??

    I did that and it seems to have worked.

    Not sure, will keep poking :)

    If I want to install a different copy elsewhere I guess I just repeat the process and state a different prefix.

    You don't need to use "make install". Just put the binkd program and the config files wherever you like. different config files can be used with "binkd -c /path/to/binkd.conf" or "binkd -c /path/to/fsxnet.conf".

    One binkd instance/config also works fine with a multi-network setup.

    ---
    * Origin: (21:3/102)
  • From Oli@21:3/102 to Al on Sun Oct 11 11:05:02 2020
    Al wrote (2020-10-11):

    I used the switches Oli suggested, hopefully it will play nice with
    HPT?

    Yes, your binkd will have support for the amiga style outbound. Oli could explain that better than I can.

    Which is entirely optional and only will be used if you comment out the option in binkd.cfg. IIRC hpt has support for 4D amiga style outbound. It might avoid with the strange behaviour some people experience with BSO 4D outbound and binkd.

    instead of the hex encoded flo files it uses files like 21.3.102.0.flo. I modified crashmail and the squish tosser to support it.

    ---
    * Origin: (21:3/102)
  • From Al@21:4/106.1 to Oli on Sun Oct 11 02:47:00 2020
    instead of the hex encoded flo files it uses files like 21.3.102.0.flo. I modified crashmail and the squish tosser to support it.

    I have read up on the aso but I have never used it myself. It is much more easy to see what is what in your outbound.

    I'll have to look at the hpt docs and see if it can use the aso but I don't ever recall seeing anything like that.

    --- BBBS/Li6 v4.10 Toy-4
    * Origin: The Rusty MailBox - Penticton, BC Canada (21:4/106.1)
  • From Oli@21:3/102 to Al on Sun Oct 11 12:42:07 2020
    Al wrote (2020-10-11):

    instead of the hex encoded flo files it uses files like 21.3.102.0.flo.
    I modified crashmail and the squish tosser to support it.

    I have read up on the aso but I have never used it myself. It is much
    more easy to see what is what in your outbound.

    I'll have to look at the hpt docs and see if it can use the aso but I
    don't ever recall seeing anything like that.

    I think you are right, maybe I messed with the hpt source code too (and I didn't recover from the spaghetti code experience).

    Amiga Style Outbound is mentioned here, but it seems to configure only the arcmail bundles naming and not the outbound style.

    https://github.com/huskyproject/hpt/wiki/hpt#bundlenamestyle

    I will never understand how hpt/husky works... ;)

    ---
    * Origin: (21:3/102)