Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 31 Mar 2010 16:37:25 +0200
From:      Alexander Leidinger <Alexander@Leidinger.net>
To:        Florent Thoumie <flz@xbsd.org>
Cc:        FreeBSD Ports <ports@freebsd.org>, Garrett Cooper <yanefbsd@gmail.com>, Matthias Andree <matthias.andree@gmx.de>
Subject:   Re: [RFC] deprecate @exec and @unexec in plists in favor of pre-install and post-install scripts
Message-ID:  <20100331163725.17505g6k23u43isc@webmail.leidinger.net>
In-Reply-To: <s2ma01628141003310500n2e70324ava20650e5ee45c@mail.gmail.com>
References:  <7d6fde3d1003272314r25305a39mce9893e07453ef90@mail.gmail.com> <op.vabkfdrt1e62zd@merlin.emma.line.org> <a01628141003290210w45432af9o57a8a045d0bb92cb@mail.gmail.com> <20100331134908.18805n93tsol8co4@webmail.leidinger.net> <s2ma01628141003310500n2e70324ava20650e5ee45c@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Quoting Florent Thoumie <flz@xbsd.org> (from Wed, 31 Mar 2010 12:00:53 +0000):

>> It could serve as a proof of concept and would
>> show more clearly what you have in mind. Done nicely, it also allows to keep
>> a lot of the stuff in the Makefile and only write such scripts by hand if
>> absolutely necessary (think about e.g. "CREATE_USER=name1:UID1 name2:UID2"
>> which would already cover a lot if not most use cases).
>
> CREATE_USER? Have you been living under a rock recently? :-)

Seems so... but hey, not every port creates users, so I feel free to  
reject the pointy hat. :)

> I suppose Garrett sent this email to get a feel of what the general
> consensus was. If it turns out that people agree we should get rid of
> those lines, then I'm sure we can find people willing to do the
> necessary work.

Personally I do not care if those lines vanish or not, but I agree  
that it would be a good idea to create some kind of library of common  
stuff (which includes the cleanup of existing stuff as time permits).  
This library does not need to do this stuff the same way as it is done  
currently, if the new way is more easy (in whatever way makes sense  
here) for the person porting some software. The see several benefits  
in the pre-/post-install way and no obvious harm in case the script is  
created automatically by the ports collection most of the time.

Or in short: ++vote;

Bye,
Alexander.

-- 
Watership Down:
You've read the book.  You've seen the movie.  Now eat the stew!

http://www.Leidinger.net    Alexander @ Leidinger.net: PGP ID = B0063FE7
http://www.FreeBSD.org       netchild @ FreeBSD.org  : PGP ID = 72077137



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20100331163725.17505g6k23u43isc>