[rtems commit] network: Import latest <arpa/ftp.h> from FreeBSD

Sebastian Huber sebh at rtems.org
Wed May 2 07:59:43 UTC 2018


Module:    rtems
Branch:    master
Commit:    bf76d5fe76f413a1936d903caec0d4e600995ce0
Changeset: http://git.rtems.org/rtems/commit/?id=bf76d5fe76f413a1936d903caec0d4e600995ce0

Author:    Sebastian Huber <sebastian.huber at embedded-brains.de>
Date:      Mon Apr 30 10:37:59 2018 +0200

network: Import latest <arpa/ftp.h> from FreeBSD

Update #3419.

---

 cpukit/headers.am                            |  4 ++++
 cpukit/{libnetworking => include}/arpa/ftp.h | 12 ++++++------
 cpukit/libnetworking/headers.am              |  1 -
 3 files changed, 10 insertions(+), 7 deletions(-)

diff --git a/cpukit/headers.am b/cpukit/headers.am
index 66efcb5..2315db1 100644
--- a/cpukit/headers.am
+++ b/cpukit/headers.am
@@ -22,6 +22,10 @@ include_HEADERS += include/xz.h
 include_HEADERS += include/zconf.h
 include_HEADERS += include/zlib.h
 
+include_arpadir = $(includedir)/arpa
+include_arpa_HEADERS =
+include_arpa_HEADERS += include/arpa/ftp.h
+
 include_dev_i2cdir = $(includedir)/dev/i2c
 include_dev_i2c_HEADERS =
 include_dev_i2c_HEADERS += include/dev/i2c/eeprom.h
diff --git a/cpukit/libnetworking/arpa/ftp.h b/cpukit/include/arpa/ftp.h
similarity index 91%
rename from cpukit/libnetworking/arpa/ftp.h
rename to cpukit/include/arpa/ftp.h
index 9a36488..4f23e1c 100644
--- a/cpukit/libnetworking/arpa/ftp.h
+++ b/cpukit/include/arpa/ftp.h
@@ -1,4 +1,6 @@
-/*
+/*-
+ * SPDX-License-Identifier: BSD-3-Clause
+ *
  * Copyright (c) 1983, 1989, 1993
  *	The Regents of the University of California.  All rights reserved.
  *
@@ -10,11 +12,7 @@
  * 2. Redistributions in binary form must reproduce the above copyright
  *    notice, this list of conditions and the following disclaimer in the
  *    documentation and/or other materials provided with the distribution.
- * 3. All advertising materials mentioning features or use of this software
- *    must display the following acknowledgement:
- *	This product includes software developed by the University of
- *	California, Berkeley and its contributors.
- * 4. Neither the name of the University nor the names of its contributors
+ * 3. Neither the name of the University nor the names of its contributors
  *    may be used to endorse or promote products derived from this software
  *    without specific prior written permission.
  *
@@ -31,6 +29,8 @@
  * SUCH DAMAGE.
  *
  *	@(#)ftp.h	8.1 (Berkeley) 6/2/93
+ *
+ * $FreeBSD: head/include/arpa/ftp.h 326024 2017-11-20 19:45:28Z pfg $
  */
 
 #ifndef _ARPA_FTP_H_
diff --git a/cpukit/libnetworking/headers.am b/cpukit/libnetworking/headers.am
index 93dce6e..b558d4b 100644
--- a/cpukit/libnetworking/headers.am
+++ b/cpukit/libnetworking/headers.am
@@ -10,7 +10,6 @@ include_HEADERS += resolv.h
 
 include_arpadir = $(includedir)/arpa
 include_arpa_HEADERS =
-include_arpa_HEADERS += arpa/ftp.h
 include_arpa_HEADERS += arpa/nameser.h
 include_arpa_HEADERS += arpa/nameser_compat.h
 




More information about the vc mailing list