diff options
Diffstat (limited to 'recipes/proftpd/proftpd_1.3.2.bb')
-rw-r--r-- | recipes/proftpd/proftpd_1.3.2.bb | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/recipes/proftpd/proftpd_1.3.2.bb b/recipes/proftpd/proftpd_1.3.2.bb new file mode 100644 index 0000000000..1a9736dbf3 --- /dev/null +++ b/recipes/proftpd/proftpd_1.3.2.bb @@ -0,0 +1,36 @@ +DESCRIPTION = "Secure ftp daemon" +SECTION = "console/network" +LICENSE = "GPL" +PR = "r2" + +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=/usr \ + --sysconfdir=/etc \ + --sharedstatedir=/com \ + --localstatedir=/var \ + ${EXTRA_OECONF} \ + $@; +} + +do_install () { + oe_runmake DESTDIR=${D} install +} + +pkg_postinst () { + # more chown's might be needed + chown root:root /usr/sbin/proftpd +} |