[38044] trunk/dports/net/cryptcat

jmr at macports.org jmr at macports.org
Fri Jul 4 06:34:51 PDT 2008


Revision: 38044
          http://trac.macosforge.org/projects/macports/changeset/38044
Author:   jmr at macports.org
Date:     2008-07-04 06:34:50 -0700 (Fri, 04 Jul 2008)
Log Message:
-----------
cryptcat: de-lint

Modified Paths:
--------------
    trunk/dports/net/cryptcat/Portfile

Added Paths:
-----------
    trunk/dports/net/cryptcat/files/patch-Makefile.diff

Removed Paths:
-------------
    trunk/dports/net/cryptcat/files/patch-Makefile

Modified: trunk/dports/net/cryptcat/Portfile
===================================================================
--- trunk/dports/net/cryptcat/Portfile	2008-07-04 10:57:33 UTC (rev 38043)
+++ trunk/dports/net/cryptcat/Portfile	2008-07-04 13:34:50 UTC (rev 38044)
@@ -16,7 +16,7 @@
 distname		cryptcat-unix-${version}
 extract.suffix	.tar
 checksums		md5 fc4afff350f3dd5e4fe51b0dd01a8e21
-patchfiles		patch-Makefile
+patchfiles		patch-Makefile.diff
 
 worksrcdir		unix
 
@@ -33,4 +33,3 @@
 	xinstall -m 644 -W ${worksrcpath} Changelog Credits README README.cryptcat \
 		${destroot}${prefix}/share/doc/${name}
 }
-

Deleted: trunk/dports/net/cryptcat/files/patch-Makefile
===================================================================
--- trunk/dports/net/cryptcat/files/patch-Makefile	2008-07-04 10:57:33 UTC (rev 38043)
+++ trunk/dports/net/cryptcat/files/patch-Makefile	2008-07-04 13:34:50 UTC (rev 38044)
@@ -1,53 +0,0 @@
---- Makefile.org	2006-10-14 22:59:40.000000000 -0700
-+++ Makefile	2006-10-14 23:01:36.000000000 -0700
-@@ -10,16 +10,14 @@
- # debugging
- # DFLAGS = -DTEST -DDEBUG
- DFLAGS = -DGAPING_SECURITY_HOLE
--CFLAGS = -O
-+CFLAGS ?= -O
- XFLAGS = 	# xtra cflags, set by systype targets
- XLIBS =		# xtra libs if necessary?
- # -Bstatic for sunos,  -static for gcc, etc.  You want this, trust me.
- STATIC =
--CC = cc $(CFLAGS)
--LD = $(CC) -s	# linker; defaults to stripped executables
- o = o		# object extension
- 
--ALL = cryptcat
-+all: cryptcat
- 
- ### BOGON-CATCHERS
- 
-@@ -28,8 +26,8 @@
- 
- ### HARD TARGETS
- 
--cryptcat:	netcat.c farm9crypt.o twofish2.o
--	$(LD) $(DFLAGS) $(XFLAGS) $(STATIC) -o cryptcat netcat.c farm9crypt.o twofish2.o $(XLIBS)
-+cryptcat:	netcat.o farm9crypt.o twofish2.o
-+	$(CXX) $(CXXFLAGS) $(LDFLAGS) -o $@ $^
- 
- nc-dos:
- 	@echo "DOS?!  Maybe someday, but not now"
-@@ -86,6 +84,9 @@
- 	make -e $(ALL) $(MFLAGS) XFLAGS='-DFREEBSD' STATIC=-static \
- 	XLIBS='-lstdc++'
- 
-+darwin:
-+	make -e $(ALL) $(MFLAGS) XFLAGS='-DFREEBSD' XLIBS='-lstdc++'
-+
- bsdi:
- 	make -e $(ALL) $(MFLAGS) XFLAGS='-DBSDI' STATIC=-Bstatic
- 
-@@ -115,10 +116,8 @@
- 	make -e $(ALL) $(MFLAGS) XFLAGS='-DNEXT' STATIC=-Bstatic
- 
- farm9crypt.o: farm9crypt.cc farm9crypt.h
--		${CC} -c farm9crypt.cc
- 
- twofish2.o: twofish2.cc twofish2.h
--		${CC} -c twofish2.cc
- 
- # start with this for a new architecture, and see what breaks.
- generic:

Copied: trunk/dports/net/cryptcat/files/patch-Makefile.diff (from rev 38042, trunk/dports/net/cryptcat/files/patch-Makefile)
===================================================================
--- trunk/dports/net/cryptcat/files/patch-Makefile.diff	                        (rev 0)
+++ trunk/dports/net/cryptcat/files/patch-Makefile.diff	2008-07-04 13:34:50 UTC (rev 38044)
@@ -0,0 +1,53 @@
+--- Makefile.org	2006-10-14 22:59:40.000000000 -0700
++++ Makefile	2006-10-14 23:01:36.000000000 -0700
+@@ -10,16 +10,14 @@
+ # debugging
+ # DFLAGS = -DTEST -DDEBUG
+ DFLAGS = -DGAPING_SECURITY_HOLE
+-CFLAGS = -O
++CFLAGS ?= -O
+ XFLAGS = 	# xtra cflags, set by systype targets
+ XLIBS =		# xtra libs if necessary?
+ # -Bstatic for sunos,  -static for gcc, etc.  You want this, trust me.
+ STATIC =
+-CC = cc $(CFLAGS)
+-LD = $(CC) -s	# linker; defaults to stripped executables
+ o = o		# object extension
+ 
+-ALL = cryptcat
++all: cryptcat
+ 
+ ### BOGON-CATCHERS
+ 
+@@ -28,8 +26,8 @@
+ 
+ ### HARD TARGETS
+ 
+-cryptcat:	netcat.c farm9crypt.o twofish2.o
+-	$(LD) $(DFLAGS) $(XFLAGS) $(STATIC) -o cryptcat netcat.c farm9crypt.o twofish2.o $(XLIBS)
++cryptcat:	netcat.o farm9crypt.o twofish2.o
++	$(CXX) $(CXXFLAGS) $(LDFLAGS) -o $@ $^
+ 
+ nc-dos:
+ 	@echo "DOS?!  Maybe someday, but not now"
+@@ -86,6 +84,9 @@
+ 	make -e $(ALL) $(MFLAGS) XFLAGS='-DFREEBSD' STATIC=-static \
+ 	XLIBS='-lstdc++'
+ 
++darwin:
++	make -e $(ALL) $(MFLAGS) XFLAGS='-DFREEBSD' XLIBS='-lstdc++'
++
+ bsdi:
+ 	make -e $(ALL) $(MFLAGS) XFLAGS='-DBSDI' STATIC=-Bstatic
+ 
+@@ -115,10 +116,8 @@
+ 	make -e $(ALL) $(MFLAGS) XFLAGS='-DNEXT' STATIC=-Bstatic
+ 
+ farm9crypt.o: farm9crypt.cc farm9crypt.h
+-		${CC} -c farm9crypt.cc
+ 
+ twofish2.o: twofish2.cc twofish2.h
+-		${CC} -c twofish2.cc
+ 
+ # start with this for a new architecture, and see what breaks.
+ generic:


Property changes on: trunk/dports/net/cryptcat/files/patch-Makefile.diff
___________________________________________________________________
Name: svn:mergeinfo
   + 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080704/6e1f57e3/attachment.html 


More information about the macports-changes mailing list