Roland Illig | 1 May 2007 13:41
Picon

Re: pkgsrc.txt and sudo

Aleksey Cheusov wrote:
> I'm not sure this mailing list is a right place for reporting bugs(?) 
> in pkgsrc documentation.
> 
> pkgsrc.txt:
> 8.13. Using 'sudo' with pkgsrc
> 
>        When installing packages as non-root user su(1) feature of
>        pkgsrc, it can become annoying to type in the root password for
>        each required package installed. To avoid this, the sudo
>        package can be used, which does password caching over a limited
>        time. To use it, install sudo (either as binary package or from
>        security/sudo) and then put the following into your /etc
>        /mk.conf:
> 
>     .if exists(${LOCALBASE}/bin/sudo)
>     SU_CMD=        ${LOCALBASE}/bin/sudo /bin/sh -c
>     .endif

You need to define LOCALBASE _before_ including this snippet. I'm 
updating the pkgsrc guide to say that.

Roland

Aleksey Cheusov | 1 May 2007 18:58
Picon
Favicon

Re: pkgsrc.txt and sudo

> Aleksey Cheusov wrote:
 >> I'm not sure this mailing list is a right place for reporting
 >> bugs(?) in pkgsrc documentation.
 >> pkgsrc.txt:
 >> 8.13. Using 'sudo' with pkgsrc
 >>        When installing packages as non-root user su(1) feature of
 >>        pkgsrc, it can become annoying to type in the root password for
 >>        each required package installed. To avoid this, the sudo
 >>        package can be used, which does password caching over a limited
 >>        time. To use it, install sudo (either as binary package or from
 >>        security/sudo) and then put the following into your /etc
 >>        /mk.conf:
 >>     .if exists(${LOCALBASE}/bin/sudo)
 >>     SU_CMD=        ${LOCALBASE}/bin/sudo /bin/sh -c
 >>     .endif

> You need to define LOCALBASE _before_ including this snippet. I'm
> updating the pkgsrc guide to say that.
Normally LOCALBASE is defined in mk/default/mk.conf.
Why not to change this to

     .if exists(/usr/pkg/bin/sudo)
     SU_CMD=/usr/pkg/bin/sudo /bin/sh -c
     .endif

Or better why not just remove this .exist condition and
to keep
      SU_CMD=        /usr/local/bin/sudo /bin/sh -c

Do you also think that there is no cyclic dependency here
(Continue reading)

Mark Weinem | 2 May 2007 00:39
Picon

RFC: Some changes to htdocs/Documentation/index.html

Hi,

Please review and comment on:

	http://markweinem.de/docs_index.html

Changes:

	* the sections get descriptive sentences
	* clearer separation between external resources and NetBSD's own docu
	* additional links under "News, informations and suppport" 
	  (#NetBSD Community Blog, Articles about NetBSD and Live Chats)

Please help to improve. 

Thanks & Greetings, Mark  

--

-- 
Mark Weinem
Jabber: weinem <at> jabber.cz
PGP-Key available

Hubert Feyrer | 2 May 2007 00:45
Picon
Favicon

Re: RFC: Some changes to htdocs/Documentation/index.html

On Wed, 2 May 2007, Mark Weinem wrote:
> 	http://markweinem.de/docs_index.html
>
>
> Changes:
>
> 	* the sections get descriptive sentences
> 	* clearer separation between external resources and NetBSD's own docu

Those sound good

> 	* additional links under "News, informations and suppport"
> 	  (#NetBSD Community Blog, Articles about NetBSD and Live Chats)

I'd stick to adding (primary) netbsd documentation to 
htdocs/Documentation, and keep the list of meta-information in the 
External Resources section away completely.

  - Hubert

Mark Weinem | 2 May 2007 01:13
Picon

Re: RFC: Some changes to htdocs/Documentation/index.html

Hi Hubert,

> I'd stick to adding (primary) netbsd documentation to
> htdocs/Documentation, and keep the list of meta-information in the
> External Resources section away completely.

Do you mean to move "External Resources" to a separate page or to move 
only the resources that are not docs (wikis, blogs, forums, chats, 
etc...)?

--

-- 
Mark Weinem
Jabber: weinem <at> jabber.cz
PGP-Key available

Hubert Feyrer | 2 May 2007 01:08
Picon
Favicon

Re: RFC: Some changes to htdocs/Documentation/index.html

On Wed, 2 May 2007, Mark Weinem wrote:
>> I'd stick to adding (primary) netbsd documentation to
>> htdocs/Documentation, and keep the list of meta-information in the
>> External Resources section away completely.
>
> Do you mean to move "External Resources" to a separate page or to move
> only the resources that are not docs (wikis, blogs, forums, chats,
> etc...)?

I'd rather remove those wikis, blogs etc. completely from that page, as 
it's not (directly) netbsd documentation. I'd rather move them to the "See 
also" section on htdocs/Changes/index.xml

  - Hubert

Mark Weinem | 2 May 2007 02:22
Picon

Re: RFC: Some changes to htdocs/Documentation/index.html

Hubert Feyrer

> I'd rather remove those wikis, blogs etc. completely from that page, as
> it's not (directly) netbsd documentation.

I fully agree. What about the "Online Documentation for other Unix 
Systems" section?

But i don't think that wikis and IRC fit well under 
htdocs/Changes/index.xml

There is already htdocs/gallery/resources.xml ("Other NetBSD Resources") 
but it's IMHO to hidden.

--

-- 
Mark Weinem
Jabber: weinem <at> jabber.cz
PGP-Key available

Hubert Feyrer | 2 May 2007 02:19
Picon
Favicon

Re: RFC: Some changes to htdocs/Documentation/index.html

On Wed, 2 May 2007, Mark Weinem wrote:
> I fully agree. What about the "Online Documentation for other Unix
> Systems" section?
>
> But i don't think that wikis and IRC fit well under
> htdocs/Changes/index.xml
>
> There is already htdocs/gallery/resources.xml ("Other NetBSD Resources")
> but it's IMHO to hidden.

No idea...
maybe have your "external resources" section, and make it so that it 
collects all those links in one file, similar to the "Miscellaneous 
common NetBSD questions" section?

I'm not sure if that's better or worse than what we have now.
(Do we have an overview over all this stuff? I don't! :)

  - Hubert

Przemysław Pawełczyk | 2 May 2007 08:49
Picon

Re: RFC: Some changes to htdocs/Documentation/index.html

On Wed, 2 May 2007 00:39:35 +0200
Mark Weinem <mark.weinem <at> alumni.uni-duisburg-essen.de> wrote:

> Please review and comment on:
> 	http://markweinem.de/docs_index.html
> 	* additional links under "News, informations and suppport" 
> Please help to improve. 

"Information" has no plural in English. In Polish does. ;-)
Regards,
--

-- 
Przemysław Pawełczyk <pp_o2 <at> o2.pl>

Mark Weinem | 2 May 2007 15:37
Picon

Re: RFC: Some changes to htdocs/Documentation/index.html

Am Wednesday 02 May 2007 schrieb Przemysław Pawełczyk:
> On Wed, 2 May 2007 00:39:35 +0200
>
> Mark Weinem <mark.weinem <at> alumni.uni-duisburg-essen.de> wrote:
> > Please review and comment on:
> > 	http://markweinem.de/docs_index.html
> > 	* additional links under "News, informations and suppport"
> > Please help to improve.
>
> "Information" has no plural in English. In Polish does. ;-)
> Regards,

Thanks for the hint. Corrections and improvements of my bad English are 
always welcome.

kind regards, Mark

--

-- 
Mark Weinem
Jabber: weinem <at> jabber.cz
PGP-Key available


Gmane