Skip to contentSkip to conversation

How to configure proftpd 1.3.0a package in buildroot

Buildroot Paul 2 participants 3 messages Jan 16, 2008

lore
Share & tools
lore

Paul

author
#0 lore raw

As a newby i'm stuck in the following, help is appreciated.

I have selected the proftpd (1.3.0a) package in 'make menuconfig' and it build fine.

Now I want to add the iconv patch (see for example
http://home.h01.itscom.net/para/software/misc/proftpd-iconv/index-e.html)
where it is described to run ./configure with some options to add the modules in question. If i do this (in the buildroot/build_powerpc/...) it fails and i think this is due to the fact that the staging_dir tools should be used which is not done the way i run ./configure.

My question: how should i do this correctly?

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://busybox.net/lists/buildroot/attachments/20080116/aa45d548/attachment.htm

#1 lore raw
Quoted 14 lines · Paul

As a newby i'm stuck in the following, help is appreciated.

I have selected the proftpd (1.3.0a) package in 'make menuconfig' and it build fine.

Now I want to add the iconv patch (see for example
http://home.h01.itscom.net/para/software/misc/proftpd-iconv/index-e.html)
where it is described to run ./configure with some options to add the modules in question. If i do this (in the buildroot/build_powerpc/...) it fails and i think this is due to the fact that the staging_dir tools should be used which is not done the way i run ./configure.

Quoted 1 line

My question: how should i do this correctly?

you would apply the patch before configuring, usually in the .unpacked . See patch-kernel.sh usage in other packages.

HTH,
Bernhard

author
#2 lore raw

[Buildroot] How to configure proftpd 1.3.0a package inbuildroot

Bernhard,
Thanks, i added:

  toolchain/patch-kernel.sh $(PROFTPD_DIR) package/proftpd/ *.patch

To .unpacked: in /buildroot/package/proftpd/proftpd.mk

And it works.
Paul

-----Original Message-----
From: Bernhard Fischer [mailto:rep.dot.nop at gmail.com]
Sent: woensdag 16 januari 2008 20:27
To: Paul
Cc: buildroot at uclibc.org
Subject: Re: [Buildroot] How to configure proftpd 1.3.0a package inbuildroot

Quoted 14 lines · Paul

As a newby i'm stuck in the following, help is appreciated.

I have selected the proftpd (1.3.0a) package in 'make menuconfig' and it build fine.

Now I want to add the iconv patch (see for example
http://home.h01.itscom.net/para/software/misc/proftpd-iconv/index-e.html)
where it is described to run ./configure with some options to add the modules in question. If i do this (in the buildroot/build_powerpc/...) it fails and i think this is due to the fact that the staging_dir tools should be used which is not done the way i run ./configure.

Quoted 1 line

My question: how should i do this correctly?

you would apply the patch before configuring, usually in the .unpacked . See patch-kernel.sh usage in other packages.

HTH,
Bernhard