[122081] trunk/dports/security/libprelude
ryandesign at macports.org
ryandesign at macports.org
Mon Jul 14 03:27:14 PDT 2014
Revision: 122081
https://trac.macports.org/changeset/122081
Author: ryandesign at macports.org
Date: 2014-07-14 03:27:14 -0700 (Mon, 14 Jul 2014)
Log Message:
-----------
libprelude: fix homepage, master_sites and livecheck (#44328); update to 1.0.1; fix license; add patch to fix build with current gnutls
Modified Paths:
--------------
trunk/dports/security/libprelude/Portfile
Added Paths:
-----------
trunk/dports/security/libprelude/files/patch-gnutls-extra.diff
Modified: trunk/dports/security/libprelude/Portfile
===================================================================
--- trunk/dports/security/libprelude/Portfile 2014-07-14 08:48:41 UTC (rev 122080)
+++ trunk/dports/security/libprelude/Portfile 2014-07-14 10:27:14 UTC (rev 122081)
@@ -4,10 +4,10 @@
PortSystem 1.0
name libprelude
-version 1.0.0
-revision 4
+version 1.0.1
+set download_id 241
categories security
-license GPL-3+
+license GPL-2+
maintainers googlemail.com:usx303 \
openmaintainer
@@ -21,13 +21,13 @@
Libprelude is a library that guarantees secure connections between \
all sensors and the Prelude Manager.
-homepage http://www.prelude-technologies.com/
-master_sites ${homepage}download/releases/libprelude/
+homepage https://www.prelude-ids.org/
+master_sites ${homepage}attachments/download/${download_id}/
platforms darwin
build.type gnu
-checksums rmd160 fcdb88ee27944d7b5abeec90524f995304f30c0e \
- sha256 e16d83a6a7bcc43a02d6f2bd40c91a03a258a9a86bab42262cbb5adaba8c4640
+checksums rmd160 13f8be3e22f3495847d7f9a125d0b2e07b93df4c \
+ sha256 852d981e7d23e49ec25a96a7f54c19a7ee72cd786a0d02c43a27e3e770d5cb6b
depends_build port:pkgconfig
depends_lib port:gettext port:gnutls port:libgcrypt port:libgpg-error \
@@ -36,6 +36,8 @@
# error: conflicting types for ‘lt__PROGRAM__LTX_preloaded_symbols’
patchfiles patch-src-include-prelude-plugin.h.diff
+patchfiles-append patch-gnutls-extra.diff
+
configure.args --mandir=${prefix}/share/man \
--with-html-dir=${prefix}/share/doc \
--localstatedir=${prefix}/var \
@@ -53,7 +55,9 @@
${destroot}${prefix}/var/spool/prelude \
${destroot}${prefix}/etc/prelude/profile
-post-destroot { file delete -force "${destroot}${prefix}/lib/charset.alias" }
+post-destroot {
+ delete ${destroot}${prefix}/lib/charset.alias
+}
variant python24 conflicts python25 description {python2.4 bindings} {
configure.args-delete --without-python
@@ -72,3 +76,7 @@
configure.args-append --with-perl=${prefix}/bin/perl
depends_lib-append path:bin/perl:perl5
}
+
+livecheck.type regex
+livecheck.url ${homepage}projects/prelude/files
+livecheck.regex ${name}-(\[0-9.\]+)${extract.suffix}
Added: trunk/dports/security/libprelude/files/patch-gnutls-extra.diff
===================================================================
--- trunk/dports/security/libprelude/files/patch-gnutls-extra.diff (rev 0)
+++ trunk/dports/security/libprelude/files/patch-gnutls-extra.diff 2014-07-14 10:27:14 UTC (rev 122081)
@@ -0,0 +1,26 @@
+Fix build with gnutls > 3.0.5 in which the gnutls/extra.h header was merged into the main header
+https://www.prelude-ids.org/issues/514
+--- prelude-admin/prelude-admin.c.orig 2012-06-01 12:12:22.000000000 -0300
++++ prelude-admin/prelude-admin.c 2012-08-03 19:23:29.998711311 -0300
+@@ -57,7 +57,9 @@
+ #include <errno.h>
+ #include <gnutls/gnutls.h>
+ #include <gnutls/x509.h>
++#if GNUTLS_VERSION_NUMBER < 0x030005
+ #include <gnutls/extra.h>
++#endif
+
+ #include "common.h"
+ #include "config-engine.h"
+--- prelude-admin/server.c.orig 2012-06-01 12:12:22.000000000 -0300
++++ prelude-admin/server.c 2012-08-03 19:23:02.195712002 -0300
+@@ -39,7 +39,9 @@
+
+ #include <gcrypt.h>
+ #include <gnutls/gnutls.h>
++#if GNUTLS_VERSION_NUMBER < 0x030005
+ #include <gnutls/extra.h>
++#endif
+
+ #include "prelude-client.h"
+ #include "prelude-error.h"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20140714/70480da3/attachment.html>
More information about the macports-changes
mailing list