pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/security/aide



Module Name:    pkgsrc
Committed By:   nia
Date:           Mon Nov  4 16:06:12 UTC 2024

Modified Files:
        pkgsrc/security/aide: Makefile distinfo
        pkgsrc/security/aide/patches: patch-ab

Log Message:
aide: let pkgsrc take care of hardening flags


To generate a diff of this commit:
cvs rdiff -u -r1.39 -r1.40 pkgsrc/security/aide/Makefile
cvs rdiff -u -r1.16 -r1.17 pkgsrc/security/aide/distinfo
cvs rdiff -u -r1.5 -r1.6 pkgsrc/security/aide/patches/patch-ab

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/security/aide/Makefile
diff -u pkgsrc/security/aide/Makefile:1.39 pkgsrc/security/aide/Makefile:1.40
--- pkgsrc/security/aide/Makefile:1.39  Sat May  9 18:29:24 2020
+++ pkgsrc/security/aide/Makefile       Mon Nov  4 16:06:12 2024
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.39 2020/05/09 18:29:24 rillig Exp $
+# $NetBSD: Makefile,v 1.40 2024/11/04 16:06:12 nia Exp $
 #
 
 DISTNAME=      aide-0.15.1
-PKGREVISION=   1
+PKGREVISION=   2
 CATEGORIES=    security
 MASTER_SITES=  ${MASTER_SITE_SOURCEFORGE:=aide/}
 

Index: pkgsrc/security/aide/distinfo
diff -u pkgsrc/security/aide/distinfo:1.16 pkgsrc/security/aide/distinfo:1.17
--- pkgsrc/security/aide/distinfo:1.16  Tue Oct 26 11:16:59 2021
+++ pkgsrc/security/aide/distinfo       Mon Nov  4 16:06:12 2024
@@ -1,8 +1,8 @@
-$NetBSD: distinfo,v 1.16 2021/10/26 11:16:59 nia Exp $
+$NetBSD: distinfo,v 1.17 2024/11/04 16:06:12 nia Exp $
 
 BLAKE2s (aide-0.15.1.tar.gz) = 3b96b8d4763fb628ade5df5e1fa80e170470d7a9dc2a1a95c74da46cc41d5e36
 SHA512 (aide-0.15.1.tar.gz) = 6afe327474858c697ba017b02bd40717c33874e69b801c171c2496ff9042b557e840bef4a151bda0e4d835ddb0d972b88790237a72f250525dc1fc6b8fa673e7
 Size (aide-0.15.1.tar.gz) = 424970 bytes
-SHA1 (patch-ab) = ddfaaf42767ebb6eaab73c33489b7aef19e5b003
+SHA1 (patch-ab) = ce29c41b256ea59c2495972b3281b890525263a9
 SHA1 (patch-ae) = 87c234f8d316117cf766134ca69d6f753c59dd91
 SHA1 (patch-af) = 70ac8a100e9d601b7ffcaa9d716742d1d947aca7

Index: pkgsrc/security/aide/patches/patch-ab
diff -u pkgsrc/security/aide/patches/patch-ab:1.5 pkgsrc/security/aide/patches/patch-ab:1.6
--- pkgsrc/security/aide/patches/patch-ab:1.5   Mon Mar 12 14:18:44 2012
+++ pkgsrc/security/aide/patches/patch-ab       Mon Nov  4 16:06:12 2024
@@ -1,7 +1,8 @@
-$NetBSD: patch-ab,v 1.5 2012/03/12 14:18:44 fhajny Exp $
+$NetBSD: patch-ab,v 1.6 2024/11/04 16:06:12 nia Exp $
 
 * YACC and LEX are passwd as full path.
 * static linking is not supported on MacOS X.  PR#39058.
+* let pkgsrc take care of hardening flags
 * FILE_OFFSET_BITS corrected
 
 --- configure.orig     2010-09-10 17:48:04.000000000 +0000
@@ -38,7 +39,24 @@ $NetBSD: patch-ab,v 1.5 2012/03/12 14:18
      *)
        ## pic_flag='-fPIC'
        ;;
-@@ -6435,7 +6430,7 @@ ac_fn_c_check_func "$LINENO" "lstat64" "
+@@ -4694,16 +4689,6 @@ if test "$aide_static_choice" != "yes"; 
+   EXTRA_LDFLAGS=""
+   EXTRA_CFLAGS=""
+   if test x$CC = "xgcc"; then
+-    if ld_supports_flag -z,relro; then
+-      EXTRA_LDFLAGS="$EXTRA_LDFLAGS -Wl,-z,relro"
+-    fi
+-    if ld_supports_flag -z,now; then
+-      EXTRA_LDFLAGS="$EXTRA_LDFLAGS -Wl,-z,now"
+-    fi
+-    if cc_supports_flag -fPIE -DPIE; then
+-      EXTRA_CFLAGS="$EXTRA_CFLAGS -fPIE -DPIE"
+-      EXTRA_LDFLAGS="$EXTRA_LDFLAGS -pie"
+-    fi
+         if cc_supports_flag -Wundef; then
+       EXTRA_CFLAGS="$EXTRA_CFLAGS -Wundef"
+     fi
+@@ -6435,7 +6420,7 @@ ac_fn_c_check_func "$LINENO" "lstat64" "
  if test "x$ac_cv_func_lstat64" = x""yes; then :
    ac_fn_c_check_func "$LINENO" "stat64" "ac_cv_func_stat64"
  if test "x$ac_cv_func_stat64" = x""yes; then :



Home | Main Index | Thread Index | Old Index