Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Hugues <hugues@hiegel.fr>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH] netkitftp: added package with Makefile.autotools.in support
Date: Tue, 27 Oct 2009 10:35:07 +0100	[thread overview]
Message-ID: <87r5spji2c.fsf@paranoid.sweethome> (raw)
In-Reply-To: <1256594402.8809.251.camel@coalu.atr> (Lionel Landwerlin's message of "Mon\, 26 Oct 2009 23\:00\:02 +0100")


Hello, you ;-)

Ce cher Lionel Landwerlin <llandwerlin@gmail.com> a dit :

> Le lundi 26 octobre 2009 ? 22:15 +0100, Hugues a ?crit :
>> Hello,
>
>> >  Hugues> diff --git a/package/netkitftp/netkitftp-configure.patch b/package/netkitftp/netkitftp-configure.patch
>> >
>> > That one as well.
>> 
>> Well... This one was already packaged with the package I've got, I don't
>> have any idea why it is needed. I'll check this and then verify if it is
>> really needed (hope it is not :-) )
>
> It prevents the launch of cross compiled binaries which would make exit
> the configure script.

Thanks for the check !

>> >  Hugues> +++ b/package/netkitftp/netkitftp.mk
>> >  Hugues> @@ -0,0 +1,23 @@
>> >  Hugues> +#############################################################
>> >  Hugues> +#
>> >  Hugues> +# netkitftp
>> >  Hugues> +#
>> >  Hugues> +#############################################################
>> >  Hugues> +NETKITFTP_VERSION:=0.17
>> >  Hugues> +NETKITFTP_SOURCE:=netkit-ftp_$(NETKITFTP_VERSION).orig.tar.gz
>> >  Hugues> +NETKITFTP_PATCH:=netkit-ftp_0.17-16.diff.gz
>> >  Hugues> +NETKITFTP_SITE:=ftp://ftp.debian.org/debian/pool/main/n/netkit-ftp/
>> >
>> > Is that a stable URL? Would something on snapshot.debian.net be better?
>> > We have BR2_DEBIAN_MIRROR, which should be used.
>> 
>> Oh, that's right !
>> I'll correct this.
>> 
>> >  Hugues> +
>> >  Hugues> +NETKITFTP_CONF_OPT = --installroot=$(TARGET_DIR) \
>> >
>> > Something regarding TARGET_DIR at configure time? Doesn't that leak
>> > paths on the build host to the installed binaries?
>> 
>> Well, I didn't investigated further,  maybe is this not needed. I'll try
>> without and throw then this out, if not.
>> Or comment it, if needed :o)
>
> That package's makefile/configure is definitely strange...

Yeah, isn't it ?

> I just gave it a look and it seems INSTALL_PREFIX is not handled
> anywhere in the package.
> So you can probably drop it from the NETKITFTP_INSTALL_TARGET_OPT
> variable.

Mhmm, that seems correct.

>> > That uninstall would also remove all other man pages, so
>> > don't do that.
>> 
>> Mhmm... I'm not sure I understood this.. Why do you talk about uninstall ?
>> The  netkitftp's 'install'  rule  does installs  the  manpages with  the
>> binary, without ability  to call just the install  of the binary without
>> the manpages.
>> So I did like I see in other packages : just delete the 
>> $(TARGET_DIR)/usr/man folder... Is this a bad idea ?
>> What do you suggest at this stage ? 
>> Doing nothing, this will be cleaned later ?
>
> Yeah, I think what Peter wanted to tell is that man pages cleaning as
> well as locales cleaning is handled globaly by buildroot that the end of
> the generation process and depending on your config file.

Ok, right, I just read his answer.

> See top Makefile :
>
> ifeq ($(BR2_ENABLE_LOCALE_PURGE),y)
> TARGETS+=target-purgelocales
> endif
>
> We probably have to make a pass on all unmaintained/old packages to fix
> that.

And that doesn't look like just an easy job ;-)

Thanks for your comments, dude,
-- 
Hugues Hiegel                                [http://www.hiegel.fr/~hugues/]

  reply	other threads:[~2009-10-27  9:35 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-10-26 16:17 [Buildroot] [PATCH] netkitftp: added package with Makefile.autotools.in support Hugues Hiegel
2009-10-26 16:17 ` Hugues Hiegel
2009-10-26 18:08   ` Peter Korsgaard
2009-10-26 21:15     ` Hugues
2009-10-26 22:00       ` Lionel Landwerlin
2009-10-27  9:35         ` Hugues [this message]
2009-10-26 22:03       ` Peter Korsgaard
2009-10-27 12:41   ` [Buildroot] [PATCH] netkitftp: ftp client from netkit project Hugues Hiegel
2009-10-27 12:46     ` Hugues
2009-10-27 13:48       ` Peter Korsgaard
2009-10-27 13:10     ` Peter Korsgaard
2009-10-27 14:18       ` Hugues
2009-10-27 14:34         ` Peter Korsgaard

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=87r5spji2c.fsf@paranoid.sweethome \
    --to=hugues@hiegel.fr \
    --cc=buildroot@busybox.net \
    /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