You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@subversion.apache.org by Greg Stein <gs...@lyra.org> on 2001/11/16 20:42:49 UTC
Re: svn commit: rev 472 - trunk/packages/rpm
On Fri, Nov 16, 2001 at 01:51:22PM -0600, david@tigris.org wrote:
>...
> @@ -114,7 +114,7 @@
> %post server
> # Load subversion server into apache configuration.
> cd /usr/lib/apache
> -/usr/sbin/apxs -i -a -n dav_svn libmod_dav_svn.la
> +/usr/sbin/apxs -i -a -n dav_svn libmod_dav_svn.la > /dev/null 2>&1
Hmm. Maybe rather than using apxs, we can drop a small .conf fragment into
an Apache ".conf dir" ? It seems many distributions are setting those up
nowadays.
Hmm. Doesn't seem they are doing that... ah well. Would have been really
nice. That /dev/null scares me.
Cheers,
-g
--
Greg Stein, http://www.lyra.org/
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Re: svn commit: rev 472 - trunk/packages/rpm
Posted by Branko Čibej <br...@xbc.nu>.
David Summers wrote:
>Hmm, without that "> /dev/null" the "end-user" package installer *does*
>see it, that's why I put that in there, so they wouldn't have to see it;
>it happens at install time, not at compile or package generation time.
>It doesn't really matter to me except that it looks messy.
>
Oh. Sorry, I missed that.
>Let me know if there is a better way.
>
Well, you could go all the way, and filter out everything that does
*not* indicate an error. :-)
--
Brane �ibej <br...@xbc.nu> http://www.xbc.nu/brane/
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Re: svn commit: rev 472 - trunk/packages/rpm
Posted by David Summers <da...@summersoft.fay.ar.us>.
Hmm, without that "> /dev/null" the "end-user" package installer *does*
see it, that's why I put that in there, so they wouldn't have to see it;
it happens at install time, not at compile or package generation time.
It doesn't really matter to me except that it looks messy.
Let me know if there is a better way.
- David
On Mon, 19 Nov 2001, Branko [ISO-8859-2] �ibej wrote:
> Date: Mon, 19 Nov 2001 17:38:02 +0100
> From: "Branko [ISO-8859-2] �ibej" <br...@xbc.nu>
> To: David Summers <da...@summersoft.fay.ar.us>
> Cc: Greg Stein <gs...@lyra.org>,
> "dev@subversion.tigris.org" <de...@subversion.tigris.org>
> Subject: Re: svn commit: rev 472 - trunk/packages/rpm
>
> David Summers wrote:
>
> >I normally don't use "> /dev/null" but the alternative is to output a
> >whole bunch of "gobbledygook" that the end-user probably won't care about.
> >I can take that out if you would rather they see it all. It still should
> >abort cleanly if apxs returns non-zero with an error. If there is a
> >better way, I'm all ears. :-)
> >
> Well, it isn't really end-user stuff at all. It's package maintainer
> stuff. End users will typically install a binary package, and won't see
> it. Those who want to install from source, definitely should see it. So
> I'd just drop the pipe to null here.
>
> >Let me know.
> >
> > - David Summers
> >
> >
> >On Fri, 16 Nov 2001, Greg Stein wrote:
> >
> >>Date: Fri, 16 Nov 2001 12:42:49 -0800
> >>From: Greg Stein <gs...@lyra.org>
> >>To: "dev@subversion.tigris.org" <de...@subversion.tigris.org>
> >>Subject: Re: svn commit: rev 472 - trunk/packages/rpm
> >>
> >>On Fri, Nov 16, 2001 at 01:51:22PM -0600, david@tigris.org wrote:
> >>
> >>>...
> >>>@@ -114,7 +114,7 @@
> >>> %post server
> >>> # Load subversion server into apache configuration.
> >>> cd /usr/lib/apache
> >>>-/usr/sbin/apxs -i -a -n dav_svn libmod_dav_svn.la
> >>>+/usr/sbin/apxs -i -a -n dav_svn libmod_dav_svn.la > /dev/null 2>&1
> >>>
> >>Hmm. Maybe rather than using apxs, we can drop a small .conf fragment into
> >>an Apache ".conf dir" ? It seems many distributions are setting those up
> >>nowadays.
> >>
> >>Hmm. Doesn't seem they are doing that... ah well. Would have been really
> >>nice. That /dev/null scares me.
> >>
> >>Cheers,
> >>-g
> >>
> >>
> >
>
>
>
--
David Wayne Summers "Linux: Because reboots are for upgrades!"
david@summersoft.fay.ar.us PGP Key: http://summersoft.fay.ar.us/~david/pgp.txt
PGP Key fingerprint = C0 E0 4F 50 DD A9 B6 2B 60 A1 31 7E D2 28 6D A8
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Re: svn commit: rev 472 - trunk/packages/rpm
Posted by Branko Čibej <br...@xbc.nu>.
David Summers wrote:
>I normally don't use "> /dev/null" but the alternative is to output a
>whole bunch of "gobbledygook" that the end-user probably won't care about.
>I can take that out if you would rather they see it all. It still should
>abort cleanly if apxs returns non-zero with an error. If there is a
>better way, I'm all ears. :-)
>
Well, it isn't really end-user stuff at all. It's package maintainer
stuff. End users will typically install a binary package, and won't see
it. Those who want to install from source, definitely should see it. So
I'd just drop the pipe to null here.
>Let me know.
>
> - David Summers
>
>
>On Fri, 16 Nov 2001, Greg Stein wrote:
>
>>Date: Fri, 16 Nov 2001 12:42:49 -0800
>>From: Greg Stein <gs...@lyra.org>
>>To: "dev@subversion.tigris.org" <de...@subversion.tigris.org>
>>Subject: Re: svn commit: rev 472 - trunk/packages/rpm
>>
>>On Fri, Nov 16, 2001 at 01:51:22PM -0600, david@tigris.org wrote:
>>
>>>...
>>>@@ -114,7 +114,7 @@
>>> %post server
>>> # Load subversion server into apache configuration.
>>> cd /usr/lib/apache
>>>-/usr/sbin/apxs -i -a -n dav_svn libmod_dav_svn.la
>>>+/usr/sbin/apxs -i -a -n dav_svn libmod_dav_svn.la > /dev/null 2>&1
>>>
>>Hmm. Maybe rather than using apxs, we can drop a small .conf fragment into
>>an Apache ".conf dir" ? It seems many distributions are setting those up
>>nowadays.
>>
>>Hmm. Doesn't seem they are doing that... ah well. Would have been really
>>nice. That /dev/null scares me.
>>
>>Cheers,
>>-g
>>
>>
>
--
Brane �ibej <br...@xbc.nu> http://www.xbc.nu/brane/
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Re: svn commit: rev 472 - trunk/packages/rpm
Posted by David Summers <da...@summersoft.fay.ar.us>.
I normally don't use "> /dev/null" but the alternative is to output a
whole bunch of "gobbledygook" that the end-user probably won't care about.
I can take that out if you would rather they see it all. It still should
abort cleanly if apxs returns non-zero with an error. If there is a
better way, I'm all ears. :-)
Let me know.
- David Summers
On Fri, 16 Nov 2001, Greg Stein wrote:
> Date: Fri, 16 Nov 2001 12:42:49 -0800
> From: Greg Stein <gs...@lyra.org>
> To: "dev@subversion.tigris.org" <de...@subversion.tigris.org>
> Subject: Re: svn commit: rev 472 - trunk/packages/rpm
>
> On Fri, Nov 16, 2001 at 01:51:22PM -0600, david@tigris.org wrote:
> >...
> > @@ -114,7 +114,7 @@
> > %post server
> > # Load subversion server into apache configuration.
> > cd /usr/lib/apache
> > -/usr/sbin/apxs -i -a -n dav_svn libmod_dav_svn.la
> > +/usr/sbin/apxs -i -a -n dav_svn libmod_dav_svn.la > /dev/null 2>&1
>
> Hmm. Maybe rather than using apxs, we can drop a small .conf fragment into
> an Apache ".conf dir" ? It seems many distributions are setting those up
> nowadays.
>
> Hmm. Doesn't seem they are doing that... ah well. Would have been really
> nice. That /dev/null scares me.
>
> Cheers,
> -g
>
>
--
David Wayne Summers "Linux: Because reboots are for upgrades!"
david@summersoft.fay.ar.us PGP Key: http://summersoft.fay.ar.us/~david/pgp.txt
PGP Key fingerprint = C0 E0 4F 50 DD A9 B6 2B 60 A1 31 7E D2 28 6D A8
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org