1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-02-02 11:09:29 +00:00

Update to 1.2.3.

This commit is contained in:
Anders Nordby 2003-02-18 23:14:16 +00:00
parent 0d447d676d
commit ff9bc27d71
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=75824
4 changed files with 9 additions and 38 deletions

View File

@ -6,8 +6,7 @@
#
PORTNAME= gringotts
PORTVERSION= 1.2.2
PORTREVISION= 1
PORTVERSION= 1.2.3
CATEGORIES= security
MASTER_SITES= http://devel.pluto.linux.it/projects/Gringotts/current/ \
ftp://ftp.nuug.no/pub/anders/distfiles/
@ -37,8 +36,7 @@ PLIST_SUB+= GNOMEHIER='@comment '
.endif
post-patch:
${REINPLACE_CMD} -e "s|mlock|mlockall|g" ${WRKSRC}/configure
${REINPLACE_CMD} -E -e "s|^(gringottsdocdir =).*|gringottsdocdir = $$\(datadir\)/doc/gringotts|;s|md5sum|md5|g" ${WRKSRC}/Makefile.in
${REINPLACE_CMD} -E -e "s|^(gringottsdocdir =).*|\1 $$\(datadir\)/doc/gringotts|;s|md5sum|md5|g" ${WRKSRC}/Makefile.in
.if defined(NOPORTDOCS)
${REINPLACE_CMD} -E -e "s|^(install-data-am:.*)install-gringottsdocDATA|\1|" ${WRKSRC}/Makefile.in
.endif

View File

@ -1 +1 @@
MD5 (gringotts-1.2.2.tar.bz2) = 2f4f77392384336d5930825b5ea3ebf1
MD5 (gringotts-1.2.3.tar.bz2) = 272977f4ab002c19ab3700aa219c4cf9

View File

@ -1,5 +1,5 @@
--- src/grg_safe.c.orig Thu Dec 5 15:10:07 2002
+++ src/grg_safe.c Sat Jan 4 19:53:18 2003
--- src/grg_safe.c.orig Tue Feb 18 22:04:29 2003
+++ src/grg_safe.c Tue Feb 18 22:05:27 2003
@@ -33,6 +33,7 @@
#include <stdlib.h>
@ -25,15 +25,6 @@
#ifdef HAVE_SYS_FSUID_H
setfsgid (getgid ());
setfsgid (getgid ());
@@ -67,7 +65,7 @@
if (!geteuid ())
//the process is (ev. SUID) root. I can mlockall() the memory in order to avoid swapping.
{
-#ifdef HAVE_MLOCK
+#ifdef HAVE_MLOCKALL
gint res = mlockall (MCL_CURRENT | MCL_FUTURE);
if (res)
@@ -82,8 +80,6 @@
#endif
@ -43,21 +34,3 @@
#ifdef HAVE_SYS_FSUID_H
setfsuid (getuid ());
setfsuid (getuid ());
@@ -243,7 +239,7 @@
if (!(geteuid () && getegid () && getuid () && getgid ()))
change_sec_level (GRG_UNSAFE);
-#ifdef HAVE_MLOCK
+#ifdef HAVE_MLOCKALL
if (!mem_safe)
change_sec_level (GRG_UNSAFE);
#endif
@@ -347,7 +343,7 @@
ADD_INDICATOR (GTK_DIALOG (dialog)->vbox,
_("Memory protection from core dumps"), green) g_free (rl);
-#ifdef HAVE_MLOCK
+#ifdef HAVE_MLOCKALL
if (mem_safe)
ADD_INDICATOR (GTK_DIALOG (dialog)->vbox,
_("Memory protection from swap writings"), green)

View File

@ -1,10 +1,10 @@
--- src/Makefile.in.orig Sat Oct 26 14:16:10 2002
+++ src/Makefile.in Sat Oct 26 14:16:17 2002
@@ -404,7 +404,6 @@
--- src/Makefile.in.orig Tue Feb 18 22:06:05 2003
+++ src/Makefile.in Tue Feb 18 22:06:33 2003
@@ -399,7 +399,6 @@
install-exec-local:
strip $(DESTDIR)$(bindir)/gringotts
- chmod u+s $(DESTDIR)$(bindir)/gringotts
# Tell versions [3.59,3.63) of GNU make to not export all variables.
# Otherwise a system limit (for SysV at least) may be exceeded.
.NOEXPORT: