CVS commit: pkgsrc/comms/gkermit
"Makoto Fujiwara" <[email protected]>
| Newsgroups | gmane.os.netbsd.devel.pkgsrc.cvs |
|---|---|
| Message-ID | <[email protected]> |
Module Name: pkgsrc Committed By: mef Date: Mon Jul 27 12:15:59 UTC 2026 Modified Files: pkgsrc/comms/gkermit: distinfo Added Files: pkgsrc/comms/gkermit/patches: patch-makefile Log Message: (comms/gkermit) Fix ERROR: bin/gkermit: missing RELRO To generate a diff of this commit: cvs rdiff -u -r1.10 -r1.11 pkgsrc/comms/gkermit/distinfo cvs rdiff -u -r0 -r1.1 pkgsrc/comms/gkermit/patches/patch-makefile Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
(unnamed)
(text/x-diff, 1.9 KB)
Modified files: Index: pkgsrc/comms/gkermit/distinfo diff -u pkgsrc/comms/gkermit/distinfo:1.10 pkgsrc/comms/gkermit/distinfo:1.11 --- pkgsrc/comms/gkermit/distinfo:1.10 Sat Jan 1 18:53:02 2022 +++ pkgsrc/comms/gkermit/distinfo Mon Jul 27 12:15:58 2026 @@ -1,5 +1,6 @@ -$NetBSD: distinfo,v 1.10 2022/01/01 18:53:02 rhialto Exp $ +$NetBSD: distinfo,v 1.11 2026/07/27 12:15:58 mef Exp $ BLAKE2s (gku201.tar.gz) = 9013ac67c575d3d3cdc16051f9db95a2b89bf1fd4ab07ee065430b0ec6831f62 SHA512 (gku201.tar.gz) = df44f55fc1444518599f0d06b1473c35d80bbc8e26c8f1d9bf57fc958b9601b270a29ebcc33b0c5e080e23461afcc6689b94694254cd8c460d1fb2c8a37711cf Size (gku201.tar.gz) = 62877 bytes +SHA1 (patch-makefile) = 53f9d66be251124954f2d1324d21d14c1571f5e2 Added files: Index: pkgsrc/comms/gkermit/patches/patch-makefile diff -u /dev/null pkgsrc/comms/gkermit/patches/patch-makefile:1.1 --- /dev/null Mon Jul 27 12:15:59 2026 +++ pkgsrc/comms/gkermit/patches/patch-makefile Mon Jul 27 12:15:59 2026 @@ -0,0 +1,28 @@ +$NetBSD: patch-makefile,v 1.1 2026/07/27 12:15:59 mef Exp $ + +Fix following issue + => Checking for PIE in gkermit-2.01 + => Checking for RELRO in gkermit-2.01 + ERROR: bin/gkermit: missing RELRO + *** Error code 1 + +--- makefile.orig 1999-12-27 05:28:38.000000000 +0900 ++++ makefile 2026-07-27 21:08:08.898454013 +0900 +@@ -67,7 +67,7 @@ gkermit: gproto.o gkermit.o gunixio.o gcmdline.o + gcmdline.o: gcmdline.c gkermit.h + + gkermit: gproto.o gkermit.o gunixio.o gcmdline.o +- $(CC) -o gkermit $(OBJECTS) ++ $(CC) $(LDFLAGS) -o gkermit $(OBJECTS) + + bsd: gwart + $(MAKE) "CC=$(CC)" "CFLAGS=-DBSD -O $(KFLAGS)" gkermit +@@ -91,7 +91,7 @@ bsd211: gwart + cc -DBSD $(KFLAGS) -c gproto.c + cc -DBSD $(KFLAGS) -c gcmdline.c + cc -DBSD $(KFLAGS) -c gunixio.c +- cc -o gkermit $(OBJECTS) ++ cc $(LDFLAGS) -o gkermit $(OBJECTS) + + clean: + rm -f $(OBJECTS) gproto.o gproto.c gwart.o gwart