Re: new package: rancid

Fredrik Pettai <[email protected]>
Newsgroups gmane.os.netbsd.devel.pkgsrc.wip.review
Message-ID <[email protected]>
On Sep 6, 2008, at 4:58 AM, OBATA Akio wrote:

> Hi,
>
> I can't fetch rancid-2.3.1.tar.gz though,

That's weird...I've tried installing/deinstalling it (and the other  
packages) several times, without any problems.

>> CONF_FILES=		${EGDIR}/lg.conf.sample ${PKG_SYSCONFDIR}/lg.conf
>> CONF_FILES+=		${EGDIR}/rancid.conf.sample ${PKG_SYSCONFDIR}/ 
>> rancid.conf
>
>> post-install:
>> 	${INSTALL_DATA} ${WRKSRC}/etc/lg.conf.sample ${EGDIR}
>> 	${INSTALL_DATA} ${WRKSRC}/etc/rancid.conf.sample ${EGDIR}
>> 	${CHMOD} 0644 ${PKG_SYSCONFDIR}/lg.conf
>> 	${CHMOD} 0644 ${PKG_SYSCONFDIR}/rancid.conf
>
> Why those conf files require special permissions?

They don't, but I got complaint during the installation because the  
default permission was always set to 0444 for some unknown reason to  
me... I just put that in to keep it from complaining...

> How about use CONF_FILES_PERMS instead of CONF_FILES?

Thanks for all input! I will change/fix those things asap.

Regards,
/P

btw. I noticed that running ../import-package.sh gives my "checked-in":
    Vendor Tag:	PETTAI
    Release Tags:	PETTAI_20080902

But most of the other packages seems to usually have something similar  
to:
    Vendor Tag:	TNF
    Release Tags:	pkgsrc-base

Should I change my check-in behavior or have I forgotten to do  
something before I used ../import-package.sh?


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.