[110030] trunk/dports/net
larryv at macports.org
larryv at macports.org
Sat Aug 24 21:09:00 PDT 2013
Revision: 110030
https://trac.macports.org/changeset/110030
Author: larryv at macports.org
Date: 2013-08-24 21:09:00 -0700 (Sat, 24 Aug 2013)
Log Message:
-----------
uftp3: New port (#40218).
UFTP 4.x currently does not compile on 10.8*, and it is not
backwards-compatible with 3.x.
* See http://sourceforge.net/p/uftp-multicast/discussion/general/thread/840e6062/#598a.
Added Paths:
-----------
trunk/dports/net/uftp3/
trunk/dports/net/uftp3/Portfile
trunk/dports/net/uftp3/files/
trunk/dports/net/uftp3/files/patch-makefile.diff
Added: trunk/dports/net/uftp3/Portfile
===================================================================
--- trunk/dports/net/uftp3/Portfile (rev 0)
+++ trunk/dports/net/uftp3/Portfile 2013-08-25 04:09:00 UTC (rev 110030)
@@ -0,0 +1,55 @@
+# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
+# $Id$
+
+PortSystem 1.0
+
+name uftp3
+version 3.7.2
+categories net
+platforms darwin
+license GPL-3+
+maintainers free.fr:fclaire
+
+description Encrypted UDP based FTP with multicast
+long_description UFTP is an encrypted multicast file transfer \
+ program, designed to securely, reliably, and \
+ efficiently transfer files to multiple receivers \
+ simultaneously. This is useful for distributing \
+ large files to a large number of receivers, and is \
+ especially useful for data distribution over \
+ a satellite link (with two way communication), where \
+ the inherent delay makes any TCP based communication \
+ highly inefficient. The multicast encryption scheme \
+ is based on TLS with extensions to allow multiple \
+ receivers to share a common key. UFTP also has the \
+ capability to communicate over disjoint networks \
+ separated by one or more firewalls (NAT traversal) \
+ and without full end-to-end multicast capability \
+ (multicast tunneling) through the use of a UFTP \
+ proxy server. These proxies also provide scalability \
+ by aggregating responses from a group of receivers.
+homepage http://uftp-multicast.sourceforge.net
+
+master_sites sourceforge:project/uftp-multicast/source-zip
+use_zip yes
+distname uftp_src-${version}
+checksums rmd160 75b8ad5db73d865dd708ece55a355a055c74e4ac \
+ sha256 e70f4c6f28ae126b96025c927549e414d1698bdd2880f59a852a4a437d56c4a6
+
+patchfiles patch-makefile.diff
+
+use_configure no
+variant universal {}
+
+build.type gnu
+build.args CC=${configure.cc} \
+ OPTIONS='[get_canonical_archflags]' \
+ NO_ENCRYPTION=1
+
+destroot.destdir DESTDIR=${destroot}${prefix}
+
+variant ssl description {compile with encryption support} {
+ depends_lib-append port:openssl
+ build.args-replace NO_ENCRYPTION=1 OPENSSL=${prefix}
+}
+default_variants +ssl
Property changes on: trunk/dports/net/uftp3/Portfile
___________________________________________________________________
Added: svn:keywords
+ Id
Added: svn:eol-style
+ native
Added: trunk/dports/net/uftp3/files/patch-makefile.diff
===================================================================
--- trunk/dports/net/uftp3/files/patch-makefile.diff (rev 0)
+++ trunk/dports/net/uftp3/files/patch-makefile.diff 2013-08-25 04:09:00 UTC (rev 110030)
@@ -0,0 +1,35 @@
+--- makefile.orig 2011-05-20 15:31:46.000000000 -0400
++++ makefile 2013-08-24 23:59:07.000000000 -0400
+@@ -39,7 +39,6 @@
+ endif
+
+ # defaults
+-CC = gcc
+ OPTIONS=-g -Wall $(ENC_OPTS)
+ LDLIBS=-lc -lm $(CRYPT_LIB)
+ CFLAGS=
+@@ -51,7 +50,7 @@
+
+ # OSX, aka Darwin
+ ifeq ("Darwin", "$(UNAME_S)")
+-OPTIONS=-g -Wall -DHAS_GETIFADDRS $(ENC_OPTS)
++OPTIONS+=-g -Wall -DHAS_GETIFADDRS $(ENC_OPTS)
+ endif
+
+ # Sun
+@@ -191,12 +190,9 @@
+ $(CC) $(OPTIONS) $(INCLUDE) $(CFLAGS) -c $<
+
+ install:
+- install -m 755 -d $(DESTDIR)/bin
+- install -m 755 -d $(DESTDIR)/usr/sbin
+- install -m 755 -d $(DESTDIR)/usr/share/man/man1
+ /bin/cp -p uftp $(DESTDIR)/bin
+- /bin/cp -p uftpd $(DESTDIR)/usr/sbin
+- /bin/cp -p uftpproxyd $(DESTDIR)/usr/sbin
++ /bin/cp -p uftpd $(DESTDIR)/sbin
++ /bin/cp -p uftpproxyd $(DESTDIR)/sbin
+ /bin/cp -p uftp_keymgt $(DESTDIR)/bin
+- /bin/cp -p uftp.1 uftpd.1 uftpproxyd.1 uftp_keymgt.1 $(DESTDIR)/usr/share/man/man1
++ /bin/cp -p uftp.1 uftpd.1 uftpproxyd.1 uftp_keymgt.1 $(DESTDIR)/share/man/man1
+
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130824/cedc9989/attachment-0001.html>
More information about the macports-changes
mailing list