blob: 465ecbb57a6983a042b9cf65337870186d793e63 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
|
DESCRIPTION = "Secure ftp daemon"
SECTION = "console/network"
LICENSE = "GPL"
PR = "r0"
SRC_URI = "ftp://ftp.nl.uu.net/pub/unix/ftp/proftpd/ftp/distrib/source/${PN}-${PV}.tar.gz \
file://make.patch \
file://proftpd-install-nostrip.patch \
"
SRC_URI[md5sum] = "4f2c554d6273b8145095837913ba9e5d"
SRC_URI[sha256sum] = "44be095ed063df93278928cf665ad7b9b38e2c8d0cca97fb51307ec3a390a591"
EXTRA_OECONF = "ac_cv_func_setpgrp_void=yes ac_cv_func_setgrent_void=yes --disable-cap"
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} \
$@;
}
pkg_postinst () {
# more chown's might be needed
chown root:root /usr/sbin/proftpd
}
|