mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-24 04:33:24 +00:00
Add gringotts, a GTK application for securely storing sensitive data.
This commit is contained in:
parent
7219c6847f
commit
000c89ee2e
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=62522
@ -65,6 +65,7 @@
|
||||
SUBDIR += gpa
|
||||
SUBDIR += gpasman
|
||||
SUBDIR += gpgme
|
||||
SUBDIR += gringotts
|
||||
SUBDIR += gtk-knocker
|
||||
SUBDIR += gtkportscan
|
||||
SUBDIR += hashish
|
||||
|
39
security/gringotts/Makefile
Normal file
39
security/gringotts/Makefile
Normal file
@ -0,0 +1,39 @@
|
||||
# New ports collection makefile for: gringotts
|
||||
# Date created: 02 July 2002
|
||||
# Whom: Anders Nordby <anders@FreeBSD.org>
|
||||
#
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
PORTNAME= gringotts
|
||||
PORTVERSION= 0.5.9
|
||||
CATEGORIES= security
|
||||
MASTER_SITES= http://devel.pluto.linux.it/projects/Gringotts/current/ \
|
||||
ftp://ftp.nuug.no/pub/anders/distfiles/
|
||||
|
||||
MAINTAINER= anders@FreeBSD.org
|
||||
|
||||
LIB_DEPENDS= mcrypt.7:${PORTSDIR}/security/libmcrypt \
|
||||
mhash.2:${PORTSDIR}/security/mhash \
|
||||
gtk-x11-2.0.0:${PORTSDIR}/x11-toolkits/gtk20 \
|
||||
popt.0:${PORTSDIR}/devel/popt
|
||||
|
||||
USE_BZIP2= yes
|
||||
USE_LIBTOOL= yes
|
||||
CONFIGURE_ENV+= LIBS="-L${LOCALBASE}/lib" CPPFLAGS="-I${LOCALBASE}/include"
|
||||
CONFIGURE_ARGS+= --disable-env-check
|
||||
INSTALLS_SHLIB= yes
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
WANT_GNOME= yes
|
||||
.if defined(HAVE_GNOME)
|
||||
USE_GNOME= yes
|
||||
.else
|
||||
|
||||
post-patch:
|
||||
@${PATCH} < ${FILESDIR}/gnomeless-Makefile.in \
|
||||
${WRKSRC}/Makefile.in >/dev/null 2>&1
|
||||
.endif
|
||||
|
||||
.include <bsd.port.post.mk>
|
1
security/gringotts/distinfo
Normal file
1
security/gringotts/distinfo
Normal file
@ -0,0 +1 @@
|
||||
MD5 (gringotts-0.5.9.tar.bz2) = 24ca09631fce1f3e294b15b1bd49239d
|
11
security/gringotts/files/gnomeless-Makefile.in
Normal file
11
security/gringotts/files/gnomeless-Makefile.in
Normal file
@ -0,0 +1,11 @@
|
||||
--- Makefile.in.orig Sat Jul 6 16:04:36 2002
|
||||
+++ Makefile.in Sat Jul 6 16:05:17 2002
|
||||
@@ -366,7 +366,7 @@
|
||||
install-data: install-data-recursive
|
||||
|
||||
install-am: all-am
|
||||
- @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
|
||||
+ @$(MAKE) $(AM_MAKEFLAGS) install-exec-am
|
||||
install: install-recursive
|
||||
uninstall-am: uninstall-DsktpDATA uninstall-local
|
||||
uninstall: uninstall-recursive
|
16
security/gringotts/files/patch-Makefile.in
Normal file
16
security/gringotts/files/patch-Makefile.in
Normal file
@ -0,0 +1,16 @@
|
||||
--- Makefile.in.orig Sun Jun 16 19:04:42 2002
|
||||
+++ Makefile.in Fri Jul 5 18:39:27 2002
|
||||
@@ -440,10 +440,10 @@
|
||||
@echo
|
||||
@echo
|
||||
@echo ----------------------------------------------------------------------
|
||||
- @echo md5sum of relevant files:
|
||||
+ @echo md5 checksum of relevant files:
|
||||
@echo
|
||||
- @md5sum $(DESTDIR)$(bindir)/gringotts-bin|(read A B; echo $$B ": " $$A)
|
||||
- @md5sum $(DESTDIR)$(libdir)/libgringotts.so|(read A B; echo $$B ": " $$A)
|
||||
+ @md5 $(DESTDIR)$(bindir)/gringotts-bin|(read A B; echo $$B ": " $$A)
|
||||
+ @md5 $(DESTDIR)$(libdir)/libgringotts.so|(read A B; echo $$B ": " $$A)
|
||||
@echo
|
||||
@echo use these values to check program integrity at any time
|
||||
@echo ----------------------------------------------------------------------
|
49
security/gringotts/files/patch-grg_safe.c
Normal file
49
security/gringotts/files/patch-grg_safe.c
Normal file
@ -0,0 +1,49 @@
|
||||
--- src/grg_safe.c.orig Sun Jun 16 18:41:21 2002
|
||||
+++ src/grg_safe.c Fri Jul 5 19:12:36 2002
|
||||
@@ -24,13 +24,16 @@
|
||||
#include <stdlib.h>
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
+#include <sys/types.h>
|
||||
#include <regex.h>
|
||||
#include <unistd.h>
|
||||
#include <fcntl.h>
|
||||
#include <unistd.h>
|
||||
#include <sys/mman.h>
|
||||
+#ifdef HAVE_SYS_FSUID_H
|
||||
#include <sys/fsuid.h>
|
||||
-#include <sys/types.h>
|
||||
+#endif
|
||||
+#include <sys/mman.h>
|
||||
|
||||
#include <gtk/gtk.h>
|
||||
#include <gdk-pixbuf/gdk-pixbuf.h>
|
||||
@@ -131,12 +134,12 @@
|
||||
if (!geteuid())
|
||||
//the process is SUID root. I can mlockall() the memory in order to avoid swapping.
|
||||
{
|
||||
- gint res = mlockall (MCL_FUTURE);
|
||||
+// gint res = mlockall (MCL_FUTURE);
|
||||
|
||||
- if (res)
|
||||
- g_critical ("%s", _("The process is setuid root, but I can't lock memory paging"));
|
||||
- else
|
||||
- mem_safe = TRUE;
|
||||
+// if (res)
|
||||
+// g_critical ("%s", _("The process is setuid root, but I can't lock memory paging"));
|
||||
+// else
|
||||
+// mem_safe = TRUE;
|
||||
|
||||
//drop root privileges
|
||||
setuid(getuid());
|
||||
@@ -181,8 +184,8 @@
|
||||
|
||||
if (ulimit != '0')
|
||||
{
|
||||
- g_critical ("%s", _("Your shell is configured to produce core dumps. I cannot go on. Please run gringotts via its shell script."));
|
||||
- return FALSE;
|
||||
+ g_critical ("%s", _("Your shell is configured to produce core dumps."));
|
||||
+// return FALSE;
|
||||
}
|
||||
|
||||
//checks that stderr, stdin & stdout are opened
|
10
security/gringotts/files/patch-gringotts.in
Normal file
10
security/gringotts/files/patch-gringotts.in
Normal file
@ -0,0 +1,10 @@
|
||||
--- src/gringotts.in.orig Sat Apr 20 14:49:15 2002
|
||||
+++ src/gringotts.in Fri Jul 5 19:09:14 2002
|
||||
@@ -1,5 +1,5 @@
|
||||
-#! /bin/bash
|
||||
+#! /bin/sh
|
||||
CORE_LIMIT=`ulimit -Sc`
|
||||
ulimit -Sc 0
|
||||
-@bindir@/gringotts-bin "$@"
|
||||
+gringotts-bin "$@"
|
||||
ulimit -Sc $CORE_LIMIT
|
10
security/gringotts/files/patch-src-Makefile.in
Normal file
10
security/gringotts/files/patch-src-Makefile.in
Normal file
@ -0,0 +1,10 @@
|
||||
--- src/Makefile.in.orig Sun Jun 16 19:04:43 2002
|
||||
+++ src/Makefile.in Sat Jul 6 16:55:20 2002
|
||||
@@ -417,7 +417,6 @@
|
||||
install-exec-local: gringotts
|
||||
strip $(DESTDIR)$(bindir)/gringotts-bin
|
||||
cp gringotts $(DESTDIR)$(bindir)
|
||||
- chmod u+s $(DESTDIR)$(bindir)/gringotts-bin
|
||||
|
||||
uninstall-local:
|
||||
rm -f $(DESTDIR)$(bindir)/gringotts
|
1
security/gringotts/pkg-comment
Normal file
1
security/gringotts/pkg-comment
Normal file
@ -0,0 +1 @@
|
||||
GTK application to securely store sensitive data
|
22
security/gringotts/pkg-descr
Normal file
22
security/gringotts/pkg-descr
Normal file
@ -0,0 +1,22 @@
|
||||
Gringotts is an application to store sensitive data like passwords, pincodes,
|
||||
credit card numbers, etc. Features:
|
||||
|
||||
* Fast, light GTK2 interface.
|
||||
* Good integration with GNOME, as well as all the other window managers.
|
||||
* High stress on safety & security.
|
||||
* Not only "normal" string passwords can be used, but any file can be the
|
||||
password to your data.
|
||||
* 8 encryption algorythms are available through the mcrypt library:
|
||||
RIJNDAEL-128 (AES), RIJNDAEL-256, SERPENT, TWOFISH, CAST 256, SAFER+, LOKI97,
|
||||
3DES.
|
||||
* 2 160-bit hash algorythms, used to generate the key: SHA1, RIPEMD160.
|
||||
* 2 compression types, with 4 compression levels each: ZLib, BZip2.
|
||||
* Complete & easy management of entries' order.
|
||||
* Complete Search function.
|
||||
* Very intuitive usability, you won't need any manual.
|
||||
* It comes with a thread-safe C library, libGringotts, that can be used in any
|
||||
other project to save data in files in a simple and safe way.
|
||||
|
||||
WWW: http://devel.pluto.linux.it/projects/Gringotts/
|
||||
|
||||
- Anders Nordby <anders@fix.no>
|
15
security/gringotts/pkg-plist
Normal file
15
security/gringotts/pkg-plist
Normal file
@ -0,0 +1,15 @@
|
||||
bin/gringotts-bin
|
||||
bin/gringotts
|
||||
include/libgringotts.h
|
||||
lib/libgringotts.so.1
|
||||
lib/libgringotts.so
|
||||
lib/libgringotts.la
|
||||
lib/libgringotts.a
|
||||
lib/pkgconfig/libgringotts.pc
|
||||
share/pixmaps/gringotts.xpm
|
||||
share/locale/de/LC_MESSAGES/gringotts.mo
|
||||
share/locale/fr/LC_MESSAGES/gringotts.mo
|
||||
share/locale/it/LC_MESSAGES/gringotts.mo
|
||||
@unexec rmdir -p %D/share/locale/*/LC_MESSAGES 2>/dev/null || true
|
||||
%%GNOME:%%share/gnome/apps/Utilities/gringotts.desktop
|
||||
%%GNOME:%%@unexec rmdir -p %D/share/gnome/apps 2>/dev/null || true
|
Loading…
Reference in New Issue
Block a user