aboutsummaryrefslogtreecommitdiff
path: root/package
diff options
context:
space:
mode:
authorGravatar Alejandro González <alejandro.gonzalez.correo@gmail.com>2020-09-20 23:36:36 +0200
committerGravatar Thomas Petazzoni <thomas.petazzoni@bootlin.com>2020-09-22 21:59:02 +0200
commit03ab7c709cff796d9a8921a86bb47f378675fd79 (patch)
treeb6ddd4e2b03aaca8b649b9e51b6222dad14d130f /package
parent8489c6d80654b4c0ecb629f1e5b606140394006c (diff)
downloadbuildroot-03ab7c709cff796d9a8921a86bb47f378675fd79.tar.gz
buildroot-03ab7c709cff796d9a8921a86bb47f378675fd79.tar.bz2
package/qprint: new package
qprint is a small utility that handles encoding and decoding arbitrary binary data in the Quoted-Printable format, which was introduced along MIME. As stated in the package description, although MUAs nowadays usually take care of doing this encoding themselves, there are some use cases where doing it manually is needed, and providing a command-line program to do it is amenable to shell scripts. Signed-off-by: Alejandro González <alejandro.gonzalez.correo@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Diffstat (limited to 'package')
-rw-r--r--package/Config.in1
-rw-r--r--package/qprint/Config.in18
-rw-r--r--package/qprint/qprint.hash3
-rw-r--r--package/qprint/qprint.mk13
4 files changed, 35 insertions, 0 deletions
diff --git a/package/Config.in b/package/Config.in
index c85a3c6bd3..956ac6f7b0 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -2350,6 +2350,7 @@ comment "Utilities"
source "package/logsurfer/Config.in"
source "package/pdmenu/Config.in"
source "package/pinentry/Config.in"
+ source "package/qprint/Config.in"
source "package/ranger/Config.in"
source "package/rtty/Config.in"
source "package/screen/Config.in"
diff --git a/package/qprint/Config.in b/package/qprint/Config.in
new file mode 100644
index 0000000000..edfb92a5f3
--- /dev/null
+++ b/package/qprint/Config.in
@@ -0,0 +1,18 @@
+config BR2_PACKAGE_QPRINT
+ bool "qprint"
+ help
+ qprint is a program that encodes and decodes binary data in
+ the Quoted-Printable encoding, defined as a part of the MIME
+ specification in RFC 1521. This encoding allows for efficient
+ transfer of mostly ASCII data over transports that are only
+ 7-bit clean, like SMTP without 8BITMIME or BINARYMIME
+ extensions. It also allows the transfer of long lines of text
+ by wrapping them every 76 characters.
+
+ Usually, a sophisticated MUA will take care of automatically
+ choosing the best encodings for an e-mail. Nevertheless, this
+ utility may be useful when a MTA (e.g. msmtp) is used without
+ a MUA, or if using this encoding for other purposes is
+ desired.
+
+ https://www.fourmilab.ch/webtools/qprint/
diff --git a/package/qprint/qprint.hash b/package/qprint/qprint.hash
new file mode 100644
index 0000000000..0412cf84c5
--- /dev/null
+++ b/package/qprint/qprint.hash
@@ -0,0 +1,3 @@
+# Locally computed
+sha256 ffa9ca1d51c871fb3b56a4bf0165418348cf080f01ff7e59cd04511b9665019c qprint-1.1.tar.gz
+sha256 3bd4089942977a357fed0d3c84b6ea877000c20c7c344c2feabf4b10db9f7495 COPYING
diff --git a/package/qprint/qprint.mk b/package/qprint/qprint.mk
new file mode 100644
index 0000000000..e34fba54b9
--- /dev/null
+++ b/package/qprint/qprint.mk
@@ -0,0 +1,13 @@
+################################################################################
+#
+# qprint
+#
+################################################################################
+
+QPRINT_VERSION = 1.1
+QPRINT_SITE = https://www.fourmilab.ch/webtools/qprint
+QPRINT_INSTALL_TARGET_OPTS = DESTDIR=$(TARGET_DIR) install-bin
+QPRINT_LICENSE = Public Domain
+QPRINT_LICENSE_FILES = COPYING
+
+$(eval $(autotools-package))