debianutils: new package
authorGustavo Zacarias <gustavo@zacarias.com.ar>
Tue, 18 Nov 2014 17:01:50 +0000 (14:01 -0300)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Tue, 18 Nov 2014 22:27:50 +0000 (23:27 +0100)
[Thomas: add optional dependency on Busybox, because debianutils
installs its own version of which, so we need to override the Busybox
one.]

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Acked-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Tested-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/Config.in
package/debianutils/Config.in [new file with mode: 0644]
package/debianutils/debianutils.hash [new file with mode: 0644]
package/debianutils/debianutils.mk [new file with mode: 0644]

index d59876f2b06aa4928db9207fa9526192645bb588..a6977ce8ce577524115f349c97f75a1ed91db587 100644 (file)
@@ -1204,6 +1204,7 @@ endif
        source "package/cpuload/Config.in"
 if BR2_PACKAGE_BUSYBOX_SHOW_OTHERS
        source "package/dcron/Config.in"
+       source "package/debianutils/Config.in"
 endif
        source "package/dsp-tools/Config.in"
        source "package/ftop/Config.in"
diff --git a/package/debianutils/Config.in b/package/debianutils/Config.in
new file mode 100644 (file)
index 0000000..f865868
--- /dev/null
@@ -0,0 +1,7 @@
+config BR2_PACKAGE_DEBIANUTILS
+       bool "debianutils"
+       depends on BR2_USE_MMU # fork()
+       help
+         Miscellaneous utilities specific to Debian.
+
+         https://tracker.debian.org/pkg/debianutils
diff --git a/package/debianutils/debianutils.hash b/package/debianutils/debianutils.hash
new file mode 100644 (file)
index 0000000..089dd42
--- /dev/null
@@ -0,0 +1,2 @@
+# From http://ftp.de.debian.org/debian/pool/main/d/debianutils/debianutils_4.4.dsc
+sha256 190850cdd6b5302e0a1ba1aaed1bc7074d67d3bd8d04c613f242f7145afa53a6        debianutils_4.4.tar.gz
diff --git a/package/debianutils/debianutils.mk b/package/debianutils/debianutils.mk
new file mode 100644 (file)
index 0000000..dd78774
--- /dev/null
@@ -0,0 +1,16 @@
+################################################################################
+#
+# debianutils
+#
+################################################################################
+
+DEBIANUTILS_VERSION = 4.4
+DEBIANUTILS_SOURCE = debianutils_$(DEBIANUTILS_VERSION).tar.gz
+DEBIANUTILS_SITE = http://snapshot.debian.org/archive/debian/20130728T034252Z/pool/main/d/debianutils
+DEBIANUTILS_CONF_OPTS = --exec-prefix=/
+# Make sure we override the busybox tools, such as which
+DEBIANUTILS_DEPENDENCIES = $(if $(BR2_PACKAGE_BUSYBOX),busybox)
+DEBIANUTILS_LICENSE = GPLv2+, SMAIL (savelog)
+DEBIANUTILS_LICENSE_FILES = debian/copyright
+
+$(eval $(autotools-package))