From: Frans Meulenbroeks Date: Thu, 12 Mar 2009 16:23:24 +0000 (+0100) Subject: proftpd: previous recipe was no good; fixed it; this one is without pam and might... X-Git-Tag: Release-2010-05/1~3803 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=005826c1b83843cda0e5e1fb07f0abb220f567a3;p=openembedded.git proftpd: previous recipe was no good; fixed it; this one is without pam and might require some more chown's --- diff --git a/packages/proftpd/proftpd_1.3.2.bb b/packages/proftpd/proftpd_1.3.2.bb index 13442b1412..04ffacaf6b 100644 --- a/packages/proftpd/proftpd_1.3.2.bb +++ b/packages/proftpd/proftpd_1.3.2.bb @@ -1,8 +1,34 @@ DESCRIPTION = "Secure ftp daemon" SECTION = "console/network" LICENSE = "GPL" -PR = "r0" +PR = "r1" SRC_URI = "ftp://ftp.nl.uu.net/pub/unix/ftp/proftpd/ftp/distrib/source/${PN}-${PV}.tar.gz \ + file://make.patch;patch=1 \ " + +EXTRA_OECONF = "ac_cv_func_setpgrp_void=yes ac_cv_func_setgrent_void=yes" +LDFLAGS += "-Llib" +PARALLEL_MAKE = "" + +do_configure () { + ./configure \ + --disable-auth-pam \ + --build=${BUILD_SYS} \ + --host=${HOST_SYS} \ + --target=${TARGET_SYS} \ + --prefix=${D} \ + --includedir=/usr/include \ + ${EXTRA_OECONF} \ + $@; +} + +do_install () { + oe_runmake DESTDIR=${D} install +} + +pkg_postinst () { + # more chown's might be needed + chown root:root /usr/sbin/proftpd +}