Re: Squid large file support

2008-02-20 Thread Ralf S. Engelschall
On Thu, Feb 21, 2008, Wilson Jason wrote:

> Another similar one for findutils - currently it explicitly disables
> large files, this patch makes it an option to re-enable.
> [...]

Ok, now also available for findutils. I just decided to remove the
plural, i.e., I now use with_largefile, in order to avoid typos.

   Ralf S. Engelschall
   [EMAIL PROTECTED]
   www.engelschall.com

__
OpenPKG http://openpkg.org
User Communication List  openpkg-users@openpkg.org


RE: Squid large file support

2008-02-20 Thread Wilson Jason

Ralf (or others),

>-Original Message-
>From: [EMAIL PROTECTED] 
>[mailto:[EMAIL PROTECTED] On Behalf Of Ralf S. 
>Engelschall
>Sent: Wednesday, 20 February 2008 4:35 PM
>To: openpkg-users@openpkg.org
>Subject: Re: Squid large file support
>
>Sure, now applied -- I just used "with_largefile" (no second 
>underscore)
>for the name. Thanks.

Another similar one for findutils - currently it explicitly disables
large files, this patch makes it an option to re-enable.

Wasn't sure on best way to do the '%if', but this seems to work
(apologies for any line wraps that creep in):

diff -u findutils.spec.orig findutils.spec
--- findutils.spec.orig 2008-02-21 08:46:38.002651000 +1000
+++ findutils.spec  2008-02-21 08:49:27.476345000 +1000
@@ -34,6 +34,8 @@
 Version:  4.2.33
 Release:  20080214
 
+%option   with_largefiles no
+
 #   list of sources
 Source0:
ftp://ftp.gnu.org/gnu/findutils/findutils-%{version}.tar.gz
 Source1:  rc.findutils
@@ -72,7 +74,11 @@
 --libexecdir=%{l_prefix}/libexec/findutils \
 --datarootdir=%{l_prefix} \
 --localstatedir=%{l_prefix}/var/findutils \
+%if "%{with_largefiles}" == "yes"
+   \
+%else
 --disable-largefile \
+%endif
 --disable-nls
 %{l_make} %{l_mflags}
 
Thanks,
  Jason


The information in this email together with any attachments is
intended only for the person or entity to which it is addressed
and may contain confidential and/or privileged material.
Any form of review, disclosure, modification, distribution
and/or publication of this email message is prohibited, unless
as a necessary part of Departmental business.
If you have received this message in error, you are asked to
inform the sender as quickly as possible and delete this message
and any copies of this message from your computer and/or your
computer system network.


__
OpenPKG http://openpkg.org
User Communication List  openpkg-users@openpkg.org


Re: Squid large file support

2008-02-19 Thread Ralf S. Engelschall
On Wed, Feb 20, 2008, Wilson Jason wrote:

> We are running squid (squid-3.0.1-20080101) on Solaris 10 and ran into
> 32bit file size limits for log files.
>
> Is it possible to get something like the following patch included:
> [...]

Sure, now applied -- I just used "with_largefile" (no second underscore)
for the name. Thanks.

   Ralf S. Engelschall
   [EMAIL PROTECTED]
   www.engelschall.com

__
OpenPKG http://openpkg.org
User Communication List  openpkg-users@openpkg.org