pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Add ekermit version 16. Untested!
Module Name: pkgsrc-wip
Committed By: Maya Rashish <maya%NetBSD.org@localhost>
Pushed By: coypu
Date: Fri Jul 19 22:24:18 2019 +0300
Changeset: 41e1e174e10d889746656b333d7f5d355331d3c8
Added Files:
ekermit/DESCR
ekermit/Makefile
ekermit/PLIST
ekermit/distinfo
ekermit/patches/patch-main.c
ekermit/patches/patch-unixio.c
Log Message:
Add ekermit version 16. Untested!
EK (Embedded Kermit, E-Kermit) is an implementation of the Kermit
file transfer protocol written in ANSI C and designed for embedding
in devices or firmware, use in realtime applications, or for
construction of DLLs and libraries.
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=41e1e174e10d889746656b333d7f5d355331d3c8
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
ekermit/DESCR | 4 ++++
ekermit/Makefile | 22 ++++++++++++++++++++++
ekermit/PLIST | 2 ++
ekermit/distinfo | 8 ++++++++
ekermit/patches/patch-main.c | 19 +++++++++++++++++++
ekermit/patches/patch-unixio.c | 18 ++++++++++++++++++
6 files changed, 73 insertions(+)
diffs:
diff --git a/ekermit/DESCR b/ekermit/DESCR
new file mode 100644
index 0000000000..7146dd16f2
--- /dev/null
+++ b/ekermit/DESCR
@@ -0,0 +1,4 @@
+EK (Embedded Kermit, E-Kermit) is an implementation of the Kermit
+file transfer protocol written in ANSI C and designed for embedding
+in devices or firmware, use in realtime applications, or for
+construction of DLLs and libraries.
diff --git a/ekermit/Makefile b/ekermit/Makefile
new file mode 100644
index 0000000000..88e1cacea8
--- /dev/null
+++ b/ekermit/Makefile
@@ -0,0 +1,22 @@
+# $NetBSD$
+
+DISTNAME= ek16
+PKGNAME= ekermit-${DISTNAME:S/ek//}
+CATEGORIES= wip
+MASTER_SITES= http://www.columbia.edu/kermit/ftp/ek/tar/
+EXTRACT_SUFX= .tar
+
+MAINTAINER= INSERT_YOUR_MAIL_ADDRESS_HERE
+HOMEPAGE= http://www.columbia.edu/kermit/ek.html
+COMMENT= Implementation of the Kermit file transfer protocol
+LICENSE= modified-bsd
+
+WRKSRC= ${WRKDIR}
+
+MAKE_FILE= makefile
+
+INSTALLATION_DIRS= bin
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/ek ${DESTDIR}${PREFIX}/bin
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/ekermit/PLIST b/ekermit/PLIST
new file mode 100644
index 0000000000..9624fa17f3
--- /dev/null
+++ b/ekermit/PLIST
@@ -0,0 +1,2 @@
+@comment $NetBSD$
+bin/ek
diff --git a/ekermit/distinfo b/ekermit/distinfo
new file mode 100644
index 0000000000..155c1e2fbe
--- /dev/null
+++ b/ekermit/distinfo
@@ -0,0 +1,8 @@
+$NetBSD$
+
+SHA1 (ek16.tar) = f47bed8dc170eae7c953b260b59928ba7175dc1f
+RMD160 (ek16.tar) = 55ccb05dae82d33ab247715062c8b2b552e8f2f2
+SHA512 (ek16.tar) = 01ca9949cab1871c27fe45f8820f9abf1c0e4bb324c266a2500fc84af875f89975676d197f3695b0467c245d2bc246a931b4e507d3eb3d0b2663c9e365a5264c
+Size (ek16.tar) = 122880 bytes
+SHA1 (patch-main.c) = 5f91f8de4499cbf465887e614a00fbddae319419
+SHA1 (patch-unixio.c) = 377fe94e4f9b41e6a4a37d137f10f154b1dadfde
diff --git a/ekermit/patches/patch-main.c b/ekermit/patches/patch-main.c
new file mode 100644
index 0000000000..66051beb0f
--- /dev/null
+++ b/ekermit/patches/patch-main.c
@@ -0,0 +1,19 @@
+$NetBSD$
+
+Avoid implicit declarations:
+ctype.h for isdigit
+unistd.h for access
+stdlib.h for exit
+
+--- main.c.orig 2011-03-30 16:40:53.000000000 +0000
++++ main.c
+@@ -44,6 +44,9 @@
+ #include "debug.h" /* Debugging */
+ #include "platform.h" /* Platform-specific includes and definitions */
+ #include "kermit.h" /* Kermit symbols and data structures */
++#include <ctype.h>
++#include <unistd.h>
++#include <stdlib.h>
+ #ifdef __linux
+ #include <errno.h>
+ #endif /* __linux */
diff --git a/ekermit/patches/patch-unixio.c b/ekermit/patches/patch-unixio.c
new file mode 100644
index 0000000000..d496f32c53
--- /dev/null
+++ b/ekermit/patches/patch-unixio.c
@@ -0,0 +1,18 @@
+$NetBSD$
+
+Avoid implicit declarations.
+
+unistd.h for write
+stdlib.h for rand
+
+--- unixio.c.orig 2011-03-30 16:42:24.000000000 +0000
++++ unixio.c
+@@ -42,6 +42,8 @@
+ #include <sys/stat.h>
+ #include <time.h>
+ #include <errno.h>
++#include <unistd.h>
++#include <stdlib.h>
+ #ifndef O_WRONLY
+ #include <sys/file.h>
+ #ifdef X_OK
Home |
Main Index |
Thread Index |
Old Index