diff options
| author | Armin Kuster <akuster808@gmail.com> | 2023-11-15 08:26:09 -0500 |
|---|---|---|
| committer | Khem Raj <raj.khem@gmail.com> | 2023-11-15 09:51:45 -0800 |
| commit | 4c1e6d32ba6e9a14937a83f0d9375ef4d0b28057 (patch) | |
| tree | 17fdf66e3039dd2b0c2c54ee61f6da105aced1af /meta-networking/recipes-netkit/netkit-ftp | |
| parent | 237ce297fa021bd6798ee3ecdc31f716442e4d37 (diff) | |
| download | meta-openembedded-4c1e6d32ba6e9a14937a83f0d9375ef4d0b28057.tar.gz | |
netkit: Drop old and no upstream
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-networking/recipes-netkit/netkit-ftp')
3 files changed, 0 insertions, 109 deletions
diff --git a/meta-networking/recipes-netkit/netkit-ftp/netkit-ftp/0001-ftp-include-sys-types.h-for-u_long.patch b/meta-networking/recipes-netkit/netkit-ftp/netkit-ftp/0001-ftp-include-sys-types.h-for-u_long.patch deleted file mode 100644 index 2cd639ee92..0000000000 --- a/meta-networking/recipes-netkit/netkit-ftp/netkit-ftp/0001-ftp-include-sys-types.h-for-u_long.patch +++ /dev/null | |||
| @@ -1,32 +0,0 @@ | |||
| 1 | From 2ee0c51d81a0a08d64b64ab624074e5f7cd9615a Mon Sep 17 00:00:00 2001 | ||
| 2 | From: Khem Raj <raj.khem@gmail.com> | ||
| 3 | Date: Sat, 15 Jul 2017 00:07:32 -0700 | ||
| 4 | Subject: [PATCH] ftp: include sys/types.h for u_long | ||
| 5 | |||
| 6 | fixes | ||
| 7 | ftp.c:1091:2: error: unknown type name 'u_long'; did you mean 'long'? | ||
| 8 | u_long a1,a2,a3,a4,p1,p2; | ||
| 9 | ^~~~~~ | ||
| 10 | |||
| 11 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | ||
| 12 | --- | ||
| 13 | Upstream-Status: Pending | ||
| 14 | |||
| 15 | ftp/ftp.c | 1 + | ||
| 16 | 1 file changed, 1 insertion(+) | ||
| 17 | |||
| 18 | diff --git a/ftp/ftp.c b/ftp/ftp.c | ||
| 19 | index 7a56af6..5dcb513 100644 | ||
| 20 | --- a/ftp/ftp.c | ||
| 21 | +++ b/ftp/ftp.c | ||
| 22 | @@ -43,6 +43,7 @@ char ftp_rcsid[] = | ||
| 23 | #include <sys/socket.h> | ||
| 24 | #include <sys/time.h> | ||
| 25 | #include <sys/file.h> | ||
| 26 | +#include <sys/types.h> | ||
| 27 | |||
| 28 | #include <netinet/in.h> | ||
| 29 | #include <netinet/ip.h> | ||
| 30 | -- | ||
| 31 | 2.13.3 | ||
| 32 | |||
diff --git a/meta-networking/recipes-netkit/netkit-ftp/netkit-ftp/Add_ARG_MAX_define.patch b/meta-networking/recipes-netkit/netkit-ftp/netkit-ftp/Add_ARG_MAX_define.patch deleted file mode 100644 index 5db004865f..0000000000 --- a/meta-networking/recipes-netkit/netkit-ftp/netkit-ftp/Add_ARG_MAX_define.patch +++ /dev/null | |||
| @@ -1,27 +0,0 @@ | |||
| 1 | This adds ARG_MAX define to be _SC_ARG_MAX | ||
| 2 | |||
| 3 | Upstream-Status: Inappropriate [Most distros have their own verion for this fix] | ||
| 4 | |||
| 5 | Signed-off-by: Armin Kuster <akuster808@gmail.com> | ||
| 6 | |||
| 7 | Index: netkit-ftp-0.17/ftp/glob.c | ||
| 8 | =================================================================== | ||
| 9 | --- netkit-ftp-0.17.orig/ftp/glob.c | ||
| 10 | +++ netkit-ftp-0.17/ftp/glob.c | ||
| 11 | @@ -50,6 +50,7 @@ char glob_rcsid[] = | ||
| 12 | #include <stdio.h> | ||
| 13 | #include <stdlib.h> | ||
| 14 | #include <string.h> | ||
| 15 | +#include <unistd.h> | ||
| 16 | |||
| 17 | #include "ftp_var.h" /* for protos only */ | ||
| 18 | #include "glob.h" | ||
| 19 | @@ -57,6 +58,9 @@ char glob_rcsid[] = | ||
| 20 | #define QUOTE 0200 | ||
| 21 | #define TRIM 0177 | ||
| 22 | #define eq(a,b) (strcmp(a, b)==0) | ||
| 23 | +#ifndef ARG_MAX | ||
| 24 | +#define ARG_MAX (sysconf(_SC_ARG_MAX)) | ||
| 25 | +#endif | ||
| 26 | #define GAVSIZ (ARG_MAX/6) | ||
| 27 | #define isdir(d) ((d.st_mode & S_IFMT) == S_IFDIR) | ||
diff --git a/meta-networking/recipes-netkit/netkit-ftp/netkit-ftp_0.17.bb b/meta-networking/recipes-netkit/netkit-ftp/netkit-ftp_0.17.bb deleted file mode 100644 index 31fdd9e4d8..0000000000 --- a/meta-networking/recipes-netkit/netkit-ftp/netkit-ftp_0.17.bb +++ /dev/null | |||
| @@ -1,50 +0,0 @@ | |||
| 1 | DESCRIPTION = "netkit-ft includes the ftp client." | ||
| 2 | SECTION = "net" | ||
| 3 | HOMEPAGE="ftp://ftp.uk.linux.org/pub/linux/Networking/netkit" | ||
| 4 | LICENSE = "BSD-4-Clause" | ||
| 5 | |||
| 6 | LIC_FILES_CHKSUM = "file://ftp/ftp.c;beginline=2;endline=3;md5=2d40a75a50d83b8f6317b3f53db72bfa" | ||
| 7 | |||
| 8 | SRC_URI = "${DEBIAN_MIRROR}/main/n/netkit-ftp/netkit-ftp_${PV}.orig.tar.gz;name=archive \ | ||
| 9 | ${DEBIAN_MIRROR}/main/n/netkit-ftp/netkit-ftp_${PV}-34.debian.tar.xz;name=patch34 \ | ||
| 10 | file://Add_ARG_MAX_define.patch \ | ||
| 11 | file://0001-ftp-include-sys-types.h-for-u_long.patch \ | ||
| 12 | " | ||
| 13 | SRC_URI[archive.sha256sum] = "61c913299b81a4671ff089aac821329f7db9bc111aa812993dd585798b700349" | ||
| 14 | SRC_URI[patch34.sha256sum] = "716b984bc6926ed98345fa4e68adcee2efcf08d0f7315d6be8ad6de76f255748" | ||
| 15 | |||
| 16 | inherit autotools-brokensep update-alternatives | ||
| 17 | |||
| 18 | CLEANBROKEN = "1" | ||
| 19 | |||
| 20 | do_configure () { | ||
| 21 | ./configure --prefix=${prefix} | ||
| 22 | echo "LDFLAGS=${LDFLAGS}" >> MCONFIG | ||
| 23 | } | ||
| 24 | |||
| 25 | BINMODE = "0755" | ||
| 26 | MANMODE = "0644" | ||
| 27 | |||
| 28 | do_install () { | ||
| 29 | install -d ${D}${bindir} | ||
| 30 | install -d ${D}${mandir}/man1 | ||
| 31 | install -d ${D}${mandir}/man5 | ||
| 32 | |||
| 33 | install -m${BINMODE} ${S}/ftp/ftp ${D}${bindir} | ||
| 34 | ln -sf ftp ${D}${bindir}/pftp | ||
| 35 | install -m${MANMODE} ${S}/ftp/ftp.1 ${D}${mandir}/man1 | ||
| 36 | ln -sf ftp.1 ${D}${mandir}/man1/pftp.1 | ||
| 37 | install -m${MANMODE} ${S}/ftp/netrc.5 ${D}${mandir}/man5 | ||
| 38 | } | ||
| 39 | |||
| 40 | PACKAGES = "${PN} ${PN}-doc ${BPN}-dbg" | ||
| 41 | FILES:${PN} = "${bindir}/*" | ||
| 42 | FILES:${PN}-doc = "${mandir}" | ||
| 43 | FILES:${PN}-dbg = "${prefix}/src/debug \ | ||
| 44 | ${bindir}/.debug" | ||
| 45 | |||
| 46 | RDEPENDS:${PN} = "readline" | ||
| 47 | |||
| 48 | ALTERNATIVE_PRIORITY = "100" | ||
| 49 | ALTERNATIVE:${PN} = "ftp" | ||
| 50 | ALTERNATIVE_LINK_NAME[ftp] = "${bindir}/ftp" | ||
