summaryrefslogtreecommitdiff
path: root/packages/ncftp
diff options
context:
space:
mode:
authorMarcin Juszkiewicz <hrw@openembedded.org>2006-12-18 21:29:17 +0000
committerMarcin Juszkiewicz <hrw@openembedded.org>2006-12-18 21:29:17 +0000
commitdf8fcf6e46e8190ddb0ddd797d7dfb466d8f2923 (patch)
tree58788cd6b4fb2db904ca8eb74ad460b4118539c5 /packages/ncftp
parent79440db3df9232155ba6025cd09cf73f1a0eeaf3 (diff)
ncftp: update to 3.2.0
Diffstat (limited to 'packages/ncftp')
-rw-r--r--packages/ncftp/ncftp/fixes.patch22
-rw-r--r--packages/ncftp/ncftp/make.patch39
-rw-r--r--packages/ncftp/ncftp_3.1.8.bb19
-rw-r--r--packages/ncftp/ncftp_3.1.9.bb23
-rw-r--r--packages/ncftp/ncftp_3.2.0.bb (renamed from packages/ncftp/ncftp_3.1.7.bb)7
5 files changed, 67 insertions, 43 deletions
diff --git a/packages/ncftp/ncftp/fixes.patch b/packages/ncftp/ncftp/fixes.patch
new file mode 100644
index 0000000000..557ff5c54f
--- /dev/null
+++ b/packages/ncftp/ncftp/fixes.patch
@@ -0,0 +1,22 @@
+Index: ncftp-3.2.0/ncftp/cmds.c
+===================================================================
+--- ncftp-3.2.0.orig/ncftp/cmds.c 2006-12-18 22:21:34.000000000 +0100
++++ ncftp-3.2.0/ncftp/cmds.c 2006-12-18 22:23:55.000000000 +0100
+@@ -945,7 +945,7 @@
+ --n;
+ memset(&st, 0, sizeof(st));
+ }
+- (void) sprintf(modstr, "%u " PRINTF_LONG_LONG, (unsigned int) st.st_mtime, (longest_int) st.st_size);
++ (void) sprintf(modstr, "%u %ld" , (unsigned int) st.st_mtime, (longest_int) st.st_size);
+ if (AddLine(&modstrs, modstr) == NULL) {
+ DisposeLineListContents(&modstrs);
+ DisposeLineListContents(&rfiles);
+@@ -1006,7 +1006,7 @@
+ (void) fprintf(stdout, "\n");
+ continue;
+ }
+- (void) sprintf(modstr, "%u " PRINTF_LONG_LONG, (unsigned int) st.st_mtime, (longest_int) st.st_size);
++ (void) sprintf(modstr, "%u %ld" , (unsigned int) st.st_mtime, (longest_int) st.st_size);
+ if (strcmp(modstr, mlp->line) == 0) {
+ Trace(-1, "No changes made to \"%s\".\n", rpath);
+ continue;
diff --git a/packages/ncftp/ncftp/make.patch b/packages/ncftp/ncftp/make.patch
new file mode 100644
index 0000000000..78bc523ee7
--- /dev/null
+++ b/packages/ncftp/ncftp/make.patch
@@ -0,0 +1,39 @@
+Index: ncftp-3.2.0/Strn/Makefile.in
+===================================================================
+--- ncftp-3.2.0.orig/Strn/Makefile.in 2006-12-18 22:11:48.000000000 +0100
++++ ncftp-3.2.0/Strn/Makefile.in 2006-12-18 22:12:48.000000000 +0100
+@@ -42,7 +42,7 @@
+ static: $(LIB)
+
+ $(LIB): $(OBJS)
+- @CCDV@@AR@ r $(LIB) $(OBJS)
++ @CCDV@$(AR) r $(LIB) $(OBJS)
+ -@chmod 644 "$(LIB)"
+ -@RANLIB@ "$(LIB)"
+ -@echo "$(VER)" > Strn.version
+Index: ncftp-3.2.0/sio/Makefile.in
+===================================================================
+--- ncftp-3.2.0.orig/sio/Makefile.in 2006-12-18 22:15:39.000000000 +0100
++++ ncftp-3.2.0/sio/Makefile.in 2006-12-18 22:15:56.000000000 +0100
+@@ -51,7 +51,7 @@
+
+ $(LIB): $(OBJS)
+ -@/bin/rm -f $(LIB)
+- @CCDV@@AR@ r $(LIB) $(OBJS)
++ @CCDV@$(AR) r $(LIB) $(OBJS)
+ -@RANLIB@ $(LIB)
+ -@echo $(VER) > sio.version
+ -@chmod a+r $(LIB) sio.h usio.h
+Index: ncftp-3.2.0/libncftp/Makefile.in
+===================================================================
+--- ncftp-3.2.0.orig/libncftp/Makefile.in 2006-12-18 22:16:42.000000000 +0100
++++ ncftp-3.2.0/libncftp/Makefile.in 2006-12-18 22:16:56.000000000 +0100
+@@ -49,7 +49,7 @@
+
+ $(LIB): $(OBJS)
+ -@/bin/rm -f $(LIB)
+- @CCDV@@AR@ r $(LIB) $(OBJS)
++ @CCDV@$(AR) r $(LIB) $(OBJS)
+ -@chmod 644 $(LIB)
+ -@@RANLIB@ $(LIB)
+ @/bin/ls -l $(LIB)
diff --git a/packages/ncftp/ncftp_3.1.8.bb b/packages/ncftp/ncftp_3.1.8.bb
deleted file mode 100644
index 99673d8a97..0000000000
--- a/packages/ncftp/ncftp_3.1.8.bb
+++ /dev/null
@@ -1,19 +0,0 @@
-DESCRIPTION = "A sophisticated console ftp client"
-SECTION = "console/network"
-PRIORITY = "optional"
-LICENSE = "ClarifiedArtistic"
-SRC_URI = "ftp://ftp.ncftp.com/ncftp/ncftp-${PV}-src.tar.bz2 \
- file://acinclude.m4"
-
-inherit autotools
-
-do_configure_prepend () {
- install -m 0644 ${WORKDIR}/acinclude.m4 acinclude.m4
-}
-
-do_install () {
- install -d ${D}${bindir} ${D}${sysconfdir} ${D}${mandir}
- oe_runmake 'prefix=${D}${prefix}' 'BINDIR=${D}${bindir}' \
- 'SYSCONFDIR=${D}${sysconfdir}' 'mandir=${D}${mandir}' \
- install
-}
diff --git a/packages/ncftp/ncftp_3.1.9.bb b/packages/ncftp/ncftp_3.1.9.bb
deleted file mode 100644
index 690c7eb613..0000000000
--- a/packages/ncftp/ncftp_3.1.9.bb
+++ /dev/null
@@ -1,23 +0,0 @@
-DESCRIPTION = "A sophisticated console ftp client"
-SECTION = "console/network"
-PRIORITY = "optional"
-LICENSE = "ClarifiedArtistic"
-PR = "r1"
-
-SRC_URI = "ftp://ftp.ncftp.com/ncftp/older_versions/ncftp-${PV}-src.tar.gz \
- file://acinclude.m4"
-
-inherit autotools
-
-do_configure_prepend () {
- install -m 0644 ${WORKDIR}/acinclude.m4 acinclude.m4
-}
-
-INHIBIT_AUTO_STAGE = "1"
-
-do_install () {
- install -d ${D}${bindir} ${D}${sysconfdir} ${D}${mandir}
- oe_runmake 'prefix=${D}${prefix}' 'BINDIR=${D}${bindir}' \
- 'SYSCONFDIR=${D}${sysconfdir}' 'mandir=${D}${mandir}' \
- install
-}
diff --git a/packages/ncftp/ncftp_3.1.7.bb b/packages/ncftp/ncftp_3.2.0.bb
index 99673d8a97..ce87846ba0 100644
--- a/packages/ncftp/ncftp_3.1.7.bb
+++ b/packages/ncftp/ncftp_3.2.0.bb
@@ -2,8 +2,11 @@ DESCRIPTION = "A sophisticated console ftp client"
SECTION = "console/network"
PRIORITY = "optional"
LICENSE = "ClarifiedArtistic"
+
SRC_URI = "ftp://ftp.ncftp.com/ncftp/ncftp-${PV}-src.tar.bz2 \
- file://acinclude.m4"
+ file://acinclude.m4 \
+ file://make.patch;patch=1 \
+ file://fixes.patch;patch=1"
inherit autotools
@@ -11,6 +14,8 @@ do_configure_prepend () {
install -m 0644 ${WORKDIR}/acinclude.m4 acinclude.m4
}
+INHIBIT_AUTO_STAGE = "1"
+
do_install () {
install -d ${D}${bindir} ${D}${sysconfdir} ${D}${mandir}
oe_runmake 'prefix=${D}${prefix}' 'BINDIR=${D}${bindir}' \