ports/opt (3.3): spamprobe: move man-pages to /usr/share/man
![](https://secure.gravatar.com/avatar/df8330968b6df8cd1c1942c5fb4b720c.jpg?s=120&d=mm&r=g)
commit 5e28704b9b3f4116a16968732c39c5c314d704ea Author: Juergen Daubert <jue@jue.li> Date: Thu Jan 5 17:57:11 2017 +0100 spamprobe: move man-pages to /usr/share/man diff --git a/spamprobe/.footprint b/spamprobe/.footprint index 607ab7e..e2d0998 100644 --- a/spamprobe/.footprint +++ b/spamprobe/.footprint @@ -1,6 +1,7 @@ drwxr-xr-x root/root usr/ drwxr-xr-x root/root usr/bin/ -rwxr-xr-x root/root usr/bin/spamprobe -drwxr-xr-x root/root usr/man/ -drwxr-xr-x root/root usr/man/man1/ --rw-r--r-- root/root usr/man/man1/spamprobe.1.gz +drwxr-xr-x root/root usr/share/ +drwxr-xr-x root/root usr/share/man/ +drwxr-xr-x root/root usr/share/man/man1/ +-rw-r--r-- root/root usr/share/man/man1/spamprobe.1.gz diff --git a/spamprobe/.md5sum b/spamprobe/.md5sum index c3d2927..034913a 100644 --- a/spamprobe/.md5sum +++ b/spamprobe/.md5sum @@ -1,3 +1,3 @@ ab90867f2dda67d96f0cd24e75bbbefc spamprobe-1.4d-11.patch -ba5f9756465f53777e743bff5ca25b60 spamprobe-1.4d-giflib5.patch +c696a46122ad899ae1a40955b7f34805 spamprobe-1.4d-giflib5.patch 5554d6d097346632b16123452283c969 spamprobe-1.4d.tar.gz diff --git a/spamprobe/.signature b/spamprobe/.signature index bb62e4f..c47391d 100644 --- a/spamprobe/.signature +++ b/spamprobe/.signature @@ -1,7 +1,7 @@ untrusted comment: verify with /etc/ports/opt.pub -RWSE3ohX2g5d/dL8wLTgbdfZv07a1fHy6UGZ1jeWgTkSb00RQOw1XIMlPK6UPJPbozlbyNchG4+ef6DFtbhAIGY71r3u08mICgg= -SHA256 (Pkgfile) = 3c1a67c9b0a32f664533663b98c24b97c7e5e5a46edc436567ed45672ecddbc7 -SHA256 (.footprint) = 258951ccdcfe20ce1a5329a8a3d81e7c1222cc692dec8a2034b34b826290df2b +RWSE3ohX2g5d/Y669W2NLZrxvkFnag9CmAkZ8GmaXhYpj09XQQpY4tlpP9m5dgFIRXrMMhbdPru/1NlduPSoCaHMDxT9AQ0oowg= +SHA256 (Pkgfile) = eac185c891309b2a8da60cdcef65354459c008235e52fb0da22afeda794c0d9d +SHA256 (.footprint) = 18a8e9a9a4743437d61b5a7cf02bfd38a3337a240229441d169b9d8e4c253add SHA256 (spamprobe-1.4d.tar.gz) = 217ce47dcc6f58d8201fbb0a5e2dc38b5b06349fadb1378fb3647ad8a3f44d68 SHA256 (spamprobe-1.4d-11.patch) = 795e11214af8101f28eb2028d0188a19f858e31070763c95c4cc84e4c442ed41 -SHA256 (spamprobe-1.4d-giflib5.patch) = 964d716edbabd31e9aed9128fbde755286824d67240f75ae49978323b3accedd +SHA256 (spamprobe-1.4d-giflib5.patch) = af1a610bee4f4d4ad68267b88278d837ecde271e371342497f1b048e528d7d36 diff --git a/spamprobe/Pkgfile b/spamprobe/Pkgfile index 64368e1..4dab27b 100644 --- a/spamprobe/Pkgfile +++ b/spamprobe/Pkgfile @@ -5,7 +5,7 @@ name=spamprobe version=1.4d -release=5 +release=6 source=(http://downloads.sourceforge.net/project/$name/$name/$version/$name-$version... $name-$version-11.patch $name-$version-giflib5.patch) @@ -14,9 +14,11 @@ build () { cd $SRC/$name-$version patch -p1 -i $SRC/$name-$version-11.patch - patch -p1 -i $SRC/$name-$version-giflib5.patch + patch -p0 -i $SRC/$name-$version-giflib5.patch - ./configure --prefix=/usr --enable-default-8-bit + ./configure --prefix=/usr \ + --mandir=/usr/share/man \ + --enable-default-8-bit make make DESTDIR=$PKG install diff --git a/spamprobe/spamprobe-1.4d-giflib5.patch b/spamprobe/spamprobe-1.4d-giflib5.patch index 3de9083..234bd59 100644 --- a/spamprobe/spamprobe-1.4d-giflib5.patch +++ b/spamprobe/spamprobe-1.4d-giflib5.patch @@ -1,26 +1,20 @@ -diff -u -r spamprobe-1.4d.orig/src/parser/GifParser.cc spamprobe-1.4d/src/parser/GifParser.cc ---- spamprobe-1.4d.orig/src/parser/GifParser.cc 2013-08-19 09:32:03.637652517 +0900 -+++ spamprobe-1.4d/src/parser/GifParser.cc 2013-08-19 09:33:56.728655212 +0900 -@@ -99,7 +99,11 @@ +--- src/parser/GifParser.cc 2006-11-17 08:24:49.000000000 +0100 ++++ src/parser/GifParser.cc 2014-07-31 09:23:19.372474921 +0200 +@@ -81,7 +81,7 @@ + GifParser::~GifParser() + { + if (m_gif) { +- DGifCloseFile(m_gif); ++ DGifCloseFile(m_gif, NULL); + } + } + +@@ -99,7 +99,7 @@ void GifParser::openImage() { m_nextByteIndex = 0; -+#if GIFLIB_MAJOR >= 5 +- m_gif = DGifOpen(this, readFromBuffer); + m_gif = DGifOpen(this, readFromBuffer, NULL); -+#else - m_gif = DGifOpen(this, readFromBuffer); -+#endif if (!m_gif) { throw runtime_error("open gif failed"); } -diff -u -r spamprobe-1.4d.orig/src/parser/GifParser.h spamprobe-1.4d/src/parser/GifParser.h ---- spamprobe-1.4d.orig/src/parser/GifParser.h 2013-08-19 09:32:03.638652517 +0900 -+++ spamprobe-1.4d/src/parser/GifParser.h 2013-08-19 09:45:07.019487685 +0900 -@@ -33,6 +33,7 @@ - #ifndef _GifParser_h - #define _GifParser_h - -+#include <stddef.h> - extern "C" { - #include <gif_lib.h> - }
participants (1)
-
crux@crux.nu