blob: c3e834deff652466000339a4c6f2d0b8676d5d24 (
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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
|
require samba.inc
require samba-basic.inc
LICENSE = "GPLv3"
LIC_FILES_CHKSUM = "file://../COPYING;md5=d32239bcb673463ab874e80d47fae504"
PR = "r8"
SRC_URI += "\
file://config-h.patch \
file://documentation.patch;patchdir=.. \
file://documentation2.patch;patchdir=.. \
file://fhs-filespaths.patch;patchdir=.. \
file://installswat.sh.patch;patchdir=.. \
file://pam-examples.patch;patchdir=.. \
file://smbclient-pager.patch;patchdir=.. \
file://undefined-symbols.patch;patchdir=.. \
file://usershare.patch;patchdir=.. \
file://smbtar-bashism.patch;patchdir=.. \
file://dont-build-VFS-examples.patch;patchdir=.. \
file://bug_221618_precise-64bit-prototype.patch;patchdir=.. \
file://bug_598313_upstream_7499-nss_wins-dont-clobber-daemons-logs.patch;patchdir=.. \
file://bug_387266_upstream_4104_mention-kerberos-in-smbspool-manpage.patch;patchdir=.. \
file://bug_604768_upstream_7826_drop-using-samba-link.patch;patchdir=.. \
file://bug_604768_upstream_7826_fix-WHATSNEW-link.patch;patchdir=.. \
file://waf-as-source.patch;patchdir=.. \
file://smbtorture-manpage.patch;patchdir=.. \
file://libutil_drop_AI_ADDRCONFIG.patch;patchdir=.. \
file://shadow_copy2_backport.patch;patchdir=.. \
file://only_export_public_symbols.patch;patchdir=.. \
file://configure-disable-getaddrinfo-cross.patch;patchdir=.. \
file://configure-disable-core_pattern-cross-check.patch;patchdir=.. \
file://configure-libunwind.patch;patchdir=.. \
file://samba-3.6.22-CVE-2013-4496.patch;patchdir=.. \
file://0001-PIDL-fix-parsing-linemarkers-in-preprocessor-output.patch;patchdir=.. \
"
SRC_URI[md5sum] = "fbb245863eeef2fffe172df779a217be"
SRC_URI[sha256sum] = "4f5a171a8d902c6b4f822ed875c51eb8339196d9ccf0ecd7f6521c966b3514de"
S = "${WORKDIR}/samba-${PV}/source3"
PACKAGECONFIG ??= ""
PACKAGECONFIG[libunwind] = "--enable-libunwind,--disable-libunwind,libunwind"
EXTRA_OECONF += "\
ac_cv_path_PYTHON=/not/exist \
ac_cv_path_PYTHON_CONFIG=/not/exist \
SMB_BUILD_CC_NEGATIVE_ENUM_VALUES=yes \
samba_cv_CC_NEGATIVE_ENUM_VALUES=yes \
linux_getgrouplist_ok=no \
samba_cv_HAVE_BROKEN_GETGROUPS=no \
samba_cv_HAVE_FTRUNCATE_EXTEND=yes \
samba_cv_have_setresuid=yes \
samba_cv_have_setresgid=yes \
samba_cv_HAVE_WRFILE_KEYTAB=yes \
samba_cv_linux_getgrouplist_ok=yes \
"
do_configure() {
gnu-configize --force
oe_runconf
}
do_compile () {
base_do_compile
}
do_install_append() {
rmdir "${D}${localstatedir}/lock"
rmdir "${D}${localstatedir}/run"
rmdir --ignore-fail-on-non-empty "${D}${localstatedir}"
}
|