Skip to contentSkip to conversation

package/qprint: new package

PATCH New Alejandro González 2 participants 2 messages Sep 20, 2020 – Sep 22, 2020

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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.

---
 DEVELOPERS                 |  1 +
 package/Config.in          |  1 +
 package/qprint/Config.in   | 18 ++++++++++++++++++
 package/qprint/qprint.hash |  3 +++
 package/qprint/qprint.mk   | 13 +++++++++++++
 5 files changed, 36 insertions(+)
 create mode 100644 package/qprint/Config.in
 create mode 100644 package/qprint/qprint.hash
 create mode 100644 package/qprint/qprint.mk
DEVELOPERS +1 -0
index 057592b8e5..e6f2695e86 100644
@@ -119,6 +119,7 @@ F:	package/bird/
 F:	package/glorytun/
 
 N:	Alejandro Gonz?lez <[email protected]>
+F:	package/qprint/
 F:	package/watchdog/
 
 N:	Aleksander Morgado <[email protected]>
package/Config.in +1 -0
index 0282a2069f..0bea80356c 100644
@@ -2351,6 +2351,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"
package/qprint/Config.in new file +18 -0
new file mode 100644
index 0000000000..edfb92a5f3
@@ -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/
package/qprint/qprint.hash new file +3 -0
new file mode 100644
index 0000000000..0412cf84c5
@@ -0,0 +1,3 @@
+# Locally computed
+sha256  ffa9ca1d51c871fb3b56a4bf0165418348cf080f01ff7e59cd04511b9665019c  qprint-1.1.tar.gz
+sha256  3bd4089942977a357fed0d3c84b6ea877000c20c7c344c2feabf4b10db9f7495  COPYING
package/qprint/qprint.mk new file +13 -0
new file mode 100644
index 0000000000..e34fba54b9
@@ -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))
Signature · 1 line
2.28.0
#1 lore raw

PATCH 1/1 package/qprint: new package

Quoted 10 lines · On Sun, 20 Sep 2020 23:36:36 +0200 Alejandro Gonz?lez…

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.

Quoted 10 lines
---
 DEVELOPERS                 |  1 +
 package/Config.in          |  1 +
 package/qprint/Config.in   | 18 ++++++++++++++++++
 package/qprint/qprint.hash |  3 +++
 package/qprint/qprint.mk   | 13 +++++++++++++
 5 files changed, 36 insertions(+)
 create mode 100644 package/qprint/Config.in
 create mode 100644 package/qprint/qprint.hash
 create mode 100644 package/qprint/qprint.mk

Applied to master, thanks.

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com