summaryrefslogtreecommitdiff
path: root/security/fpm
diff options
context:
space:
mode:
authorWill Andrews <will@FreeBSD.org>2001-06-27 21:40:54 +0000
committerWill Andrews <will@FreeBSD.org>2001-06-27 21:40:54 +0000
commit5f21264728dd1324d66cdefd4b0e179749ead580 (patch)
tree2d7212e9bb001a734c6d178ab24a31248e7da850 /security/fpm
parentAdd ftp.mirror.ac.uk. (diff)
Add fpm 0.53; Figaro's Password Manager, an app to securely store
your passwords. Not that I would need/want it... PR: 28229 Submitted by: Anders Nordby <anders@fix.no>
Notes
Notes: svn path=/head/; revision=44513
Diffstat (limited to 'security/fpm')
-rw-r--r--security/fpm/Makefile51
-rw-r--r--security/fpm/distinfo1
-rw-r--r--security/fpm/files/patch-config.h137
-rw-r--r--security/fpm/pkg-comment1
-rw-r--r--security/fpm/pkg-descr21
-rw-r--r--security/fpm/pkg-plist8
6 files changed, 219 insertions, 0 deletions
diff --git a/security/fpm/Makefile b/security/fpm/Makefile
new file mode 100644
index 000000000000..29c95c6dd183
--- /dev/null
+++ b/security/fpm/Makefile
@@ -0,0 +1,51 @@
+# New ports collection makefile for: fpm
+# Date created: 10 June 2001
+# Whom: Anders Nordby <anders@fix.no>
+#
+# $FreeBSD$
+#
+
+PORTNAME= fpm
+PORTVERSION= 0.53
+CATEGORIES= security
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
+MASTER_SITE_SUBDIR= ${PORTNAME}
+
+MAINTAINER= anders@fix.no
+
+USE_GNOME= yes
+USE_X_PREFIX= yes
+
+SOURCEFILES= main.c fpm.c support.c interface.c passfile.c callbacks.c \
+ blowfish.c fpm_crypt.c fpm_gpw.c md5.c fpm_clist.c fpm_pref.c
+DOCS= AUTHORS ChangeLog README TODO
+
+GNOME_CFLAGS?= `${GNOME_CONFIG} --cflags gnomeui`
+GNOME_LIBS?= `${GNOME_CONFIG} --libs gnomeui` \
+ `${LOCALBASE}/bin/xml-config --libs`
+CFLAGS+= -DHAVE_CONFIG_H -I. -I.. ${GNOME_CFLAGS}
+
+pre-build:
+ ${PERL} -pi -e "s@encrypt\(@bfishencrypt\(@g" ${WRKSRC}/src/blowfish.c
+
+do-build:
+.for f in ${SOURCEFILES}
+ (cd ${WRKSRC}/src; ${CC} ${CFLAGS} ${GNOME_CFLAGS} -c ${f})
+.endfor
+ (cd ${WRKSRC}/src; ${CC} ${CFLAGS} -o fpm ${SOURCEFILES:S/.c/.o/g} \
+ ${GNOME_LIBS})
+
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/src/fpm ${PREFIX}/bin
+ ${INSTALL} -d -o root -g wheel -m 0755 \
+ ${PREFIX}/share/gnome/pixmaps/fpm
+ ${INSTALL_DATA} ${WRKSRC}/pixmaps/logo.xpm \
+ ${PREFIX}/share/gnome/pixmaps/fpm
+.if !defined(NOPORTDOCS)
+ ${INSTALL} -d -o root -g wheel -m 0755 ${PREFIX}/share/doc/fpm
+.for f in ${DOCS}
+ ${INSTALL_DATA} ${WRKSRC}/${f} ${PREFIX}/share/doc/fpm
+.endfor
+.endif
+
+.include <bsd.port.mk>
diff --git a/security/fpm/distinfo b/security/fpm/distinfo
new file mode 100644
index 000000000000..53505d65a342
--- /dev/null
+++ b/security/fpm/distinfo
@@ -0,0 +1 @@
+MD5 (fpm-0.53.tar.gz) = 16ea9a86b9216b150e04d8bfcfb34d70
diff --git a/security/fpm/files/patch-config.h b/security/fpm/files/patch-config.h
new file mode 100644
index 000000000000..bfd7d90c2764
--- /dev/null
+++ b/security/fpm/files/patch-config.h
@@ -0,0 +1,137 @@
+--- config.h.orig Sun Jun 17 15:59:07 2001
++++ config.h Sun Jun 17 15:59:16 2001
+@@ -0,0 +1,134 @@
++/* config.h. Generated automatically by configure. */
++/* config.h.in. Generated automatically from configure.in by autoheader. */
++
++/* Define if using alloca.c. */
++/* #undef C_ALLOCA */
++
++/* Define to empty if the keyword does not work. */
++/* #undef const */
++
++/* Define to one of _getb67, GETB67, getb67 for Cray-2 and Cray-YMP systems.
++ This function is required for alloca.c support on those systems. */
++/* #undef CRAY_STACKSEG_END */
++
++/* Define if you have alloca, as a function or macro. */
++#define HAVE_ALLOCA 1
++
++/* Define if you have <alloca.h> and it should be used (not on Ultrix). */
++#define HAVE_ALLOCA_H 1
++
++/* Define if you have a working `mmap' system call. */
++#define HAVE_MMAP 1
++
++/* Define as __inline if that's what the C compiler calls it. */
++/* #undef inline */
++
++/* Define to `long' if <sys/types.h> doesn't define. */
++/* #undef off_t */
++
++/* Define if you need to in order for stat and other things to work. */
++/* #undef _POSIX_SOURCE */
++
++/* Define to `unsigned' if <sys/types.h> doesn't define. */
++/* #undef size_t */
++
++/* If using the C implementation of alloca, define if you know the
++ direction of stack growth for your system; otherwise it will be
++ automatically deduced at run-time.
++ STACK_DIRECTION > 0 => grows toward higher addresses
++ STACK_DIRECTION < 0 => grows toward lower addresses
++ STACK_DIRECTION = 0 => direction of growth unknown
++ */
++/* #undef STACK_DIRECTION */
++
++/* Define if you have the ANSI C header files. */
++#define STDC_HEADERS 1
++
++#define ENABLE_NLS 1
++/* #undef HAVE_CATGETS */
++#define HAVE_GETTEXT 1
++#define HAVE_LC_MESSAGES 1
++#define HAVE_STPCPY 1
++#define HAVE_LIBSM 1
++#define PACKAGE_LOCALE_DIR "/usr/local/share/locale"
++/* #undef PACKAGE_DATA_DIR */
++/* #undef PACKAGE_SOURCE_DIR */
++
++/* Define if you have the __argz_count function. */
++#define HAVE___ARGZ_COUNT 1
++
++/* Define if you have the __argz_next function. */
++#define HAVE___ARGZ_NEXT 1
++
++/* Define if you have the __argz_stringify function. */
++#define HAVE___ARGZ_STRINGIFY 1
++
++/* Define if you have the dcgettext function. */
++#define HAVE_DCGETTEXT 1
++
++/* Define if you have the getcwd function. */
++#define HAVE_GETCWD 1
++
++/* Define if you have the getpagesize function. */
++#define HAVE_GETPAGESIZE 1
++
++/* Define if you have the munmap function. */
++#define HAVE_MUNMAP 1
++
++/* Define if you have the putenv function. */
++#define HAVE_PUTENV 1
++
++/* Define if you have the setenv function. */
++#define HAVE_SETENV 1
++
++/* Define if you have the setlocale function. */
++#define HAVE_SETLOCALE 1
++
++/* Define if you have the stpcpy function. */
++#define HAVE_STPCPY 1
++
++/* Define if you have the strcasecmp function. */
++#define HAVE_STRCASECMP 1
++
++/* Define if you have the strchr function. */
++#define HAVE_STRCHR 1
++
++/* Define if you have the strdup function. */
++#define HAVE_STRDUP 1
++
++/* Define if you have the <X11/SM/SMlib.h> header file. */
++#define HAVE_X11_SM_SMLIB_H 1
++
++/* Define if you have the <argz.h> header file. */
++#define HAVE_ARGZ_H 1
++
++/* Define if you have the <limits.h> header file. */
++#define HAVE_LIMITS_H 1
++
++/* Define if you have the <locale.h> header file. */
++#define HAVE_LOCALE_H 1
++
++/* Define if you have the <malloc.h> header file. */
++#define HAVE_MALLOC_H 1
++
++/* Define if you have the <nl_types.h> header file. */
++#define HAVE_NL_TYPES_H 1
++
++/* Define if you have the <string.h> header file. */
++#define HAVE_STRING_H 1
++
++/* Define if you have the <sys/param.h> header file. */
++#define HAVE_SYS_PARAM_H 1
++
++/* Define if you have the <unistd.h> header file. */
++#define HAVE_UNISTD_H 1
++
++/* Define if you have the i library (-li). */
++/* #undef HAVE_LIBI */
++
++/* Name of package */
++#define PACKAGE "fpm"
++
++/* Version number of package */
++#define VERSION "0.53"
++
diff --git a/security/fpm/pkg-comment b/security/fpm/pkg-comment
new file mode 100644
index 000000000000..59710a81721b
--- /dev/null
+++ b/security/fpm/pkg-comment
@@ -0,0 +1 @@
+Figaro's Password Manager, an app to securely store your passwords
diff --git a/security/fpm/pkg-descr b/security/fpm/pkg-descr
new file mode 100644
index 000000000000..88a5ff6dda23
--- /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>
diff --git a/security/fpm/pkg-plist b/security/fpm/pkg-plist
new file mode 100644
index 000000000000..5567f569618b
--- /dev/null
+++ b/security/fpm/pkg-plist
@@ -0,0 +1,8 @@
+bin/fpm
+share/gnome/pixmaps/fpm/logo.xpm
+@dirrm share/gnome/pixmaps/fpm
+%%PORTDOCS%%share/doc/fpm/AUTHORS
+%%PORTDOCS%%share/doc/fpm/ChangeLog
+%%PORTDOCS%%share/doc/fpm/README
+%%PORTDOCS%%share/doc/fpm/TODO
+%%PORTDOCS%%@dirrm share/doc/fpm