public inbox for development@lists.ipfire.org
 help / color / mirror / Atom feed
From: Michael Tremer <michael.tremer@ipfire.org>
To: development@lists.ipfire.org
Subject: Re: IPFire Building Packages
Date: Mon, 07 Jul 2014 11:22:42 +0200	[thread overview]
Message-ID: <1404724962.19419.19.camel@rice-oxley.tremer.info> (raw)
In-Reply-To: <53BA5F26.4070301@gmail.com>

[-- Attachment #1: Type: text/plain, Size: 2754 bytes --]

On Mon, 2014-07-07 at 16:49 +0800, Ghislain Hachey wrote:
> On 7/6/14, 16:57, Michael Tremer wrote:
> > That's what we call bundled packages (very often libraries) and which
> > are extremely discouraged. The problem that comes with that is that when
> > a component gets updated to resolve a certain issue this problem is
> > still in the twenty other copies of the same software. Imagine that for
> > things like Heartbleed. It also consumes space, increases the build time
> > and so on.
> >
> > You should use the provided versions of those tools and libraries or
> > modify them if that is required. All other components that are missing
> > should be created as individual packages.
> 
> Hey,
> 
> So I've got 4 new addons built and in the process noticed that apr and 
> apr-util are both not included as separate packages. I think that httpd 
> makes use of them but provides the sources bundled which seems to go 
> against what you recommend above. Like for instance, in Debian apr and 
> apr-util are both provided as modular separate packages. So this is what 
> I did while playing around. I built two addons for both apr and apr-util 
> because subversion also has those as dependencies. I then specified 
> --with-apr and --with-apr-util to my newly added apr and apr-util 
> packages when ./configure'ing subversion. It all builds nicely and I'm 
> just waiting on my clean/build to test packages on my live IPFire box.

Are you sure that subversion needs apr at runtime? It certainly needs
the library, but I think that everything that is needed by subversion at
runtime should be in the core system already.

We had a subversion package which was dropped in 2008, because the
IPFire project switched to git and there was no one who wanted to
maintain subversion any more.

http://git.ipfire.org/?p=ipfire-2.x.git;a=commitdiff;h=a91ca65e82da80139f0e0675def755561ec7d478

> Long story, but I'm curious about why apache makes used of bundled third 
> party sources here, is this a special case that requires to go against 
> what's encouraged?

APR is a part of apache. Some distributions simply create a subpackage
for apr as it is usually not needed at runtime, just for development.

> For the record, I don't believe that something like subversion belongs 
> to a nice trimmed down firewall OS, but I needed it for quick checkout 
> of sources on my box and thought it might be occasionally useful.

I would say we can include that as long as you are going to maintain the
package.

The command line tools would certainly never hurt any one. Just make
sure that mod_dav_svn is not loaded by apache by default and needs to be
enabled in some way.

> 
> Regards,
> 

-Michael


  reply	other threads:[~2014-07-07  9:22 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-07-05  9:45 Ghislain Hachey
2014-07-05 14:15 ` Michael Tremer
2014-07-05 23:01   ` Ghislain Hachey
2014-07-06  8:57     ` Michael Tremer
2014-07-06  9:44       ` Ghislain Hachey
2014-07-07  9:18         ` Michael Tremer
2014-07-08 10:35           ` MySQL 5.6.19 Sascha Kilian
2014-07-08 13:10             ` Sascha Kilian
2014-07-29  8:13           ` LuaJIT Panic on IPFire Ghislain Hachey
2014-07-29  8:27             ` Arne Fitzenreiter
2014-07-07  8:49       ` IPFire Building Packages Ghislain Hachey
2014-07-07  9:22         ` Michael Tremer [this message]
2014-07-07  9:50           ` Ghislain Hachey
2014-07-07 10:35             ` Michael Tremer
2014-07-07 10:48               ` Ghislain Hachey
2014-07-11  4:18               ` Ghislain Hachey
2014-07-06  8:51   ` Ghislain Hachey
2014-07-06  9:03     ` Michael Tremer

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1404724962.19419.19.camel@rice-oxley.tremer.info \
    --to=michael.tremer@ipfire.org \
    --cc=development@lists.ipfire.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox