[124479] trunk/dports/devel/gnutls/Portfile
cal at macports.org
cal at macports.org
Sun Aug 24 14:01:55 PDT 2014
Revision: 124479
https://trac.macports.org/changeset/124479
Author: cal at macports.org
Date: 2014-08-24 14:01:55 -0700 (Sun, 24 Aug 2014)
Log Message:
-----------
gnutls: update to 3.3.7, fix livecheck, maintainer, closes #44753
Modified Paths:
--------------
trunk/dports/devel/gnutls/Portfile
Modified: trunk/dports/devel/gnutls/Portfile
===================================================================
--- trunk/dports/devel/gnutls/Portfile 2014-08-24 20:53:28 UTC (rev 124478)
+++ trunk/dports/devel/gnutls/Portfile 2014-08-24 21:01:55 UTC (rev 124479)
@@ -5,7 +5,7 @@
PortGroup muniversal 1.0
name gnutls
-version 3.3.6
+version 3.3.7
set branch [join [lrange [split ${version} .] 0 1] .]
categories devel security
# yes, some of the libs are GPL only
@@ -24,8 +24,8 @@
master_sites ftp://ftp.gnutls.org/gcrypt/gnutls/v${branch}/ \
http://archive.hmug.org/src/gnutls/
-checksums rmd160 80a8d77e265fdca3bf4adee174ff8a8d7376ecc2 \
- sha256 edc9df4c1faab96002ddcab041322bee386c2cdd22c958f7d1f3bad914af5a9e
+checksums rmd160 7207cc3c4442a4116bcc499eb13cbf8b4d6235f1 \
+ sha256 52d86c1bf2ff142c5499037db812d06d42e29bcfefe1fdd2035aaab38677c79f
use_xz yes
@@ -39,27 +39,7 @@
port:nettle \
path:share/curl/curl-ca-bundle.crt:curl-ca-bundle
-pre-patch {
- # Save old mtimes.
- global mtime_abstract mtime_gnutls mtime_ocsp mtime_pkcs11 mtime_x509
- set mtime_abstract [file mtime ${worksrcpath}/lib/includes/gnutls/abstract.h]
- set mtime_gnutls [file mtime ${worksrcpath}/lib/includes/gnutls/gnutls.h.in]
- set mtime_ocsp [file mtime ${worksrcpath}/lib/includes/gnutls/ocsp.h]
- set mtime_pkcs11 [file mtime ${worksrcpath}/lib/includes/gnutls/pkcs11.h]
- set mtime_x509 [file mtime ${worksrcpath}/lib/includes/gnutls/x509.h]
-}
-
-patchfiles patch-c89.diff
-
post-patch {
- # Restore old mtimes so that it doesn't try to regenerate documentation, which fails on OS X.
- global mtime_abstract mtime_gnutls mtime_ocsp mtime_pkcs11 mtime_x509
- file mtime ${worksrcpath}/lib/includes/gnutls/abstract.h ${mtime_abstract}
- file mtime ${worksrcpath}/lib/includes/gnutls/gnutls.h.in ${mtime_gnutls}
- file mtime ${worksrcpath}/lib/includes/gnutls/ocsp.h ${mtime_ocsp}
- file mtime ${worksrcpath}/lib/includes/gnutls/pkcs11.h ${mtime_pkcs11}
- file mtime ${worksrcpath}/lib/includes/gnutls/x509.h ${mtime_x509}
-
# Remove comments which confuse at least Leopard's assembler.
eval reinplace {/^#/d} [glob ${worksrcpath}/lib/accelerated/x86/macosx/*.s]
}
@@ -125,5 +105,5 @@
}
livecheck.type regex
-livecheck.url ${master_sites}
+livecheck.url [lindex ${master_sites} 0]
livecheck.regex "${name}-(\\d+(?:\\.\\d+)*)${extract.suffix}"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20140824/5e0ef9b4/attachment.html>
More information about the macports-changes
mailing list