summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam Bingner <sam@bingner.com>2019-12-03 11:04:52 -1000
committerSam Bingner <sam@bingner.com>2019-12-05 13:30:42 -1000
commit53bae0fab06fe89b3e2904f37708045eda46ecc6 (patch)
treeff844fd4d96780b1ec159d22c71f118548caac2a
parent10d9e4f13441a572f93ccf4c281126ee072b692b (diff)
Update ldid
-rw-r--r--data/ldid/_metadata/depends1
-rw-r--r--data/ldid/_metadata/libplist.ver1
-rwxr-xr-xdata/ldid/_metadata/postinst2
-rwxr-xr-xdata/ldid/_metadata/prerm4
-rw-r--r--data/ldid/_metadata/version2
-rw-r--r--data/ldid/ldid-2.0.1.tar.lzbin33267 -> 0 bytes
-rw-r--r--data/ldid/ldid-2.1.2+24497ae.tar.lzbin0 -> 36177 bytes
-rw-r--r--data/ldid/make.sh3
8 files changed, 11 insertions, 2 deletions
diff --git a/data/ldid/_metadata/depends b/data/ldid/_metadata/depends
new file mode 100644
index 000000000..10ba93442
--- /dev/null
+++ b/data/ldid/_metadata/depends
@@ -0,0 +1 @@
+dpkg (>= 1.18.25-9)
diff --git a/data/ldid/_metadata/libplist.ver b/data/ldid/_metadata/libplist.ver
new file mode 100644
index 000000000..227cea215
--- /dev/null
+++ b/data/ldid/_metadata/libplist.ver
@@ -0,0 +1 @@
+2.0.0
diff --git a/data/ldid/_metadata/postinst b/data/ldid/_metadata/postinst
new file mode 100755
index 000000000..e3ec82243
--- /dev/null
+++ b/data/ldid/_metadata/postinst
@@ -0,0 +1,2 @@
+#!/bin/sh
+update-alternatives --install /usr/bin/ldid ldid /usr/libexec/ldid 50
diff --git a/data/ldid/_metadata/prerm b/data/ldid/_metadata/prerm
new file mode 100755
index 000000000..479245370
--- /dev/null
+++ b/data/ldid/_metadata/prerm
@@ -0,0 +1,4 @@
+#!/bin/sh
+if [[ "$1" == "remove" ]]; then
+ update-alternatives --remove ldid /usr/libexec/ldid
+fi
diff --git a/data/ldid/_metadata/version b/data/ldid/_metadata/version
index 7a86eea98..221cddd67 100644
--- a/data/ldid/_metadata/version
+++ b/data/ldid/_metadata/version
@@ -1 +1 @@
-2:2.0.1
+2:2.1.2+24497ae
diff --git a/data/ldid/ldid-2.0.1.tar.lz b/data/ldid/ldid-2.0.1.tar.lz
deleted file mode 100644
index de579fd4c..000000000
--- a/data/ldid/ldid-2.0.1.tar.lz
+++ /dev/null
Binary files differ
diff --git a/data/ldid/ldid-2.1.2+24497ae.tar.lz b/data/ldid/ldid-2.1.2+24497ae.tar.lz
new file mode 100644
index 000000000..a12ab12b4
--- /dev/null
+++ b/data/ldid/ldid-2.1.2+24497ae.tar.lz
Binary files differ
diff --git a/data/ldid/make.sh b/data/ldid/make.sh
index cf76f6d64..5c907bbba 100644
--- a/data/ldid/make.sh
+++ b/data/ldid/make.sh
@@ -1,3 +1,4 @@
pkg:setup
pkg:make CFLAGS=-O2 CXXFLAGS=-O2
-pkg:install
+pkg: mkdir -p /usr/libexec
+pkg: cp ldid /usr/libexec/