summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/unfs-server/unfs-server_2.1+2.2beta47.bb
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-devtools/unfs-server/unfs-server_2.1+2.2beta47.bb')
-rw-r--r--meta/recipes-devtools/unfs-server/unfs-server_2.1+2.2beta47.bb78
1 files changed, 0 insertions, 78 deletions
diff --git a/meta/recipes-devtools/unfs-server/unfs-server_2.1+2.2beta47.bb b/meta/recipes-devtools/unfs-server/unfs-server_2.1+2.2beta47.bb
deleted file mode 100644
index 226a6456d3..0000000000
--- a/meta/recipes-devtools/unfs-server/unfs-server_2.1+2.2beta47.bb
+++ /dev/null
@@ -1,78 +0,0 @@
1SUMMARY = "Userspace NFS server"
2SECTION = "console/network"
3LICENSE = "GPLv2+"
4LIC_FILES_CHKSUM = "file://COPYING;md5=8ca43cbc842c2336e835926c2166c28b"
5
6RDEPENDS_${PN} = "pseudo"
7RDEPENDS_${PN}_class-native = "pseudo-native"
8RDEPENDS_${PN}_class-nativesdk = "nativesdk-pseudo"
9BASEPV = "2.2beta47"
10PR = "r1"
11
12SRC_URI = "ftp://linux.mathematik.tu-darmstadt.de/pub/linux/oldstuff/people/okir/nfs-server-${BASEPV}.tar.gz \
13 file://001-2.2b47-2.2b51.patch \
14 file://002-destdir.patch \
15 file://003-manpages.patch \
16 file://004-strsignal.patch \
17 file://005-sys-time.patch \
18 file://006-reiserfs.patch \
19 file://007-map.patch \
20 file://008-configure.patch \
21 file://009-multirw.patch \
22 file://010-realpath.patch \
23 file://011-fno-strict-aliasing.patch \
24 file://012-nostrip.patch \
25 file://013-mntpathlen.patch \
26 file://014-uninitialized.patch \
27 file://015-setattr.patch \
28 file://016-makefile.in.patch \
29 file://017-wrs-dynamic-rpc.patch \
30 file://018-remove-tcp-wrappers.patch \
31 file://019-pid-before-fork.patch \
32 file://020-undefined-chmod-fix.patch \
33 file://021-nolibwrap.patch \
34 file://022-add-close-on-exec-descriptors.patch \
35 file://023-no-rpc-register.patch \
36 "
37
38SRC_URI[md5sum] = "79a29fe9f79b2f3241d4915767b8c511"
39SRC_URI[sha256sum] = "7eeaf3cf0b9d96167a5ba03bf1046e39b4585de1339a55b285e673c06ba415cb"
40
41S = "${WORKDIR}/nfs-server-${BASEPV}/"
42
43inherit autotools
44
45BBCLASSEXTEND = "native nativesdk"
46
47CFLAGS = "-fPIE -fstack-protector-all"
48LDFLAGS = "-pie"
49
50EXTRA_OECONF = "--enable-ugid-dynamic \
51 --enable-ugid-nis \
52 --enable-host-access \
53 --with-exports-uid=0 \
54 --with-exports-gid=0 \
55 --enable-mount-logging \
56 --with-devtab=${DESTDIR}${base_prefix}/var/lib/nfs/devtab \
57 "
58
59do_configure_prepend () {
60 # Remove pregenerated xdr functions. They use long
61 # instead of u32, which produces incorrect code on
62 # 64-bit architectures:
63 rm -f *_xdr.c
64
65 if [ ! -f ${S}/acinclude.m4 ]; then
66 mv ${S}/aclocal.m4 ${S}/acinclude.m4
67 fi
68}
69
70# This recipe is intended for -native and -nativesdk builds only,
71# not target installs:
72python __anonymous () {
73 import re
74
75 pn = d.getVar("PN", True)
76 if not pn.endswith('-native') and not pn.startswith('nativesdk-'):
77 raise bb.parse.SkipPackage("unfs-server is intended for native/nativesdk builds only")
78}