[oe-commits] Frans Meulenbroeks : proftpd: previous recipe was no good; fixed it; this one is without pam and might require some more chown's
GIT User account
git at amethyst.openembedded.net
Thu Mar 12 16:25:51 UTC 2009
Module: openembedded.git
Branch: org.openembedded.dev
Commit: 005826c1b83843cda0e5e1fb07f0abb220f567a3
URL: http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=005826c1b83843cda0e5e1fb07f0abb220f567a3
Author: Frans Meulenbroeks <fransmeulenbroeks at gmail.com>
Date: Thu Mar 12 17:23:24 2009 +0100
proftpd: previous recipe was no good; fixed it; this one is without pam and might require some more chown's
---
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 13442b1..04ffaca 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
+}
More information about the Openembedded-commits
mailing list