head	1.6;
access;
symbols
	RELEASE_6_0_0:1.5
	RELEASE_5_4_0:1.5
	RELEASE_4_11_0:1.5
	RELEASE_5_3_0:1.5
	RELEASE_4_10_0:1.5
	RELEASE_5_2_1:1.5
	RELEASE_5_2_0:1.5
	RELEASE_4_9_0:1.5
	RELEASE_5_1_0:1.5
	RELEASE_4_8_0:1.5
	RELEASE_5_0_0:1.5
	RELEASE_4_7_0:1.5
	RELEASE_4_6_2:1.5
	RELEASE_4_6_1:1.5
	RELEASE_4_6_0:1.5
	RELEASE_5_0_DP1:1.5
	RELEASE_4_5_0:1.5
	RELEASE_4_4_0:1.5
	RELEASE_4_3_0:1.5
	RELEASE_4_2_0:1.5
	RELEASE_4_1_1:1.4
	RELEASE_4_1_0:1.4
	RELEASE_3_5_0:1.2
	RELEASE_4_0_0:1.2
	RELEASE_3_4_0:1.2
	RELEASE_3_3_0:1.2
	RELEASE_3_2_0:1.1.1.1
	v0_6_1:1.1.1.1
	ANDY:1.1.1;
locks; strict;
comment	@# @;


1.6
date	2006.02.06.19.14.54;	author anray;	state dead;
branches;
next	1.5;

1.5
date	2000.10.05.06.36.11;	author reg;	state Exp;
branches;
next	1.4;

1.4
date	2000.07.15.17.07.19;	author will;	state Exp;
branches;
next	1.3;

1.3
date	2000.07.07.19.58.50;	author steve;	state Exp;
branches;
next	1.2;

1.2
date	99.05.29.03.55.08;	author steve;	state Exp;
branches;
next	1.1;

1.1
date	99.05.07.17.43.08;	author flathill;	state Exp;
branches
	1.1.1.1;
next	;

1.1.1.1
date	99.05.07.17.43.08;	author flathill;	state Exp;
branches;
next	;


desc
@@


1.6
log
@- Fix "chunk already allocated" error
- Add sanity checking to avoid GTK assertion errors due to missing
  pixmaps.
- Resolve two known vulnerabilities:
  http://secunia.com/advisories/13536/
- Replace tmpnam with mkstemp
- Disallow server-provided absolute filenames
  Hopefully that's enough to get the port back in action.

PR:		ports/92787
Submitted by:	Shaun Amott <shaun@@inerd.com>
@
text
@--- Makefile.orig	Thu Apr 15 11:05:15 1999
+++ Makefile	Fri May 28 18:43:37 1999
@@@@ -1,14 +1,15 @@@@
 SHELL=/bin/sh
-CC = gcc
-C_FLAGS = -Wall -g -O2 -m486 -fno-strength-reduce
-GTK_CFLAGS = `gtk-config --cflags`
-GTK_LIBS = `gtk-config --libs` 
-LFLAGS = $(GTK_LIBS) -lresolv -lXmu -lXt -lSM -lICE
+CC?= gcc
+C_FLAGS = $(CFLAGS)
+# -Wall -g -O2 -m486 -fno-strength-reduce
+GTK_CFLAGS = `$(GTK_CONFIG) --cflags`
+GTK_LIBS = `$(GTK_CONFIG) --libs` 
+LFLAGS = $(GTK_LIBS) -lXmu -lXt -lSM -lICE
 PROGNAME = IglooFTP
 PROGNAME-STATIC = IglooFTP-static
 VERSION = 0.6.1
 VERSION_DATE = 1999
-DESTDIR = /usr/local
+DESTDIR?= ${PREFIX}
 BIN_PATH = $(DESTDIR)/bin
 MAN_PATH = $(DESTDIR)/man
 SHARE_PATH = $(DESTDIR)/share/$(PROGNAME)
@@@@ -16,6 +17,8 @@@@
 RPM_BUILDPATH = /usr/src/redhat
 CODE_LINES = `cat *.c *.h | grep -ch -e "[[:alpha:]|[:punct:]]"` 
 
+all: $(PROGNAME)
+
 $(PROGNAME): main.o GTKmisc.o menu.o toolbar.o connectbar.o statusbar.o\
 	dirlist.o ftplist.o queue.o log.o console.o dialog.o chmod.o\
 	version.o custom.o string.o pixmaps.o color.o cursor.o\
@@@@ -50,14 +53,14 @@@@
 	@@if ! test -e $(SHARE_PATH)/app_ass; then \
 	echo "Making $(SHARE_PATH)/app_ass directory ..."; mkdir -m 0755 $(SHARE_PATH)/app_ass; \
 	else :; fi;
-	/usr/bin/install -s -m 755 $(PROGNAME) $(BIN_PATH)
-	/usr/bin/install -m 644 ../share/docs/* $(SHARE_PATH)/docs/
-	/usr/bin/install -m 644 ../share/html/*.* $(SHARE_PATH)/html/
-	/usr/bin/install -m 644 ../share/html/images/*.* $(SHARE_PATH)/html/images/
-	/usr/bin/install -m 644 ../share/xpm/* $(SHARE_PATH)/xpm/
-	/usr/bin/install -m 644 ../share/bookmarks/* $(SHARE_PATH)/bookmarks/
-	/usr/bin/install -m 644 ../share/app_ass/* $(SHARE_PATH)/app_ass/
-	/usr/bin/install -m 644 ../share/gtkrc $(SHARE_PATH)/gtkrc	
+	${BSD_INSTALL_PROGRAM} $(PROGNAME) $(BIN_PATH)
+	${BSD_INSTALL_DATA} ../share/docs/* $(SHARE_PATH)/docs/
+	${BSD_INSTALL_DATA} ../share/html/*.* $(SHARE_PATH)/html/
+	${BSD_INSTALL_DATA} ../share/html/images/*.* $(SHARE_PATH)/html/images/
+	${BSD_INSTALL_DATA} ../share/xpm/* $(SHARE_PATH)/xpm/
+	${BSD_INSTALL_DATA} ../share/bookmarks/* $(SHARE_PATH)/bookmarks/
+	${BSD_INSTALL_DATA} ../share/app_ass/* $(SHARE_PATH)/app_ass/
+	${BSD_INSTALL_DATA} ../share/gtkrc $(SHARE_PATH)/gtkrc	
 
 
 
@@@@ -111,7 +114,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 *.h | grep -ch -e \"[[:alpha:]|[:punct:]]\"`\"">>version.h
 
@


1.5
log
@Implement USE_GTK, part 1.
@
text
@@


1.4
log
@Use GTK_CONFIG properly; add WWW.

PR:		19924
Submitted by:	Ports Fury
@
text
@d21 1
a21 1
+DESTDIR?= /usr/X11R6
d25 10
a34 1
@@@@ -50,14 +51,14 @@@@
d57 1
a57 1
@@@@ -111,7 +112,7 @@@@
@


1.3
log
@- Use GTK_CONFIG/GLIB_CONFIG instead of hardcoded gtk12-config/glib12-config
- Support CC/CFLAGS/PREIFX/LOCALBASE/X11BASE/MAKE/etc. properly

PR:		19623
Submitted by:	KATO Tsuguru <tkato@@prontomail.ne.jp>
@
text
@d53 1
a53 1
+	@@echo "#define GTK_VERSION \"GTK+ `gtk12-config --version`\"" >> version.h
@


1.2
log
@Update to use gtk version 1.2.3.

PR:		11842
Submitted by:	Jeremy Lea <reg@@shale.csir.co.za>
@
text
@d1 2
a2 2
--- src/Makefile.orig	Thu Apr 15 11:05:15 1999
+++ src/Makefile	Fri May 28 18:43:37 1999
d13 2
a14 2
+GTK_CFLAGS = `gtk12-config --cflags`
+GTK_LIBS = `gtk12-config --libs` 
d37 8
a44 8
+	/usr/bin/install -c -s -m 755 $(PROGNAME) $(BIN_PATH)
+	/usr/bin/install -c -m 644 ../share/docs/* $(SHARE_PATH)/docs/
+	/usr/bin/install -c -m 644 ../share/html/*.* $(SHARE_PATH)/html/
+	/usr/bin/install -c -m 644 ../share/html/images/*.* $(SHARE_PATH)/html/images/
+	/usr/bin/install -c -m 644 ../share/xpm/* $(SHARE_PATH)/xpm/
+	/usr/bin/install -c -m 644 ../share/bookmarks/* $(SHARE_PATH)/bookmarks/
+	/usr/bin/install -c -m 644 ../share/app_ass/* $(SHARE_PATH)/app_ass/
+	/usr/bin/install -c -m 644 ../share/gtkrc $(SHARE_PATH)/gtkrc	
@


1.1
log
@Initial revision
@
text
@d1 2
a2 2
--- src/Makefile	Thu Apr 15 20:05:15 1999
+++ /home/andy/tmp/wrk/src/Makefile	Mon May  3 12:59:28 1999
d25 23
@


1.1.1.1
log
@PR:		ports/11463
Submitted by:	andy@@icc.surw.chel.su
Easy to use FTP client for X Window System.
@
text
@@
