[28016] trunk/dports/iphone
source_changes at macosforge.org
source_changes at macosforge.org
Sat Aug 18 00:34:44 PDT 2007
Revision: 28016
http://trac.macosforge.org/projects/macports/changeset/28016
Author: landonf at macports.org
Date: 2007-08-18 00:34:44 -0700 (Sat, 18 Aug 2007)
Log Message:
-----------
iPhone OpenSSL link libraries/headers. Matches the installed version.
Added Paths:
-----------
trunk/dports/iphone/iphone-openssl/
trunk/dports/iphone/iphone-openssl/Portfile
trunk/dports/iphone/iphone-openssl/files/
trunk/dports/iphone/iphone-openssl/files/patch-Makefile.org
trunk/dports/iphone/iphone-openssl/work
Added: trunk/dports/iphone/iphone-openssl/Portfile
===================================================================
--- trunk/dports/iphone/iphone-openssl/Portfile (rev 0)
+++ trunk/dports/iphone/iphone-openssl/Portfile 2007-08-18 07:34:44 UTC (rev 28016)
@@ -0,0 +1,44 @@
+# $Id: $
+
+PortSystem 1.0
+name iphone-openssl
+version 0.9.7m
+platforms darwin
+categories iphone
+maintainers landonf at macports.org openmaintainer at macports.org
+homepage http://www.openssl.org/
+description OpenSSL headers and libraries for iPhone cross-compilation
+long_description ${description}
+
+master_sites http://www.openssl.org/source/
+distname openssl-${version}
+checksums md5 74a4d1b87e1e6e1ec95dbe58cb4c5b9a \
+ sha1 546f6bcebdf72a633bad087469d3741a42f7b383 \
+ rmd160 fed13325d90ae4749d7ee858931d6925c3955614
+patchfiles patch-Makefile.org
+
+depends_lib port:iphone-zlib
+depends_build port:arm-apple-darwin-runtime \
+ port:arm-apple-darwin-cc
+
+set iphone_prefix ${prefix}/arm-apple-darwin
+
+configure.env PATH=${iphone_prefix}/bin:$env(PATH)
+configure.cmd ./config
+configure.pre_args --prefix=${iphone_prefix}
+configure.args --openssldir=${iphone_prefix}/etc/ssl \
+ zlib no-asm no-krb5 shared
+
+
+build.env PATH=${iphone_prefix}/bin:$env(PATH)
+
+destroot.violate_mtree yes
+destroot.destdir INSTALL_PREFIX=${destroot}
+# do not install docs, just sw
+destroot.target install_sw
+
+test.run yes
+
+livecheck.check regex
+livecheck.url ${master_sites}
+livecheck.regex openssl-(0.9.7\[a-z\])
Added: trunk/dports/iphone/iphone-openssl/files/patch-Makefile.org
===================================================================
--- trunk/dports/iphone/iphone-openssl/files/patch-Makefile.org (rev 0)
+++ trunk/dports/iphone/iphone-openssl/files/patch-Makefile.org 2007-08-18 07:34:44 UTC (rev 28016)
@@ -0,0 +1,27 @@
+--- Makefile.org.orig 2007-08-18 00:25:01.000000000 -0700
++++ Makefile.org 2007-08-18 00:25:49.000000000 -0700
+@@ -334,10 +334,8 @@
+ libs="$(LIBKRB5) $$libs"; \
+ fi; \
+ ( set -x; $${FIPSLD:-${CC}} ${SHARED_LDFLAGS} \
+- --verbose -dynamiclib -o lib$$i${SHLIB_EXT} \
+- lib$$i.a $$libs -all_load -current_version ${SHLIB_MAJOR}.${SHLIB_MINOR} \
+- -compatibility_version ${SHLIB_MAJOR}.`echo ${SHLIB_MINOR} | cut -d. -f1` \
+- -install_name ${INSTALLTOP}/lib/lib$$i${SHLIB_EXT} ) || exit 1; \
++ -dynamiclib -o lib$$i${SHLIB_EXT} \
++ lib$$i.a $$libs ) || exit 1; \
+ libs="-l`basename $$i${SHLIB_EXT} .dylib` $$libs"; \
+ echo "" ; \
+ done
+@@ -859,10 +857,7 @@
+ $(INSTALL_PREFIX)$(MANDIR)/man7
+ @pod2man="`cd util; ./pod2mantest $(PERL)`"; \
+ here="`pwd`"; \
+- filecase=; \
+- if [ "$(PLATFORM)" = "DJGPP" -o "$(PLATFORM)" = "Cygwin" -o "$(PLATFORM)" = "mingw" ]; then \
+- filecase=-i; \
+- fi; \
++ filecase=-i; \
+ for i in doc/apps/*.pod; do \
+ fn=`basename $$i .pod`; \
+ if [ "$$fn" = "config" ]; then sec=5; else sec=1; fi; \
Added: trunk/dports/iphone/iphone-openssl/work
===================================================================
--- trunk/dports/iphone/iphone-openssl/work (rev 0)
+++ trunk/dports/iphone/iphone-openssl/work 2007-08-18 07:34:44 UTC (rev 28016)
@@ -0,0 +1 @@
+link /opt/local/var/macports/build/_data_Users_landonf_Documents_Code_MacPorts_macports-trunk_dports_iphone_iphone-openssl/work
\ No newline at end of file
Property changes on: trunk/dports/iphone/iphone-openssl/work
___________________________________________________________________
Name: svn:special
+ *
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20070818/04cff637/attachment.html
More information about the macports-changes
mailing list