Ticket #55369: 0001-aide-update-to-0.16.patch

File 0001-aide-update-to-0.16.patch, 3.9 KB (added by l2dy (Zero King), 7 years ago)
  • security/aide/Portfile

    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  
    33PortSystem        1.0
    44
    55name            aide
    6 version         0.15.1
    7 revision     1
     6version         0.16
    87categories      security
    98license         GPL-2
    109maintainers     nomaintainer
    master_sites sourceforge:project/aide/aide/${version} 
    2625platforms         darwin
    2726configure.args  --mandir=${prefix}/share/man \
    2827        --sysconfdir=${prefix}/etc/aide \
     28        --localedir=${prefix}/share/locale \
    2929                --with-mhash --with-zlib \
    3030                --with-locale --disable-static
    3131
    3232depends_build     port:bison port:flex
    33 depends_lib       port:mhash \
    34                   port:gettext
     33depends_lib       port:gettext \
     34                  port:mhash \
     35                  port:pcre
    3536
    36 patchfiles        patch-Makefile.in.diff patch-src-Makefile.in.diff
     37patchfiles        patch-Makefile.in.diff
    3738
    3839variant universal {}
    3940configure.cflags-append "${configure.cflags} [get_canonical_archflags cc]"
    4041
    4142post-patch {
    4243        reinplace "s|@@LOCALEDIR@@|${prefix}/share/locale|g" \
    43                 ${worksrcpath}/Makefile.in ${worksrcpath}/src/Makefile.in
     44                ${worksrcpath}/Makefile.in
    4445}
    4546
    4647post-destroot {
    BUG: cron: only check mode, choice update 
    112113
    113114if {${subport} eq ${name}} {
    114115
    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
    119120
    120121    livecheck.type      regex
    121122    livecheck.url       ${homepage}
  • security/aide/files/patch-Makefile.in.diff

    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 @@
    44 CPPFLAGS = @CPPFLAGS@
    55 CRYPTLIB = @CRYPTLIB@
    66 CYGPATH_W = @CYGPATH_W@
    7 -DEFS = -DLOCALEDIR=\"$(localedir)\" @DEFS@
     7-DEFS = @DEFS@
    88+DEFS = -DLOCALEDIR=\"@@LOCALEDIR@@\" @DEFS@
    99 DEPDIR = @DEPDIR@
    1010 E2FSATTRSLIB = @E2FSATTRSLIB@
  • deleted file security/aide/files/patch-src-Makefile.in.diff

    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@