summaryrefslogtreecommitdiffstats
path: root/security/fpm
diff options
context:
space:
mode:
authormezz <mezz@df743ca5-7f9a-e211-a948-0013205c9059>2007-05-04 11:22:27 +0800
committermezz <mezz@df743ca5-7f9a-e211-a948-0013205c9059>2007-05-04 11:22:27 +0800
commitf43e02ef9d5ec06c7749e789f938b5b8a95d149e (patch)
treecf56565ef6cbf1c1a77690cd1ae9e83399b9a615 /security/fpm
parent09c97babd10dc22afe3b9dc54f0350d6c4356a83 (diff)
downloadmarcuscom-ports-f43e02ef9d5ec06c7749e789f938b5b8a95d149e.tar
marcuscom-ports-f43e02ef9d5ec06c7749e789f938b5b8a95d149e.tar.gz
marcuscom-ports-f43e02ef9d5ec06c7749e789f938b5b8a95d149e.tar.bz2
marcuscom-ports-f43e02ef9d5ec06c7749e789f938b5b8a95d149e.tar.lz
marcuscom-ports-f43e02ef9d5ec06c7749e789f938b5b8a95d149e.tar.xz
marcuscom-ports-f43e02ef9d5ec06c7749e789f938b5b8a95d149e.tar.zst
marcuscom-ports-f43e02ef9d5ec06c7749e789f938b5b8a95d149e.zip
share/gnome/ -> share/
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@8810 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'security/fpm')
-rw-r--r--security/fpm/Makefile45
-rw-r--r--security/fpm/distinfo3
-rw-r--r--security/fpm/files/patch-src-main.c23
-rw-r--r--security/fpm/pkg-descr21
4 files changed, 92 insertions, 0 deletions
diff --git a/security/fpm/Makefile b/security/fpm/Makefile
new file mode 100644
index 000000000..68b86fbd6
--- /dev/null
+++ b/security/fpm/Makefile
@@ -0,0 +1,45 @@
+# New ports collection makefile for: fpm
+# Date created: 10 June 2001
+# Whom: Anders Nordby <anders@fix.no>
+#
+# $FreeBSD$
+#
+
+PORTNAME= fpm
+PORTVERSION= 0.60
+PORTREVISION= 2
+CATEGORIES= security
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
+MASTER_SITE_SUBDIR= ${PORTNAME}
+
+MAINTAINER= anders@FreeBSD.org
+COMMENT= Figaro's Password Manager, an app to securely store your passwords
+
+USE_GNOME= gnomeprefix gnomehack gnomelibs
+USE_X_PREFIX= yes
+GNU_CONFIGURE= yes
+#CONFIGURE_ARGS+= --without-included-gettext
+CONFIGURE_ENV+= CFLAGS="${CFLAGS} -I${LOCALBASE}/include" \
+ LDFLAGS="-L${LOCALBASE}/lib"
+
+MAN1= fpm.1
+PORTDOCS= AUTHORS ChangeLog README TODO
+PLIST_FILES= bin/fpm share/pixmaps/fpm/logo.xpm
+PLIST_DIRS= share/pixmaps/fpm
+
+pre-build:
+ ${REINPLACE_CMD} -E -e "s@encrypt\(@bfishencrypt\(@g" ${WRKSRC}/src/blowfish.c
+
+post-install:
+.if !defined(NOPORTDOCS)
+ ${INSTALL} -d -o root -g wheel -m 0755 ${PREFIX}/share/doc/fpm
+.for f in ${PORTDOCS}
+ ${INSTALL_DATA} ${WRKSRC}/${f} ${PREFIX}/share/doc/fpm
+.endfor
+.endif
+ @${ECHO} "========================================================================="
+ @${ECHO} "Make sure you set up a few IRQ's for random generation with rndcontrol before"
+ @${ECHO} "expecting password generation to work well."
+ @${ECHO} "========================================================================="
+
+.include <bsd.port.mk>
diff --git a/security/fpm/distinfo b/security/fpm/distinfo
new file mode 100644
index 000000000..2f07c6b34
--- /dev/null
+++ b/security/fpm/distinfo
@@ -0,0 +1,3 @@
+MD5 (fpm-0.60.tar.gz) = be7655d300c306c8f962f6aad0a60cc5
+SHA256 (fpm-0.60.tar.gz) = bb2c8c44f55edc442c40eac0100aa4b26f8be5fbb6372dc6865933b5435a95f3
+SIZE (fpm-0.60.tar.gz) = 294695
diff --git a/security/fpm/files/patch-src-main.c b/security/fpm/files/patch-src-main.c
new file mode 100644
index 000000000..29322d2a4
--- /dev/null
+++ b/security/fpm/files/patch-src-main.c
@@ -0,0 +1,23 @@
+--- src/main.c.orig Sat Jun 4 07:32:53 2005
++++ src/main.c Sat Jun 4 07:33:15 2005
+@@ -32,15 +32,16 @@
+ int
+ main (int argc, char *argv[])
+ {
+-#ifdef ENABLE_NLS
+- bindtextdomain (PACKAGE, PACKAGE_LOCALE_DIR);
+- textdomain (PACKAGE);
+-#endif
+ char *opt_file_name = NULL;
+ const struct poptOption options[] = {
+ {"file", 'f', POPT_ARG_STRING, &opt_file_name, 0,
+ N_("Name of the password file to open"), N_("PASSWORDFILE")},
+ {NULL, '\0', 0, NULL, 0}};
++
++#ifdef ENABLE_NLS
++ bindtextdomain (PACKAGE, PACKAGE_LOCALE_DIR);
++ textdomain (PACKAGE);
++#endif
+
+ gnome_init_with_popt_table("fpm", VERSION, argc, argv, options, 0, NULL);
+ // gnome_init("fpm", VERSION, argc, argv);
diff --git a/security/fpm/pkg-descr b/security/fpm/pkg-descr
new file mode 100644
index 000000000..88a5ff6dd
--- /dev/null
+++ b/security/fpm/pkg-descr
@@ -0,0 +1,21 @@
+Figaro's Password Manager is a GNOME application that allows you to securely
+store your passwords. Features include:
+
+* Passwords are encrypted with the blowfish algorithm.
+* Copy passwords or usernames to the clipboard.
+* Copy passwords or usernames to the primary selection. (And paste them with a
+middle mouse button click).
+* If the password is for a website, FPM can keep track of the URLs of your
+login screens and can automatically launch your browser. In this capacity, FPM
+acts as a kind of bookmark manager.
+* You can teach FPM to launch other applications, and optionally pass
+hostnames, usernames or passwords to the command line.
+* FPM also has a password generator that can help you choose good passwords.
+It allows you to determine how long the password should be, and what types of
+characters (lower case, upper case, numbers and symbols) should be used. You
+can even have it avoid ambiguous characters such as a capital O and the number
+0.
+
+WWW: http://fpm.sourceforge.net/
+
+- Anders Nordby <anders@fix.no>