From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 4.0.0 (2022-12-14) on finch.gentoo.org X-Spam-Level: X-Spam-Status: No, score=-1.1 required=5.0 tests=DMARC_NONE,MAILING_LIST_MULTI, NICE_REPLY_A autolearn=unavailable autolearn_force=no version=4.0.0 Received: from vestibule.its.caltech.edu (vestibule.its.caltech.edu [131.215.48.17]) by chiba.3jane.net (Postfix) with ESMTP id 93415ABD6A for ; Sun, 23 Jun 2002 23:34:21 -0500 (CDT) Received: from groug.home.net (PPP-36-196.caltech.edu [131.215.36.196]) by vestibule.its.caltech.edu (8.12.3/8.12.3) with ESMTP id g5O4YHk7002175 for ; Sun, 23 Jun 2002 21:34:18 -0700 (PDT) Content-Type: text/plain; charset="koi8-r" From: George Shapovalov To: gentoo-dev@gentoo.org Subject: Re: [gentoo-dev] About writing ebuild files Date: Sun, 23 Jun 2002 21:33:53 -0700 User-Agent: KMail/1.4.1 References: <200206240027.41669.mw@teamzone.de> In-Reply-To: <200206240027.41669.mw@teamzone.de> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Message-Id: <200206232133.54217.georges@its.caltech.edu> Sender: gentoo-dev-admin@gentoo.org Errors-To: gentoo-dev-admin@gentoo.org X-BeenThere: gentoo-dev@gentoo.org X-Mailman-Version: 2.0.6 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: Gentoo Linux developer list List-Unsubscribe: , List-Archive: X-Archives-Salt: a6f123d6-8780-4081-8cee-7acb3cd6a513 X-Archives-Hash: 6c413ba335c43c3825ad192ba096a182 Hi On Sunday 23 June 2002 15:27, Markus Wagner wrote: > Do I have to put my name and mailaddress into the maintainer entry in t= he > comments or is this an entry for the gentoo people? Author and Maintainer entries in the ebuilds are discouraged and will be=20 stripped out as of present. Instead information of such kind should go in= to=20 Changelog. Please take a look at skel.Changelog for the format descriptio= n.=20 Every person making modification is supposed to update this file (and inc= lude=20 his/her name and email). This way you as an author will get proper credit for ebuild submission, c= ore=20 developer will get his credit for processing/cleaning up your submission = and=20 a person updating the ebuild will get his due. > May I update an ebuild file originally written by a different person? > What's then about the maintainer entry? Yes, all the ebuilds are released under GPL-2 (see the header for release= =20 note). See above Re: maintainer entry. > I've written a port for cyrus-imapd-2.0.16. Unfortunately this package > needs a user called "cyrus", which doesn't exist in the default profile= =2E > What to do in this situation? You can execute adduser command from pkg_preinst. You might want to add=20 corresponding deluser entry to pkg_postremove. However I am not sure if this is a desirable way to do so or rather shoul= d=20 user addition be left to sysadmin (still probably not a very elegant solu= tion=20 as a few files likely need to be chowned). On the other hand you might pr= efer=20 other username for this package - in case this is covered by any standart= =2E > How should the delivered /etc/services looks like, if I have to create = some > new entries in it? Should it only contain the new entries or perhaps so= me > standard entries plus the new ones? I think you should include complete file and install it in the proper pla= ce.=20 As long as it is installed in CONFIG_PROTECTed dir it does not overwrite=20 installed version but rather gets a specially mangled name. George