summaryrefslogtreecommitdiff
path: root/data/libtiff
diff options
context:
space:
mode:
authorMCApollo <34170230+MCApollo@users.noreply.github.com>2019-05-03 19:35:53 +0000
committerMCApollo <34170230+MCApollo@users.noreply.github.com>2019-05-03 19:35:53 +0000
commit60feabdb7c8a13957f7a41f6736302f4ef4e5a36 (patch)
treec30bf55647f67278ee136afe8bf27529e7fcab7f /data/libtiff
parent556f21537fcd49c586b80c7d8e119693a82c0a46 (diff)
Devel package (4)
Diffstat (limited to 'data/libtiff')
-rw-r--r--data/libtiff/.beer35
l---------data/libtiff/_metadata/_libtiff.dep1
l---------[-rw-r--r--]data/libtiff/_metadata/description2
l---------[-rw-r--r--]data/libtiff/_metadata/homepage2
l---------[-rw-r--r--]data/libtiff/_metadata/in.1443.001
l---------data/libtiff/_metadata/maintainer1
l---------[-rw-r--r--]data/libtiff/_metadata/name2
l---------[-rw-r--r--]data/libtiff/_metadata/priority2
l---------[-rw-r--r--]data/libtiff/_metadata/role2
l---------[-rw-r--r--]data/libtiff/_metadata/section2
l---------[-rw-r--r--]data/libtiff/_metadata/tags2
l---------[-rw-r--r--]data/libtiff/_metadata/version2
-rwxr-xr-xdata/libtiff/download.sh1
-rw-r--r--data/libtiff/libtiff-CVE-2019-6128.patch49
-rw-r--r--data/libtiff/make.sh8
-rwxr-xr-xdata/libtiff/patches.sh1
-rw-r--r--data/libtiff/tiff-4.0.10.tar.gzbin2402867 -> 0 bytes
17 files changed, 15 insertions, 98 deletions
diff --git a/data/libtiff/.beer b/data/libtiff/.beer
deleted file mode 100644
index 2f85bea9d..000000000
--- a/data/libtiff/.beer
+++ /dev/null
@@ -1,35 +0,0 @@
-{
- "name": "Libtiff",
- "description": "TIFF library and utilities",
- "url": "https://download.osgeo.org/libtiff/tiff-4.0.10.tar.gz",
- "mirror": "https://fossies.org/linux/misc/tiff-4.0.10.tar.gz",
- "homepage": "http://libtiff.maptools.org/",
- "depends": [
- {
- "depend": "jpeg",
- "build-depend": false
- }
- ],
- "resource": [],
- "conflicts": [],
- "patches": [
- {
- "url": "https://raw.githubusercontent.com/Homebrew/formula-patches/d15e00544e7df009b5ad34f3b65351fc249092c0/libtiff/libtiff-CVE-2019-6128.patch",
- "strip": "1"
- }
- ],
- "install": [
- "args = %W[",
- "--prefix=#{prefix}",
- "--disable-dependency-tracking",
- "--disable-lzma",
- "--with-jpeg-include-dir=#{Formula[\"jpeg\"].opt_include}",
- "--with-jpeg-lib-dir=#{Formula[\"jpeg\"].opt_lib}",
- "--without-x",
- "]",
- "system \"./configure\", *args",
- "system \"make\", \"install\""
- ],
- "version": "4.0.10",
- "file": "libtiff.rb"
-} \ No newline at end of file
diff --git a/data/libtiff/_metadata/_libtiff.dep b/data/libtiff/_metadata/_libtiff.dep
new file mode 120000
index 000000000..e7b868887
--- /dev/null
+++ b/data/libtiff/_metadata/_libtiff.dep
@@ -0,0 +1 @@
+../../_libtiff \ No newline at end of file
diff --git a/data/libtiff/_metadata/description b/data/libtiff/_metadata/description
index 55244923d..05c257ed2 100644..120000
--- a/data/libtiff/_metadata/description
+++ b/data/libtiff/_metadata/description
@@ -1 +1 @@
-TIFF library and utilities
+../../_libtiff/_metadata/description \ No newline at end of file
diff --git a/data/libtiff/_metadata/homepage b/data/libtiff/_metadata/homepage
index 9639140d2..5c7a98382 100644..120000
--- a/data/libtiff/_metadata/homepage
+++ b/data/libtiff/_metadata/homepage
@@ -1 +1 @@
-http://libtiff.maptools.org/
+../../_libtiff/_metadata/homepage \ No newline at end of file
diff --git a/data/libtiff/_metadata/in.1443.00 b/data/libtiff/_metadata/in.1443.00
index e69de29bb..e37359bd2 100644..120000
--- a/data/libtiff/_metadata/in.1443.00
+++ b/data/libtiff/_metadata/in.1443.00
@@ -0,0 +1 @@
+../../_libtiff/_metadata/in.1443.00 \ No newline at end of file
diff --git a/data/libtiff/_metadata/maintainer b/data/libtiff/_metadata/maintainer
new file mode 120000
index 000000000..0c538aadb
--- /dev/null
+++ b/data/libtiff/_metadata/maintainer
@@ -0,0 +1 @@
+../../../people/mac \ No newline at end of file
diff --git a/data/libtiff/_metadata/name b/data/libtiff/_metadata/name
index b5d927294..ef35aab7e 100644..120000
--- a/data/libtiff/_metadata/name
+++ b/data/libtiff/_metadata/name
@@ -1 +1 @@
-libtiff
+../../_libtiff/_metadata/name \ No newline at end of file
diff --git a/data/libtiff/_metadata/priority b/data/libtiff/_metadata/priority
index 134d9bc32..7b0fe1153 100644..120000
--- a/data/libtiff/_metadata/priority
+++ b/data/libtiff/_metadata/priority
@@ -1 +1 @@
-optional
+../../_libtiff/_metadata/priority \ No newline at end of file
diff --git a/data/libtiff/_metadata/role b/data/libtiff/_metadata/role
index 8d0320866..709eff406 100644..120000
--- a/data/libtiff/_metadata/role
+++ b/data/libtiff/_metadata/role
@@ -1 +1 @@
-developer
+../../_libtiff/_metadata/role \ No newline at end of file
diff --git a/data/libtiff/_metadata/section b/data/libtiff/_metadata/section
index e0eb96881..288f48688 100644..120000
--- a/data/libtiff/_metadata/section
+++ b/data/libtiff/_metadata/section
@@ -1 +1 @@
-Development
+../../_libtiff/_metadata/section \ No newline at end of file
diff --git a/data/libtiff/_metadata/tags b/data/libtiff/_metadata/tags
index a8928cec8..9c8b049b0 100644..120000
--- a/data/libtiff/_metadata/tags
+++ b/data/libtiff/_metadata/tags
@@ -1 +1 @@
-purpose::library
+../../_libtiff/_metadata/tags \ No newline at end of file
diff --git a/data/libtiff/_metadata/version b/data/libtiff/_metadata/version
index 2d2d68106..1bfe805ed 100644..120000
--- a/data/libtiff/_metadata/version
+++ b/data/libtiff/_metadata/version
@@ -1 +1 @@
-4.0.10
+../../_libtiff/_metadata/version \ No newline at end of file
diff --git a/data/libtiff/download.sh b/data/libtiff/download.sh
deleted file mode 100755
index 12425d31e..000000000
--- a/data/libtiff/download.sh
+++ /dev/null
@@ -1 +0,0 @@
-wget https://download.osgeo.org/libtiff/tiff-4.0.10.tar.gz || wget https://fossies.org/linux/misc/tiff-4.0.10.tar.gz \ No newline at end of file
diff --git a/data/libtiff/libtiff-CVE-2019-6128.patch b/data/libtiff/libtiff-CVE-2019-6128.patch
deleted file mode 100644
index 192ea592a..000000000
--- a/data/libtiff/libtiff-CVE-2019-6128.patch
+++ /dev/null
@@ -1,49 +0,0 @@
-From 99cab41801c37588f67396d836c5b677aba498ce Mon Sep 17 00:00:00 2001
-From: Scott Gayou <github.scott@gmail.com>
-Date: Wed, 23 Jan 2019 15:03:53 -0500
-Subject: [PATCH] Fix for simple memory leak that was assigned CVE-2019-6128.
-
-pal2rgb failed to free memory on a few errors. This was reported
-here: http://bugzilla.maptools.org/show_bug.cgi?id=2836.
----
- tools/pal2rgb.c | 7 ++++++-
- 1 file changed, 6 insertions(+), 1 deletion(-)
-
-diff --git a/tools/pal2rgb.c b/tools/pal2rgb.c
-index 01d8502..9492f1c 100644
---- a/tools/pal2rgb.c
-+++ b/tools/pal2rgb.c
-@@ -118,12 +118,14 @@ main(int argc, char* argv[])
- shortv != PHOTOMETRIC_PALETTE) {
- fprintf(stderr, "%s: Expecting a palette image.\n",
- argv[optind]);
-+ (void) TIFFClose(in);
- return (-1);
- }
- if (!TIFFGetField(in, TIFFTAG_COLORMAP, &rmap, &gmap, &bmap)) {
- fprintf(stderr,
- "%s: No colormap (not a valid palette image).\n",
- argv[optind]);
-+ (void) TIFFClose(in);
- return (-1);
- }
- bitspersample = 0;
-@@ -131,11 +133,14 @@ main(int argc, char* argv[])
- if (bitspersample != 8) {
- fprintf(stderr, "%s: Sorry, can only handle 8-bit images.\n",
- argv[optind]);
-+ (void) TIFFClose(in);
- return (-1);
- }
- out = TIFFOpen(argv[optind+1], "w");
-- if (out == NULL)
-+ if (out == NULL) {
-+ (void) TIFFClose(in);
- return (-2);
-+ }
- cpTags(in, out);
- TIFFGetField(in, TIFFTAG_IMAGEWIDTH, &imagewidth);
- TIFFGetField(in, TIFFTAG_IMAGELENGTH, &imagelength);
---
-2.17.2
-
diff --git a/data/libtiff/make.sh b/data/libtiff/make.sh
index b78ddd2d2..b3c32c0db 100644
--- a/data/libtiff/make.sh
+++ b/data/libtiff/make.sh
@@ -1,4 +1,4 @@
-pkg:setup
-pkg:configure
-pkg:make
-pkg:install
+pkg: mkdir -p "${PKG_TAPF}"/lib
+# XXX: Should we split the bins too?
+cp -a "$(PKG_DEST_ _libtiff)"/"${PKG_TAPF}"/lib/lib*.dylib "${PKG_DEST}"/"${PKG_TAPF}"/lib
+cp -a "$(PKG_DEST_ _libtiff)"/"${PKG_TAPF}"/bin "${PKG_DEST}"/"${PKG_TAPF}"/
diff --git a/data/libtiff/patches.sh b/data/libtiff/patches.sh
deleted file mode 100755
index f692ec1a3..000000000
--- a/data/libtiff/patches.sh
+++ /dev/null
@@ -1 +0,0 @@
-wget https://raw.githubusercontent.com/Homebrew/formula-patches/d15e00544e7df009b5ad34f3b65351fc249092c0/libtiff/libtiff-CVE-2019-6128.patch
diff --git a/data/libtiff/tiff-4.0.10.tar.gz b/data/libtiff/tiff-4.0.10.tar.gz
deleted file mode 100644
index 28cb56d66..000000000
--- a/data/libtiff/tiff-4.0.10.tar.gz
+++ /dev/null
Binary files differ