pkgsrc-Changes archive

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

CVS commit: pkgsrc/databases/slony1



Module Name:    pkgsrc
Committed By:   nia
Date:           Tue May  3 18:44:13 UTC 2022

Modified Files:
        pkgsrc/databases/slony1: distinfo
Added Files:
        pkgsrc/databases/slony1/patches: patch-makefiles_Makefile.netbsd

Log Message:
slony1: honor LDFLAGS when linking on NetBSD, as on Linux. Fixes RELRO
build


To generate a diff of this commit:
cvs rdiff -u -r1.26 -r1.27 pkgsrc/databases/slony1/distinfo
cvs rdiff -u -r0 -r1.1 \
    pkgsrc/databases/slony1/patches/patch-makefiles_Makefile.netbsd

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

Modified files:

Index: pkgsrc/databases/slony1/distinfo
diff -u pkgsrc/databases/slony1/distinfo:1.26 pkgsrc/databases/slony1/distinfo:1.27
--- pkgsrc/databases/slony1/distinfo:1.26       Tue Oct 26 10:10:05 2021
+++ pkgsrc/databases/slony1/distinfo    Tue May  3 18:44:13 2022
@@ -1,9 +1,10 @@
-$NetBSD: distinfo,v 1.26 2021/10/26 10:10:05 nia Exp $
+$NetBSD: distinfo,v 1.27 2022/05/03 18:44:13 nia Exp $
 
 BLAKE2s (slony1-2.2.10.tar.bz2) = 04f8302ff05bb68947e35d806fa6bfeb2596e79b08ad1051af7ecb71474a9cc7
 SHA512 (slony1-2.2.10.tar.bz2) = 1b41addb7a0be0a130c2efcab1b241e3158d10a5a6e203d83f28353e303dd524e224ab9c04a7e37a0f89cd944237b90feeb8910eb35f717926aa3ad28dbe2d0f
 Size (slony1-2.2.10.tar.bz2) = 1464652 bytes
 SHA1 (patch-config.h.in) = 7348475c942c06d8d668f8b1a5d4fc4a03189017
 SHA1 (patch-configure) = 67eba0a1a45ef1f68a5a62627deb9e68f967b012
+SHA1 (patch-makefiles_Makefile.netbsd) = 29f668c0a8c58d02c9c832e5d30c3ef08a1b354c
 SHA1 (patch-src_slonik_slonik.c) = 301e6a401b9f0158e3c6f471d294dbd910f8897b
 SHA1 (patch-tools_start__slon.sh) = 449e381de530cd9485e48e780cab0990d9fef6f4

Added files:

Index: pkgsrc/databases/slony1/patches/patch-makefiles_Makefile.netbsd
diff -u /dev/null pkgsrc/databases/slony1/patches/patch-makefiles_Makefile.netbsd:1.1
--- /dev/null   Tue May  3 18:44:13 2022
+++ pkgsrc/databases/slony1/patches/patch-makefiles_Makefile.netbsd     Tue May  3 18:44:13 2022
@@ -0,0 +1,16 @@
+$NetBSD: patch-makefiles_Makefile.netbsd,v 1.1 2022/05/03 18:44:13 nia Exp $
+
+Link with CC and honor LDFLAGS like Linux.
+This allows pkgsrc to apply any hardening features.
+
+--- makefiles/Makefile.netbsd.orig     2020-12-05 02:07:59.000000000 +0000
++++ makefiles/Makefile.netbsd
+@@ -13,7 +13,7 @@ CFLAGS_SL = -fpic -DPIC
+ 
+ %.so: $(SO_OBJS)
+ ifdef ELF_SYSTEM
+-      $(LD) -x -Bshareable -o $@ $<
++      $(CC) $(LDFLAGS) -shared -o $@ $<
+ else
+       $(LD) $(LDREL) $(LDOUT) $<.obj -x $<
+       @echo building shared object $@



Home | Main Index | Thread Index | Old Index