Re: [Rpm-maint] [RFC][PATCH] Large file support

2009-10-23 Thread Mark Rosenstand
On Thu, 2009-09-10 at 12:53 +0200, Florian Festi wrote:
> On 09/09/2009 08:32 PM, Ville Skyttä wrote:
> > On Wednesday 09 September 2009, Florian Festi wrote:
> >
> >> Having a look at the tar formats I do not belief that switching to tar
> >> is a real option. The format is just horrible (GNU tar needs over 200
> >> lines to read an integer out of a header field) and full of hacks to
> >> remain backward compatible (header in header + extentions). This would
> >> be all not that bad if there where a nice little library we could link
> >> against...
> >>  
> > libtar doesn't qualify?  http://www.feep.net/libtar/
> >
> > Not that I know anything about it, but it might at least satisfy "little".
> >
> It didn't look very trust worthy when visiting the page some days ago. 
> Having a look at the ML archive now I am quite sure that it doesn't 
> qualify. A library would need to be under active maintenance and have a 
> chance to be still around in 5 or 10 years. GNU tar e.g. would, but they 
> don't offer a library...

libtar is small but did the job very well for I've used it for. I know
that at least CMake carry a modified private copy. Perhaps RPM could do
the same, or even better, talk to the friendly CMake developers and
share the efforts? :)

> Anyway, thanks for having a look. If there is a great library or archive 
> format that should e considered feel free to bring it up.

What about libarchive? Although admittedly it's no longer as small as it
used to be, the maintainer has been doing a good job of doing regular
releases for a long time and will most likely continue since it's used
by tar in the FreeBSD base system (and he's a FreeBSD developer.)


___
Rpm-maint mailing list
Rpm-maint@lists.rpm.org
http://lists.rpm.org/mailman/listinfo/rpm-maint


Re: [Rpm-maint] RPM 4.7.0 beta1 available

2009-03-09 Thread Mark Rosenstand
Hi Panu,

On Thu, Feb 26, 2009 at 6:10 PM, Panu Matilainen  wrote:
>
> Didn't expect a new version this soon? Frankly, we didn't either :)
> In the months that RPM 4.6.0 spent in stabilization phase of numerous
> release candidates we had plenty of time to work on new things, and as
> things have been fairly stable for a while now, it started looking like a
> good time to cut out a release.

>From my limited testing I've run into two minor problems:

If RPM is not already present on the build host, the platform
directories are created
unexpanded, i.e. literally /usr/lib/rpm/platform/%{_arch}-%{_os} and
/usr/lib/rpm/platform/noarch-%{_os}

If the xz utilities and library is present on the build host, there
doesn't seem to
be any way to disable the use of them in RPM, and RPM won't build against
the xz 4.999.8beta running here. But this was also the case for 4.6.0.

Thanks for tidying up RPM with each release :-)

- Mark
___
Rpm-maint mailing list
Rpm-maint@lists.rpm.org
http://lists.rpm.org/mailman/listinfo/rpm-maint


Re: [Rpm-maint] nss3/nss.h build issue

2007-12-07 Thread Mark Rosenstand

On Thu, 2007-12-06 at 19:24 +0100, Tomas Mraz wrote:
> On Thu, 2007-12-06 at 18:49 +0100, Pixel wrote:
> > on Mandriva, i need to do:
> > 
> > --- rpm-org/configure.ac.pix2007-12-06 17:16:27.0 +0100
> > +++ rpm-org/configure.ac2007-12-06 17:17:38.0 +0100
> > @@ -372,14 +372,14 @@ else
> >  fi
> >  save_CPPFLAGS="$CPPFLAGS"
> >  CPPFLAGS="$save_CPPFLAGS $addcppflags"
> > -AC_CHECK_HEADER([nss3/nss.h], [
> > +AC_CHECK_HEADER([nss/nss.h], [
> >AC_CHECK_LIB(nss3, NSS_NoDB_Init, [
> >  AC_DEFINE(HAVE_LIBNSS, 1, [Define to 1 if you have the 'NSS' library 
> > (-lnss3).])
> >  WITH_NSS_INCLUDE="$addcppflags"
> >  WITH_NSS_LIB="$addlib"
> >])
> >  ],[
> > -  AC_MSG_ERROR([missing required header nss3/nss.h])
> > +  AC_MSG_ERROR([missing required header nss/nss.h])
> >  ])
> >  CPPFLAGS="$save_CPPFLAGS"
> >  AC_SUBST(WITH_NSS_INCLUDE)
> 
> Actually you can completely drop the path. So nss.h should be enough if
> pkg-config works fine for NSS on Mandriva. Of course the defaults for
> the compilation without pkg-config are wrong for your case.

But since upstream NSS doesn't include a .pc file, it would be nice if
the location was configurable in a way similar to Evolution, i.e.
--with-nss-includes=/usr/include/nss

Long-term it would be nice if NSS did include a pkg-config file :)

___
Rpm-maint mailing list
Rpm-maint@lists.rpm.org
https://lists.rpm.org/mailman/listinfo/rpm-maint


Re: [Rpm-maint] Install rpm without being root

2007-11-21 Thread Mark Rosenstand

On Wed, 2007-11-21 at 15:23 +, Vagner Pinto Morais wrote:
> Hi guys,
>  
> Is there any way to have the rpm utilitie installed that allows to
> install rpm packages without being root.  I mean, when I run "rpm -i
> ", I want install rpm without being root. 

If you don't have any concerns about security, e.g. if the machine is
not connected to a network and doesn't have anything remotely valuable
on it, you could set the setuid bit on it (chmod u+s /bin/rpm).

Any sane sysadmin would recommend you to use an utility such as sudo
instead, though.

___
Rpm-maint mailing list
Rpm-maint@lists.rpm.org
https://lists.rpm.org/mailman/listinfo/rpm-maint


Re: [Rpm-maint] hidden rpm ownership of links

2007-07-05 Thread Mark Rosenstand
On Thu, 2007-07-05 at 14:24 -0700, David Mathog wrote:
> As long as I'm writing to this list, I've also wondered if there
> isn't another way to find which packages B,C,D require package A
> besides doing:
> 
>  rpm -e --test A
> 
> It seemed that this should be in the -q group, something like:
> 
>  rpm -q --requirespkg libjpeg

rpm -q --whatrequires libjpeg

___
Rpm-maint mailing list
Rpm-maint@lists.rpm.org
https://lists.rpm.org/mailman/listinfo/rpm-maint