diff options
45 files changed, 1388 insertions, 0 deletions
diff --git a/net-p2p/dctc-gui/Makefile b/net-p2p/dctc-gui/Makefile new file mode 100644 index 000000000..a9a588cde --- /dev/null +++ b/net-p2p/dctc-gui/Makefile @@ -0,0 +1,90 @@ +# New ports collection makefile for: GUI to Direct Connect Text Client +# Date created: Thu Nov 22 00:34:48 BRST 2001 +# Whom: Mario Sergio Fujikawa Ferreira <lioux@FreeBSD.org> +# +# $FreeBSD$ +# + +PORTNAME= dctc +PORTVERSION= 0.66 +PORTREVISION= 5 +CATEGORIES= net-p2p gnome +MASTER_SITES= http://unixpages.org/distfiles/ +PKGNAMESUFFIX= -gui +DISTNAME= dc_gui-${PORTVERSION} + +MAINTAINER= lioux@FreeBSD.org +COMMENT= A GUI to DirectConnect (www.neo-modus.com) text client + +BUILD_DEPENDS= dctc:${PORTSDIR}/net-p2p/dctc +LIB_DEPENDS= db4.0:${PORTSDIR}/databases/db4 + +USE_GETTEXT= yes +USE_XLIB= yes +USE_GNOME= gnomehack gnomelibs gnomeprefix +USE_XLIB= yes +GNU_CONFIGURE= yes +USE_GMAKE= yes +CONFIGURE_ARGS= --with-gnome=${LOCALBASE} \ + --with-gtk-prefix=${LOCALBASE} \ + --enable-manual-db-detect \ + --with-libiconv-prefix=${LOCALBASE} + +ADDITIONAL_SRCS= sig_chld.c +# +DOC_FILES= COPYING ChangeLog README TODO + +post-extract: +.for file in ${ADDITIONAL_SRCS} + @${CP} ${FILESDIR}/${file} ${WRKSRC}/src +.endfor + +post-patch: + @${FIND} ${WRKSRC} -type f | ${XARGS} -n 10 -x ${REINPLACE_CMD} -E -e \ + 's|ldb-4.0|ldb4|; \ + s|<(db.h>)|<db4/\1|' + @${REINPLACE_CMD} -E -e 's|(hublist)|dc_\1|' \ + ${CONFIGURE_WRKSRC}/${CONFIGURE_SCRIPT} + @${REINPLACE_CMD} -E -e \ + 's|(hublist)(.+argv)|dc_\1\2|' \ + ${WRKSRC}/src/init_fnc.c +# XXX - revise at every port update + @${REINPLACE_CMD} -e "s|%'|%|g" ${WRKSRC}/src/*.c +# @${REINPLACE_CMD} -E -e \ +# 's|%lf|%f|; \ +# s|(%\.[[:digit:]])lf|\1f|' \ +# ${WRKSRC}/src/*.c +# clean up so as to not break installation + @${FIND} ${WRKSRC} -type f \ + -name "*.bak" \ + | ${XARGS} -n 10 -x ${RM} +# add sigchld handler +.for file in ${ADDITIONAL_SRCS} + @${REINPLACE_CMD} -E -e \ + 's|^(dc_gui_SOURCES.+)$$|\1 ${file}|; \ + s|^(dc_gui_OBJECTS[^\\]+)(\\*)$$|\1 ${file:S/.c$/.o/} \2|' \ + ${WRKSRC}/src/Makefile.in +.endfor +# disable GNU auto* tools + @${FIND} ${WRKSRC} -type f -name "Makefile.in" | ${XARGS} \ + -x -n 10 ${REINPLACE_CMD} -E -e \ + 's!^(ACLOCAL|AUTOCONF|AUTOMAKE|AUTOHEADER).+$$!\1=${TRUE}!' + +post-configure: + @${ECHO_CMD} '#ifndef MSG_NOSIGNAL' >> ${CONFIGURE_WRKSRC}/config.h + @${ECHO_CMD} '# define MSG_NOSIGNAL 0' >> ${CONFIGURE_WRKSRC}/config.h + @${ECHO_CMD} '#endif' >> ${CONFIGURE_WRKSRC}/config.h + @${ECHO_CMD} '#include <sys/param.h>' >> ${CONFIGURE_WRKSRC}/config.h + @${ECHO_CMD} '#ifndef SEMVMX' >> ${WRKSRC}/config.h + @${ECHO_CMD} '#define SEMVMX 32767' >> ${WRKSRC}/config.h + @${ECHO_CMD} '#endif' >> ${WRKSRC}/config.h + +post-install: +.ifndef(NOPORTDOCS) + @${MKDIR} ${DOCSDIR}${PKGNAMESUFFIX} +.for file in ${DOC_FILES} + @${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR}${PKGNAMESUFFIX} +.endfor +.endif + +.include <bsd.port.mk> diff --git a/net-p2p/dctc-gui/distinfo b/net-p2p/dctc-gui/distinfo new file mode 100644 index 000000000..83b15b2b0 --- /dev/null +++ b/net-p2p/dctc-gui/distinfo @@ -0,0 +1,3 @@ +MD5 (dc_gui-0.66.tar.gz) = f47aa43a6840e078bc32717d63731b52 +SHA256 (dc_gui-0.66.tar.gz) = a96807ce6bc9074f25951df82c99cde4246842f368a240dfe4dd098627e32c71 +SIZE (dc_gui-0.66.tar.gz) = 461838 diff --git a/net-p2p/dctc-gui/files/patch-po_Makefile.in.in b/net-p2p/dctc-gui/files/patch-po_Makefile.in.in new file mode 100644 index 000000000..b8b90a400 --- /dev/null +++ b/net-p2p/dctc-gui/files/patch-po_Makefile.in.in @@ -0,0 +1,10 @@ +--- po/Makefile.in.in.orig Wed Feb 4 13:19:32 2004 ++++ po/Makefile.in.in Wed Feb 4 13:19:41 2004 +@@ -87,6 +87,7 @@ + $(XGETTEXT) --default-domain=$(PACKAGE) --directory=$(top_srcdir) \ + --add-comments --keyword=_ --keyword=N_ \ + --files-from=$(srcdir)/POTFILES.in \ ++ --from-code=ISO-8859-1 \ + && test ! -f $(PACKAGE).po \ + || ( rm -f $(srcdir)/$(PACKAGE).pot \ + && mv $(PACKAGE).po $(srcdir)/$(PACKAGE).pot ) diff --git a/net-p2p/dctc-gui/files/patch-src::callbacks.c b/net-p2p/dctc-gui/files/patch-src::callbacks.c new file mode 100644 index 000000000..3c0ad2c3e --- /dev/null +++ b/net-p2p/dctc-gui/files/patch-src::callbacks.c @@ -0,0 +1,12 @@ +--- src/callbacks.c.orig Sun Nov 17 21:18:28 2002 ++++ src/callbacks.c Sun Nov 17 21:19:26 2002 +@@ -14,7 +14,8 @@ + #include <dirent.h> + #include <gdk/gdkkeysyms.h> + #include <gdk/gdk.h> +-#include <linux/sem.h> ++#include <sys/ipc.h> ++#include <sys/sem.h> + #include <gnome.h> + #include <glib.h> + #include <time.h> diff --git a/net-p2p/dctc-gui/files/patch-src::init_fnc.c b/net-p2p/dctc-gui/files/patch-src::init_fnc.c new file mode 100644 index 000000000..3eca24060 --- /dev/null +++ b/net-p2p/dctc-gui/files/patch-src::init_fnc.c @@ -0,0 +1,12 @@ +--- src/init_fnc.c.orig Sun Nov 17 21:19:50 2002 ++++ src/init_fnc.c Sun Nov 17 21:20:39 2002 +@@ -12,7 +12,8 @@ + #include <sys/types.h> + #include <sys/stat.h> + #include <sys/wait.h> +-#include <linux/sem.h> /* for the value of SEMVMX */ ++#include <sys/ipc.h> ++#include <sys/sem.h> /* for the value of SEMVMX */ + #include <dirent.h> + #include <string.h> + #include <errno.h> diff --git a/net-p2p/dctc-gui/files/patch-src::main.c b/net-p2p/dctc-gui/files/patch-src::main.c new file mode 100644 index 000000000..f530ccac3 --- /dev/null +++ b/net-p2p/dctc-gui/files/patch-src::main.c @@ -0,0 +1,36 @@ +--- src/main.c.orig Mon Nov 18 23:53:50 2002 ++++ src/main.c Mon Nov 18 23:55:01 2002 +@@ -43,6 +43,9 @@ + GtkWidget *done_popup=NULL; + GtkWidget *fav_popup=NULL; + ++/* sigchld handling */ ++extern void sig_chld(int); ++ + /* this string is "$HOME/.dctc" */ + GString *dctc_main_dir=NULL; + +@@ -289,11 +292,9 @@ + sigset_t set; + + /* ignore SIGPIPE */ +- /* ignore SIGCHLD */ + /* ignore SIGHUP */ + sigemptyset(&set); + sigaddset(&set,SIGPIPE); +- sigaddset(&set,SIGCHLD); + sigaddset(&set,SIGHUP); + act.sa_handler=SIG_IGN; + act.sa_mask=set; +@@ -301,8 +302,10 @@ + + sigprocmask(SIG_UNBLOCK,&set,NULL); + sigaction(SIGPIPE,&act,NULL); +- sigaction(SIGCHLD,&act,NULL); + sigaction(SIGHUP,&act,NULL); ++ ++ /* handle SIGCHLD */ ++ signal(SIGCHLD, sig_chld); /* Prevents zombies */ + } + + static void start_dctc_client_from_huburl(char *dchub_url,char *profile) diff --git a/net-p2p/dctc-gui/files/sig_chld.c b/net-p2p/dctc-gui/files/sig_chld.c new file mode 100644 index 000000000..74b4a4afc --- /dev/null +++ b/net-p2p/dctc-gui/files/sig_chld.c @@ -0,0 +1,53 @@ +/* + * Copyright (c) 2000, 2001, 2002 + * Mario Sergio Fujikawa Ferreira <lioux@FreeBSD.org> + * All rights reserved. + * + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions + * are met: + * 1. Redistributions of source code must retain the above copyright + * notice, this list of conditions and the following disclaimer. + * 2. Redistributions in binary form must reproduce the above copyright + * notice, this list of conditions and the following disclaimer in the + * documentation and/or other materials provided with the distribution. + * + * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND + * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE + * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE + * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL + * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS + * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) + * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT + * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY + * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF + * SUCH DAMAGE. + * + * $FreeBSD + */ + +#include <sys/types.h> +#include <sys/wait.h> +/* +#include <sys/time.h> +#include <sys/resource.h> +*/ + +/* + * SIGCHLD handler + * + * Let's take care of our children. + * Otherwise, they may get involved with bad ppl + * and become zombies. + */ +void +sig_chld(int signo) +{ + pid_t pid; + int stat; + + while ( (pid = waitpid(-1, &stat, WNOHANG)) > 0); + + return; +} diff --git a/net-p2p/dctc-gui/pkg-descr b/net-p2p/dctc-gui/pkg-descr new file mode 100644 index 000000000..b4b753f5e --- /dev/null +++ b/net-p2p/dctc-gui/pkg-descr @@ -0,0 +1,21 @@ +[ from developer's site] + +This is a Graphical User Interface for DCTC + +I. What is DCTC +DCTC is a Direct Connect clone, a windoz client allowing users to +share their files and talk (like IRC but more software sharing +oriented) using a proprietary protocol. + +DCTC stands for Direct Connect Text Client. + +II. What is not DCTC +DCTC is written from scratch without any help from neo-modus using +our experience of hotline protocol. + +DCTC is not designed to be used by human. It doesn't contains any +GUI or CLI. The goal of this project is to build a Direct Connect +client which can be used by other programs. So even if you can enter +command using the keyboard, don't say the human interface is poor. + +WWW: http://ac2i.homelinux.com/dctc/ diff --git a/net-p2p/dctc-gui/pkg-plist b/net-p2p/dctc-gui/pkg-plist new file mode 100644 index 000000000..a171e8456 --- /dev/null +++ b/net-p2p/dctc-gui/pkg-plist @@ -0,0 +1,38 @@ +bin/dc_gui +%%PORTDOCS%%share/doc/dctc-gui/COPYING +%%PORTDOCS%%share/doc/dctc-gui/ChangeLog +%%PORTDOCS%%share/doc/dctc-gui/README +%%PORTDOCS%%share/doc/dctc-gui/TODO +share/gnome/help/dc_gui/C/index.html +share/gnome/help/dc_gui/C/topic.dat +share/gnome/help/dc_gui/es/index.html +share/gnome/help/dc_gui/es/topic.dat +share/gnome/help/dc_gui/nl/index.html +share/gnome/help/dc_gui/nl/topic.dat +share/locale/de/LC_MESSAGES/dc_gui.mo +share/locale/fr/LC_MESSAGES/dc_gui.mo +share/locale/nl/LC_MESSAGES/dc_gui.mo +share/locale/sv/LC_MESSAGES/dc_gui.mo +share/pixmaps/dc_gui/icon_folder_add.xpm +share/pixmaps/dc_gui/icon_folder_del.xpm +share/pixmaps/dc_gui/icon_kill.xpm +share/pixmaps/dc_gui/icon_refresh.xpm +share/pixmaps/dc_gui/icon_remove_all.xpm +share/pixmaps/dc_gui/icon_remove_selected.xpm +@dirrm share/pixmaps/dc_gui +@dirrmtry share/locale/sv/LC_MESSAGES +@dirrmtry share/locale/sv +@dirrmtry share/locale/nl/LC_MESSAGES +@dirrmtry share/locale/nl +@dirrmtry share/locale/fr/LC_MESSAGES +@dirrmtry share/locale/fr +@dirrmtry share/locale/de/LC_MESSAGES +@dirrmtry share/locale/de +@dirrmtry share/gnome/help/dc_gui/nl/images +@dirrm share/gnome/help/dc_gui/nl +@dirrmtry share/gnome/help/dc_gui/es/images +@dirrm share/gnome/help/dc_gui/es +@dirrmtry share/gnome/help/dc_gui/C/images +@dirrm share/gnome/help/dc_gui/C +@dirrm share/gnome/help/dc_gui +%%PORTDOCS%%@dirrm share/doc/dctc-gui diff --git a/news/grn/Makefile b/news/grn/Makefile new file mode 100644 index 000000000..17fcdadf9 --- /dev/null +++ b/news/grn/Makefile @@ -0,0 +1,33 @@ +# New ports collection makefile for: grm +# Date created: 20 July 2000 +# Whom: Maxim Sobolev <sobomax@FreeBSD.org> +# +# $FreeBSD$ +# + +PORTNAME= grn +PORTVERSION= 0.0.28 +PORTREVISION= 3 +CATEGORIES= news gnome +MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} +MASTER_SITE_SUBDIR= ${PORTNAME} + +MAINTAINER= ports@FreeBSD.org +COMMENT= A NNTP client for Gnome + +USE_X_PREFIX= yes +USE_BZIP2= yes +USE_PERL5= yes +USE_GNOME= gnomehack gnomelibs gnomeprefix +USE_GMAKE= yes +GNU_CONFIGURE= yes +LIBTOOLFILES= configure libmutt/configure +CONFIGURE_ENV= glibpath="${GLIB_CONFIG}" \ + CPPFLAGS="-I${LOCALBASE}/include" \ + LDFLAGS="-L${LOCALBASE}/lib" + +post-patch: + @${REINPLACE_CMD} -e 's|$${CONFIG_SHELL-/bin/sh} $$ac_aux_dir|$$ac_aux_dir|' \ + ${WRKSRC}/configure ${WRKSRC}/libmutt/configure + +.include <bsd.port.mk> diff --git a/news/grn/distinfo b/news/grn/distinfo new file mode 100644 index 000000000..ea4dd0fee --- /dev/null +++ b/news/grn/distinfo @@ -0,0 +1,3 @@ +MD5 (grn-0.0.28.tar.bz2) = 242dc70cc7607006ab4629a3c8d87d40 +SHA256 (grn-0.0.28.tar.bz2) = fedf53cff1873d59d84cf88a97820b5a9cb32a74823c7bcb4a09ab61495a567f +SIZE (grn-0.0.28.tar.bz2) = 416249 diff --git a/news/grn/files/patch-pattern.c b/news/grn/files/patch-pattern.c new file mode 100644 index 000000000..3186e1179 --- /dev/null +++ b/news/grn/files/patch-pattern.c @@ -0,0 +1,10 @@ +--- libmutt/pattern.c.orig Tue Aug 17 16:08:15 2004 ++++ libmutt/pattern.c Tue Aug 17 16:09:00 2004 +@@ -883,6 +883,7 @@ + return (pat->not ^ (h->pgp & PGPKEY)); + #endif + #endif ++ break; + } + mutt_error ("error: unknown op %d (report this error).", pat->op); + return (-1); diff --git a/news/grn/pkg-descr b/news/grn/pkg-descr new file mode 100644 index 000000000..9384b9a3d --- /dev/null +++ b/news/grn/pkg-descr @@ -0,0 +1,11 @@ +Grn is NNTP client which is written with the help of Gnome and Gtk. It is +designed primarily to look like tin as much as possible, but work under X, and +use all the advantages that Gnome and Gtk provide. It is written also under the +influence of FleetStreet - an FTN-compatible message editor for OS/2 +Presentation Manager. + +Grn also uses pthreads to allow the user to interact with the program during +different time-consuming tasks (such as fetching grouplist or threading +articles - these all run in another thread). + +WWW: http://grn.sourceforge.net/ diff --git a/news/grn/pkg-plist b/news/grn/pkg-plist new file mode 100644 index 000000000..2cb988f05 --- /dev/null +++ b/news/grn/pkg-plist @@ -0,0 +1,19 @@ +bin/grn +share/locale/ru/LC_MESSAGES/grn.mo +share/gnome/apps/Internet/grn.desktop +share/gnome/help/grn/C/Perl_functions.html +share/gnome/help/grn/C/hooks-Perl.html +share/gnome/help/grn/C/index.html +share/gnome/help/grn/C/inline_vars.html +share/gnome/help/grn/C/keyboard.html +share/gnome/help/grn/C/topic.dat +share/gnome/help/grn/ru/Perl_functions.html +share/gnome/help/grn/ru/hooks-Perl.html +share/gnome/help/grn/ru/index.html +share/gnome/help/grn/ru/inline_vars.html +share/gnome/help/grn/ru/keyboard.html +share/gnome/help/grn/ru/topic.dat +share/pixmaps/grn.png +@dirrm share/gnome/help/grn/ru +@dirrm share/gnome/help/grn/C +@dirrm share/gnome/help/grn diff --git a/print/gfontview/Makefile b/print/gfontview/Makefile new file mode 100644 index 000000000..71d3218c2 --- /dev/null +++ b/print/gfontview/Makefile @@ -0,0 +1,38 @@ +# ex:ts=8 +# New ports collection makefile for: gfontview +# Date created: Jul 9, 2001 +# Whom: ijliao +# +# $FreeBSD$ +# + +PORTNAME= gfontview +PORTVERSION= 0.5.0 +PORTREVISION= 5 +CATEGORIES= print gnome +MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} +MASTER_SITE_SUBDIR= ${PORTNAME} + +MAINTAINER= ports@FreeBSD.org +COMMENT= An outline font viewer + +LIB_DEPENDS= t1.5:${PORTSDIR}/devel/t1lib + +USE_X_PREFIX= yes +USE_GNOME= gnomehack gnomelibs gnomeprefix +USE_FREETYPE= yes +GNU_CONFIGURE= yes +CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include/freetype1/freetype \ + -I${LOCALBASE}/include" \ + SPOOLER="/usr/bin/lpr" \ + LDFLAGS="-L${LOCALBASE}/lib" +CONFIGURE_ARGS= --with-fontdir="${LOCALBASE}/share/ghostscript/fonts" \ + --with-libungif + +post-patch: + @${REINPLACE_CMD} -e \ + 's|CXXFLAGS="-O2"|CXXFLAGS="$$CXXFLAGS"|g' ${WRKSRC}/configure + @${REINPLACE_CMD} -e \ + 's|-I/usr/include/freetype||g' ${WRKSRC}/Makefile.in + +.include <bsd.port.mk> diff --git a/print/gfontview/distinfo b/print/gfontview/distinfo new file mode 100644 index 000000000..2c9f251fb --- /dev/null +++ b/print/gfontview/distinfo @@ -0,0 +1,3 @@ +MD5 (gfontview-0.5.0.tar.gz) = f06e0e9d67f7d8b3af251fa593e83eeb +SHA256 (gfontview-0.5.0.tar.gz) = 7cde3e1f24e49d2b3058944f2ddb473b6f6b0ca2fd2750fffa1904b894427c6d +SIZE (gfontview-0.5.0.tar.gz) = 207053 diff --git a/print/gfontview/files/patch-dialogs.C b/print/gfontview/files/patch-dialogs.C new file mode 100644 index 000000000..61d4d4943 --- /dev/null +++ b/print/gfontview/files/patch-dialogs.C @@ -0,0 +1,11 @@ +--- dialogs.C.orig Mon Mar 19 02:03:00 2001 ++++ dialogs.C Sun Aug 22 21:18:13 2004 +@@ -1327,7 +1327,7 @@ + /* Entry field is DnD target */ + gtk_drag_dest_set(prtdiag->fileentry, GTK_DEST_DEFAULT_ALL, + dnd_target_table, dnd_targets-1, +- (enum GdkDragAction)(GDK_ACTION_COPY | GDK_ACTION_MOVE)); ++ (GdkDragAction)(GDK_ACTION_COPY | GDK_ACTION_MOVE)); + gtk_signal_connect(GTK_OBJECT(prtdiag->fileentry), "drag_data_received", + GTK_SIGNAL_FUNC(combo_drag_data_received), NULL); + diff --git a/print/gfontview/files/patch-gfont.C b/print/gfontview/files/patch-gfont.C new file mode 100644 index 000000000..5e13e0d84 --- /dev/null +++ b/print/gfontview/files/patch-gfont.C @@ -0,0 +1,11 @@ +--- gfont.C.orig Tue Mar 20 06:04:14 2001 ++++ gfont.C Sun Aug 22 21:17:36 2004 +@@ -1103,7 +1103,7 @@ + // Entry field of the combo box is DnD target + gtk_drag_dest_set(entry, GTK_DEST_DEFAULT_ALL, + dnd_target_table, dnd_targets-1, +- (enum GdkDragAction)(GDK_ACTION_COPY | GDK_ACTION_MOVE)); ++ (GdkDragAction)(GDK_ACTION_COPY | GDK_ACTION_MOVE)); + gtk_signal_connect(GTK_OBJECT(entry), "drag_data_received", + GTK_SIGNAL_FUNC(combo_drag_data_received), NULL); + diff --git a/print/gfontview/files/patch-gfont.h b/print/gfontview/files/patch-gfont.h new file mode 100644 index 000000000..8ff5de574 --- /dev/null +++ b/print/gfontview/files/patch-gfont.h @@ -0,0 +1,8 @@ +--- gfont.h.orig Mon Mar 19 02:02:22 2001 ++++ gfont.h Sun Nov 2 21:31:45 2003 +@@ -158,4 +158,4 @@ + void combo_drag_data_received(GtkWidget *entry, GdkDragContext *context, + gint x, gint y, GtkSelectionData *data, + guint info, guint time); +-#endif _GFONT_H ++#endif /* _GFONT_H */ diff --git a/print/gfontview/files/patch-ps.h b/print/gfontview/files/patch-ps.h new file mode 100644 index 000000000..5b02d7a12 --- /dev/null +++ b/print/gfontview/files/patch-ps.h @@ -0,0 +1,589 @@ +--- ps.h.orig Sun Jun 25 21:17:29 2000 ++++ ps.h Sun Nov 2 21:27:10 2003 +@@ -71,303 +71,303 @@ + "; + + +-const char *text_samples = "\ +-/TextSamplerDict 40 dict def +-TextSamplerDict begin +-/Inch {72 mul} def +-/linewidth 7 Inch def +-/yline 9.7 Inch def +-/LM 0.7 Inch def +-/wordbreak ( ) def +-/buf 8 string def +- +-/DoTitle { % fontname DoTitle +- /Helvetica findfont 18 scalefont setfont +- LM 10.5 Inch moveto +- show +- ( at ) show fontsize buf cvs show ( points, spacing = ) show +- spacing buf cvs show +-} def +- +-/DoSamples { % fontname fontsize spacing DoSamples +- /spacing exch def +- /fontsize exch def +- /fontname exch def +- +- fontname findfont fontsize scalefont setfont +- /newline {/yline yline fontsize spacing mul sub def LM yline moveto} def +- /breakwidth wordbreak stringwidth pop def +- /curwidth 0 def +- /lastwordbreak 0 def +- /startchar 0 def +- /restoftext textstring def +- +- +- LM yline moveto +- { restoftext wordbreak search +- { +- /nextword exch def pop +- /restoftext exch def +- /wordwidth nextword stringwidth pop def +- +- curwidth wordwidth add linewidth gt +- { +- textstring startchar lastwordbreak startchar sub getinterval +- show newline +- /startchar lastwordbreak def +- /curwidth wordwidth breakwidth add def +- } +- { +- /curwidth curwidth wordwidth breakwidth add add def +- } +- ifelse +- /lastwordbreak lastwordbreak nextword length 1 add add def +- } +- {pop exit} +- ifelse +- } loop +- /lastchar textstring length def +- textstring startchar lastchar startchar sub getinterval show +-} def +-end ++const char *text_samples = "\n\ ++/TextSamplerDict 40 dict def\n\ ++TextSamplerDict begin\n\ ++/Inch {72 mul} def\n\ ++/linewidth 7 Inch def\n\ ++/yline 9.7 Inch def\n\ ++/LM 0.7 Inch def\n\ ++/wordbreak ( ) def\n\ ++/buf 8 string def\n\ ++\n\ ++/DoTitle { % fontname DoTitle\n\ ++ /Helvetica findfont 18 scalefont setfont\n\ ++ LM 10.5 Inch moveto\n\ ++ show\n\ ++ ( at ) show fontsize buf cvs show ( points, spacing = ) show\n\ ++ spacing buf cvs show\n\ ++} def\n\ ++\n\ ++/DoSamples { % fontname fontsize spacing DoSamples\n\ ++ /spacing exch def\n\ ++ /fontsize exch def\n\ ++ /fontname exch def\n\ ++\n\ ++ fontname findfont fontsize scalefont setfont\n\ ++ /newline {/yline yline fontsize spacing mul sub def LM yline moveto} def\n\ ++ /breakwidth wordbreak stringwidth pop def\n\ ++ /curwidth 0 def\n\ ++ /lastwordbreak 0 def\n\ ++ /startchar 0 def\n\ ++ /restoftext textstring def\n\ ++\n\ ++\n\ ++ LM yline moveto\n\ ++ { restoftext wordbreak search\n\ ++ {\n\ ++ /nextword exch def pop\n\ ++ /restoftext exch def\n\ ++ /wordwidth nextword stringwidth pop def\n\ ++ \n\ ++ curwidth wordwidth add linewidth gt\n\ ++ {\n\ ++ textstring startchar lastwordbreak startchar sub getinterval\n\ ++ show newline\n\ ++ /startchar lastwordbreak def\n\ ++ /curwidth wordwidth breakwidth add def\n\ ++ }\n\ ++ {\n\ ++ /curwidth curwidth wordwidth breakwidth add add def\n\ ++ }\n\ ++ ifelse\n\ ++ /lastwordbreak lastwordbreak nextword length 1 add add def\n\ ++ }\n\ ++ {pop exit}\n\ ++ ifelse\n\ ++ } loop\n\ ++ /lastchar textstring length def\n\ ++ textstring startchar lastchar startchar sub getinterval show\n\ ++} def\n\ ++end\n\ + "; + + + +-const char *check_type42 = "\ +-languagelevel 2 lt +-{ +- /Helvetica findfont 14 scalefont setfont +- 72 420 moveto +- (Your printer or PostScript interpreter does not support PostScript Level 2) show +- showpage +- quit +-} if +- +-42 /FontType resourcestatus not +-{ +- /Helvetica findfont 14 scalefont setfont +- 72 420 moveto +- (Your printer or PostScript interpreter does not support Type 42 fonts) show +- showpage +- quit +-} if +-pop pop ++const char *check_type42 = "\n\ ++languagelevel 2 lt\n\ ++{\n\ ++ /Helvetica findfont 14 scalefont setfont\n\ ++ 72 420 moveto\n\ ++ (Your printer or PostScript interpreter does not support PostScript Level 2) show\n\ ++ showpage\n\ ++ quit\n\ ++} if\n\ ++\n\ ++42 /FontType resourcestatus not\n\ ++{\n\ ++ /Helvetica findfont 14 scalefont setfont\n\ ++ 72 420 moveto\n\ ++ (Your printer or PostScript interpreter does not support Type 42 fonts) show\n\ ++ showpage\n\ ++ quit\n\ ++} if\n\ ++pop pop\n\ + "; + + +-const char *phrase_samples = "\ +-/PhraseSamplerDict 20 dict def +-PhraseSamplerDict begin +-/Inch {72 mul} def +-/LM 0.5 Inch def +-/RM 7.6 Inch def +-/Temp 64 string def +-/T /Helvetica findfont 10 scalefont def +-/T6 /Helvetica findfont 6 scalefont def +-/Header { % text height Header +- RM exch moveto T6 setfont dup stringwidth pop neg 0 rmoveto show +-} def +-/FontName { % fontname fontfile height FontName +- /y exch def +- /FFile exch def +- /FName exch def +- +- LM y moveto +- T setfont FName Temp cvs show +- LM y 8 sub moveto +- T6 setfont FFile show +-} def +-/FontSample { % fontname size height FontSample +- /y exch def +- /FSize exch def +- /FName exch def +- +- LM 160 add y moveto +- mark +- { +- FName findfont FSize scalefont setfont +- StringSample show +- } +- stopped { +- LM 160 add y moveto +- T6 setfont (Error: ) show +- $error /errorname get Temp cvs show +- ( [) show +- $error /command get Temp cvs show +- (] ) show +- } +- if +- cleartomark +-} def +-end ++const char *phrase_samples = "\n\ ++/PhraseSamplerDict 20 dict def\n\ ++PhraseSamplerDict begin\n\ ++/Inch {72 mul} def\n\ ++/LM 0.5 Inch def\n\ ++/RM 7.6 Inch def\n\ ++/Temp 64 string def\n\ ++/T /Helvetica findfont 10 scalefont def\n\ ++/T6 /Helvetica findfont 6 scalefont def\n\ ++/Header { % text height Header\n\ ++ RM exch moveto T6 setfont dup stringwidth pop neg 0 rmoveto show\n\ ++} def\n\ ++/FontName { % fontname fontfile height FontName\n\ ++ /y exch def\n\ ++ /FFile exch def\n\ ++ /FName exch def\n\ ++\n\ ++ LM y moveto\n\ ++ T setfont FName Temp cvs show\n\ ++ LM y 8 sub moveto\n\ ++ T6 setfont FFile show\n\ ++} def\n\ ++/FontSample { % fontname size height FontSample\n\ ++ /y exch def\n\ ++ /FSize exch def\n\ ++ /FName exch def\n\ ++\n\ ++ LM 160 add y moveto\n\ ++ mark\n\ ++ {\n\ ++ FName findfont FSize scalefont setfont\n\ ++ StringSample show\n\ ++ }\n\ ++ stopped {\n\ ++ LM 160 add y moveto\n\ ++ T6 setfont (Error: ) show\n\ ++ $error /errorname get Temp cvs show\n\ ++ ( [) show\n\ ++ $error /command get Temp cvs show\n\ ++ (] ) show \n\ ++ }\n\ ++ if\n\ ++ cleartomark\n\ ++} def\n\ ++end\n\ + "; + + +-const char *size_samples = "\ +-/SizeSamplerDict 40 dict def +-SizeSamplerDict begin +-/Strings +-{ [ +- (ABCDEFGHIJKLMNOPQRSTUVWXYZ) +- (abcdefghijklmnopqrstuvwxyz) +- (0123456789<=>:;?@!\"#$%&') +- (\\( \\)*+,-./ [ \\\\ ]^_`{|}~) +-] } def +- +- +-/Sizes +-{ [ +- 8 10 12 14 20 24 28 +-] } def +- +-/infofont /Helvetica findfont 10 scalefont def +-/msg 8 string def +-/Inch {72 mul} def +-/DoTitle { % fontname DoTitle +- % Write the font name on top of the page +- /Helvetica findfont 18 scalefont setfont +- dup stringwidth +- exch 8 Inch exch sub 2 div exch +- 10.5 Inch exch sub +- moveto show +-} def +-/DoSamples { % font DoSamples +- % Make the font samples +- /fontname exch def +- /testfont fontname findfont def +- 1 setlinewidth +- 60 50 moveto +- +- Sizes +- { +- /size exch def +- testfont size scalefont setfont +- currentpoint translate % start of line +- 5 0 rmoveto +- +- Strings +- { +- currentpoint +- 3 -1 roll show +- moveto +- 0 1.2 size mul rmoveto % add 30% of the size vertically +- } forall % Strings +- +- -5 0 rmoveto +- currentpoint % end of line +- newpath 0 0 moveto lineto +- currentpoint stroke % leave end of line pos in stack +- +- % Print the font size in the middle of the line +- dup % leave y in the stack (x is 0) +- infofont setfont +- size msg cvs dup stringwidth % Push string 'n' and its size on the stack +- 4 -1 roll exch sub 2 div % Stack is 'string width ypos' +- exch 5 add neg exch moveto show % Move to the left and print +- +- moveto % take end of line pos from stack +- 0 15 rmoveto % Add vertical space between groups +- } forall % Sizes +-} def +-end ++const char *size_samples = "\n\ ++/SizeSamplerDict 40 dict def\n\ ++SizeSamplerDict begin\n\ ++/Strings\n\ ++{ [\n\ ++ (ABCDEFGHIJKLMNOPQRSTUVWXYZ)\n\ ++ (abcdefghijklmnopqrstuvwxyz)\n\ ++ (0123456789<=>:;?@!\"#$%&')\n\ ++ (\\( \\)*+,-./ [ \\\\ ]^_`{|}~)\n\ ++] } def\n\ ++\n\ ++\n\ ++/Sizes\n\ ++{ [\n\ ++ 8 10 12 14 20 24 28\n\ ++] } def\n\ ++\n\ ++/infofont /Helvetica findfont 10 scalefont def\n\ ++/msg 8 string def\n\ ++/Inch {72 mul} def\n\ ++/DoTitle { % fontname DoTitle\n\ ++ % Write the font name on top of the page\n\ ++ /Helvetica findfont 18 scalefont setfont\n\ ++ dup stringwidth\n\ ++ exch 8 Inch exch sub 2 div exch\n\ ++ 10.5 Inch exch sub\n\ ++ moveto show\n\ ++} def\n\ ++/DoSamples { % font DoSamples\n\ ++ % Make the font samples\n\ ++ /fontname exch def\n\ ++ /testfont fontname findfont def\n\ ++ 1 setlinewidth\n\ ++ 60 50 moveto\n\ ++\n\ ++ Sizes\n\ ++ {\n\ ++ /size exch def\n\ ++ testfont size scalefont setfont\n\ ++ currentpoint translate % start of line\n\ ++ 5 0 rmoveto\n\ ++\n\ ++ Strings\n\ ++ {\n\ ++ currentpoint\n\ ++ 3 -1 roll show\n\ ++ moveto\n\ ++ 0 1.2 size mul rmoveto % add 30% of the size vertically\n\ ++ } forall % Strings\n\ ++\n\ ++ -5 0 rmoveto\n\ ++ currentpoint % end of line\n\ ++ newpath 0 0 moveto lineto\n\ ++ currentpoint stroke % leave end of line pos in stack\n\ ++ \n\ ++ % Print the font size in the middle of the line\n\ ++ dup % leave y in the stack (x is 0)\n\ ++ infofont setfont\n\ ++ size msg cvs dup stringwidth % Push string 'n' and its size on the stack\n\ ++ 4 -1 roll exch sub 2 div % Stack is 'string width ypos'\n\ ++ exch 5 add neg exch moveto show % Move to the left and print\n\ ++\n\ ++ moveto % take end of line pos from stack\n\ ++ 0 15 rmoveto % Add vertical space between groups\n\ ++ } forall % Sizes\n\ ++} def\n\ ++end\n\ + "; + + + +-const char *map_samples = "\ +-/MapSamplerDict 40 dict def +-MapSamplerDict begin +-/T /Helvetica findfont 10 scalefont def +-/T6 /Times-Roman findfont 6 scalefont def +-/Temp 64 string def +-/Inch {72 mul} def +-/Base 16 def % char code output base +-/TempEncoding [ 256 { /.notdef } repeat ] def +-/ISOLatin1Dict 256 dict def +-ISOLatin1Encoding { ISOLatin1Dict exch true put } forall +-/min { 2 copy gt { exch } if pop } bind def +-/DoChar { +- /C exch def +- /S (_) dup 0 C put def +- /N F /Encoding get C get def +- /W F setfont S stringwidth pop def +- T6 setfont +- 0 -20 moveto N Temp cvs show +- 0 -12 moveto +- W 0.0005 add Temp cvs 0 5 getinterval show +- N /.notdef ne { +- 3 0 translate +- 0 0 moveto F24 setfont S show +- /W S stringwidth pop def +- 0 -6 moveto 0 24 lineto +- W -6 moveto W 24 lineto +- -3 0 moveto W 3 add 0 lineto +- 0 setlinewidth stroke +- } if +-} def +-/DoTitle { % fontname DoTitle +- /Helvetica findfont 18 scalefont setfont +- dup stringwidth +- exch 8 Inch exch sub 2 div exch +- 10.7 Inch exch sub +- moveto show +-} def +-/Header { % header Header +- 7.6 Inch 10.7 Inch moveto T setfont dup stringwidth pop neg 0 rmoveto show +-} def +-/DoBlock { % firstcode lastcode DoBlock +- /FirstCode 2 index def +- 1 exch { +- /I exch def +- /Xn I FirstCode sub 16 mod def /Yn I FirstCode sub 16 idiv def +- gsave +- Xn 36 mul 9 add Yn -56 mul 9.5 Inch add translate +- I DoChar +- grestore +- } for +-} def +-/FontShow0 { % fontname FontShow0 +- /FName exch def % font name +- /F FName findfont def +- /Done 256 dict def +- /NewEncoding [ +- ISOLatin1Encoding { +- dup F /CharStrings get exch known { +- dup Done exch known { pop } { dup Done exch true put } ifelse +- } { pop } ifelse +- } forall +- F /CharStrings get { +- pop dup ISOLatin1Dict exch known { pop } if +- } forall +- ] def +- F length dict F { +- 1 index /FID eq { pop pop } { 2 index 3 1 roll put } ifelse +- } forall +- dup /Encoding NewEncoding put +- /* exch definefont +- /F exch def +- /F24 F 24 scalefont def +- 70 160 translate +- 0.80 dup scale +- 0 NewEncoding length 1 sub DoBlock +-} def +-/FontShowV { % encoding fontname FontShowV +- /FName exch def +- /NewEncoding exch def +- /F FName findfont def +- F length dict F { +- 1 index /FID eq { pop pop } { 2 index 3 1 roll put } ifelse +- } forall +- dup /Encoding NewEncoding put +- /* exch definefont +- /F exch def +- /F24 F 24 scalefont def +- 70 160 translate +- 0.80 dup scale +- 0 NewEncoding length 1 sub DoBlock +-} def +-end ++const char *map_samples = "\n\ ++/MapSamplerDict 40 dict def\n\ ++MapSamplerDict begin\n\ ++/T /Helvetica findfont 10 scalefont def\n\ ++/T6 /Times-Roman findfont 6 scalefont def\n\ ++/Temp 64 string def\n\ ++/Inch {72 mul} def\n\ ++/Base 16 def % char code output base\n\ ++/TempEncoding [ 256 { /.notdef } repeat ] def\n\ ++/ISOLatin1Dict 256 dict def\n\ ++ISOLatin1Encoding { ISOLatin1Dict exch true put } forall\n\ ++/min { 2 copy gt { exch } if pop } bind def\n\ ++/DoChar {\n\ ++ /C exch def\n\ ++ /S (_) dup 0 C put def\n\ ++ /N F /Encoding get C get def\n\ ++ /W F setfont S stringwidth pop def\n\ ++ T6 setfont\n\ ++ 0 -20 moveto N Temp cvs show\n\ ++ 0 -12 moveto\n\ ++ W 0.0005 add Temp cvs 0 5 getinterval show\n\ ++ N /.notdef ne {\n\ ++ 3 0 translate\n\ ++ 0 0 moveto F24 setfont S show\n\ ++ /W S stringwidth pop def\n\ ++ 0 -6 moveto 0 24 lineto\n\ ++ W -6 moveto W 24 lineto\n\ ++ -3 0 moveto W 3 add 0 lineto\n\ ++ 0 setlinewidth stroke\n\ ++ } if\n\ ++} def \n\ ++/DoTitle { % fontname DoTitle\n\ ++ /Helvetica findfont 18 scalefont setfont\n\ ++ dup stringwidth\n\ ++ exch 8 Inch exch sub 2 div exch\n\ ++ 10.7 Inch exch sub\n\ ++ moveto show\n\ ++} def\n\ ++/Header { % header Header\n\ ++ 7.6 Inch 10.7 Inch moveto T setfont dup stringwidth pop neg 0 rmoveto show\n\ ++} def\n\ ++/DoBlock { % firstcode lastcode DoBlock\n\ ++ /FirstCode 2 index def\n\ ++ 1 exch {\n\ ++ /I exch def\n\ ++ /Xn I FirstCode sub 16 mod def /Yn I FirstCode sub 16 idiv def\n\ ++ gsave\n\ ++ Xn 36 mul 9 add Yn -56 mul 9.5 Inch add translate\n\ ++ I DoChar\n\ ++ grestore\n\ ++ } for\n\ ++} def \n\ ++/FontShow0 { % fontname FontShow0\n\ ++ /FName exch def % font name\n\ ++ /F FName findfont def\n\ ++ /Done 256 dict def\n\ ++ /NewEncoding [\n\ ++ ISOLatin1Encoding {\n\ ++ dup F /CharStrings get exch known {\n\ ++ dup Done exch known { pop } { dup Done exch true put } ifelse\n\ ++ } { pop } ifelse\n\ ++ } forall\n\ ++ F /CharStrings get {\n\ ++ pop dup ISOLatin1Dict exch known { pop } if\n\ ++ } forall\n\ ++ ] def\n\ ++ F length dict F {\n\ ++ 1 index /FID eq { pop pop } { 2 index 3 1 roll put } ifelse\n\ ++ } forall\n\ ++ dup /Encoding NewEncoding put\n\ ++ /* exch definefont\n\ ++ /F exch def\n\ ++ /F24 F 24 scalefont def\n\ ++ 70 160 translate\n\ ++ 0.80 dup scale\n\ ++ 0 NewEncoding length 1 sub DoBlock\n\ ++} def \n\ ++/FontShowV { % encoding fontname FontShowV\n\ ++ /FName exch def \n\ ++ /NewEncoding exch def\n\ ++ /F FName findfont def\n\ ++ F length dict F {\n\ ++ 1 index /FID eq { pop pop } { 2 index 3 1 roll put } ifelse\n\ ++ } forall\n\ ++ dup /Encoding NewEncoding put\n\ ++ /* exch definefont\n\ ++ /F exch def\n\ ++ /F24 F 24 scalefont def\n\ ++ 70 160 translate\n\ ++ 0.80 dup scale\n\ ++ 0 NewEncoding length 1 sub DoBlock\n\ ++} def\n\ ++end\n\ + "; + + diff --git a/print/gfontview/pkg-descr b/print/gfontview/pkg-descr new file mode 100644 index 000000000..f5f7468a2 --- /dev/null +++ b/print/gfontview/pkg-descr @@ -0,0 +1,8 @@ +An outline font viewer. + +I want to be able to view uninstalled fonts. So I started with the program, +left alone all installation issues (handled by DTM), and tried to optimize +it as a font displayer. It should handle Type 1 and True Type fonts and have +some enhancements such as finding typographically similar fonts. + +WWW: http://gfontview.sourceforge.net/ diff --git a/print/gfontview/pkg-plist b/print/gfontview/pkg-plist new file mode 100644 index 000000000..517d2ad80 --- /dev/null +++ b/print/gfontview/pkg-plist @@ -0,0 +1,8 @@ +bin/gfontview +share/gfontviewrc +share/gnome/apps/Utilities/gfontview.desktop +share/pixmaps/gfontview.png +share/locale/de/LC_MESSAGES/gfontview.mo +share/locale/es/LC_MESSAGES/gfontview.mo +share/locale/fr/LC_MESSAGES/gfontview.mo +share/locale/ru/LC_MESSAGES/gfontview.mo 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> diff --git a/sysutils/gfslicer/Makefile b/sysutils/gfslicer/Makefile new file mode 100644 index 000000000..5393ada32 --- /dev/null +++ b/sysutils/gfslicer/Makefile @@ -0,0 +1,41 @@ +# ex:ts=8 +# Ports collection makefile for: gfslicer +# Date created: Jan 11, 2002 +# Whom: ijliao +# +# $FreeBSD$ +# + +PORTNAME= gfslicer +PORTVERSION= 1.5.4 +PORTREVISION= 3 +CATEGORIES= sysutils +MASTER_SITES= ${MASTER_SITE_DEBIAN_POOL} +DISTNAME= ${PORTNAME}_${PORTVERSION}.orig + +MAINTAINER= ports@FreeBSD.org +COMMENT= A utility to split and join files + +WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} + +USE_AUTOTOOLS= automake:14:env +USE_X_PREFIX= yes +USE_GNOME= gnomehack gnomelibs gnomeprefix +USE_GMAKE= yes +GNU_CONFIGURE= yes +CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ + LDFLAGS="-L${LOCALBASE}/lib" + +MAN1= gfslicer.1 +MANCOMPRESSED= yes + +post-extract: +.for file in install-sh missing mkinstalldirs + @${LN} -sf ${AUTOMAKE_DIR}/${file} ${WRKSRC} +.endfor + @${RM} -f ${WRKSRC}/config.cache + +post-install: + ${INSTALL_MAN} ${WRKSRC}/${MAN1}.gz ${MANPREFIX}/man/man1 + +.include <bsd.port.mk> diff --git a/sysutils/gfslicer/distinfo b/sysutils/gfslicer/distinfo new file mode 100644 index 000000000..0ffa1f594 --- /dev/null +++ b/sysutils/gfslicer/distinfo @@ -0,0 +1,3 @@ +MD5 (gfslicer_1.5.4.orig.tar.gz) = 78b8e66beb4af36ff5a18147c8daf967 +SHA256 (gfslicer_1.5.4.orig.tar.gz) = cd8f8d2bc323ae366ee3ba9814a93c9941e78f62a6818b791a60ffdf677152d5 +SIZE (gfslicer_1.5.4.orig.tar.gz) = 181879 diff --git a/sysutils/gfslicer/pkg-descr b/sysutils/gfslicer/pkg-descr new file mode 100644 index 000000000..85295dcd0 --- /dev/null +++ b/sysutils/gfslicer/pkg-descr @@ -0,0 +1,9 @@ +gfslicer is a software which helps to slice and then deslice files which +are of larger size. Generally transferring of larger files is meant to +be a tough job and this one makes it possible and easy too. gfslicer is +mainly aimed at slicing and transferring files using any sort of removable +storage media. Files can be sliced to any arbitrary size as per the +requirement and can be transferred using floppies or things of that sort. +The sliced files can then be desliced to the original form with its name +and extension. A perfect checking mechanism helps in avoiding all possible +errors in the sliced and desliced files. diff --git a/sysutils/gfslicer/pkg-plist b/sysutils/gfslicer/pkg-plist new file mode 100644 index 000000000..bb2cd94e6 --- /dev/null +++ b/sysutils/gfslicer/pkg-plist @@ -0,0 +1,7 @@ +bin/gfslicer +share/pixmaps/gfslicer/deslice.xpm +share/pixmaps/gfslicer/pref.xpm +share/pixmaps/gfslicer/slice.xpm +share/pixmaps/gfslicer/tar.xpm +share/pixmaps/gfslicer/untar.xpm +@dirrm share/pixmaps/gfslicer diff --git a/sysutils/gupsc/Makefile b/sysutils/gupsc/Makefile new file mode 100644 index 000000000..7b9071630 --- /dev/null +++ b/sysutils/gupsc/Makefile @@ -0,0 +1,31 @@ +# New ports collection makefile for: gupsc +# Date created: 13 March 2001 +# Whom: Dmitry Sivachenko <demon@FreeBSD.org> +# +# $FreeBSD$ +# + +PORTNAME= gupsc +PORTVERSION= 0.3.1 +PORTREVISION= 5 +CATEGORIES= sysutils gnome +MASTER_SITES= http://heim.ifi.uio.no/~hennikul/gupsc/download/ + +MAINTAINER= demon@FreeBSD.org +COMMENT= A free Gnome client for the Network UPS Tools + +USE_BZIP2= yes +USE_GMAKE= yes +USE_GNOME= gnomelibs gnomehier +USE_PERL5_BUILD=yes +GNU_CONFIGURE= yes +CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ + LIBS="-L${LOCALBASE}/lib" + +pre-patch: + @${PERL} -pi -e 's|-lpthread|${PTHREAD_LIBS}|g ; \ + s|/usr/local|${PREFIX}|; \ + s|DATADIRNAME=lib|DATADIRNAME=share|g' ${WRKSRC}/configure \ + ${WRKSRC}/src/Makefile.in + +.include <bsd.port.mk> diff --git a/sysutils/gupsc/distinfo b/sysutils/gupsc/distinfo new file mode 100644 index 000000000..ae8cbfa57 --- /dev/null +++ b/sysutils/gupsc/distinfo @@ -0,0 +1,3 @@ +MD5 (gupsc-0.3.1.tar.bz2) = da182496ff347dccc4c24f2e9c803a06 +SHA256 (gupsc-0.3.1.tar.bz2) = bb3f8ef309c9902512fdeee8bb7b5fa1ddbaa53965eb2723f640aa5048c3381d +SIZE (gupsc-0.3.1.tar.bz2) = 192472 diff --git a/sysutils/gupsc/pkg-descr b/sysutils/gupsc/pkg-descr new file mode 100644 index 000000000..89dd97852 --- /dev/null +++ b/sysutils/gupsc/pkg-descr @@ -0,0 +1,11 @@ +This is a GNOME client for the Network UPS Tools Package. +It will display information about battery-status, load-status, AC-current +and AC-frequency in a window. You can choose which machine to get the +information from, and the rate at which it gets this information. + +This package requires NUT on the machine the UPS is connected to. It does +not require NUT installed on the machine you want to run gupsc on. +For information about how to configure NUT, and how to allow external +machines to connect to the upsd, please check the documentation for NUT. + +WWW: http://heim.ifi.uio.no/~hennikul/gupsc/ diff --git a/sysutils/gupsc/pkg-plist b/sysutils/gupsc/pkg-plist new file mode 100644 index 000000000..9cebcafcb --- /dev/null +++ b/sysutils/gupsc/pkg-plist @@ -0,0 +1,7 @@ +bin/gupsc +share/locale/no/LC_MESSAGES/gupsc.mo +share/gnome/apps/System/gupsc.desktop +share/pixmaps/gupsc/ups.png +@dirrm share/pixmaps/gupsc +@dirrmtry share/locale/no/LC_MESSAGES +@dirrmtry share/locale/no diff --git a/textproc/gtkdiff/Makefile b/textproc/gtkdiff/Makefile new file mode 100644 index 000000000..b29042b32 --- /dev/null +++ b/textproc/gtkdiff/Makefile @@ -0,0 +1,28 @@ +# New ports collection makefile for: gtkdiff +# Date created: 17 November 1999 +# Whom: Maxim Sobolev <sobomax@FreeBSD.org> +# +# $FreeBSD$ +# + +PORTNAME= gtkdiff +PORTVERSION= 1.8.0 +PORTREVISION= 3 +CATEGORIES= textproc gnome +MASTER_SITES= http:www.alaskaparadise.com/freebsd/ + +MAINTAINER= beech@alaskaparadise.com +COMMENT= A frontend program for diff(1) written for GNOME + +USE_X_PREFIX= yes +USE_GNOME= gnomehack gnomeprefix gnomelibs +GNU_CONFIGURE= yes +CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ + LDFLAGS="-L${LOCALBASE}/lib" + +MAN1= gtkdiff.1 gtkdiff-rcs.1 + +post-patch: + @${REINPLACE_CMD} -e 's|-lpthread|${PTHREAD_LIBS}|g' ${WRKSRC}/configure + +.include <bsd.port.mk> diff --git a/textproc/gtkdiff/distinfo b/textproc/gtkdiff/distinfo new file mode 100644 index 000000000..56e88ac02 --- /dev/null +++ b/textproc/gtkdiff/distinfo @@ -0,0 +1,3 @@ +MD5 (gtkdiff-1.8.0.tar.gz) = 536979ae70650680518a0b79d14e9366 +SHA256 (gtkdiff-1.8.0.tar.gz) = 08e73f969abc69f9eb325d30916ff2c25af943638aa0659097fa91989737109f +SIZE (gtkdiff-1.8.0.tar.gz) = 282002 diff --git a/textproc/gtkdiff/pkg-descr b/textproc/gtkdiff/pkg-descr new file mode 100644 index 000000000..e99cbce53 --- /dev/null +++ b/textproc/gtkdiff/pkg-descr @@ -0,0 +1,4 @@ +gtkdiff is a frontend program for diff. It's written with GTK+ and +requires GNOME. + +WWW: http://home.catv.ne.jp/pp/ginoue/software/gtkdiff/ diff --git a/textproc/gtkdiff/pkg-plist b/textproc/gtkdiff/pkg-plist new file mode 100644 index 000000000..d751bf705 --- /dev/null +++ b/textproc/gtkdiff/pkg-plist @@ -0,0 +1,12 @@ +bin/gtkdiff +bin/gtkdiff-cvs +bin/gtkdiff-rcs +share/gnome/apps/Utilities/gtkdiff.desktop +%%DATADIR%%/gtkdiffrc +share/locale/da/LC_MESSAGES/gtkdiff.mo +share/locale/de/LC_MESSAGES/gtkdiff.mo +share/locale/es/LC_MESSAGES/gtkdiff.mo +share/locale/fr/LC_MESSAGES/gtkdiff.mo +share/locale/ja/LC_MESSAGES/gtkdiff.mo +share/locale/tr/LC_MESSAGES/gtkdiff.mo +@dirrm %%DATADIR%% diff --git a/textproc/gxmlviewer/Makefile b/textproc/gxmlviewer/Makefile new file mode 100644 index 000000000..a64f2e730 --- /dev/null +++ b/textproc/gxmlviewer/Makefile @@ -0,0 +1,35 @@ +# ex:ts=8 +# New ports collection makefile for: gxmlviewer +# Date created: Nov 8, 2001 +# Whom: ijliao +# +# $FreeBSD$ +# + +PORTNAME= gxmlviewer +PORTVERSION= 1.3.3 +PORTREVISION= 5 +CATEGORIES= textproc +MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} +MASTER_SITE_SUBDIR= ${PORTNAME} + +MAINTAINER= ports@FreeBSD.org +COMMENT= An xmlviewer with a netscape plugin, and now a bonobo control as well + +USE_XLIB= yes +USE_GNOME= bonobo gnomehack gnomelibs gnomeprefix libxml2 +USE_GETTEXT= yes +GNU_CONFIGURE= yes +CONFIGURE_ARGS= --with-libiconv-prefix="${LOCALBASE}" + +post-patch: + @${REINPLACE_CMD} -e 's|intl||g' ${WRKSRC}/Makefile.in + @${REINPLACE_CMD} -e 's|= -DXP_UNIX|= -fPIC -DXP_UNIX|g ; \ + s|/netscape/|/gxmlviewer/|g' ${WRKSRC}/src/nsplugin/Makefile.in + +post-install: + @${MKDIR} ${LOCALBASE}/lib/browser_plugins + @${LN} -sf ${PREFIX}/lib/gxmlviewer/plugins/npgxmlviewer.so \ + ${LOCALBASE}/lib/browser_plugins/npgxmlviewer.so + +.include <bsd.port.mk> diff --git a/textproc/gxmlviewer/distinfo b/textproc/gxmlviewer/distinfo new file mode 100644 index 000000000..289ad7c6d --- /dev/null +++ b/textproc/gxmlviewer/distinfo @@ -0,0 +1,3 @@ +MD5 (gxmlviewer-1.3.3.tar.gz) = e1f159e003e2ca99482ac7cf8677365e +SHA256 (gxmlviewer-1.3.3.tar.gz) = 9b6f737132334666d405a9f591634e8c366817fe703752946c3b51bf3b85508c +SIZE (gxmlviewer-1.3.3.tar.gz) = 224529 diff --git a/textproc/gxmlviewer/files/patch-configure b/textproc/gxmlviewer/files/patch-configure new file mode 100644 index 000000000..83129c294 --- /dev/null +++ b/textproc/gxmlviewer/files/patch-configure @@ -0,0 +1,25 @@ +--- configure.orig Thu Oct 23 19:31:15 2003 ++++ configure Thu Oct 23 19:41:08 2003 +@@ -4106,7 +4106,7 @@ + else + echo $ac_n "checking version of bison""... $ac_c" 1>&6 + echo "configure:4109: checking version of bison" >&5 +- ac_prog_version=`$INTLBISON --version 2>&1 | sed -n 's/^.*GNU Bison .* \([0-9]*\.[0-9.]*\).*$/\1/p'` ++ ac_prog_version=`$INTLBISON --version 2>&1 | sed -n 's/^.*GNU Bison.* \([0-9]*\.[0-9.]*\).*$/\1/p'` + case $ac_prog_version in + '') ac_prog_version="v. ?.??, bad"; ac_verc_fail=yes;; + 1.2[6-9]* | 1.[3-9][0-9]* | [2-9].*) +@@ -4195,9 +4195,10 @@ + echo $ac_n "checking for libxml >= 2.3.1""... $ac_c" 1>&6 + echo "configure:4197: checking for libxml >= 2.3.1" >&5 + if xml2-config --libs > /dev/null 2>&1; then +- vers=`xml2-config --version | sed -e "s/xml-//" -e 's/cvs$//' -e 's/pre$//' | \ +- awk 'BEGIN { FS = "."; } { print $3;}'` +- if test "$vers" -ge 1; then ++ vers=`xml2-config --version | sed -e "s/xml-//" -e 's/cvs$//' -e 's/pre$//'` ++ vers_minor=`echo ${vers} | awk 'BEGIN { FS = "."; } { print $2;}'` ++ vers_rev=`echo ${vers} | awk 'BEGIN { FS = "."; } { print $3;}'` ++ if test "$vers_minor" -gt 3 -o "$vers_minor" -ge 3 -a "$vers_rev" -ge 1; then + echo "$ac_t""found ("$vers")" 1>&6 + XML_CFLAGS="`xml2-config --cflags`" + XML_LIBS="`xml2-config --libs`" diff --git a/textproc/gxmlviewer/files/patch-xmlformatter.c b/textproc/gxmlviewer/files/patch-xmlformatter.c new file mode 100644 index 000000000..6bde9aec0 --- /dev/null +++ b/textproc/gxmlviewer/files/patch-xmlformatter.c @@ -0,0 +1,14 @@ +--- src/extras/xmlformatter.c.orig Thu Apr 4 15:47:47 2002 ++++ src/extras/xmlformatter.c Thu Apr 4 15:48:50 2002 +@@ -8,9 +8,9 @@ + + #include <string.h> + #include <gtk/gtk.h> +-#include <SAX.h> +-#include <parser.h> +-#include <parserInternals.h> ++#include <libxml/SAX.h> ++#include <libxml/parser.h> ++#include <libxml/parserInternals.h> + + #include <unistd.h> diff --git a/textproc/gxmlviewer/files/patch-xmlparser.c b/textproc/gxmlviewer/files/patch-xmlparser.c new file mode 100644 index 000000000..8871d5385 --- /dev/null +++ b/textproc/gxmlviewer/files/patch-xmlparser.c @@ -0,0 +1,17 @@ +--- src/xmlparser.c.orig Thu Apr 4 17:05:35 2002 ++++ src/xmlparser.c Thu Apr 4 17:08:09 2002 +@@ -8,15 +8,9 @@ + + #include <string.h> + #include <gtk/gtk.h> +-#ifndef WIN32 +-#include <SAX.h> +-#include <parser.h> +-#include <parserInternals.h> +-#else + #include <libxml/SAX.h> + #include <libxml/parser.h> + #include <libxml/parserInternals.h> +-#endif + #include "xmlparser.h" + #include "support.h" diff --git a/textproc/gxmlviewer/pkg-descr b/textproc/gxmlviewer/pkg-descr new file mode 100644 index 000000000..66b09a6aa --- /dev/null +++ b/textproc/gxmlviewer/pkg-descr @@ -0,0 +1,5 @@ +gxmlviewer is an xml viewer written using libxml and gnome-libs. It is a +stand-alone xmlviewer with a netscpe plugin. The purpose of the app is to +create an xmlviewer that will present the xml in its source view. + +WWW: http://gxmlviewer.sourceforge.net/ diff --git a/textproc/gxmlviewer/pkg-plist b/textproc/gxmlviewer/pkg-plist new file mode 100644 index 000000000..24f5da4d4 --- /dev/null +++ b/textproc/gxmlviewer/pkg-plist @@ -0,0 +1,11 @@ +bin/gxmlviewer +bin/xmlview-control +bin/xmlformatter +lib/gxmlviewer/plugins/npgxmlviewer.so +share/oaf/GNOME_XMLView.oaf +@unexec rm -f %%LOCALBASE%%/lib/browser_plugins/npgxmlviewer.so +@unexec rmdir %%LOCALBASE%%/lib/browser_plugins 2>/dev/null || true +@exec mkdir -p %%LOCALBASE%%/lib/browser_plugins 2>/dev/null || true +@exec ln -sf %D/lib/gxmlviewer/plugins/npgxmlviewer.so %%LOCALBASE%%/lib/browser_plugins/npgxmlviewer.so +@dirrm lib/gxmlviewer/plugins +@dirrm lib/gxmlviewer |