[90952] trunk/dports/security/steghide

jmr at macports.org jmr at macports.org
Mon Mar 19 07:02:17 PDT 2012


Revision: 90952
          https://trac.macports.org/changeset/90952
Author:   jmr at macports.org
Date:     2012-03-19 07:02:15 -0700 (Mon, 19 Mar 2012)
Log Message:
-----------
steghide: fix universal build (#29011), use sourceforge mirror group, set license

Modified Paths:
--------------
    trunk/dports/security/steghide/Portfile

Added Paths:
-----------
    trunk/dports/security/steghide/files/libtool-tag.diff
    trunk/dports/security/steghide/files/patch-configure.diff

Modified: trunk/dports/security/steghide/Portfile
===================================================================
--- trunk/dports/security/steghide/Portfile	2012-03-19 10:13:34 UTC (rev 90951)
+++ trunk/dports/security/steghide/Portfile	2012-03-19 14:02:15 UTC (rev 90952)
@@ -7,6 +7,7 @@
 version             0.5.1
 revision            2
 categories          security
+license             GPL-2+
 maintainers         gmail.com:cforkin
 description         Steghide is a steganography program
 long_description    Steghide is a steganography program that is able to hide \
@@ -16,14 +17,16 @@
                     statistical tests.
 homepage            http://steghide.sourceforge.net/
 platforms           darwin
-master_sites        http://prdownloads.sourceforge.net/steghide/
+master_sites        sourceforge:project/${name}/${name}/${version}
 
 configure.args      --mandir=${prefix}/share/man
 
 patchfiles          patch-build-with-gcc-4.diff \
                     patch-src-Makefile.am.diff \
                     patch-src-Makefile.in.diff \
-                    patch-src-gettext.h.diff
+                    patch-src-gettext.h.diff \
+                    patch-configure.diff \
+                    libtool-tag.diff
 
 checksums           md5 5be490e24807d921045780fd8cc446b3 \
                     sha1 a6d204744fabfe5751ab5e2d889ac373c0b0a30c \

Added: trunk/dports/security/steghide/files/libtool-tag.diff
===================================================================
--- trunk/dports/security/steghide/files/libtool-tag.diff	                        (rev 0)
+++ trunk/dports/security/steghide/files/libtool-tag.diff	2012-03-19 14:02:15 UTC (rev 90952)
@@ -0,0 +1,36 @@
+--- intl/Makefile.in.orig	2003-09-26 19:51:25.000000000 +1000
++++ intl/Makefile.in	2012-03-19 22:40:02.000000000 +1100
+@@ -93,7 +93,7 @@
+ .c.o:
+ 	$(COMPILE) $<
+ .c.lo:
+-	$(LIBTOOL) --mode=compile $(COMPILE) $<
++	$(LIBTOOL) --mode=compile --tag=CC $(COMPILE) $<
+ 
+ .y.c:
+ 	$(YACC) $(YFLAGS) --output $@ $<
+@@ -117,7 +117,7 @@
+ 	$(RANLIB) $@
+ 
+ libintl.la libgnuintl.la: $(OBJECTS)
+-	$(LIBTOOL) --mode=link \
++	$(LIBTOOL) --mode=link --tag=CC \
+ 	  $(CC) $(CPPFLAGS) $(CFLAGS) $(XCFLAGS) $(LDFLAGS) -o $@ \
+ 	  $(OBJECTS) @LTLIBICONV@ -lc \
+ 	  -version-info $(LTV_CURRENT):$(LTV_REVISION):$(LTV_AGE) \
+--- src/Makefile.in.orig	2012-03-19 22:32:01.000000000 +1100
++++ src/Makefile.in	2012-03-19 22:41:52.000000000 +1100
+@@ -274,11 +274,11 @@
+ @AMDEP_TRUE@	./$(DEPDIR)/msg.Po
+ CXXCOMPILE = $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \
+ 	$(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS)
+-LTCXXCOMPILE = $(LIBTOOL) --mode=compile $(CXX) $(DEFS) \
++LTCXXCOMPILE = $(LIBTOOL) --mode=compile --tag=CXX $(CXX) $(DEFS) \
+ 	$(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \
+ 	$(AM_CXXFLAGS) $(CXXFLAGS)
+ CXXLD = $(CXX)
+-CXXLINK = $(LIBTOOL) --mode=link $(CXXLD) $(AM_CXXFLAGS) $(CXXFLAGS) \
++CXXLINK = $(LIBTOOL) --mode=link --tag=CXX $(CXXLD) $(AM_CXXFLAGS) $(CXXFLAGS) \
+ 	$(AM_LDFLAGS) $(LDFLAGS) -o $@
+ DIST_SOURCES = $(steghide_SOURCES)
+ HEADERS = $(noinst_HEADERS)

Added: trunk/dports/security/steghide/files/patch-configure.diff
===================================================================
--- trunk/dports/security/steghide/files/patch-configure.diff	                        (rev 0)
+++ trunk/dports/security/steghide/files/patch-configure.diff	2012-03-19 14:02:15 UTC (rev 90952)
@@ -0,0 +1,43 @@
+--- configure.orig	2003-10-15 18:01:26.000000000 +1000
++++ configure	2012-03-19 22:09:18.000000000 +1100
+@@ -2182,17 +2182,9 @@
+ if test "$ac_test_CXXFLAGS" = set; then
+   CXXFLAGS=$ac_save_CXXFLAGS
+ elif test $ac_cv_prog_cxx_g = yes; then
+-  if test "$GXX" = yes; then
+-    CXXFLAGS="-g -O2"
+-  else
+-    CXXFLAGS="-g"
+-  fi
++  CXXFLAGS="$ac_save_CXXFLAGS -g"
+ else
+-  if test "$GXX" = yes; then
+-    CXXFLAGS="-O2"
+-  else
+-    CXXFLAGS=
+-  fi
++  CXXFLAGS=$ac_save_CXXFLAGS
+ fi
+ for ac_declaration in \
+    ''\
+@@ -7560,17 +7552,17 @@
+ #define DEBUG 1
+ _ACEOF
+ 
+-		CXXFLAGS="-O2 -Wall -g"
++		CXXFLAGS+=" -Wall -g"
+ 	else
+ 		echo "$as_me:$LINENO: result: no" >&5
+ echo "${ECHO_T}no" >&6
+-		CXXFLAGS="-O2 -Wall"
++		CXXFLAGS+=" -Wall"
+ 	fi
+ 
+ else
+   echo "$as_me:$LINENO: result: no" >&5
+ echo "${ECHO_T}no" >&6
+-	CXXFLAGS="-O2 -Wall"
++	CXXFLAGS+=" -Wall"
+ 
+ fi;
+ 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120319/8643da8c/attachment.html>


More information about the macports-changes mailing list