From owner-freebsd-ports@FreeBSD.ORG Fri Jan 17 10:57:46 2014 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 775ACBEA for ; Fri, 17 Jan 2014 10:57:46 +0000 (UTC) Received: from mail1.arrishq.net (deimos.phobos.ws [84.200.4.202]) by mx1.freebsd.org (Postfix) with ESMTP id 0974B165F for ; Fri, 17 Jan 2014 10:57:45 +0000 (UTC) Received: from mail.arrishq.net (mail.arrishq.net [127.0.0.1]) (Authenticated sender: local) by mail1.arrishq.net (Postfix) with ESMTPSA id B11B69F9961 ; Fri, 17 Jan 2014 11:57:43 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=arrishq.net; s=default; t=1389956263; bh=pU0vzSYvKDoBarXwP3SXcW4L12FUo7ceDCz3kJZIaHY=; h=Date:From:To:cc:Subject:In-Reply-To:References; b=McqvO6FOH9dEAgRVCXOxf56Pq76xv61Wzwomgw4YXeIGfDCTXW2Hwzl8f4sU1CZfY ZsQUX/rGhQTqvkkHEdDfDI1EPNs9rglLnVUELLTsige7ihgLl0XNc7VzhbPrwzTSqN jL0+6kooBk4IxyBmEIl3LCuHrlLdbwwdwmKaMUOw= Date: Fri, 17 Jan 2014 11:57:41 +0100 (CET) From: Tommy Scheunemann To: Big Lebowski Subject: Re: Request for porting "SoftEther VPN" In-Reply-To: Message-ID: References: <253561389631275@web11h.yandex.ru> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8BIT X-Content-Filtered-By: Mailman/MimeDel 2.1.17 Cc: =?KOI8-R?B?59XM0cXXIOfP28E=?= , freebsd-ports X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 17 Jan 2014 10:57:46 -0000 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 can 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 wether 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 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, Гуляев Гоша 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" > > > >