Forráskód Böngészése

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>
Alejandro González 3 éve
szülő
commit
03ab7c709c
5 módosított fájl, 36 hozzáadás és 0 törlés
  1. 1 0
      DEVELOPERS
  2. 1 0
      package/Config.in
  3. 18 0
      package/qprint/Config.in
  4. 3 0
      package/qprint/qprint.hash
  5. 13 0
      package/qprint/qprint.mk

+ 1 - 0
DEVELOPERS

@@ -119,6 +119,7 @@ F:	package/bird/
 F:	package/glorytun/
 
 N:	Alejandro González <alejandro.gonzalez.correo@gmail.com>
+F:	package/qprint/
 F:	package/watchdog/
 
 N:	Aleksander Morgado <aleksander@aleksander.es>

+ 1 - 0
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"

+ 18 - 0
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/

+ 3 - 0
package/qprint/qprint.hash

@@ -0,0 +1,3 @@
+# Locally computed
+sha256  ffa9ca1d51c871fb3b56a4bf0165418348cf080f01ff7e59cd04511b9665019c  qprint-1.1.tar.gz
+sha256  3bd4089942977a357fed0d3c84b6ea877000c20c7c344c2feabf4b10db9f7495  COPYING

+ 13 - 0
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))