Date: Fri, 17 Jan 2014 12:06:27 +0100 From: Big Lebowski <spankthespam@gmail.com> To: Tommy Scheunemann <net@arrishq.net> Cc: =?UTF-8?B?0JPRg9C70Y/QtdCyINCT0L7RiNCw?= <gosha-necr@yandex.ru>, freebsd-ports <freebsd-ports@freebsd.org> Subject: Re: Request for porting "SoftEther VPN" Message-ID: <CAHcXP%2Bfy96ZHNz_C5Wmj3_TbYJi0ytxUsZUREKZNCP2pNz5z0w@mail.gmail.com> In-Reply-To: <alpine.DEB.2.00.1401171146420.1529@tommy.evolver.de> References: <253561389631275@web11h.yandex.ru> <alpine.DEB.2.00.1401170942360.1529@tommy.evolver.de> <CAHcXP%2BdTxDO5XwMZbuJq7oG-1DLpa23ep7K1BAbQieN=Q-_TpA@mail.gmail.com> <alpine.DEB.2.00.1401171146420.1529@tommy.evolver.de>
next in thread | previous in thread | raw e-mail | index | archive | help
Interestingly, I used their makefiles to just do the build and then created proper do-install separately. When it comes to compilation, I didnt had any issues using CLANG, beside some noisy warnings, but it compiles and runs fine. What I did changed tho, was pthreads and iconv. Perhaps we should join the forces? On Fri, Jan 17, 2014 at 11:57 AM, Tommy Scheunemann <net@arrishq.net> wrote= : > Hello, > > seems we both "went" into the same problem. What I did: > > patching both makefiles (freebsd_32bit and freebsd_64bit) to add ${PREFIX= } > and use this instead of the hardcoded /usr/bin one. > Though that doesn't seem to be required because the final "cp" process ca= n > be triggered manually without calling "make install" at all. > > Then adding "-I${PREFIX}/include -I/usr/include" and "-L${PREFIX}/lib > -L/usr/lib" - under 9.1 and 9.2 the compile run fails (when using gcc) > without this and complains about missing header files / libraries. > Additionally adding a dependency for openssl from the ports because the > final linking complains about a too old openssl version. > > So for the datafiles - maybe doing it like: > > ${PREFIX}/lib/softether > > placing all binary files and the datafiles there. Then creating small > scripts in > > ${PREFIX}/bin > > that act as wrapper. > > Finally - a small "rc" script to enable starting / stopping the entire > thing. > > Kind regards > > > On Fri, 17 Jan 2014, Big Lebowski wrote: > > Hi, >> I've almost the port ready, but I am just struggling with decision wethe= r >> I want to write patches for it, or not. The software is quite badly >> written, and it expects a >> certain data file to exist... in the same directory as the binaries. >> Normally, I'd install binaries to /usr/local/bin, but in this case that'= d >> require the file living >> in there, what's a mess I dont want to create. The solution is to either >> install it in /usr/local/softether or to patch it so that the data file >> could go to lib - I am >> undecided yet, as the first solution is so linux'y and second requires >> rewriting piece of their code. >> >> >> >> >> On Fri, Jan 17, 2014 at 9:43 AM, Tommy Scheunemann <net@arrishq.net> >> wrote: >> Hello @list, >> >> I'm about to work on getting it ported, just in case so nothing >> gets done twice. >> >> On Mon, 13 Jan 2014, =D0=93=D1=83=D0=BB=D1=8F=D0=B5=D0=B2 =D0=93= =D0=BE=D1=88=D0=B0 wrote: >> >> Hi friends! >> It is a very interesting VPN solution, and some days ago it >> going opensource! >> So maybe someone will port it to FreeBSD? >> Official site: http://www.softether.org/ >> Instructions for build on UNIX-like systems: >> http://www.softether.org/5-download/src/2.unix >> _______________________________________________ >> freebsd-ports@freebsd.org mailing list >> http://lists.freebsd.org/mailman/listinfo/freebsd-ports >> To unsubscribe, send any mail to "freebsd-ports-unsubscribe@ >> freebsd.org" >> >> _______________________________________________ >> freebsd-ports@freebsd.org mailing list >> http://lists.freebsd.org/mailman/listinfo/freebsd-ports >> To unsubscribe, send any mail to "freebsd-ports-unsubscribe@ >> freebsd.org" >> >> >> >> >>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAHcXP%2Bfy96ZHNz_C5Wmj3_TbYJi0ytxUsZUREKZNCP2pNz5z0w>