diff options
author | Kelly Yancey <kbyanc@FreeBSD.org> | 2003-07-29 19:33:58 +0000 |
---|---|---|
committer | Kelly Yancey <kbyanc@FreeBSD.org> | 2003-07-29 19:33:58 +0000 |
commit | db6df99368bc4bf4585b37b5022fba55008ec756 (patch) | |
tree | 42d28a702de8579b91d1b137b8dedc8c42509448 /security/gcipher | |
parent | 20bbe6a2b9e9643f52406751db7e22c92d963aab (diff) | |
download | ports-db6df99368bc4bf4585b37b5022fba55008ec756.tar.gz ports-db6df99368bc4bf4585b37b5022fba55008ec756.zip |
Notes
Diffstat (limited to 'security/gcipher')
-rw-r--r-- | security/gcipher/Makefile | 59 | ||||
-rw-r--r-- | security/gcipher/distinfo | 1 | ||||
-rw-r--r-- | security/gcipher/files/patch-Const.py | 9 | ||||
-rw-r--r-- | security/gcipher/files/patch-gcipher | 16 | ||||
-rw-r--r-- | security/gcipher/files/patch-gcipher.desktop | 14 | ||||
-rw-r--r-- | security/gcipher/pkg-descr | 7 | ||||
-rw-r--r-- | security/gcipher/pkg-plist | 65 |
7 files changed, 171 insertions, 0 deletions
diff --git a/security/gcipher/Makefile b/security/gcipher/Makefile new file mode 100644 index 000000000000..9a93bfa73bc3 --- /dev/null +++ b/security/gcipher/Makefile @@ -0,0 +1,59 @@ +# New ports collection makefile for: gcipher +# Date created: 25 June 2003 +# Whom: Shannon -jj Behrens <jjinux@yahoo.com> +# +# $FreeBSD$ +# + +PORTNAME= gcipher +PORTVERSION= 1.0 +CATEGORIES= security gnome +MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} +MASTER_SITE_SUBDIR= ${PORTNAME} + +MAINTAINER= jjinux@yahoo.com +COMMENT= A simple encryption tool + +RUN_DEPENDS= ${PYTHON_SITELIBDIR}/gtk-2.0/gnome/uimodule.so:${PORTSDIR}/x11-toolkits/py-gnome2 + +USE_PYTHON= yes +USE_X_PREFIX= yes +USE_GNOME= libgnomeui + +GCIPHER_PREFIX= ${PREFIX}/share/gnome/gcipher + +MAN1= gcipher.1 + +do-build: + (cd ${WRKSRC}/src; \ + ${PYTHON_CMD} ${PYTHON_LIBDIR}/compileall.py .) + +do-install: + ${MKDIR} \ + ${GCIPHER_PREFIX}/lib/cipher \ + ${GCIPHER_PREFIX}/lib/ciphergui \ + ${GCIPHER_PREFIX}/plugins/cipher \ + ${GCIPHER_PREFIX}/plugins/ciphergui + + (cd ${WRKSRC}; \ + ${INSTALL_MAN} gcipher.1 ${PREFIX}/man/man1; \ + ${INSTALL_DATA} CONTRIB LICENSE README "${GCIPHER_PREFIX}") + + (cd ${WRKSRC}/src; \ + ${INSTALL_SCRIPT} gcipher ${PREFIX}/bin/gcipher; \ + ${INSTALL_DATA} gcipher.desktop ${PREFIX}/share/gnome/applications; \ + for i in `find . -name '*.py' \ + -o -name '*.pyc' \ + -o -name '*.glade' \ + -o -name '*.gladep'`; do \ + ${INSTALL_DATA} "$$i" "${GCIPHER_PREFIX}/lib/$$i"; \ + done) + + (cd ${WRKSRC}/plugins; \ + for i in `find . -name '*.py' \ + -o -name '*.glade' \ + -o -name '*.gladep'`; do \ + ${INSTALL_DATA} "$$i" "${GCIPHER_PREFIX}/plugins/$$i"; \ + done) + +.include <bsd.port.mk> diff --git a/security/gcipher/distinfo b/security/gcipher/distinfo new file mode 100644 index 000000000000..6c62f1881ac6 --- /dev/null +++ b/security/gcipher/distinfo @@ -0,0 +1 @@ +MD5 (gcipher-1.0.tar.gz) = b5600f7a5f2a9ae87b228a28ab17d0e9 diff --git a/security/gcipher/files/patch-Const.py b/security/gcipher/files/patch-Const.py new file mode 100644 index 000000000000..eac9b1ae6d1b --- /dev/null +++ b/security/gcipher/files/patch-Const.py @@ -0,0 +1,9 @@ +diff -ur ../gcipher-1.0.orig/src/Const.py ./src/Const.py +--- ../gcipher-1.0.orig/src/Const.py Wed Jun 25 14:03:43 2003 ++++ ./src/Const.py Wed Jun 25 14:05:59 2003 +@@ -9,4 +9,4 @@ + Read Help/Contents to learn how to use gcipher + as a command line filter or as a network proxy.""" + AUTHORS = ["Shannon -jj Behrens <jjinux@yahoo.com>"] +-GLADEDIR = "." ++GLADEDIR = "/usr/X11R6/share/gnome/gcipher/lib" diff --git a/security/gcipher/files/patch-gcipher b/security/gcipher/files/patch-gcipher new file mode 100644 index 000000000000..cb48ac1009fb --- /dev/null +++ b/security/gcipher/files/patch-gcipher @@ -0,0 +1,16 @@ +diff -ur ../gcipher-1.0.orig/src/gcipher ./src/gcipher +--- ../gcipher-1.0.orig/src/gcipher Wed Jun 25 14:03:43 2003 ++++ ./src/gcipher Wed Jun 25 14:06:14 2003 +@@ -1,10 +1,10 @@ +-#!/usr/bin/python ++#!/usr/local/bin/python + + """This is the main executable script.""" + + # Edit the path below if you need to port GCipher. + import sys +-# sys.path.append("/usr/share/gcipher/lib") ++sys.path.append("/usr/X11R6/share/gnome/gcipher/lib") + + from os import environ + from os.path import join diff --git a/security/gcipher/files/patch-gcipher.desktop b/security/gcipher/files/patch-gcipher.desktop new file mode 100644 index 000000000000..6027a262a8dd --- /dev/null +++ b/security/gcipher/files/patch-gcipher.desktop @@ -0,0 +1,14 @@ +diff -ur ../gcipher-1.0.orig/src/gcipher.desktop ./src/gcipher.desktop +--- ../gcipher-1.0.orig/src/gcipher.desktop Wed Jun 25 15:07:51 2003 ++++ ./src/gcipher.desktop Wed Jun 25 15:08:47 2003 +@@ -4,8 +4,8 @@ + Name[en_US.ISO8859-15]=GCipher + Comment[en_US.ISO8859-15]=A simple encryption tool + Exec=gcipher +-Icon=/usr/share/pixmaps/gnome-lockscreen.png ++Icon=/usr/X11R6/share/gnome/pixmaps/gnome-lockscreen.png + Terminal=false + Type=Application + StartupNotify=true +-Categories=GNOME;Application;Utility;X-Red-Hat-Base; ++Categories=Application;Cryptography; diff --git a/security/gcipher/pkg-descr b/security/gcipher/pkg-descr new file mode 100644 index 000000000000..0319dfec8e44 --- /dev/null +++ b/security/gcipher/pkg-descr @@ -0,0 +1,7 @@ +This is a simple encryption tool to work with home-grown encryption algorithms. +It can run as either a GUI, a command-line application, or a network proxy. + +WWW: http://gcipher.sourceforge.net + +- Shannon -jj Behrens +jjinux@yahoo.com diff --git a/security/gcipher/pkg-plist b/security/gcipher/pkg-plist new file mode 100644 index 000000000000..640f01df3d09 --- /dev/null +++ b/security/gcipher/pkg-plist @@ -0,0 +1,65 @@ +bin/gcipher +share/gnome/applications/gcipher.desktop +share/gnome/gcipher/CONTRIB +share/gnome/gcipher/LICENSE +share/gnome/gcipher/README +share/gnome/gcipher/lib/cipher/__init__.pyc +share/gnome/gcipher/lib/cipher/Ceasar.py +share/gnome/gcipher/lib/cipher/CharacterCipher.py +share/gnome/gcipher/lib/cipher/Gie.py +share/gnome/gcipher/lib/cipher/KeyedCipher.py +share/gnome/gcipher/lib/cipher/Rot.py +share/gnome/gcipher/lib/cipher/Tools.py +share/gnome/gcipher/lib/cipher/Vigenere.py +share/gnome/gcipher/lib/cipher/__init__.py +share/gnome/gcipher/lib/cipher/KeyedCipher.pyc +share/gnome/gcipher/lib/cipher/Vigenere.pyc +share/gnome/gcipher/lib/cipher/CharacterCipher.pyc +share/gnome/gcipher/lib/cipher/Tools.pyc +share/gnome/gcipher/lib/cipher/Gie.pyc +share/gnome/gcipher/lib/cipher/Ceasar.pyc +share/gnome/gcipher/lib/cipher/Rot.pyc +share/gnome/gcipher/lib/AutomaticClass.py +share/gnome/gcipher/lib/Const.py +share/gnome/gcipher/lib/GtkAttributesFacade.py +share/gnome/gcipher/lib/LibGladeApplication.py +share/gnome/gcipher/lib/MainCLI.py +share/gnome/gcipher/lib/MainGUI.py +share/gnome/gcipher/lib/Proxy.py +share/gnome/gcipher/lib/gcipher.glade +share/gnome/gcipher/lib/gcipher.gladep +share/gnome/gcipher/lib/ciphergui/__init__.pyc +share/gnome/gcipher/lib/ciphergui/Ceasar.py +share/gnome/gcipher/lib/ciphergui/CipherGUIList.py +share/gnome/gcipher/lib/ciphergui/Gie.py +share/gnome/gcipher/lib/ciphergui/KeyDialog.py +share/gnome/gcipher/lib/ciphergui/Rot.py +share/gnome/gcipher/lib/ciphergui/Vigenere.py +share/gnome/gcipher/lib/ciphergui/__init__.py +share/gnome/gcipher/lib/ciphergui/rot.glade +share/gnome/gcipher/lib/ciphergui/rot.gladep +share/gnome/gcipher/lib/ciphergui/vigenere.glade +share/gnome/gcipher/lib/ciphergui/vigenere.gladep +share/gnome/gcipher/lib/ciphergui/CipherGUIList.pyc +share/gnome/gcipher/lib/ciphergui/Vigenere.pyc +share/gnome/gcipher/lib/ciphergui/KeyDialog.pyc +share/gnome/gcipher/lib/ciphergui/Gie.pyc +share/gnome/gcipher/lib/ciphergui/Ceasar.pyc +share/gnome/gcipher/lib/ciphergui/Rot.pyc +share/gnome/gcipher/lib/Const.pyc +share/gnome/gcipher/lib/MainCLI.pyc +share/gnome/gcipher/lib/AutomaticClass.pyc +share/gnome/gcipher/lib/MainGUI.pyc +share/gnome/gcipher/lib/LibGladeApplication.pyc +share/gnome/gcipher/lib/GtkAttributesFacade.pyc +share/gnome/gcipher/lib/Proxy.pyc +share/gnome/gcipher/plugins/cipher/Identity.py +share/gnome/gcipher/plugins/ciphergui/Identity.py +share/gnome/gcipher/plugins/ciphergui/PluginCipherGUIList.py +@dirrm share/gnome/gcipher/lib/cipher +@dirrm share/gnome/gcipher/lib/ciphergui +@dirrm share/gnome/gcipher/lib +@dirrm share/gnome/gcipher/plugins/cipher +@dirrm share/gnome/gcipher/plugins/ciphergui +@dirrm share/gnome/gcipher/plugins +@dirrm share/gnome/gcipher |