Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 195135 - net-ftp/proftpd-1.3.1 released
Summary: net-ftp/proftpd-1.3.1 released
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Luca Longinotti (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-10-08 17:45 UTC by Arfrever Frehtes Taifersar Arahesis (RETIRED)
Modified: 2008-04-17 11:30 UTC (History)
9 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
proftpd-1.3.1.ebuild (proftpd-1.3.1.ebuild,5.85 KB, text/plain)
2008-01-19 10:04 UTC, oxomichael
Details
proftpd-1.3.1.ebuild (proftpd-1.3.1.ebuild,5.91 KB, text/plain)
2008-03-24 14:49 UTC, Michael Cramer
Details
proftpd-1.3.1-umode.patch (proftpd-1.3.1-umode.patch,1.55 KB, patch)
2008-03-24 14:50 UTC, Michael Cramer
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Arfrever Frehtes Taifersar Arahesis (RETIRED) gentoo-dev 2007-10-08 17:45:03 UTC
net-ftp/proftpd-1.3.1 was released on 2007-10-05.
Comment 1 jergendutch 2008-01-02 13:49:51 UTC
This is two months ago now :(
Comment 2 jergendutch 2008-01-02 13:50:32 UTC
Sorry, three months.
Comment 3 Michal Nowak 2008-01-12 15:48:22 UTC
Hey, dudes where's problem? Push it to portage...
Comment 4 oxomichael 2008-01-19 10:04:56 UTC
Created attachment 141281 [details]
proftpd-1.3.1.ebuild
Comment 5 oxomichael 2008-01-19 10:05:21 UTC
I update proftpd with this : 

First of all, that's i have 
ARCH = ~x86
USE for proftpd = acl authfile ipv6 mysql ncurses nls noauthunix pam sofquota ssl tcpd

Take care, it's my own ebuild and it's provide whithout garranty

1. Save the /etc/init.d/proftpd file where you want
2. Copy the last ebuild to your local overlay 
3. Remove the line which apply the patch mysql in the proftpd-1.3.1.ebuild
4. Make ebuild digest and all other things... 
5. emerge your new ebuild
6. Recreate the /etc/init.d/proftpd
7. /etc/init.d/proftpd restart and check all works fine
8. Test it, test it, i use the mysql extension basically


Portage 2.1.4 (default-linux/x86/2007.0, gcc-4.2.2, glibc-2.7-r1, 2.6.23-gentoo-r5 i686)
=================================================================
System uname: 2.6.23-gentoo-r5 i686 AMD Athlon(tm) XP 2400+
Timestamp of tree: Thu, 17 Jan 2008 20:00:01 +0000
app-shells/bash:     3.2_p33
dev-java/java-config: 1.3.7, 2.1.3
dev-lang/python:     2.5.1-r5
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.61-r1
sys-devel/automake:  1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.18-r1
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.24
virtual/os-headers:  2.6.23-r3
ACCEPT_KEYWORDS="x86 ~x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=athlon-xp -O2 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-march=athlon-xp -O2 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks metadata-transfer sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LC_ALL="fr_FR.utf8"
LINGUAS="fr fr_FR"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X acl alsa apache2 berkdb bitmap-fonts cli cracklib crypt cups dbus dri fortran gdbm gnutls gpm gtk hal howl iconv ipv6 isdnlog midi mudflap mysql ncurses nls nptl nptlonly openmp pam pcre pdf perl php png pppd python qt readline reflection samba session spl ssl tcpd truetype-fonts type1-fonts unicode x86 xorg zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic auth_digest authn_anon authn_dbd authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock dbd deflate dir disk_cache env expires ext_filter file_cache filter headers ident imagemap include info log_config logio mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_balancer proxy_connect proxy_http rewrite setenvif so speling status unique_id userdir usertrack vhost_alias" APACHE2_MPMS="worker" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="fr fr_FR" USERLAND="GNU" VIDEO_CARDS="radeon vesa fbdev nv nvidia"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 6 oxomichael 2008-01-19 10:05:40 UTC
Comment on attachment 141281 [details]
proftpd-1.3.1.ebuild

I update proftpd with this : 

First of all, that's i have 
ARCH = ~x86
USE for proftpd = acl authfile ipv6 mysql ncurses nls noauthunix pam sofquota ssl tcpd

Take care, it's my own ebuild and it's provide whithout garranty

1. Save the /etc/init.d/proftpd file where you want
2. Copy the last ebuild to your local overlay 
3. Remove the line which apply the patch mysql in the proftpd-1.3.1.ebuild
4. Make ebuild digest and all other things... 
5. emerge your new ebuild
6. Recreate the /etc/init.d/proftpd
7. /etc/init.d/proftpd restart and check all works fine
8. Test it, test it, i use the mysql extension basically


Portage 2.1.4 (default-linux/x86/2007.0, gcc-4.2.2, glibc-2.7-r1, 2.6.23-gentoo-r5 i686)
=================================================================
System uname: 2.6.23-gentoo-r5 i686 AMD Athlon(tm) XP 2400+
Timestamp of tree: Thu, 17 Jan 2008 20:00:01 +0000
app-shells/bash:     3.2_p33
dev-java/java-config: 1.3.7, 2.1.3
dev-lang/python:     2.5.1-r5
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.61-r1
sys-devel/automake:  1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.18-r1
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.24
virtual/os-headers:  2.6.23-r3
ACCEPT_KEYWORDS="x86 ~x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=athlon-xp -O2 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-march=athlon-xp -O2 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks metadata-transfer sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LC_ALL="fr_FR.utf8"
LINGUAS="fr fr_FR"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X acl alsa apache2 berkdb bitmap-fonts cli cracklib crypt cups dbus dri fortran gdbm gnutls gpm gtk hal howl iconv ipv6 isdnlog midi mudflap mysql ncurses nls nptl nptlonly openmp pam pcre pdf perl php png pppd python qt readline reflection samba session spl ssl tcpd truetype-fonts type1-fonts unicode x86 xorg zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic auth_digest authn_anon authn_dbd authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock dbd deflate dir disk_cache env expires ext_filter file_cache filter headers ident imagemap include info log_config logio mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_balancer proxy_connect proxy_http rewrite setenvif so speling status unique_id userdir usertrack vhost_alias" APACHE2_MPMS="worker" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="fr fr_FR" USERLAND="GNU" VIDEO_CARDS="radeon vesa fbdev nv nvidia"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 7 Michael Cramer 2008-03-24 14:49:29 UTC
Created attachment 147124 [details]
proftpd-1.3.1.ebuild

new ebuild with fix for newer kernel headers >=2.6.24
Comment 8 Michael Cramer 2008-03-24 14:50:21 UTC
Created attachment 147126 [details, diff]
proftpd-1.3.1-umode.patch

kernel headers patch for new ebuild submitted by me
Comment 9 Dustin Polke 2008-04-07 12:20:32 UTC
chtekk: Could you put this version into portage? Below excerpt from the release notes:

1.3.1 (stable)
---------------

  + Bugfixes:

    Fixed compilation error in mod_sql_mysql.

    Fixed handling of the --ipv4 and --ipv6 command-line options.

    Fixed "directory not accessible" errors when using the mod_facl module

    Improvements to the RPM spec file, and updated the PAM configuration
    installed by the RPM spec.

The "directory not accessible" error is really a show stopper...
I have exactly this problem and it would be nice to get this solved.

Thanks.
Dustin
Comment 10 Cody Harris 2008-04-08 14:01:09 UTC
So, does this fix:
i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H  -DLINUX  -I.. -I../include -I/usr/include/mysql -march=prescott -O2 -pipe -fomit-frame-pointer -fno-ident -Wall -c pr_fnmatch.c
In file included from /usr/include/asm/sigcontext.h:4,
                 from /usr/include/bits/sigcontext.h:28,
                 from /usr/include/signal.h:333,
                 from /usr/include/sys/wait.h:31,
                 from ../include/conf.h:95,
                 from pr_fnmatch.c:38:
/usr/include/asm/types.h:6: error: conflicting types for 'mode_t'
/usr/include/sys/types.h:72: error: previous declaration of 'mode_t' was here

Or is that a separate bug?
Portage 2.1.5_rc2 (default-linux/x86/2007.0, gcc-4.1.2, glibc-2.7-r2, 2.6.24-gentoo-r4-qb i686)
=================================================================
System uname: 2.6.24-gentoo-r4-qb i686 Genuine Intel(R) CPU T2500 @ 2.00GHz
Timestamp of tree: Sun, 06 Apr 2008 22:00:01 +0000
app-shells/bash:     3.2_p33
dev-java/java-config: 1.3.7, 2.1.5
dev-lang/python:     2.4.4-r6, 2.5.1-r5
dev-python/pycrypto: 2.0.1-r6
sys-apps/baselayout: 1.12.12
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.61-r1
sys-devel/automake:  1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1
sys-devel/binutils:  2.18-r1
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.24
ACCEPT_KEYWORDS="x86 ~x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=prescott -O2 -pipe -fomit-frame-pointer -fno-ident"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-march=prescott -O2 -pipe -fomit-frame-pointer -fno-ident"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks metadata-transfer parallel-fetch sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LDFLAGS=""
MAKEOPTS=""
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/portage/local/layman/ibm-internal"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 aac aalib acl acpi alsa apache2 apm avahi avi bash-completion bcmath berkdb bl bonjour bzip2 cdinstall cdparanoia cdr cg cisco cli cracklib crypt cups cups-arts curl dbus devil dillo divx4linux doc double-precision dri dts dv dvb dvd dvdr dvdread encode evo exif extrafilters fame fat ffmpeg fftw firefox flac foomaticdb fortran fuse gdbm gif gimp glut gphoto2 gpm gtk hal hfs iconv ieee1394 imap imlib innodb ipod ipv6 isdnlog jpeg jpeg2k kde lame laptop latex libnotify lm_sensors lua mdnsresponder-compat midi mime mmap mmx mono moonlight mp2 mp3 mpeg mplayer msn mudflap musicbrainz mysql ncurses network networkmanager nls nptl nptlonly nsplugin ntfs nvidia offensive ogg openal openexr opengl openmp pam pcre perl png ppds pppd python qt-static qt3 qt3support qt4 quicktime readline reflection samba sdl session slang smp spell spl sqlite sqlite3 sse sse2 ssl subtitles subversion svg tcpd theora threads truetype unicode usb v4l v4l2 visualization vorbis wifi win32codecs wxwindows x x264 x86 xcomposite xft xml xorg xpm xv xvid zeroconf zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CAMERAS="adc65 agfa_cl20 aox barbie canon casio_qv clicksmart310 digigr8 digita dimagev dimera3500 directory enigma13 fuji gsmart300 hp215 iclick jamcam jd11 kodak_dc120 kodak_dc210 kodak_dc240 kodak_dc3200 kodak_ez200 konica konica_qm150 largan lg_gsm mars mustek panasonic_coolshot panasonic_dc1000 panasonic_dc1580 panasonic_l859 pccam300 pccam600 polaroid_pdc320 polaroid_pdc640 polaroid_pdc700 ptp2 ricoh ricoh_g3 samsung sierra sipix_blink sipix_blink2 sipix_web2 smal sonix sony_dscf1 sony_dscf55 soundvision spca50x sq905 stv0674 stv0680 sx330z template toshiba_pdrm11" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="nvidia"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 11 Luca Longinotti (RETIRED) gentoo-dev 2008-04-17 08:00:45 UTC
net-ftp/proftpd-1.3.1 is in the tree now, for fixing the kernel header issue see bug #208840.
Best regards, CHTEKK.
Comment 12 jergendutch 2008-04-17 11:30:18 UTC
Might be worth adding the patch that fixes a sendfile() issue with samba and proftd:
 http://bugs.proftpd.org/attachment.cgi?id=2717