summaryrefslogtreecommitdiff
path: root/homebrew/scrub
diff options
context:
space:
mode:
authorMCApollo <34170230+MCApollo@users.noreply.github.com>2019-04-20 20:49:46 -0500
committerMCApollo <34170230+MCApollo@users.noreply.github.com>2019-04-23 20:18:47 -0500
commit12335518ab39608d58370c85ff9f5384ad2aa5f7 (patch)
tree352d81f2a2de3f1252af732080ec0fde38c13b4d /homebrew/scrub
parenta2b26ad12d4fa12f0273645caf4be6d0b8b71e7c (diff)
Ported in the homebrew-marauder for a hacky update/import system.
TODO: Maybe add a license & fix up messy code.
Diffstat (limited to 'homebrew/scrub')
-rw-r--r--homebrew/scrub/.beer32
-rw-r--r--homebrew/scrub/.make.sh-auto3
-rw-r--r--homebrew/scrub/_metadata/description1
-rw-r--r--homebrew/scrub/_metadata/homepage1
-rw-r--r--homebrew/scrub/_metadata/name1
-rw-r--r--homebrew/scrub/_metadata/version1
-rwxr-xr-xhomebrew/scrub/download.sh1
7 files changed, 40 insertions, 0 deletions
diff --git a/homebrew/scrub/.beer b/homebrew/scrub/.beer
new file mode 100644
index 000000000..c6c24087f
--- /dev/null
+++ b/homebrew/scrub/.beer
@@ -0,0 +1,32 @@
+{
+ "name": "Scrub",
+ "description": "Writes patterns on magnetic media to thwart data recovery",
+ "url": "https://github.com/chaos/scrub/releases/download/2.6.1/scrub-2.6.1.tar.gz",
+ "mirror": "https://deb.debian.org/debian/pool/main/s/scrub/scrub_2.6.1.orig.tar.gz",
+ "homepage": "https://code.google.com/archive/p/diskscrub/",
+ "depends": [
+ {
+ "depend": "autoconf",
+ "build-depend": true
+ },
+ {
+ "depend": "automake",
+ "build-depend": true
+ },
+ {
+ "depend": "libtool",
+ "build-depend": true
+ }
+ ],
+ "resource": [],
+ "conflicts": [],
+ "patches": [],
+ "install": [
+ "system \"./autogen.sh\" if build.head?",
+ "system \"./configure\", \"--disable-dependency-tracking\",",
+ "\"--prefix=#{prefix}\"",
+ "system \"make\", \"install\""
+ ],
+ "version": "2.6.1",
+ "file": "scrub.rb"
+} \ No newline at end of file
diff --git a/homebrew/scrub/.make.sh-auto b/homebrew/scrub/.make.sh-auto
new file mode 100644
index 000000000..557a9e0d1
--- /dev/null
+++ b/homebrew/scrub/.make.sh-auto
@@ -0,0 +1,3 @@
+pkg:setup
+pkg:configure --disable-dependency-tracking
+make DESTDIR=${PKG_DEST} install
diff --git a/homebrew/scrub/_metadata/description b/homebrew/scrub/_metadata/description
new file mode 100644
index 000000000..115ada404
--- /dev/null
+++ b/homebrew/scrub/_metadata/description
@@ -0,0 +1 @@
+Writes patterns on magnetic media to thwart data recovery
diff --git a/homebrew/scrub/_metadata/homepage b/homebrew/scrub/_metadata/homepage
new file mode 100644
index 000000000..8b2c1d16e
--- /dev/null
+++ b/homebrew/scrub/_metadata/homepage
@@ -0,0 +1 @@
+https://code.google.com/archive/p/diskscrub/
diff --git a/homebrew/scrub/_metadata/name b/homebrew/scrub/_metadata/name
new file mode 100644
index 000000000..ef64c3490
--- /dev/null
+++ b/homebrew/scrub/_metadata/name
@@ -0,0 +1 @@
+Scrub
diff --git a/homebrew/scrub/_metadata/version b/homebrew/scrub/_metadata/version
new file mode 100644
index 000000000..6a6a3d8e3
--- /dev/null
+++ b/homebrew/scrub/_metadata/version
@@ -0,0 +1 @@
+2.6.1
diff --git a/homebrew/scrub/download.sh b/homebrew/scrub/download.sh
new file mode 100755
index 000000000..4fc051efa
--- /dev/null
+++ b/homebrew/scrub/download.sh
@@ -0,0 +1 @@
+wget https://github.com/chaos/scrub/releases/download/2.6.1/scrub-2.6.1.tar.gz || wget https://deb.debian.org/debian/pool/main/s/scrub/scrub_2.6.1.orig.tar.gz \ No newline at end of file