diff options
Diffstat (limited to 'net-im/linpopup')
-rw-r--r-- | net-im/linpopup/Makefile | 38 | ||||
-rw-r--r-- | net-im/linpopup/distinfo | 2 | ||||
-rw-r--r-- | net-im/linpopup/files/extra-patch-samba3 | 12 | ||||
-rw-r--r-- | net-im/linpopup/files/patch-aa | 69 | ||||
-rw-r--r-- | net-im/linpopup/files/patch-ab | 21 | ||||
-rw-r--r-- | net-im/linpopup/files/patch-ac | 21 | ||||
-rw-r--r-- | net-im/linpopup/pkg-descr | 11 | ||||
-rw-r--r-- | net-im/linpopup/pkg-install | 6 | ||||
-rw-r--r-- | net-im/linpopup/pkg-message | 4 | ||||
-rw-r--r-- | net-im/linpopup/pkg-plist | 18 |
10 files changed, 0 insertions, 202 deletions
diff --git a/net-im/linpopup/Makefile b/net-im/linpopup/Makefile deleted file mode 100644 index d3fd2575ad6d..000000000000 --- a/net-im/linpopup/Makefile +++ /dev/null @@ -1,38 +0,0 @@ -# New ports collection makefile for: linpopup -# Date created: 20 Nov 2000 -# Whom: Roman Shterenzon <roman@xpert.com> -# -# $FreeBSD$ -# - -PORTNAME= linpopup -PORTVERSION= 1.2.0 -PORTREVISION= 1 -CATEGORIES= net -MASTER_SITES= http://www.chez.com/littleigloo/files/ -DISTNAME= LinPopUp-${PORTVERSION}.src - -MAINTAINER= ports@FreeBSD.org -COMMENT= X11 port of WinPopup - -RUN_DEPENDS= ${LOCALBASE}/bin/smbclient:${PORTSDIR}/net/samba - -WRKSRC= ${WRKDIR}/LinPopUp-${PORTVERSION}/src -ALL_TARGET= -MAN1= linpopup.1 LinPopUp.1 - -USE_GNOME= gtk12 -USE_X_PREFIX= yes -USE_REINPLACE= yes - -.if defined(WITH_SAMBA3) -EXTRA_PATCHES+= ${FILESDIR}/extra-patch-samba3 -.endif - -post-patch: - ${REINPLACE_CMD} -e "s#/doc/#/share/doc/#" ${WRKSRC}/Makefile - -post-install: - @${CAT} ${PKGMESSAGE} - -.include <bsd.port.mk> diff --git a/net-im/linpopup/distinfo b/net-im/linpopup/distinfo deleted file mode 100644 index 1120aa942595..000000000000 --- a/net-im/linpopup/distinfo +++ /dev/null @@ -1,2 +0,0 @@ -MD5 (LinPopUp-1.2.0.src.tar.gz) = 26503ac44971e334cbbb0a79dd796d93 -SIZE (LinPopUp-1.2.0.src.tar.gz) = 145628 diff --git a/net-im/linpopup/files/extra-patch-samba3 b/net-im/linpopup/files/extra-patch-samba3 deleted file mode 100644 index a172b6d1bb48..000000000000 --- a/net-im/linpopup/files/extra-patch-samba3 +++ /dev/null @@ -1,12 +0,0 @@ -diff -ur send.c send.c ---- send.c Tue Mar 14 03:45:05 2000 -+++ send.c Wed Feb 2 17:05:46 2005 -@@ -92,7 +92,7 @@ - /* -- launch smbclient and read output from pipe -- */ - //sprintf (command_line, "( %s cat %s ) | smbclient -M \"%s\" -U \"%s\" -n \"%s\" \"%s\"", (MULTI_RECIPIENTS ? prefix : ""), temp_filename, head_text, user_rc.samba_username, user_rc.samba_nbiosname, user_rc.samba_misc); - -- sprintf (command_line, "( %s cat %s ) | smbclient -M \"%s\" -U \"%s\" -n \"%s\" \"%s\" 2>&1", (MULTI_RECIPIENTS ? prefix : ""), temp_filename, head_text, user_rc.samba_username, user_rc.samba_nbiosname, user_rc.samba_misc); -+ sprintf (command_line, "( %s cat %s ) | smbclient -M \"%s\" -U \"%s\" -n \"%s\" 2>&1", (MULTI_RECIPIENTS ? prefix : ""), temp_filename, head_text, user_rc.samba_username, user_rc.samba_nbiosname); - - - output = popen (command_line, "r"); diff --git a/net-im/linpopup/files/patch-aa b/net-im/linpopup/files/patch-aa deleted file mode 100644 index ca7726647aa2..000000000000 --- a/net-im/linpopup/files/patch-aa +++ /dev/null @@ -1,69 +0,0 @@ ---- Makefile.orig Tue Mar 14 04:45:05 2000 -+++ Makefile Mon Nov 20 15:22:53 2000 -@@ -1,20 +1,21 @@ - SHELL=/bin/sh --CC = gcc --CFLAGS = -Wall -O2 -fno-strength-reduce #-g -pedantic --GTK_CFLAGS = `gtk-config --cflags` --GTK_LIBS = `gtk-config --libs` -+CC ?= gcc -+CFLAGS ?= -Wall -O2 -fno-strength-reduce #-g -pedantic -+GTK_CONFIG ?= gtk-config -+GTK_CFLAGS = `${GTK_CONFIG} --cflags` -+GTK_LIBS = `${GTK_CONFIG} --libs` - LFLAGS = $(GTK_LIBS) -lXmu -lXt -lSM -lICE - PROGNAME-STATIC = LinPopUp-static - PROGNAME = LinPopUp - PROGNAME_LNK = linpopup - VERSION = 1.2.0 - VERSION_DATE = 2000 --DESTDIR = /usr/local --INSTALL_BINPATH = $(DESTDIR)/bin --INSTALL_MANPATH = $(DESTDIR)/man --DOC_DIR = $(DESTDIR)/doc/$(PROGNAME)-$(VERSION) --SHARE_DIR = $(DESTDIR)/share/$(PROGNAME) --DATA_DIR = /var/lib/linpopup -+PREFIX ?= /usr/local -+INSTALL_BINPATH = $(PREFIX)/bin -+INSTALL_MANPATH = $(PREFIX)/man -+DOC_DIR = $(PREFIX)/doc/$(PROGNAME) -+SHARE_DIR = $(PREFIX)/share/$(PROGNAME) -+DATA_DIR ?= /var/db/linpopup - DATA_FILE = $(DATA_DIR)/messages.dat - - RPM_RELEASE = 1 -@@ -22,9 +23,9 @@ - RPM_ICONNAME = linpopup.gif - - --$(PROGNAME): version.o dialog.o main.o text.o menu.o toolbar.o io.o send.o recept.o\ -- custom.o string.o GTKmisc.o docs.o netscape_remote.o execute.o -- $(CC) $(CFLAGS) -v $^ -o $(PROGNAME) $(GTK_CFLAGS) $(LFLAGS) -+$(PROGNAME): version.o dialog.o main.o text.o menu.o toolbar.o io.o send.o \ -+ recept.o custom.o string.o GTKmisc.o docs.o netscape_remote.o execute.o -+ $(CC) $(CFLAGS) $? -o $(PROGNAME) $(GTK_CFLAGS) $(LFLAGS) - - - install : -@@ -97,10 +98,10 @@ - > ../extra/$(PROGNAME).1.in; \ - fi; - @sed -e s,THIS_DATA_FILE,$(DATA_FILE), \ -- -e s,THIS_DESTDIR,$(DESTDIR), \ -+ -e s,THIS_DESTDIR,$(PREFIX), \ - -e s,THIS_VERSION,$(VERSION), \ - ../extra/$(PROGNAME).1.in > ../$(PROGNAME).1 -- @sed -e s,THIS_DESTDIR,$(DESTDIR), ../extra/install.in > ../INSTALL -+ @sed -e s,THIS_DESTDIR,$(PREFIX), ../extra/install.in > ../INSTALL - @nroff -mandoc -Tlatin1 ../$(PROGNAME).1 | col -bx > ../MANUAL - - -@@ -115,7 +116,7 @@ - @echo "#define COMPILE_TIME \"`date +%T`\"" >> version.h - @echo "#define COMPILE_BY \"`whoami`\"" >> version.h - @echo "#define COMPILE_HOST \"`hostname`\"" >> version.h -- @echo "#define GTK_VERSION \"GTK+ `gtk-config --version`\"" >> version.h -+ @echo "#define GTK_VERSION \"GTK+ `$GTK_CONFIG --version`\"" >> version.h - @echo "#define CC_VERSION \"`$(CC) -v 2>&1 | tail -1`\"">>version.h - @echo "#define CODE_LINES `cat *.c protos.h | grep -ch -e \"[[:alpha:]|[:punct:]]\"`">>version.h - diff --git a/net-im/linpopup/files/patch-ab b/net-im/linpopup/files/patch-ab deleted file mode 100644 index 02d7dcd5c34e..000000000000 --- a/net-im/linpopup/files/patch-ab +++ /dev/null @@ -1,21 +0,0 @@ ---- send.c.orig Mon Nov 20 16:07:54 2000 -+++ send.c Mon Nov 20 16:18:43 2000 -@@ -161,7 +161,7 @@ - gchar message_text[2048]; - guint message_length; - char IS_TRUNCATED = FALSE; -- char *temp_filename; -+ static char temp_filename[]="/tmp/LinPopUpXXXXXX"; - int file_handle_temp; - gchar new_header[256]; - -@@ -201,8 +201,7 @@ - - - /* -- write message text to a tempory file -- */ -- temp_filename = tmpnam (NULL); -- file_handle_temp = open (temp_filename, O_RDWR | O_CREAT | O_TRUNC, DATA_PERM); -+ if ( (file_handle_temp = mkstemp(temp_filename)) == -1 ) return; - write (file_handle_temp, message_text, strlen (message_text)); - close (file_handle_temp); - diff --git a/net-im/linpopup/files/patch-ac b/net-im/linpopup/files/patch-ac deleted file mode 100644 index a784074a2126..000000000000 --- a/net-im/linpopup/files/patch-ac +++ /dev/null @@ -1,21 +0,0 @@ ---- recept.c.orig Mon Nov 20 16:20:24 2000 -+++ recept.c Mon Nov 20 16:22:04 2000 -@@ -359,7 +359,7 @@ - delete_showed_message (void) - { - struct linpopup_message this_message; -- char *temp_filename; -+ static char temp_filename[]="/tmp/LinPopUpXXXXXX"; - int file_handle_temp, file_handle_data; - int f; - -@@ -370,8 +370,7 @@ - return; - } - -- temp_filename = tmpnam (NULL); -- file_handle_temp = open (temp_filename, O_RDWR | O_CREAT, DATA_PERM); -+ if ( (file_handle_temp = mkstemp(temp_filename)) == -1 ) return; - file_handle_data = open (DATA_FILE, O_RDONLY, DATA_PERM); - /* lock it for reading .. */ - (void) lock_reg (file_handle_data, F_SETLKW, F_RDLCK, 0, SEEK_SET, 0); diff --git a/net-im/linpopup/pkg-descr b/net-im/linpopup/pkg-descr deleted file mode 100644 index 25101dc1f5e0..000000000000 --- a/net-im/linpopup/pkg-descr +++ /dev/null @@ -1,11 +0,0 @@ -LinPopUp is a X11 port of Winpopup, -running over Samba. It permits to communicate with a -windows computer that run Winpopup, sending or receiving -message. (It also provides an alternative way -to communicate between Linux computers that run Samba). -Note that LinPopUp is not only a port, as it includes -several enhanced features. - -WWW: http://www.littleigloo.org/ - -Roman Shterenzon <roman@xpert.com> diff --git a/net-im/linpopup/pkg-install b/net-im/linpopup/pkg-install deleted file mode 100644 index 5e469c50561d..000000000000 --- a/net-im/linpopup/pkg-install +++ /dev/null @@ -1,6 +0,0 @@ -#!/bin/sh -DBDIR=/var/db/linpopup - -mkdir -p $DBDIR -touch $DBDIR/messages.dat -chmod 666 $DBDIR/messages.dat diff --git a/net-im/linpopup/pkg-message b/net-im/linpopup/pkg-message deleted file mode 100644 index cbd4020f763d..000000000000 --- a/net-im/linpopup/pkg-message +++ /dev/null @@ -1,4 +0,0 @@ - -Please add the following line to your smb.conf file: -message command = /usr/X11R6/bin/LinPopUp "%f" "%m" %s; rm %s - diff --git a/net-im/linpopup/pkg-plist b/net-im/linpopup/pkg-plist deleted file mode 100644 index dda2d03a3197..000000000000 --- a/net-im/linpopup/pkg-plist +++ /dev/null @@ -1,18 +0,0 @@ -bin/linpopup -bin/LinPopUp -share/doc/LinPopUp/AUTHORS -share/doc/LinPopUp/BUGS -share/doc/LinPopUp/COPYING -share/doc/LinPopUp/ChangeLog -share/doc/LinPopUp/INSTALL -share/doc/LinPopUp/MANUAL -share/doc/LinPopUp/NEWS -share/doc/LinPopUp/README -share/doc/LinPopUp/THANKS -share/doc/LinPopUp/TODO -share/LinPopUp/gtkrc -share/LinPopUp/pixmaps/little_igloo.xpm -@dirrm share/doc/LinPopUp -@dirrm share/LinPopUp/pixmaps -@dirrm share/LinPopUp -@unexec rm -rf /var/db/linpopup |