summaryrefslogtreecommitdiffstats
path: root/security
diff options
context:
space:
mode:
authorahze <ahze@df743ca5-7f9a-e211-a948-0013205c9059>2006-09-30 14:49:29 +0800
committerahze <ahze@df743ca5-7f9a-e211-a948-0013205c9059>2006-09-30 14:49:29 +0800
commit35baed4ae5088062bddd6d6c340e69079805f524 (patch)
tree57b8bfcbb9e24edff48e14342b0e02efb99e414a /security
parent9f3cd649a3bd31ad15ad1b41c628317d967a5b79 (diff)
downloadmarcuscom-ports-35baed4ae5088062bddd6d6c340e69079805f524.tar
marcuscom-ports-35baed4ae5088062bddd6d6c340e69079805f524.tar.gz
marcuscom-ports-35baed4ae5088062bddd6d6c340e69079805f524.tar.bz2
marcuscom-ports-35baed4ae5088062bddd6d6c340e69079805f524.tar.lz
marcuscom-ports-35baed4ae5088062bddd6d6c340e69079805f524.tar.xz
marcuscom-ports-35baed4ae5088062bddd6d6c340e69079805f524.tar.zst
marcuscom-ports-35baed4ae5088062bddd6d6c340e69079805f524.zip
- Move to LOCALBASE
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@7416 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'security')
-rw-r--r--security/gcipher/Makefile60
-rw-r--r--security/gcipher/distinfo3
-rw-r--r--security/gcipher/files/patch-Const.py9
-rw-r--r--security/gcipher/files/patch-gcipher16
-rw-r--r--security/gcipher/files/patch-gcipher.desktop14
-rw-r--r--security/gcipher/pkg-descr7
-rw-r--r--security/gcipher/pkg-plist65
7 files changed, 174 insertions, 0 deletions
diff --git a/security/gcipher/Makefile b/security/gcipher/Makefile
new file mode 100644
index 000000000..0f962c91e
--- /dev/null
+++ b/security/gcipher/Makefile
@@ -0,0 +1,60 @@
+# New ports collection makefile for: gcipher
+# Date created: 25 June 2003
+# Whom: Shannon -jj Behrens <jjinux@yahoo.com>
+#
+# $FreeBSD$
+#
+
+PORTNAME= gcipher
+PORTVERSION= 1.0
+PORTREVISION= 6
+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/__init__.py:${PORTSDIR}/x11-toolkits/py-gnome2
+
+USE_PYTHON= yes
+USE_XLIB= 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 000000000..1ae681e04
--- /dev/null
+++ b/security/gcipher/distinfo
@@ -0,0 +1,3 @@
+MD5 (gcipher-1.0.tar.gz) = b5600f7a5f2a9ae87b228a28ab17d0e9
+SHA256 (gcipher-1.0.tar.gz) = a06b5b34dc88b00cd713e5834b5b240e7df344df41f3200f6e2b5693b28bc369
+SIZE (gcipher-1.0.tar.gz) = 18125
diff --git a/security/gcipher/files/patch-Const.py b/security/gcipher/files/patch-Const.py
new file mode 100644
index 000000000..eac9b1ae6
--- /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 000000000..cb48ac100
--- /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 000000000..6027a262a
--- /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 000000000..0319dfec8
--- /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 000000000..640f01df3
--- /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