diff options
author | Frans Meulenbroeks <fransmeulenbroeks@gmail.com> | 2009-03-12 17:23:24 +0100 |
---|---|---|
committer | Frans Meulenbroeks <fransmeulenbroeks@gmail.com> | 2009-03-12 17:23:24 +0100 |
commit | 005826c1b83843cda0e5e1fb07f0abb220f567a3 (patch) | |
tree | 4305a539528f133503a6a490160f5aac28108138 /packages | |
parent | 4f102692b1eee17e51740c310d77aa55d99ffec1 (diff) |
proftpd: previous recipe was no good; fixed it; this one is without pam and might require some more chown's
Diffstat (limited to 'packages')
-rw-r--r-- | packages/proftpd/proftpd_1.3.2.bb | 28 |
1 files changed, 27 insertions, 1 deletions
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 +} |