diff options
author | Tudor Florea <tudor.florea@enea.com> | 2014-10-10 03:20:04 +0200 |
---|---|---|
committer | Tudor Florea <tudor.florea@enea.com> | 2014-10-10 03:20:04 +0200 |
commit | 1b8dfe266937a37a4c642f96ceb2347bf4c00a17 (patch) | |
tree | 0c6aab146bb3c82efd9c7846a9a4e70dcb0ec84f /meta-networking/recipes-daemons/autofs/autofs_5.0.7.bb | |
download | meta-openembedded-daisy-140929.tar.gz |
initial commit for Enea Linux 4.0-140929daisy-140929
Migrated from the internal git server on the daisy-enea-point-release branch
Signed-off-by: Tudor Florea <tudor.florea@enea.com>
Diffstat (limited to 'meta-networking/recipes-daemons/autofs/autofs_5.0.7.bb')
-rw-r--r-- | meta-networking/recipes-daemons/autofs/autofs_5.0.7.bb | 112 |
1 files changed, 112 insertions, 0 deletions
diff --git a/meta-networking/recipes-daemons/autofs/autofs_5.0.7.bb b/meta-networking/recipes-daemons/autofs/autofs_5.0.7.bb new file mode 100644 index 0000000000..501e40acdd --- /dev/null +++ b/meta-networking/recipes-daemons/autofs/autofs_5.0.7.bb | |||
@@ -0,0 +1,112 @@ | |||
1 | SUMMARY = "Kernel based automounter for linux" | ||
2 | SECTION = "base" | ||
3 | LICENSE = "GPL-2.0" | ||
4 | LIC_FILES_CHKSUM = "file://COPYING;md5=0636e73ff0215e8d672dc4c32c317bb3" | ||
5 | |||
6 | PR = "r6" | ||
7 | |||
8 | DEPENDS += "libtirpc flex-native bison-native" | ||
9 | |||
10 | inherit autotools systemd | ||
11 | |||
12 | SRC_URI = "${KERNELORG_MIRROR}/linux/daemons/autofs/v5/autofs-${PV}.tar.bz2 \ | ||
13 | file://autofs-5.0.7-fix-nobind-sun-escaped-map-entries.patch \ | ||
14 | file://autofs-5.0.7-fix-use-cache-entry-after-free-mistake.patch \ | ||
15 | file://autofs-5.0.7-fix-ipv6-proximity-calculation.patch \ | ||
16 | file://autofs-5.0.7-fix-parse-buffer-initialization.patch \ | ||
17 | file://autofs-5.0.7-fix-typo-in-automount-8.patch \ | ||
18 | file://autofs-5.0.7-include-usage-in-usage-message.patch \ | ||
19 | file://autofs-5.0.7-dont-wait-forever-to-restart.patch \ | ||
20 | file://autofs-5.0.7-add-timeout-option-description-to-man-page.patch \ | ||
21 | file://autofs-5.0.7-fix-null-map-entry-order-handling.patch \ | ||
22 | file://autofs-5.0.7-make-description-of-default-MOUNT_WAIT-setting-clear.patch \ | ||
23 | file://autofs-5.0.7-configure-in-allow-cross-compilation.patch \ | ||
24 | file://autofs-5.0.7-README-update-mailing-list-subscription-info.patch \ | ||
25 | file://autofs-5.0.7-allow-non-root-user-to-check-status.patch \ | ||
26 | file://autofs-5.0.7-configure-allow-cross-compilation-update.patch \ | ||
27 | file://autofs-5.0.6-fix-recursive-mount-deadlock.patch \ | ||
28 | file://autofs-5.0.6-increase-file-map-read-buffer-size.patch \ | ||
29 | file://autofs-5.0.7-handle-new-location-of-systemd.patch \ | ||
30 | file://autofs-5.0.7-fix-map-entry-duplicate-offset-detection.patch \ | ||
31 | file://autofs-5.0.7-allow-nsswitch_conf-to-not-contain-automount-lines.patch \ | ||
32 | file://autofs-5.0.7-fix-nobind-man-page-description.patch \ | ||
33 | file://autofs-5.0.7-fix-submount-offset-delete.patch \ | ||
34 | file://autofs-5.0.7-fix-init-script-status-return.patch \ | ||
35 | file://autofs-5.0.7-fix-use-get_proximity-without-libtirpc.patch \ | ||
36 | file://autofs-5.0.7-dont-use-dirent-d_type-to-filter-out-files-in-scandir.patch \ | ||
37 | file://autofs-5.0.7-dont-schedule-new-alarms-after-readmap.patch \ | ||
38 | file://autofs-5.0.7-use-numeric-protocol-ids-instead-of-protoent-structs.patch \ | ||
39 | file://autofs-5.0.7-lib-defaults-use-WITH_LDAP-conditional-around-LDAP-types.patch \ | ||
40 | file://autofs-5.0.7-make-yellow-pages-support-optional.patch \ | ||
41 | file://autofs-5.0.7-modules-replicated-use-sin6.addr-s6_addr32.patch \ | ||
42 | file://autofs-5.0.7-workaround-missing-GNU-versionsort-extension.patch \ | ||
43 | file://autofs-5.0.7-dont-fail-on-master-map-self-include.patch \ | ||
44 | file://autofs-5.0.7-fix-wildcard-multi-map-regression.patch \ | ||
45 | file://autofs-5.0.7-fix-file-descriptor-leak-when-reloading-the-daemon.patch \ | ||
46 | file://autofs-5.0.7-depricate-nosymlink-pseudo-option.patch \ | ||
47 | file://autofs-5.0.7-add-symlink-pseudo-option.patch \ | ||
48 | file://autofs-5.0.7-update-kernel-include-files.patch \ | ||
49 | file://autofs-5.0.7-fix-requires-in-spec-file.patch \ | ||
50 | file://autofs-5.0.7-fix-libtirpc-build-option.patch \ | ||
51 | file://autofs-5.0.7-fix-systemd-unidir-in-spec-file.patch \ | ||
52 | file://autofs-5.0.7-document-browse-option-in-man-page.patch \ | ||
53 | file://autofs-5.0.7-fix-automounter-support-on-parisc.patch \ | ||
54 | file://autofs-5.0.7-include-linux-nfs.h-directly-in-rpc_sub.patch \ | ||
55 | file://Makefile.rules-cross.patch \ | ||
56 | file://no-bash.patch \ | ||
57 | file://cross.patch \ | ||
58 | file://libtirpc.patch \ | ||
59 | file://libtirpc-name-clash-backout.patch \ | ||
60 | file://autofs-5.0.7-do-not-check-for-modprobe.patch \ | ||
61 | file://fix_disable_ldap.patch \ | ||
62 | file://autofs-5.0.7-fix-lib-deps.patch \ | ||
63 | file://0001-systemd-allow-with-systemd-to-take-a-path-arg.patch \ | ||
64 | " | ||
65 | |||
66 | SRC_URI[md5sum] = "bc46838dece83c02d800ff144ed9f431" | ||
67 | SRC_URI[sha256sum] = "08c4304d8076dc80c14df559bc5fd821b67ef3457b245f61068bd053d8f94ccc" | ||
68 | |||
69 | inherit update-rc.d pkgconfig | ||
70 | |||
71 | INITSCRIPT_NAME = "autofs" | ||
72 | INITSCRIPT_PARAMS = "defaults" | ||
73 | |||
74 | # FIXME: modules/Makefile has crappy rules that don't obey LDFLAGS | ||
75 | CFLAGS += "${LDFLAGS}" | ||
76 | |||
77 | PACKAGECONFIG[systemd] = "--with-systemd=${systemd_unitdir}/system,--without-systemd,systemd" | ||
78 | |||
79 | PACKAGECONFIG ?= "${@base_contains('DISTRO_FEATURES', 'systemd', 'systemd', '', d)}" | ||
80 | |||
81 | EXTRA_OEMAKE = "DONTSTRIP=1" | ||
82 | EXTRA_OECONF += "--disable-mount-locking \ | ||
83 | --enable-ignore-busy --with-openldap=no \ | ||
84 | --with-sasl=no --with-libtirpc=yes \ | ||
85 | --with-path=${STAGING_BINDIR_NATIVE} \ | ||
86 | " | ||
87 | CACHED_CONFIGUREVARS = "ac_cv_path_RANLIB=${RANLIB} \ | ||
88 | ac_cv_path_RPCGEN=rpcgen \ | ||
89 | " | ||
90 | |||
91 | do_configure_prepend () { | ||
92 | sed -e "s:filagdir:flagdir:" -i configure.in | ||
93 | if [ ! -e acinclude.m4 ]; then | ||
94 | cp aclocal.m4 acinclude.m4 | ||
95 | fi | ||
96 | } | ||
97 | |||
98 | do_install_append () { | ||
99 | if [ -d ${D}/run ]; then | ||
100 | rmdir ${D}/run | ||
101 | fi | ||
102 | if [ -d ${D}${localstatedir}/run ]; then | ||
103 | rmdir ${D}${localstatedir}/run | ||
104 | fi | ||
105 | } | ||
106 | |||
107 | INSANE_SKIP_${PN} = "dev-so" | ||
108 | |||
109 | RPROVIDES_${PN} += "${PN}-systemd" | ||
110 | RREPLACES_${PN} += "${PN}-systemd" | ||
111 | RCONFLICTS_${PN} += "${PN}-systemd" | ||
112 | SYSTEMD_SERVICE_${PN} = "autofs.service" | ||