From 7ab76775597aa403669278b2c69fe44c755fbb25 Mon Sep 17 00:00:00 2001
From: Zero King <l2dy@macports.org>
Date: Tue, 21 Nov 2017 11:11:25 +0000
Subject: [PATCH] aide: update to 0.16
---
security/aide/Portfile | 21 +++++++++++----------
security/aide/files/patch-Makefile.in.diff | 8 ++++----
security/aide/files/patch-src-Makefile.in.diff | 20 --------------------
3 files changed, 15 insertions(+), 34 deletions(-)
delete mode 100644 security/aide/files/patch-src-Makefile.in.diff
diff --git a/security/aide/Portfile b/security/aide/Portfile
index b21ca623..80170d8c 100644
a
|
b
|
|
3 | 3 | PortSystem 1.0 |
4 | 4 | |
5 | 5 | name aide |
6 | | version 0.15.1 |
7 | | revision 1 |
| 6 | version 0.16 |
8 | 7 | categories security |
9 | 8 | license GPL-2 |
10 | 9 | maintainers nomaintainer |
… |
… |
master_sites sourceforge:project/aide/aide/${version} |
26 | 25 | platforms darwin |
27 | 26 | configure.args --mandir=${prefix}/share/man \ |
28 | 27 | --sysconfdir=${prefix}/etc/aide \ |
| 28 | --localedir=${prefix}/share/locale \ |
29 | 29 | --with-mhash --with-zlib \ |
30 | 30 | --with-locale --disable-static |
31 | 31 | |
32 | 32 | depends_build port:bison port:flex |
33 | | depends_lib port:mhash \ |
34 | | port:gettext |
| 33 | depends_lib port:gettext \ |
| 34 | port:mhash \ |
| 35 | port:pcre |
35 | 36 | |
36 | | patchfiles patch-Makefile.in.diff patch-src-Makefile.in.diff |
| 37 | patchfiles patch-Makefile.in.diff |
37 | 38 | |
38 | 39 | variant universal {} |
39 | 40 | configure.cflags-append "${configure.cflags} [get_canonical_archflags cc]" |
40 | 41 | |
41 | 42 | post-patch { |
42 | 43 | reinplace "s|@@LOCALEDIR@@|${prefix}/share/locale|g" \ |
43 | | ${worksrcpath}/Makefile.in ${worksrcpath}/src/Makefile.in |
| 44 | ${worksrcpath}/Makefile.in |
44 | 45 | } |
45 | 46 | |
46 | 47 | post-destroot { |
… |
… |
BUG: cron: only check mode, choice update |
112 | 113 | |
113 | 114 | if {${subport} eq ${name}} { |
114 | 115 | |
115 | | version 0.15.1 |
116 | | master_sites sourceforge:project/aide/aide/${version} |
117 | | checksums rmd160 80ea88b1c1496bcca57d2d1cdeecdcdfca0fa5cf \ |
118 | | sha256 303e5c186257df8c86e418193199f4ea2183fc37d3d4a9098a614f61346059ef |
| 116 | version 0.16 |
| 117 | master_sites sourceforge:project/aide/aide/${version} |
| 118 | checksums rmd160 274de90a0f40a55579f7bca451768f89e26be439 \ |
| 119 | sha256 a81c53a131c4fd130b169b3a26ac35386a2f6e1e014f12807524cc273ed97345 |
119 | 120 | |
120 | 121 | livecheck.type regex |
121 | 122 | livecheck.url ${homepage} |
diff --git a/security/aide/files/patch-Makefile.in.diff b/security/aide/files/patch-Makefile.in.diff
index 85fa58f3..de024fab 100644
a
|
b
|
|
1 | | --- Makefile.in.orig 2008-02-27 14:51:54.000000000 +0100 |
2 | | +++ Makefile.in 2008-02-27 14:52:12.000000000 +0100 |
3 | | @@ -73,7 +73,7 @@ |
| 1 | --- Makefile.in.orig 2016-07-25 21:09:48.000000000 +0000 |
| 2 | +++ Makefile.in 2017-11-21 10:56:20.000000000 +0000 |
| 3 | @@ -300,7 +300,7 @@ |
4 | 4 | CPPFLAGS = @CPPFLAGS@ |
5 | 5 | CRYPTLIB = @CRYPTLIB@ |
6 | 6 | CYGPATH_W = @CYGPATH_W@ |
7 | | -DEFS = -DLOCALEDIR=\"$(localedir)\" @DEFS@ |
| 7 | -DEFS = @DEFS@ |
8 | 8 | +DEFS = -DLOCALEDIR=\"@@LOCALEDIR@@\" @DEFS@ |
9 | 9 | DEPDIR = @DEPDIR@ |
10 | 10 | E2FSATTRSLIB = @E2FSATTRSLIB@ |
diff --git a/security/aide/files/patch-src-Makefile.in.diff b/security/aide/files/patch-src-Makefile.in.diff
deleted file mode 100644
index 5388b74f..00000000
+
|
-
|
|
1 | | --- src/Makefile.in.orig 2008-02-27 15:15:01.000000000 +0100 |
2 | | +++ src/Makefile.in 2008-02-27 15:15:26.000000000 +0100 |
3 | | @@ -76,7 +76,7 @@ |
4 | | CPPFLAGS = @CPPFLAGS@ |
5 | | CRYPTLIB = @CRYPTLIB@ |
6 | | CYGPATH_W = @CYGPATH_W@ |
7 | | -DEFS = @DEFS@ |
8 | | +DEFS = -DLOCALEDIR=\"@@LOCALEDIR@@\" @DEFS@ |
9 | | DEPDIR = @DEPDIR@ |
10 | | E2FSATTRSLIB = @E2FSATTRSLIB@ |
11 | | ECHO_C = @ECHO_C@ |
12 | | @@ -94,7 +94,7 @@ |
13 | | #AM_LFLAGS= -d |
14 | | LEX_OUTPUT_ROOT = lex.yy |
15 | | LIBOBJS = @LIBOBJS@ |
16 | | -LIBS = @LIBS@ |
17 | | +LIBS = @LIBS@ -lintl |
18 | | LTLIBOBJS = @LTLIBOBJS@ |
19 | | MAKEINFO = @MAKEINFO@ |
20 | | MKDIR_P = @MKDIR_P@ |