aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils/spassgen
diff options
context:
space:
mode:
authorpav <pav@FreeBSD.org>2004-07-31 17:24:39 +0800
committerpav <pav@FreeBSD.org>2004-07-31 17:24:39 +0800
commitcd413117706c05a354f29ed512c5b2189bc927cf (patch)
tree78aa77d1ef9dfd5dab4e7e76cc5b241e4aeeee6e /sysutils/spassgen
parent77ec7402389771e05203766e3bd92abf858b5673 (diff)
downloadfreebsd-ports-gnome-cd413117706c05a354f29ed512c5b2189bc927cf.tar.gz
freebsd-ports-gnome-cd413117706c05a354f29ed512c5b2189bc927cf.tar.zst
freebsd-ports-gnome-cd413117706c05a354f29ed512c5b2189bc927cf.zip
Add spassgen, a small GUI Qt utility to generate secure random passwords with variable
length, variable symbols set, etc. PR: ports/69748 Submitted by: Rashid N. Achilov <shelton@sentry.granch.ru>
Diffstat (limited to 'sysutils/spassgen')
-rw-r--r--sysutils/spassgen/Makefile49
-rw-r--r--sysutils/spassgen/distinfo2
-rw-r--r--sysutils/spassgen/pkg-descr6
-rw-r--r--sysutils/spassgen/pkg-plist12
4 files changed, 69 insertions, 0 deletions
diff --git a/sysutils/spassgen/Makefile b/sysutils/spassgen/Makefile
new file mode 100644
index 000000000000..b700326edef4
--- /dev/null
+++ b/sysutils/spassgen/Makefile
@@ -0,0 +1,49 @@
+# New ports collection makefile for: spassgen
+# Date created: 29 Jul 2004
+# Whom: Rashid N. Achilov <shelton@granch.ru>
+#
+# $FreeBSD$
+#
+
+PORTNAME= spassgen
+PORTVERSION= 1.5
+CATEGORIES= sysutils kde
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
+MASTER_SITE_SUBDIR= spassgen
+
+MAINTAINER= shelton@granch.ru
+COMMENT= Qt GUI secure password generator
+
+BUILD_DEPENDS= qmake:${PORTSDIR}/devel/qmake
+
+USE_QT_VER= 3
+USE_GMAKE= yes
+USE_BZIP2= yes
+USE_X_PREFIX= yes
+
+WRKSRC= ${WRKDIR}/${PORTNAME}
+QMAKE_LOCATION= ${LOCALBASE}/bin
+
+MAKE_ENV+= QTDIR="${QT_PREFIX}"
+DOCSDIR= share/doc/HTML/en/${PORTNAME}
+
+pre-build:
+ (cd ${WRKSRC}; \
+ ${QMAKE_LOCATION}/qmake -project spassgen.pro; \
+ ${SETENV} QMAKESPEC=${LOCALBASE}/share/qt/mkspecs/freebsd-g++ \
+ ${QMAKE_LOCATION}/qmake)
+
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/spassgen ${PREFIX}/bin
+.for i in 128x128 16x16 32x32 48x48 64x64
+ ${MKDIR} ${PREFIX}/share/icons/hicolor/${i}/apps
+ ${INSTALL_DATA} ${WRKSRC}/icons/${i}/password.png ${PREFIX}/share/icons/hicolor/${i}/apps
+.endfor
+.if !defined(NOPORTDOCS)
+ ${MKDIR} ${PREFIX}/${DOCSDIR}
+.for i in AUTHORS LICENCE README TODO INSTALL
+ ${INSTALL_DATA} ${WRKSRC}/${i} ${PREFIX}/${DOCSDIR}
+.endfor
+.endif
+
+.include <bsd.port.mk>
diff --git a/sysutils/spassgen/distinfo b/sysutils/spassgen/distinfo
new file mode 100644
index 000000000000..f7471c4ca112
--- /dev/null
+++ b/sysutils/spassgen/distinfo
@@ -0,0 +1,2 @@
+MD5 (spassgen-1.5.tar.bz2) = ed019dda56551fb860c74016baa91fa4
+SIZE (spassgen-1.5.tar.bz2) = 66808
diff --git a/sysutils/spassgen/pkg-descr b/sysutils/spassgen/pkg-descr
new file mode 100644
index 000000000000..8b33fb664918
--- /dev/null
+++ b/sysutils/spassgen/pkg-descr
@@ -0,0 +1,6 @@
+A small program that generates passwords for you so you don't have to.
+It can have 6-25 characters in length, and generate 1 to 100 passwords.
+Passwords can have numbers, lower case letters, upper case letters, and
+symbols.
+
+WWW: http://spassgen.sourceforge.net
diff --git a/sysutils/spassgen/pkg-plist b/sysutils/spassgen/pkg-plist
new file mode 100644
index 000000000000..7098c023f9c6
--- /dev/null
+++ b/sysutils/spassgen/pkg-plist
@@ -0,0 +1,12 @@
+bin/spassgen
+%%PORTDOCS%%%%DOCSDIR%%/INSTALL
+%%PORTDOCS%%%%DOCSDIR%%/LICENCE
+%%PORTDOCS%%%%DOCSDIR%%/README
+%%PORTDOCS%%%%DOCSDIR%%/TODO
+%%PORTDOCS%%%%DOCSDIR%%/AUTHORS
+share/icons/hicolor/128x128/apps/password.png
+share/icons/hicolor/16x16/apps/password.png
+share/icons/hicolor/32x32/apps/password.png
+share/icons/hicolor/48x48/apps/password.png
+share/icons/hicolor/64x64/apps/password.png
+%%PORTDOCS%%@dirrm %%DOCSDIR%%