From owner-freebsd-chat@FreeBSD.ORG Tue Jun 2 16:19:22 2009 Return-Path: Delivered-To: chat@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0368D106568D for ; Tue, 2 Jun 2009 16:19:22 +0000 (UTC) (envelope-from frank@esperance-linux.co.uk) Received: from mailout.zetnet.co.uk (mailout.zetnet.co.uk [194.247.47.231]) by mx1.freebsd.org (Postfix) with ESMTP id 85EE78FC1E for ; Tue, 2 Jun 2009 16:19:21 +0000 (UTC) (envelope-from frank@esperance-linux.co.uk) Received: from irwell.zetnet.co.uk ([194.247.47.48] helo=zetnet.co.uk) by mailout.zetnet.co.uk with esmtp (Exim 4.63) (envelope-from ) id 1MBWQR-0004p0-J6; Tue, 02 Jun 2009 17:01:19 +0100 Received: from melon.esperance-linux.co.uk (54-144.adsl.zetnet.co.uk [194.247.54.144]) by zetnet.co.uk (8.14.1/8.14.1/Debian-9) with ESMTP id n52G1IFW012598; Tue, 2 Jun 2009 17:01:18 +0100 Received: by melon.esperance-linux.co.uk (Postfix, from userid 1001) id C8F6FFCA507; Tue, 2 Jun 2009 17:01:12 +0100 (BST) Date: Tue, 2 Jun 2009 17:01:12 +0100 From: Frank Shute To: Stefan Miklosovic Message-ID: <20090602160112.GA76243@melon.esperance-linux.co.uk> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2.3i X-Face: *}~{PHnDTzvXPe'wl_-f%!@+r5; VLhb':*DsX%wEOPg\fDrXWQJf|2\,92"DdS%63t*BHDyQ|OWo@Gfjcd72eaN!4%NE{0]p)ihQ1MyFNtWL X-Operating-System: FreeBSD 6.4-RELEASE-p2 i386 X-Organisation: 'http://www.shute.org.uk/' X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.1.7 (zetnet.co.uk [194.247.46.1]); Tue, 02 Jun 2009 17:01:18 +0100 (BST) Cc: chat@freebsd.org Subject: Re: shell script port X-BeenThere: freebsd-chat@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Frank Shute List-Id: Non technical items related to the community List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 02 Jun 2009 16:19:22 -0000 On Mon, Jun 01, 2009 at 05:27:50PM +0200, Stefan Miklosovic wrote: > > hi > > i am writing a script which is written in bash. this program is about > automatic backuping of chosen users files periodicaly in more complex way. > this portion of scripts are concerned also about group user's adding / > modification / deleting. I do not already know how complex that program will > be, but i would like to know, if i have a chance to port that software to > port tree of freebsd. If your application is a bash script, then it would be fairly easy to write a FreeBSD ports Makefile for it and port it. > > I know it will be hard as hell, but, is it possible? Hard: not that hard but requires you to do some reading: http://www.freebsd.org/doc/en_US.ISO8859-1/books/porters-handbook/index.html > > i think that writing such thing in compiled language is useless unless i am > able to do so in a many times easier way. Compiled languages are generally slow to develop in compared to scripts :( > > Will be a "script" port regular? Yeah. Look at: /usr/ports/www/youtube_dl/Makefile It's a python script but inspection of the Makefile shows that it's fairly easy to port. If you don't fancy porting it yourself, I'd be happy to have a go at porting it for you. I want to port a more complex piece of software to FreeBSD but I wouldn't mind starting on a simple port first so as to familiarise myself with the porting process. > > thank you Regards, -- Frank Contact info: http://www.shute.org.uk/misc/contact.html