diff --git a/Erlang_ASL2_LICENSE.txt b/Erlang_ASL2_LICENSE.txt new file mode 100644 index 0000000..e454a52 --- /dev/null +++ b/Erlang_ASL2_LICENSE.txt @@ -0,0 +1,178 @@ + + Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS + diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..74c5a8d --- /dev/null +++ b/Makefile @@ -0,0 +1,49 @@ +# Copyright Pivotal Software, Inc. 2012-2015. All Rights Reserved. +# +# The contents of this file are subject to the Erlang Public License, +# Version 1.1, (the "License"); you may not use this file except in +# compliance with the License. You should have received a copy of the +# Erlang Public License along with this software. If not, it can be +# retrieved online at http://www.erlang.org/. +# +# Software distributed under the License is distributed on an "AS IS" +# basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See +# the License for the specific language governing rights and limitations +# under the License. + +FINAL_OUTPUT_DIR=FINAL_RPMS + +OTP_RELEASE=18.1 + +# Where official Erlang distribution files come from... +OTP_SRC_TGZ_FILE=OTP-$(OTP_RELEASE).tar.gz +ERLANG_DISTPOINT=https://github.com/erlang/otp/archive/OTP-$(OTP_RELEASE).tar.gz + +# Where we will pull tarballs to +TARBALL_DIR=dist + +TOP_DIR=$(shell pwd) +DEFINES=--define '_topdir $(TOP_DIR)' --define '_tmppath $(TOP_DIR)/tmp' --define '_sysconfdir /etc' --define '_localstatedir /var' + +rpms: clean erlang + +prepare: + mkdir -p BUILD SOURCES SPECS SRPMS RPMS tmp dist + wget -O $(TARBALL_DIR)/$(OTP_SRC_TGZ_FILE) $(ERLANG_DISTPOINT) + tar -zxf $(TARBALL_DIR)/$(OTP_SRC_TGZ_FILE) -C dist + cp $(TARBALL_DIR)/$(OTP_SRC_TGZ_FILE) SOURCES + rm $(TARBALL_DIR)/$(OTP_SRC_TGZ_FILE) + cp *.patch SOURCES + cp erlang.spec SPECS + cp Erlang_ASL2_LICENSE.txt SOURCES + +erlang: prepare + mkdir -p $(FINAL_OUTPUT_DIR) + rpmbuild -vv -bb --nodeps SPECS/erlang.spec $(DEFINES) + find RPMS -name "*.rpm" -exec sh -c 'mv {} `echo {} | sed 's#^RPMS\/noarch#$(FINAL_OUTPUT_DIR)#'`' ';' + +clean: + rm -rf BUILDROOT BUILD SOURCES SPECS SRPMS RPMS tmp $(FINAL_OUTPUT_DIR) dist + + + diff --git a/README.md b/README.md new file mode 100644 index 0000000..5424693 --- /dev/null +++ b/README.md @@ -0,0 +1,54 @@ +# Zero-dependency Erlang RPM for RabbitMQ + +This is a zero dependency 64-bit Erlang RPM package that provides just enough to run RabbitMQ. +It may be easier to install than RPMs provided by Erlang Solutions in certain environments. + +## Provided Erlang/OTP Versions + +The package currently targets Erlang/OTP 18.1 (64-bit only). + +## Supported CentOS Versions + + * CentOS 6 + * CentOS 7 + +## Release Artifacts + +Package builds are [available from rabbitmq.com](http://www.rabbitmq.com/releases/erlang/). + +## Building + +### With Docker + + cd docker + # builds a CentOS 7.1.1503 Docker image with necessary toolchain + ./build-docker-image.sh 7.1.1503 --no-cache + # builds the RPM in Docker + ./build-rpm-in-docker.sh 7.1.1503 + + # Use build-image-and-rpm.sh to execute all scripts + # Ex: Centos 7.1.1503 docker image and build RPM on the image: + ./build-image-and-rpm.sh 7.1.1503 --no-cache + + # Ex: Centos 6 docker image and build RPM on the image:: + ./build-image-and-rpm.sh 6 --no-cache + + --no-cache is optional. Use it to rebuild the docker image. + +then find the result under `docker/build-dir-{centosversion}/RPMS/x86_64/`. +for example : `build-dir-7.1.1503/RPMS/x86_64/` + +### Without Docker + +You must be running an RPMish distro for this to work. + + make + +and see `RPMS/x86_64/`. + +## Copyright and License + +(c) 2011-2015 Pivotal Software, Inc. + +Released under the [Apache Software License 2.0](https://github.com/rabbitmq/erlang-rpm-packaging/blob/master/Erlang_ASL2_LICENSE.txt), +same as Erlang/OTP starting with 18.0. diff --git a/docker/Dockerfile.template b/docker/Dockerfile.template new file mode 100644 index 0000000..70ccb4c --- /dev/null +++ b/docker/Dockerfile.template @@ -0,0 +1,17 @@ +FROM centos:{centosfrom} + +RUN yum install -y \ + autoconf \ + gcc \ + m4 \ + mercurial \ + openssl-devel \ + ncurses-devel \ + rpm-build \ + tar \ + wget \ + zlib-devel \ + make + +RUN mkdir /build +CMD ["sh", "-c", "cd /build/build-dir-{centosfrom} && make"] diff --git a/docker/README b/docker/README new file mode 100644 index 0000000..823fca0 --- /dev/null +++ b/docker/README @@ -0,0 +1,16 @@ +Sets up a CentOS 6/7 docker image which can be used to build the RPM. + +Run + +$ ./build-docker-image.sh 6 -no-cache + +to initially build the docker image, then run + +$ ./build-rpm-in-docker.sh 6 + +to do the build. This will create a directory 'build-dir' in this +directory; you can later get the RPM out of there. + +$ ./build-image-and-rpm.sh 6 -no-cache + +to execute create the docker image and build the rpm diff --git a/docker/build-docker-image.sh b/docker/build-docker-image.sh new file mode 100755 index 0000000..e038baa --- /dev/null +++ b/docker/build-docker-image.sh @@ -0,0 +1,9 @@ +#!/bin/sh +rm -f Dockerfile +DIR_DOCKER_FILE=docker-centos-$1 +rm -rf $DIR_DOCKER_FILE +mkdir $DIR_DOCKER_FILE +cp Dockerfile.template $DIR_DOCKER_FILE/Dockerfile +sed -i 's/{centosfrom}/'$1'/g' $DIR_DOCKER_FILE/Dockerfile +sudo docker build $2 -t="erlang-rpm-build-"$1 $DIR_DOCKER_FILE + diff --git a/docker/build-image-and-rpm.sh b/docker/build-image-and-rpm.sh new file mode 100755 index 0000000..4ad908b --- /dev/null +++ b/docker/build-image-and-rpm.sh @@ -0,0 +1,17 @@ +#!/bin/sh +usage() { + echo "parameters error" + echo "first: version, es: 6 or 7.1.1503 " + echo "second: --no-cache [optional]" + echo "es: ./build-image-and-rpm.sh 7.1.1503 --no-cache" + exit 1 +} + + +if [ $# -lt 1 ] +then + usage +fi + +./build-docker-image.sh $1 $2 +./build-rpm-in-docker.sh $1 diff --git a/docker/build-rpm-in-docker.sh b/docker/build-rpm-in-docker.sh new file mode 100755 index 0000000..c04184c --- /dev/null +++ b/docker/build-rpm-in-docker.sh @@ -0,0 +1,6 @@ +#!/bin/sh +cd $(dirname $0) +mkdir -p build-dir-$1 +cp ../* build-dir-$1 +cp -r ../dist build-dir-$1/dist +sudo docker run -i -t -v ${PWD}/build-dir-$1:/build/build-dir-$1 erlang-rpm-build-$1 diff --git a/erlang.spec b/erlang.spec new file mode 100644 index 0000000..c6b97ac --- /dev/null +++ b/erlang.spec @@ -0,0 +1,643 @@ +# Copyright Pivotal Software, Inc. 2012-2015. All Rights Reserved. +# +# The contents of this file are subject to the Erlang Public License, +# Version 1.1, (the "License"); you may not use this file except in +# compliance with the License. You should have received a copy of the +# Erlang Public License along with this software. If not, it can be +# retrieved online at http://www.erlang.org/. +# +# Software distributed under the License is distributed on an "AS IS" +# basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See +# the License for the specific language governing rights and limitations +# under the License. + +%global upstream_ver 18.1 + +%define OSL_File_Name Erlang_ASL2_LICENSE.txt + +Name: erlang +Version: %{upstream_ver} +Release: 1%{?dist} +Summary: General-purpose programming language and runtime environment + +Group: Development/Languages +License: ERPL +URL: http://www.erlang.org +Source0: https://github.com/erlang/otp/archive/OTP-%{upstream_ver}.tar.gz +Source2: %{OSL_File_Name} +Vendor: Pivotal Software, Inc. + + +# Do not format man-pages and do not install miscellaneous +Patch1: otp-0001-Do-not-format-man-pages-and-do-not-install-miscellan.patch +# Remove rpath +Patch2: otp-0002-Remove-rpath.patch +# Do not install C sources +Patch3: otp-0003-Do-not-install-C-sources.patch +# Do not install erlang sources +Patch7: otp-0007-Do-not-install-erlang-sources.patch + + +# BuildRoot not strictly needed since F10, but keep it for spec file robustness +BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX) + +BuildRequires: ncurses-devel +BuildRequires: openssl-devel +BuildRequires: zlib-devel +BuildRequires: m4 + +Obsoletes: erlang-docbuilder +Provides: erlang + +%description +This is a minimal packaging of Erlang produced by Pivotal to support +running RabbitMQ. Compared to the community Erlang packaging it is +monolithic, has fewer dependencies, and has lower disk and memory +overhead. Many applications from Erlang Open Telecom Platform (OTP) +have been removed. The following applications remain: asn1, compiler, +crypto, erl_interface, erts, hipe, inets, kernel, mnesia, os_mon, +otp_mibs, public_key, reltool, runtime_tools, sasl, snmp, ssl, stdlib, +syntax_tools and xmerl. + +%define _pivotal_license_file %{_builddir}/otp-OTP-%{upstream_ver}/`basename %{S:2}` + + +%prep +%setup -q -n otp-OTP-%{upstream_ver} + +%patch1 -p1 -b .Do_not_format_man_pages_and_do_not_install_miscellan +%patch2 -p1 -b .Remove_rpath +%patch3 -p1 -b .Do_not_install_C_sources +%patch7 -p1 -b .Do_not_install_erlang_sources + +# remove shipped zlib sources +# commented out because centos only has 1.2.3 and Erlang 18.1 needs a later version +#rm -f erts/emulator/zlib/*.[ch] + + +# Fix 664 file mode +chmod 644 lib/kernel/examples/uds_dist/c_src/Makefile +chmod 644 lib/kernel/examples/uds_dist/src/Makefile +chmod 644 lib/ssl/examples/certs/Makefile +chmod 644 lib/ssl/examples/src/Makefile + + +%build +%global conf_flags --enable-shared-zlib --without-javac --without-odbc + + +# autoconf +./otp_build autoconf + +%ifarch sparcv9 sparc64 +CFLAGS="$RPM_OPT_FLAGS -mcpu=ultrasparc -fno-strict-aliasing" %configure %{conf_flags} +%else +CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing" %configure %{conf_flags} +%endif + + +# remove pre-built stuff +make clean + +cp %{S:2} %{_pivotal_license_file} + +touch lib/common_test/SKIP +touch lib/cosEvent/SKIP +touch lib/cosEventDomain/SKIP +touch lib/cosFileTransfer/SKIP +touch lib/cosNotification/SKIP +touch lib/cosProperty/SKIP +touch lib/cosTime/SKIP +touch lib/cosTransactions/SKIP +touch lib/debugger/SKIP +touch lib/dialyzer/SKIP +touch lib/diameter/SKIP +touch lib/edoc/SKIP +touch lib/et/SKIP +touch lib/erl_docgen/SKIP +touch lib/gs/SKIP +touch lib/ic/SKIP +touch lib/jinterface/SKIP +touch lib/megaco/SKIP +touch lib/observer/SKIP +touch lib/odbc/SKIP +touch lib/orber/SKIP +touch lib/ose/SKIP +touch lib/percept/SKIP +touch lib/ssh/SKIP +touch lib/test_server/SKIP +touch lib/typer/SKIP +touch lib/webtool/SKIP +touch lib/wx/SKIP + +make + +%install +rm -rf $RPM_BUILD_ROOT + +make DESTDIR=$RPM_BUILD_ROOT install + +# Do not install info files - they are almost empty and useless +find $RPM_BUILD_ROOT%{_libdir}/erlang -type f -name info -exec rm -f {} \; + +# fix 0775 permission on some directories +chmod 0755 $RPM_BUILD_ROOT%{_libdir}/erlang/bin + +# Win32-specific man-pages +rm -f $RPM_BUILD_ROOT%{_libdir}/erlang/man/man1/erlsrv.* +rm -f $RPM_BUILD_ROOT%{_libdir}/erlang/man/man1/werl.* +rm -f $RPM_BUILD_ROOT%{_libdir}/erlang/man/man3/win32reg.* + +# remove empty directory +rm -r $RPM_BUILD_ROOT%{_libdir}/erlang/erts-*/man + +# remove outdated script +rm -f $RPM_BUILD_ROOT%{_libdir}/erlang/Install + +# Replace identical executables with symlinks +for exe in $RPM_BUILD_ROOT%{_libdir}/erlang/erts-*/bin/* +do + base="$(basename "$exe")" + next="$RPM_BUILD_ROOT%{_libdir}/erlang/bin/${base}" + rel="$(echo "$exe" | sed "s,^$RPM_BUILD_ROOT%{_libdir}/erlang/,../,")" + if cmp "$exe" "$next"; then + ln -sf "$rel" "$next" + fi +done +for exe in $RPM_BUILD_ROOT%{_libdir}/erlang/bin/* +do + base="$(basename "$exe")" + next="$RPM_BUILD_ROOT%{_bindir}/${base}" + rel="$(echo "$exe" | sed "s,^$RPM_BUILD_ROOT,,")" + if cmp "$exe" "$next"; then + ln -sf "$rel" "$next" + fi +done + +rm -rf $RPM_BUILD_ROOT%{_bindir}/ct_run +rm -rf $RPM_BUILD_ROOT%{_bindir}/dialyzer +rm -rf $RPM_BUILD_ROOT%{_bindir}/run_test +rm -rf $RPM_BUILD_ROOT%{_bindir}/typer +rm -rf $RPM_BUILD_ROOT%{_libdir}/erlang/bin/ct_run +rm -rf $RPM_BUILD_ROOT%{_libdir}/erlang/bin/dialyzer +rm -rf $RPM_BUILD_ROOT%{_libdir}/erlang/bin/run_test +rm -rf $RPM_BUILD_ROOT%{_libdir}/erlang/bin/typer +rm -rf $RPM_BUILD_ROOT%{_libdir}/erlang/erts-*/bin/ct_run +rm -rf $RPM_BUILD_ROOT%{_libdir}/erlang/erts-*/bin/dialyzer +rm -rf $RPM_BUILD_ROOT%{_libdir}/erlang/erts-*/bin/typer +rm -rf $RPM_BUILD_ROOT%{_libdir}/erlang/lib/*/examples + +%clean +rm -rf $RPM_BUILD_ROOT + + +%files +%defattr(-,root,root) + +%doc %{OSL_File_Name} + +%dir %{_libdir}/erlang/lib/asn1-*/ +%{_libdir}/erlang/lib/asn1-*/ebin +%{_libdir}/erlang/lib/asn1-*/priv +%{_libdir}/erlang/lib/asn1-*/src + + +%{_libdir}/erlang/lib/compiler-*/ + + +%{_libdir}/erlang/lib/crypto-*/ + +%dir %{_libdir}/erlang/lib/eldap-*/ +%{_libdir}/erlang/lib/eldap-*/asn1 +%{_libdir}/erlang/lib/eldap-*/ebin +%{_libdir}/erlang/lib/eldap-*/include +%{_libdir}/erlang/lib/eldap-*/src + +%{_libdir}/erlang/lib/eunit-*/ + +%{_libdir}/erlang/lib/erl_interface-*/ + + +%dir %{_libdir}/erlang/ +%dir %{_libdir}/erlang/bin/ +%dir %{_libdir}/erlang/lib/ +%dir %{_libdir}/erlang/releases/ +%{_bindir}/epmd +%{_bindir}/erl +%{_bindir}/erlc +%{_bindir}/escript +%{_bindir}/run_erl +%{_bindir}/to_erl +%{_libdir}/erlang/bin/epmd +%{_libdir}/erlang/bin/erl +%{_libdir}/erlang/bin/erlc +%{_libdir}/erlang/bin/escript +%{_libdir}/erlang/bin/no_dot_erlang.boot +%{_libdir}/erlang/bin/run_erl +%{_libdir}/erlang/bin/start +%{_libdir}/erlang/bin/start.boot +%{_libdir}/erlang/bin/start.script +%{_libdir}/erlang/bin/start_clean.boot +%{_libdir}/erlang/bin/start_erl +%{_libdir}/erlang/bin/start_sasl.boot +%{_libdir}/erlang/bin/to_erl +%dir %{_libdir}/erlang/erts-*/bin +%{_libdir}/erlang/erts-*/bin/beam +%{_libdir}/erlang/erts-*/bin/beam.smp +%{_libdir}/erlang/erts-*/bin/child_setup +%{_libdir}/erlang/erts-*/bin/dyn_erl +%{_libdir}/erlang/erts-*/bin/epmd +%{_libdir}/erlang/erts-*/bin/erl +%{_libdir}/erlang/erts-*/bin/erl.src +%{_libdir}/erlang/erts-*/bin/erlc +%{_libdir}/erlang/erts-*/bin/erlexec +%{_libdir}/erlang/erts-*/bin/escript +%{_libdir}/erlang/erts-*/bin/heart +%{_libdir}/erlang/erts-*/bin/inet_gethost +%{_libdir}/erlang/erts-*/bin/run_erl +%{_libdir}/erlang/erts-*/bin/start +%{_libdir}/erlang/erts-*/bin/start.src +%{_libdir}/erlang/erts-*/bin/start_erl.src +%{_libdir}/erlang/erts-*/bin/to_erl +%{_libdir}/erlang/erts-*/include +%{_libdir}/erlang/erts-*/lib +%{_libdir}/erlang/erts-*/src +%{_libdir}/erlang/lib/erts-*/ +%{_libdir}/erlang/releases/* +%{_libdir}/erlang/usr/ + + +%{_libdir}/erlang/lib/hipe-*/ + + +%dir %{_libdir}/erlang/lib/inets-*/ +%{_libdir}/erlang/lib/inets-*/ebin +%{_libdir}/erlang/lib/inets-*/include +%{_libdir}/erlang/lib/inets-*/priv +%{_libdir}/erlang/lib/inets-*/src + + +%dir %{_libdir}/erlang/lib/kernel-*/ +%{_libdir}/erlang/lib/kernel-*/ebin +%{_libdir}/erlang/lib/kernel-*/include +%{_libdir}/erlang/lib/kernel-*/src + + +%dir %{_libdir}/erlang/lib/mnesia-*/ +%{_libdir}/erlang/lib/mnesia-*/ebin +%{_libdir}/erlang/lib/mnesia-*/include +%{_libdir}/erlang/lib/mnesia-*/src + + +%{_libdir}/erlang/lib/os_mon-*/ + +%{_libdir}/erlang/lib/otp_mibs-*/ + +%{_libdir}/erlang/lib/parsetools-*/ + +%{_libdir}/erlang/lib/public_key-*/ + + +%dir %{_libdir}/erlang/lib/reltool-*/ +%{_libdir}/erlang/lib/reltool-*/ebin +%{_libdir}/erlang/lib/reltool-*/src + +%dir %{_libdir}/erlang/lib/syntax_tools-*/ +%{_libdir}/erlang/lib/syntax_tools-*/ebin +%{_libdir}/erlang/lib/syntax_tools-*/include + +%{_libdir}/erlang/lib/runtime_tools-*/ + + +%dir %{_libdir}/erlang/lib/sasl-*/ +%{_libdir}/erlang/lib/sasl-*/ebin +%{_libdir}/erlang/lib/sasl-*/src + + +%dir %{_libdir}/erlang/lib/snmp-*/ +%{_libdir}/erlang/lib/snmp-*/bin +%{_libdir}/erlang/lib/snmp-*/ebin +%{_libdir}/erlang/lib/snmp-*/include +%{_libdir}/erlang/lib/snmp-*/mibs +%{_libdir}/erlang/lib/snmp-*/priv +%{_libdir}/erlang/lib/snmp-*/src + + +%dir %{_libdir}/erlang/lib/ssl-*/ +%{_libdir}/erlang/lib/ssl-*/ebin +%{_libdir}/erlang/lib/ssl-*/src + + +%dir %{_libdir}/erlang/lib/stdlib-*/ +%{_libdir}/erlang/lib/stdlib-*/ebin +%{_libdir}/erlang/lib/stdlib-*/include +%{_libdir}/erlang/lib/stdlib-*/src + + +%dir %{_libdir}/erlang/lib/syntax_tools-*/ +%{_libdir}/erlang/lib/syntax_tools-*/ebin + +%{_libdir}/erlang/lib/tools-*/ + +%{_libdir}/erlang/lib/xmerl-*/ + + +%changelog +* Fri Oct 23 2015 Gabriele Santomaggio - 18.1 +- Fixed build for 18.1 + +* Thu Oct 13 2015 Michael Klishin - 18.1 +- Updates for 18.1 + +* Thu Sep 06 2012 Emile Joubert - R15B-02.1 +- Updates for R15B02 +- Minimised build requirements +- Removed docs + +* Wed Apr 25 2012 Stuart Williams - erlang-for-rabbitmq +- Minimised & removed dependencies not required for RabbitMQ and restored single package build. + +* Tue Feb 07 2012 Peter Lemenkov - R15B-00.1 +- Ver. R15B + +* Fri Jan 13 2012 Fedora Release Engineering - R14B-04.1.1 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild + +* Sun Aug 07 2011 Peter Lemenkov - R14B-04.1 +- Ver. R14B04 + +* Sun Aug 07 2011 Peter Lemenkov - R14B-03.3 +- Use prebuilt docs on EL-[56] also + +* Thu Jul 21 2011 Peter Lemenkov - R14B-03.2 +- Fixed building on F-15 + +* Wed Jul 20 2011 Peter Lemenkov - R14B-03.1 +- Ver. R14B03 +- New module - diameter +- Several new examples directories + +* Fri Apr 1 2011 Hans Ulrich Niedermann - R14B-02.2 +- Work around fop-1.0-14.fc16 bug (#689930) by using prebuilt docs for f16/rawhide + +* Mon Mar 21 2011 Hans Ulrich Niedermann - R14B-02.1 +- snmp-4.19 (R14B02) ships lib/snmp/bin/snmpc +- inets-5.5.2 puts *.hrl in include/ +- install/symlink *.jar into %%{_javadir} (#679031) +- Update to upstream maintenance release R14B02 + +* Sat Feb 12 2011 Hans Ulrich Niedermann - R14B-01.5 +- erlang-doc does not really require erlang base package (#629723) +- Add %%{?_isa} for all explicit "Requires:" + +* Tue Feb 08 2011 Fedora Release Engineering - R14B-01.4.1 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild + +* Mon Jan 31 2011 Hans Ulrich Niedermann - R14B-01.4 +- Adapt %%files: Add wxSystemSettings.3 man page +- Adapt %%files for change from run_test to ct_run +- Remove rpaths from lib/ssl-*/bin/esock_ssl +- Update erlang.spec and otp-00*.patch without numbers +- otp-get-patches.sh: Remove patch numbering + +* Sun Jan 30 2011 Hans Ulrich Niedermann - R14B-01.3 +- Add "buffer overflow during build" fix (#663260) + +* Wed Dec 15 2010 Hans Ulrich Niedermann - R14B-01.2 +- Update to rebased patches + +* Mon Dec 13 2010 Hans Ulrich Niedermann - R14B-01.1 +- Update to upstream release R14B01 (the patches still need work) + +* Thu Nov 18 2010 Peter Lemenkov - R14B-0.5 +- Fixed building on EL-6 + +* Mon Nov 15 2010 Peter Lemenkov - R14B-0.4 +- No more dependent on erlang-rpm-macros sub-package + +* Thu Nov 11 2010 Peter Lemenkov - R14B-0.3 +- Remove pre-built stuff + +* Fri Nov 5 2010 Peter Lemenkov - R14B-0.2 +- Fixed doc-files and man-pages instalation for EL-5 +- Temporarily (I hope) disabled emacs-related stuff in EL-5 +- Disable erlang-rpm-macros subpackage for EL-5 + +* Wed Sep 29 2010 jkeating - R14B-0.1.1 +- Rebuilt for gcc bug 634757 + +* Thu Sep 16 2010 Peter Lemenkov - R14B-0.1 +- R14B release + +* Mon Aug 2 2010 Hans Ulrich Niedermann - R14A-0.6 +- Implement '--without doc' conditional for faster test builds (#618245). + +* Fri Jul 30 2010 Hans Ulrich Niedermann - R14A-0.5 +- Properly hook up (X)Emacs erlang-mode (#491165) + +* Mon Jul 26 2010 Hans Ulrich Niedermann - R14A-0.4 +- Spec file cleanups: + - Avoid accidental %%rel increments by rpmdev-bumpspec. + - Use %%global for our spec file macros. + - Use macro for redundant directory names. + - Whitespace cleanups (tabs vs. spaces). + - Fix accidental macro usage in %%changelog. + +* Wed Jul 14 2010 Dan Horák - R14A-0.3 +- rebuilt against wxGTK-2.8.11-2 + +* Sat Jun 26 2010 Peter Lemenkov - R14A-0.2 +- Updated list of explicit requirements + +* Fri Jun 18 2010 Peter Lemenkov - R14A-0.1 +- R14A release + +* Sat May 15 2010 Peter Lemenkov - R13B-04.12 +- Moved dialyzer and typer executables from erts to appropriate rpms + +* Fri May 14 2010 Peter Lemenkov - R13B-04.11 +- Do not mention nteventlog in os_mon.app, see rhbz #592251 + +* Thu May 6 2010 Peter Lemenkov - R13B-04.10 +- Disabled automatic requires/provides generation + +* Wed Apr 28 2010 Peter Lemenkov - R13B-04.9 +- Added missing files, necessary for emacs (see rhbz #585349) +- Patches rebased + +* Tue Apr 27 2010 Peter Lemenkov - R13B-04.8 +- Added missing BuildRequires libxslt (for building docs) +- Removed %%post script completely (resolves rhbz #586428) +- Since now both docs and man-pages are built from sources +- No need to manually create symlinks in %%{_bindir} + +* Mon Apr 26 2010 Peter Lemenkov - R13B-04.7 +- Build with erlang-rpm-macros +- Man-files are packed with packages, they belong to + +* Mon Apr 26 2010 Peter Lemenkov - R13B-04.6 +- Made erlang-rpm-macros as separate package +- Fix error while installing erlang-rpm-macros + +* Wed Apr 21 2010 Peter Lemenkov - R13B-04.5 +- Use erlang rpm macros for adding provides/reqires +- All %%{_libdir}/erlang/lib/* items were splitted off from main package, which + in turn becomes purely virtual now. +- Removing RPM_BUILD_ROOT from several installed files is no longer required + +* Sat Apr 17 2010 Peter Lemenkov - R13B-04.4 +- Added missing Requires mesa-libGL{U} for wx module (rhbz #583287) +- Fix for buffer overflow in pcre module (rhbz #583288) +- Doc sub-package marked as noarch (partially resolves rhbz #491165) + +* Fri Mar 26 2010 Peter Lemenkov - R13B-04.3 +- Added rpm-related stuff for auto-generating erlang dependencies in the future builds +- Since now *.yrl files are removed too. +- Removed unnecessary C and Java sources + +* Fri Mar 26 2010 Peter Lemenkov - R13B-04.2 +- Do not remove all files from %%{_libdir}/erlang/lib/*/src - keep + *.[yh]rl intact +- Fix permissions for megaco *.so objects +- Fix permissions for asn1 *.so objects + +* Sat Feb 13 2010 Peter Lemenkov - R13B-04.1 +- New release R13B-04 +- Since now we're using %%configure instead of ./configure +- Removed no longer needed fix for newer glibc version +- Dropped %%patch3 (applied upstream) +- Rebased patches +- Added BR fop for rebuilding of docs +- Use system-wide zlib instead of shipped one +- Dropped BR gd-devel +- Removed unneeded sources (should be fixed upstream) +- Fixed permission for wx driver (should be fixed upstream) + +* Thu Oct 22 2009 Lubomir Rintel (Good Data) - R13B-02-1 +- Update to R13B-02 (patched for what's released as 02-1 by upstream) + +* Tue Aug 25 2009 Tomas Mraz - R13B-01.2 +- rebuilt with new openssl + +* Mon Aug 10 2009 Gerard Milmeister - R13B-01.1 +- update to R13B01 + +* Fri Jul 24 2009 Fedora Release Engineering - R12B-6.7 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild + +* Tue Apr 21 2009 Debarshi Ray R12B-5.7 +- Updated rpath patch. +- Fixed configure to respect $RPM_OPT_FLAGS. + +* Sun Mar 1 2009 Gerard Milmeister - R12B-5.6 +- new release R12B-5 +- link escript and dialyzer to %%{_bindir} + +* Tue Feb 24 2009 Fedora Release Engineering - R12B-5.5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild + +* Sat Feb 14 2009 Dennis Gilmore - R12B-4.5 +- fix sparc arches to compile + +* Fri Jan 16 2009 Tomas Mraz - R12B-4.4 +- rebuild with new openssl + +* Sat Oct 25 2008 Gerard Milmeister - R12B-4.1 +- new release R12B-4 + +* Fri Sep 5 2008 Gerard Milmeister - R12B-3.3 +- fixed sslrpath patch + +* Thu Jul 17 2008 Tom "spot" Callaway - R12B-3.2 +- fix license tag + +* Sun Jul 6 2008 Gerard Milmeister - R12B-3.1 +- new release R12B-3 + +* Thu Mar 27 2008 Gerard Milmeister - R12B-1.1 +- new release R12B-1 + +* Sat Feb 23 2008 Gerard Milmeister - R12B-0.3 +- disable strict aliasing optimization + +* Mon Feb 18 2008 Fedora Release Engineering - R12B-0.2 +- Autorebuild for GCC 4.3 + +* Sat Dec 8 2007 Gerard Milmeister - R12B-0.1 +- new release R12B-0 + +* Wed Dec 05 2007 Release Engineering - R11B-6 + - Rebuild for deps + +* Sun Aug 19 2007 Gerard Milmeister - R11B-5.3 +- fix some permissions + +* Sat Aug 18 2007 Gerard Milmeister - R11B-5.2 +- enable dynamic linking for ssl + +* Sat Aug 18 2007 Gerard Milmeister - R11B-5.1 +- new release R11B-5 + +* Sat Mar 24 2007 Thomas Fitzsimmons - R11B-2.4 +- Require java-1.5.0-gcj-devel for build. + +* Sun Dec 31 2006 Gerard Milmeister - R11B-2.3 +- remove buildroot from installed files + +* Sat Dec 30 2006 Gerard Milmeister - R11B-2.2 +- added patch for compiling with glibc 2.5 + +* Sat Dec 30 2006 Gerard Milmeister - R11B-2.1 +- new version R11B-2 + +* Mon Aug 28 2006 Gerard Milmeister - R11B-0.3 +- Rebuild for FE6 + +* Wed Jul 5 2006 Gerard Milmeister - R11B-0.2 +- add BR m4 + +* Thu May 18 2006 Gerard Milmeister - R11B-0.1 +- new version R11B-0 + +* Wed May 3 2006 Gerard Milmeister - R10B-10.3 +- added patch for run_erl by Knut-Håvard Aksnes + +* Mon Mar 13 2006 Gerard Milmeister - R10B-10.1 +- new version R10B-10 + +* Thu Dec 29 2005 Gerard Milmeister - R10B-9.1 +- New Version R10B-9 + +* Sat Oct 29 2005 Gerard Milmeister - R10B-8.2 +- updated rpath patch + +* Sat Oct 29 2005 Gerard Milmeister - R10B-8.1 +- New Version R10B-8 + +* Sat Oct 1 2005 Gerard Milmeister - R10B-6.4 +- Added tk-devel and tcl-devel to buildreq +- Added tk to req + +* Tue Sep 6 2005 Gerard Milmeister - R10B-6.3 +- Remove perl BuildRequires + +* Tue Aug 30 2005 Gerard Milmeister - R10B-6.2 +- change /usr/lib to %%{_libdir} +- redirect output in %%post to /dev/null +- add unixODBC-devel to BuildRequires +- split doc off to erlang-doc package + +* Sat Jun 25 2005 Gerard Milmeister - R10B-6.1 +- New Version R10B-6 + +* Sun Feb 13 2005 Gerard Milmeister - R10B-3.1 +- New Version R10B-3 + +* Mon Dec 27 2004 Gerard Milmeister - 0:R10B-2-0.fdr.1 +- New Version R10B-2 + +* Wed Oct 6 2004 Gerard Milmeister - 0:R10B-0.fdr.1 +- New Version R10B + +* Thu Oct 16 2003 Gerard Milmeister - 0:R9B-1.fdr.1 +- First Fedora release diff --git a/otp-0001-Do-not-format-man-pages-and-do-not-install-miscellan.patch b/otp-0001-Do-not-format-man-pages-and-do-not-install-miscellan.patch new file mode 100644 index 0000000..8692229 --- /dev/null +++ b/otp-0001-Do-not-format-man-pages-and-do-not-install-miscellan.patch @@ -0,0 +1,32 @@ +diff -u -r otp_src_18.1-a/erts/etc/common/Makefile.in otp_src_18.1/erts/etc/common/Makefile.in +--- otp_src_18.1-a/erts/etc/common/Makefile.in 2014-12-09 20:11:07.000000000 +0000 ++++ otp_src_18.1/erts/etc/common/Makefile.in 2015-01-14 12:44:58.017995780 +0000 +@@ -550,10 +550,6 @@ + ifneq ($(INSTALL_TOP_BIN),) + $(INSTALL_PROGRAM) $(INSTALL_TOP_BIN) "$(RELEASE_PATH)" + endif +-ifneq ($(INSTALL_MISC),) +- $(INSTALL_DIR) "$(RELEASE_PATH)/misc" +- $(INSTALL_SCRIPT) $(INSTALL_MISC) "$(RELEASE_PATH)/misc" +-endif + ifneq ($(INSTALL_SRC),) + $(INSTALL_DIR) "$(RELEASE_PATH)/erts-$(VSN)/src" + $(INSTALL_DATA) $(INSTALL_SRC) "$(RELEASE_PATH)/erts-$(VSN)/src" +diff -u -r otp_src_18.1-a/erts/etc/unix/Install.src otp_src_18.1/erts/etc/unix/Install.src +--- otp_src_18.1-a/erts/etc/unix/Install.src 2014-12-09 20:11:07.000000000 +0000 ++++ otp_src_18.1/erts/etc/unix/Install.src 2015-01-14 12:44:58.945983653 +0000 +@@ -140,14 +140,5 @@ + cp -p ../releases/%I_SYSTEM_VSN%/no_dot_erlang.boot . + cp -p $Name.boot start.boot + cp -p ../releases/%I_SYSTEM_VSN%/$Name.script start.script +-# +-# Fixing the man pages +-# +- +-if [ -d "$ERL_ROOT/man" ] +-then +- cd "$ERL_ROOT" +- ./misc/format_man_pages "$ERL_ROOT" +-fi + + exit 0 diff --git a/otp-0002-Remove-rpath.patch b/otp-0002-Remove-rpath.patch new file mode 100644 index 0000000..9f122b8 --- /dev/null +++ b/otp-0002-Remove-rpath.patch @@ -0,0 +1,24 @@ +diff -u -r otp_src_18.1-a/lib/crypto/c_src/Makefile.in otp_src_18.1/lib/crypto/c_src/Makefile.in +--- otp_src_18.1-a/lib/crypto/c_src/Makefile.in 2014-12-09 20:11:07.000000000 +0000 ++++ otp_src_18.1/lib/crypto/c_src/Makefile.in 2015-01-14 12:45:52.181287995 +0000 +@@ -89,7 +89,7 @@ + DYNAMIC_CRYPTO_LIB=@SSL_DYNAMIC_ONLY@ + + ifeq ($(DYNAMIC_CRYPTO_LIB),yes) +-SSL_DED_LD_RUNTIME_LIBRARY_PATH = @SSL_DED_LD_RUNTIME_LIBRARY_PATH@ ++SSL_DED_LD_RUNTIME_LIBRARY_PATH = + CRYPTO_LINK_LIB=$(SSL_DED_LD_RUNTIME_LIBRARY_PATH) -L$(SSL_LIBDIR) -l$(SSL_CRYPTO_LIBNAME) + EXTRA_FLAGS = -DHAVE_DYNAMIC_CRYPTO_LIB + else +diff -u -r otp_src_18.1-a/lib/crypto/priv/Makefile otp_src_18.1/lib/crypto/priv/Makefile +--- otp_src_18.1-a/lib/crypto/priv/Makefile 2014-12-09 20:11:07.000000000 +0000 ++++ otp_src_18.1/lib/crypto/priv/Makefile 2015-01-14 12:45:52.181287995 +0000 +@@ -60,7 +60,7 @@ + # ---------------------------------------------------- + + $(SO_NIFLIB): $(OBJS) +- $(SO_LD) $(SO_LDFLAGS) -L$(SO_SSL_LIBDIR) -Wl,-R$(SO_SSL_LIBDIR) \ ++ $(SO_LD) $(SO_LDFLAGS) -L$(SO_SSL_LIBDIR) \ + -o $@ $^ -lcrypto + + $(DLL_NIFLIB): $(OBJS) diff --git a/otp-0003-Do-not-install-C-sources.patch b/otp-0003-Do-not-install-C-sources.patch new file mode 100644 index 0000000..76b7780 --- /dev/null +++ b/otp-0003-Do-not-install-C-sources.patch @@ -0,0 +1,102 @@ +diff -u -r otp_src_18.1-a/lib/asn1/c_src/Makefile otp_src_18.1/lib/asn1/c_src/Makefile +--- otp_src_18.1-a/lib/asn1/c_src/Makefile 2014-12-09 20:11:07.000000000 +0000 ++++ otp_src_18.1/lib/asn1/c_src/Makefile 2015-01-14 12:47:55.655674256 +0000 +@@ -142,8 +142,6 @@ + ifneq ($(findstring ose,$(TARGET)),ose) + $(INSTALL_PROGRAM) $(NIF_SHARED_OBJ_FILE) "$(RELSYSDIR)/priv/lib" + endif +- $(INSTALL_DIR) "$(RELSYSDIR)/c_src" +- $(INSTALL_DATA) *.c "$(RELSYSDIR)/c_src" + + release_docs_spec: + +diff -u -r otp_src_18.1-a/lib/crypto/c_src/Makefile.in otp_src_18.1/lib/crypto/c_src/Makefile.in +--- otp_src_18.1-a/lib/crypto/c_src/Makefile.in 2015-01-14 12:46:32.968754959 +0000 ++++ otp_src_18.1/lib/crypto/c_src/Makefile.in 2015-01-14 12:48:49.902965180 +0000 +@@ -199,14 +199,10 @@ + include $(ERL_TOP)/make/otp_release_targets.mk + + release_spec: opt +- $(INSTALL_DIR) "$(RELSYSDIR)/priv/obj" + $(INSTALL_DIR) "$(RELSYSDIR)/priv/lib" +- $(INSTALL_DATA) $(NIF_MAKEFILE) "$(RELSYSDIR)/priv/obj" + ifneq ($(findstring ose,$(TARGET)),ose) +- $(INSTALL_PROGRAM) $(CRYPTO_OBJS) "$(RELSYSDIR)/priv/obj" + $(INSTALL_PROGRAM) $(NIF_LIB) "$(RELSYSDIR)/priv/lib" + ifeq ($(DYNAMIC_CRYPTO_LIB),yes) +- $(INSTALL_PROGRAM) $(CALLBACK_OBJS) "$(RELSYSDIR)/priv/obj" + $(INSTALL_PROGRAM) $(CALLBACK_LIB) "$(RELSYSDIR)/priv/lib" + endif + endif +diff -u -r otp_src_18.1-a/lib/erl_interface/src/Makefile.in otp_src_18.1/lib/erl_interface/src/Makefile.in +--- otp_src_18.1-a/lib/erl_interface/src/Makefile.in 2014-12-09 20:11:07.000000000 +0000 ++++ otp_src_18.1/lib/erl_interface/src/Makefile.in 2015-01-14 12:50:04.401991292 +0000 +@@ -883,15 +883,6 @@ + $(INSTALL_DIR) "$(RELSYSDIR)/lib" + $(INSTALL_DIR) "$(RELSYSDIR)/bin" + $(INSTALL_DIR) "$(RELSYSDIR)/ebin" +- $(INSTALL_DIR) "$(RELSYSDIR)/src/auxdir" +- $(INSTALL_DIR) "$(RELSYSDIR)/src/connect" +- $(INSTALL_DIR) "$(RELSYSDIR)/src/decode" +- $(INSTALL_DIR) "$(RELSYSDIR)/src/encode" +- $(INSTALL_DIR) "$(RELSYSDIR)/src/epmd" +- $(INSTALL_DIR) "$(RELSYSDIR)/src/legacy" +- $(INSTALL_DIR) "$(RELSYSDIR)/src/misc" +- $(INSTALL_DIR) "$(RELSYSDIR)/src/prog" +- $(INSTALL_DIR) "$(RELSYSDIR)/src/registry" + $(INSTALL_DIR) "$(RELEASE_PATH)/usr/include" + $(INSTALL_DIR) "$(RELEASE_PATH)/usr/lib" + $(INSTALL_DATA) $(APP_TARGET) "$(RELSYSDIR)/ebin/$(APP_FILE)" +@@ -903,15 +894,6 @@ + ifneq ($(EXE_TARGETS),) + $(INSTALL_PROGRAM) $(EXE_TARGETS) "$(RELSYSDIR)/bin" + endif +- $(INSTALL_DATA) $(EXTRA) "$(RELSYSDIR)/src" +- $(INSTALL_DATA) connect/*.[ch] "$(RELSYSDIR)/src/connect" +- $(INSTALL_DATA) decode/*.[ch] "$(RELSYSDIR)/src/decode" +- $(INSTALL_DATA) encode/*.[ch] "$(RELSYSDIR)/src/encode" +- $(INSTALL_DATA) epmd/*.[ch] "$(RELSYSDIR)/src/epmd" +- $(INSTALL_DATA) misc/*.[ch] "$(RELSYSDIR)/src/misc" +- $(INSTALL_DATA) registry/*.[ch] "$(RELSYSDIR)/src/registry" +- $(INSTALL_DATA) legacy/*.[ch] "$(RELSYSDIR)/src/legacy" +- $(INSTALL_DATA) prog/*.[ch] "$(RELSYSDIR)/src/prog" + + release_docs: + +diff -u -r otp_src_18.1-a/lib/os_mon/c_src/Makefile.in otp_src_18.1/lib/os_mon/c_src/Makefile.in +--- otp_src_18.1-a/lib/os_mon/c_src/Makefile.in 2014-12-09 20:11:07.000000000 +0000 ++++ otp_src_18.1/lib/os_mon/c_src/Makefile.in 2015-01-14 12:46:50.568524945 +0000 +@@ -126,7 +126,6 @@ + + release_spec: opt + $(INSTALL_DIR) "$(RELSYSDIR)/src" +- $(INSTALL_DATA) $(C_FILES) "$(RELSYSDIR)/src" + $(INSTALL_DIR) "$(RELSYSDIR)/priv/bin" + $(INSTALL_PROGRAM) $(TARGET_FILES) "$(RELSYSDIR)/priv/bin" + +diff -u -r otp_src_18.1-a/lib/runtime_tools/c_src/Makefile.in otp_src_18.1/lib/runtime_tools/c_src/Makefile.in +--- otp_src_18.1-a/lib/runtime_tools/c_src/Makefile.in 2014-12-09 20:11:07.000000000 +0000 ++++ otp_src_18.1/lib/runtime_tools/c_src/Makefile.in 2015-01-14 12:50:37.609556432 +0000 +@@ -156,10 +156,8 @@ + include $(ERL_TOP)/make/otp_release_targets.mk + + release_spec: opt +- $(INSTALL_DIR) "$(RELSYSDIR)/priv/obj" + $(INSTALL_DIR) "$(RELSYSDIR)/priv/lib" + ifneq ($(findstring ose,$(TARGET)),ose) +- $(INSTALL_PROGRAM) $(DYNTRACE_OBJS) "$(RELSYSDIR)/priv/obj" + $(INSTALL_PROGRAM) $(NIF_LIB) $(SOLIBS) "$(RELSYSDIR)/priv/lib" + endif + +diff -u -r otp_src_18.1-a/lib/tools/c_src/Makefile.in otp_src_18.1/lib/tools/c_src/Makefile.in +--- otp_src_18.1-a/lib/tools/c_src/Makefile.in 2014-12-09 20:11:07.000000000 +0000 ++++ otp_src_18.1/lib/tools/c_src/Makefile.in 2015-01-14 12:46:50.568524945 +0000 +@@ -197,8 +197,6 @@ + RELSYSDIR = $(RELEASE_PATH)/lib/tools-$(TOOLS_VSN) + + release_spec: all +- $(INSTALL_DIR) "$(RELSYSDIR)/c_src" +- $(INSTALL_DATA) $(EMEM_SRCS) $(EMEM_HEADERS) "$(RELSYSDIR)/c_src" + ifneq ($(PROGS),) + $(INSTALL_DIR) "$(RELSYSDIR)/bin" + $(INSTALL_PROGRAM) $(PROGS) "$(RELSYSDIR)/bin" diff --git a/otp-0007-Do-not-install-erlang-sources.patch b/otp-0007-Do-not-install-erlang-sources.patch new file mode 100644 index 0000000..20f2977 --- /dev/null +++ b/otp-0007-Do-not-install-erlang-sources.patch @@ -0,0 +1,497 @@ +Only in ../otp_src_18.1-a: confdefs.h +Only in ../otp_src_18.1-a: config.log +Only in ../otp_src_18.1-a: config.status +Only in ../otp_src_18.1-a/erts: config.log +Only in ../otp_src_18.1-a/erts/doc: CONF_INFO +diff -u -r ./erts/preloaded/src/Makefile ../otp_src_18.1-a/erts/preloaded/src/Makefile +--- ./erts/preloaded/src/Makefile 2015-09-22 12:10:57.000000000 -0700 ++++ ../otp_src_18.1-a/erts/preloaded/src/Makefile 2015-10-13 07:04:23.183573439 -0700 +@@ -86,8 +86,6 @@ + include $(ERL_TOP)/make/otp_release_targets.mk + + release_spec: $(APP_TARGET) +- $(INSTALL_DIR) "$(RELSYSDIR)/src" +- $(INSTALL_DATA) $(ERL_FILES) $(BEAM_FILES) $(STUBS_FILES) "$(RELSYSDIR)/src" + $(INSTALL_DIR) "$(RELSYSDIR)/ebin" + $(INSTALL_DATA) $(STATIC_TARGET_FILES) $(APP_TARGET) "$(RELSYSDIR)/ebin" + +diff -u -r ./lib/asn1/src/Makefile ../otp_src_18.1-a/lib/asn1/src/Makefile +--- ./lib/asn1/src/Makefile 2015-09-22 12:10:57.000000000 -0700 ++++ ../otp_src_18.1-a/lib/asn1/src/Makefile 2015-10-13 07:05:22.542024578 -0700 +@@ -155,7 +155,7 @@ + $(INSTALL_DIR) "$(RELSYSDIR)/ebin" + $(INSTALL_DATA) $(TARGET_FILES) $(APP_TARGET) $(APPUP_TARGET) "$(RELSYSDIR)/ebin" + $(INSTALL_DIR) "$(RELSYSDIR)/src" +- $(INSTALL_DATA) $(ERL_FILES) $(HRL_FILES) $(APP_SRC) $(APPUP_SRC) "$(RELSYSDIR)/src" ++ $(INSTALL_DATA) $(HRL_FILES) "$(RELSYSDIR)/src" + $(INSTALL_DIR) "$(RELSYSDIR)/examples" + $(INSTALL_DATA) $(EXAMPLES) "$(RELSYSDIR)/examples" + +Only in ../otp_src_18.1-a/lib/common_test: config.log +Only in ../otp_src_18.1-a/lib/common_test: config.status +Only in ../otp_src_18.1-a/lib/common_test/priv: x86_64-unknown-linux-gnu +diff -u -r ./lib/compiler/src/Makefile ../otp_src_18.1-a/lib/compiler/src/Makefile +--- ./lib/compiler/src/Makefile 2015-09-22 12:10:57.000000000 -0700 ++++ ../otp_src_18.1-a/lib/compiler/src/Makefile 2015-10-13 07:06:00.413041946 -0700 +@@ -172,8 +172,8 @@ + + release_spec: opt + $(INSTALL_DIR) "$(RELSYSDIR)/src" +- $(INSTALL_DATA) $(ERL_FILES) $(HRL_FILES) $(EXTRA_FILES) \ +- $(YRL_FILE) "$(RELSYSDIR)/src" ++ $(INSTALL_DATA) $(HRL_FILES) $(EXTRA_FILES) \ ++ "$(RELSYSDIR)/src" + $(INSTALL_DIR) "$(RELSYSDIR)/ebin" + $(INSTALL_DATA) $(INSTALL_FILES) "$(RELSYSDIR)/ebin" + +Only in ../otp_src_18.1-a/lib: config.log +Only in ../otp_src_18.1-a/lib: config.status +diff -u -r ./lib/crypto/src/Makefile ../otp_src_18.1-a/lib/crypto/src/Makefile +--- ./lib/crypto/src/Makefile 2015-09-22 12:10:57.000000000 -0700 ++++ ../otp_src_18.1-a/lib/crypto/src/Makefile 2015-10-13 07:06:19.928531323 -0700 +@@ -82,8 +82,6 @@ + include $(ERL_TOP)/make/otp_release_targets.mk + + release_spec: opt +- $(INSTALL_DIR) "$(RELSYSDIR)/src" +- $(INSTALL_DATA) $(ERL_FILES) "$(RELSYSDIR)/src" + $(INSTALL_DIR) "$(RELSYSDIR)/ebin" + $(INSTALL_DATA) $(TARGET_FILES) $(APP_TARGET) \ + $(APPUP_TARGET) "$(RELSYSDIR)/ebin" +diff -u -r ./lib/debugger/src/Makefile ../otp_src_18.1-a/lib/debugger/src/Makefile +--- ./lib/debugger/src/Makefile 2015-09-22 12:10:57.000000000 -0700 ++++ ../otp_src_18.1-a/lib/debugger/src/Makefile 2015-10-13 07:07:02.723427805 -0700 +@@ -117,7 +117,7 @@ + + release_spec: opt + $(INSTALL_DIR) "$(RELSYSDIR)/src" +- $(INSTALL_DATA) $(ERL_FILES) $(INTERNAL_HRL_FILES) $(TOOLBOX_FILES) "$(RELSYSDIR)/src" ++ $(INSTALL_DATA) $(INTERNAL_HRL_FILES) $(TOOLBOX_FILES) "$(RELSYSDIR)/src" + $(INSTALL_DIR) "$(RELSYSDIR)/ebin" + $(INSTALL_DATA) $(TARGET_FILES) $(TARGET_TOOLBOX_FILES) "$(RELSYSDIR)/ebin" + +diff -u -r ./lib/edoc/src/Makefile ../otp_src_18.1-a/lib/edoc/src/Makefile +--- ./lib/edoc/src/Makefile 2015-09-22 12:10:57.000000000 -0700 ++++ ../otp_src_18.1-a/lib/edoc/src/Makefile 2015-10-13 07:07:26.882808989 -0700 +@@ -88,7 +88,7 @@ + $(INSTALL_DIR) "$(RELSYSDIR)/ebin" + $(INSTALL_DATA) $(OBJECTS) "$(RELSYSDIR)/ebin" + $(INSTALL_DIR) "$(RELSYSDIR)/src" +- $(INSTALL_DATA) $(SOURCES) $(HRL_FILES) $(YRL_FILE) "$(RELSYSDIR)/src" ++ $(INSTALL_DATA) $(HRL_FILES) $(YRL_FILE) "$(RELSYSDIR)/src" + + release_docs_spec: + +diff -u -r ./lib/erl_docgen/src/Makefile ../otp_src_18.1-a/lib/erl_docgen/src/Makefile +--- ./lib/erl_docgen/src/Makefile 2015-09-22 12:10:57.000000000 -0700 ++++ ../otp_src_18.1-a/lib/erl_docgen/src/Makefile 2015-10-13 08:10:18.049749144 -0700 +@@ -90,8 +90,6 @@ + include $(ERL_TOP)/make/otp_release_targets.mk + + release_spec: opt +- $(INSTALL_DIR) "$(RELSYSDIR)/src" +- $(INSTALL_DATA) $(ERL_FILES) "$(RELSYSDIR)/src" + $(INSTALL_DIR) "$(RELSYSDIR)/ebin" + $(INSTALL_DATA) $(TARGET_FILES) "$(RELSYSDIR)/ebin" + +Only in ../otp_src_18.1-a/lib/erl_interface: config.log +Only in ../otp_src_18.1-a/lib/erl_interface: config.status +Only in ../otp_src_18.1-a/lib/erl_interface/src: x86_64-unknown-linux-gnu +Only in ../otp_src_18.1-a/lib/gs: config.log +Only in ../otp_src_18.1-a/lib/gs: config.status +Only in ../otp_src_18.1-a/lib/gs/tcl: win32 +Only in ../otp_src_18.1-a/lib/gs/tcl: x86_64-unknown-linux-gnu +diff -u -r ./lib/hipe/cerl/Makefile ../otp_src_18.1-a/lib/hipe/cerl/Makefile +--- ./lib/hipe/cerl/Makefile 2015-09-22 12:10:57.000000000 -0700 ++++ ../otp_src_18.1-a/lib/hipe/cerl/Makefile 2015-10-13 08:08:36.504360163 -0700 +@@ -102,7 +102,7 @@ + + release_spec: opt + $(INSTALL_DIR) "$(RELSYSDIR)/cerl" +- $(INSTALL_DATA) $(ERL_FILES) $(HRL_FILES) "$(RELSYSDIR)/cerl" ++ $(INSTALL_DATA) $(HRL_FILES) "$(RELSYSDIR)/cerl" + $(INSTALL_DIR) "$(RELSYSDIR)/ebin" + $(INSTALL_DATA) $(TARGET_FILES) "$(RELSYSDIR)/ebin" + +diff -u -r ./lib/hipe/flow/Makefile ../otp_src_18.1-a/lib/hipe/flow/Makefile +--- ./lib/hipe/flow/Makefile 2015-09-22 12:10:57.000000000 -0700 ++++ ../otp_src_18.1-a/lib/hipe/flow/Makefile 2015-10-13 07:08:16.985519941 -0700 +@@ -102,7 +102,7 @@ + + release_spec: opt + $(INSTALL_DIR) "$(RELSYSDIR)/flow" +- $(INSTALL_DATA) $(ERL_FILES) $(HRL_FILES) $(INC_FILES) "$(RELSYSDIR)/flow" ++ $(INSTALL_DATA) $(HRL_FILES) $(INC_FILES) "$(RELSYSDIR)/flow" + $(INSTALL_DIR) "$(RELSYSDIR)/ebin" + $(INSTALL_DATA) $(TARGET_FILES) "$(RELSYSDIR)/ebin" + +diff -u -r ./lib/hipe/icode/Makefile ../otp_src_18.1-a/lib/hipe/icode/Makefile +--- ./lib/hipe/icode/Makefile 2015-09-22 12:10:57.000000000 -0700 ++++ ../otp_src_18.1-a/lib/hipe/icode/Makefile 2015-10-13 07:08:42.976850649 -0700 +@@ -120,7 +120,7 @@ + + release_spec: opt + $(INSTALL_DIR) "$(RELSYSDIR)/icode" +- $(INSTALL_DATA) $(ERL_FILES) $(HRL_FILES) "$(RELSYSDIR)/icode" ++ $(INSTALL_DATA) $(HRL_FILES) "$(RELSYSDIR)/icode" + $(INSTALL_DIR) "$(RELSYSDIR)/ebin" + $(INSTALL_DATA) $(TARGET_FILES) "$(RELSYSDIR)/ebin" + +diff -u -r ./lib/hipe/main/Makefile ../otp_src_18.1-a/lib/hipe/main/Makefile +--- ./lib/hipe/main/Makefile 2015-09-22 12:10:57.000000000 -0700 ++++ ../otp_src_18.1-a/lib/hipe/main/Makefile 2015-10-13 07:08:56.916491063 -0700 +@@ -118,7 +118,7 @@ + release_spec: opt + $(INSTALL_DATA) ../vsn.mk "$(RELSYSDIR)" + $(INSTALL_DIR) "$(RELSYSDIR)/main" +- $(INSTALL_DATA) $(ERL_FILES) $(HRL_FILES) "$(RELSYSDIR)/main" ++ $(INSTALL_DATA) $(HRL_FILES) "$(RELSYSDIR)/main" + $(INSTALL_DIR) "$(RELSYSDIR)/ebin" + $(INSTALL_DATA) $(TARGET_FILES) "$(RELSYSDIR)/ebin" + +diff -u -r ./lib/hipe/misc/Makefile ../otp_src_18.1-a/lib/hipe/misc/Makefile +--- ./lib/hipe/misc/Makefile 2015-09-22 12:10:57.000000000 -0700 ++++ ../otp_src_18.1-a/lib/hipe/misc/Makefile 2015-10-13 07:09:15.180013899 -0700 +@@ -102,7 +102,7 @@ + + release_spec: opt + $(INSTALL_DIR) "$(RELSYSDIR)/misc" +- $(INSTALL_DATA) $(ERL_FILES) $(HRL_FILES) "$(RELSYSDIR)/misc" ++ $(INSTALL_DATA) $(HRL_FILES) "$(RELSYSDIR)/misc" + $(INSTALL_DIR) "$(RELSYSDIR)/ebin" + $(INSTALL_DATA) $(TARGET_FILES) "$(RELSYSDIR)/ebin" + +diff -u -r ./lib/hipe/rtl/Makefile ../otp_src_18.1-a/lib/hipe/rtl/Makefile +--- ./lib/hipe/rtl/Makefile 2015-09-22 12:10:57.000000000 -0700 ++++ ../otp_src_18.1-a/lib/hipe/rtl/Makefile 2015-10-13 07:09:42.215314891 -0700 +@@ -105,7 +105,7 @@ + + release_spec: opt + $(INSTALL_DIR) "$(RELSYSDIR)/rtl" +- $(INSTALL_DATA) $(ERL_FILES) $(HRL_FILES) "$(RELSYSDIR)/rtl" ++ $(INSTALL_DATA) $(HRL_FILES) "$(RELSYSDIR)/rtl" + $(INSTALL_DIR) "$(RELSYSDIR)/ebin" + $(INSTALL_DATA) $(TARGET_FILES) "$(RELSYSDIR)/ebin" + +diff -u -r ./lib/hipe/util/Makefile ../otp_src_18.1-a/lib/hipe/util/Makefile +--- ./lib/hipe/util/Makefile 2015-09-22 12:10:57.000000000 -0700 ++++ ../otp_src_18.1-a/lib/hipe/util/Makefile 2015-10-13 07:10:14.030486537 -0700 +@@ -104,8 +104,6 @@ + include $(ERL_TOP)/make/otp_release_targets.mk + + release_spec: opt +- $(INSTALL_DIR) "$(RELSYSDIR)/util" +- $(INSTALL_DATA) $(ERL_FILES) $(HRL_FILES) "$(RELSYSDIR)/util" + $(INSTALL_DIR) "$(RELSYSDIR)/ebin" + $(INSTALL_DATA) $(TARGET_FILES) "$(RELSYSDIR)/ebin" + +diff -u -r ./lib/inets/src/ftp/Makefile ../otp_src_18.1-a/lib/inets/src/ftp/Makefile +--- ./lib/inets/src/ftp/Makefile 2015-09-22 12:10:57.000000000 -0700 ++++ ../otp_src_18.1-a/lib/inets/src/ftp/Makefile 2015-10-13 07:10:43.541721888 -0700 +@@ -91,7 +91,7 @@ + release_spec: opt + $(INSTALL_DIR) "$(RELSYSDIR)/src" + $(INSTALL_DIR) "$(RELSYSDIR)/src/ftp" +- $(INSTALL_DATA) $(HRL_FILES) $(ERL_FILES) "$(RELSYSDIR)/src/ftp" ++ $(INSTALL_DATA) $(HRL_FILES) "$(RELSYSDIR)/src/ftp" + $(INSTALL_DIR) "$(RELSYSDIR)/ebin" + $(INSTALL_DATA) $(TARGET_FILES) "$(RELSYSDIR)/ebin" + +diff -u -r ./lib/inets/src/http_client/Makefile ../otp_src_18.1-a/lib/inets/src/http_client/Makefile +--- ./lib/inets/src/http_client/Makefile 2015-09-22 12:10:57.000000000 -0700 ++++ ../otp_src_18.1-a/lib/inets/src/http_client/Makefile 2015-10-13 07:11:08.317088059 -0700 +@@ -92,7 +92,7 @@ + release_spec: opt + $(INSTALL_DIR) "$(RELSYSDIR)/src" + $(INSTALL_DIR) "$(RELSYSDIR)/src/http_client" +- $(INSTALL_DATA) $(HRL_FILES) $(ERL_FILES) "$(RELSYSDIR)/src/http_client" ++ $(INSTALL_DATA) $(HRL_FILES) "$(RELSYSDIR)/src/http_client" + $(INSTALL_DIR) "$(RELSYSDIR)/ebin" + $(INSTALL_DATA) $(TARGET_FILES) "$(RELSYSDIR)/ebin" + +diff -u -r ./lib/inets/src/http_lib/Makefile ../otp_src_18.1-a/lib/inets/src/http_lib/Makefile +--- ./lib/inets/src/http_lib/Makefile 2015-09-22 12:10:57.000000000 -0700 ++++ ../otp_src_18.1-a/lib/inets/src/http_lib/Makefile 2015-10-13 07:14:06.684520269 -0700 +@@ -90,7 +90,7 @@ + release_spec: opt + $(INSTALL_DIR) "$(RELSYSDIR)/src" + $(INSTALL_DIR) "$(RELSYSDIR)/src/http_lib" +- $(INSTALL_DATA) $(HRL_FILES) $(ERL_FILES) "$(RELSYSDIR)/src/http_lib" ++ $(INSTALL_DATA) $(HRL_FILES) "$(RELSYSDIR)/src/http_lib" + $(INSTALL_DIR) "$(RELSYSDIR)/ebin" + $(INSTALL_DATA) $(TARGET_FILES) "$(RELSYSDIR)/ebin" + +diff -u -r ./lib/inets/src/http_server/Makefile ../otp_src_18.1-a/lib/inets/src/http_server/Makefile +--- ./lib/inets/src/http_server/Makefile 2015-09-22 12:10:57.000000000 -0700 ++++ ../otp_src_18.1-a/lib/inets/src/http_server/Makefile 2015-10-13 07:14:25.920025593 -0700 +@@ -127,7 +127,7 @@ + release_spec: opt + $(INSTALL_DIR) "$(RELSYSDIR)/src" + $(INSTALL_DIR) "$(RELSYSDIR)/src/http_server" +- $(INSTALL_DATA) $(HRL_FILES) $(ERL_FILES) "$(RELSYSDIR)/src/http_server" ++ $(INSTALL_DATA) $(HRL_FILES) "$(RELSYSDIR)/src/http_server" + $(INSTALL_DIR) "$(RELSYSDIR)/ebin" + $(INSTALL_DATA) $(TARGET_FILES) "$(RELSYSDIR)/ebin" + +diff -u -r ./lib/inets/src/inets_app/Makefile ../otp_src_18.1-a/lib/inets/src/inets_app/Makefile +--- ./lib/inets/src/inets_app/Makefile 2015-09-22 12:10:57.000000000 -0700 ++++ ../otp_src_18.1-a/lib/inets/src/inets_app/Makefile 2015-10-13 07:14:44.335553615 -0700 +@@ -116,7 +116,7 @@ + release_spec: opt + $(INSTALL_DIR) "$(RELSYSDIR)/src" + $(INSTALL_DIR) "$(RELSYSDIR)/src/inets_app" +- $(INSTALL_DATA) $(INTERNAL_HRL_FILES) $(ERL_FILES) "$(RELSYSDIR)/src/inets_app" ++ $(INSTALL_DATA) $(INTERNAL_HRL_FILES) "$(RELSYSDIR)/src/inets_app" + $(INSTALL_DIR) "$(RELSYSDIR)/include" + $(INSTALL_DATA) $(EXTERNAL_HRL_FILES) "$(RELSYSDIR)/include" + $(INSTALL_DIR) "$(RELSYSDIR)/ebin" +diff -u -r ./lib/kernel/src/Makefile ../otp_src_18.1-a/lib/kernel/src/Makefile +--- ./lib/kernel/src/Makefile 2015-09-22 12:10:57.000000000 -0700 ++++ ../otp_src_18.1-a/lib/kernel/src/Makefile 2015-10-13 07:26:22.749717077 -0700 +@@ -200,7 +200,6 @@ + + release_spec: opt + $(INSTALL_DIR) "$(RELSYSDIR)/src" +- $(INSTALL_DATA) $(ERL_FILES) "$(RELSYSDIR)/src" + $(INSTALL_DATA) $(INTERNAL_HRL_FILES) "$(RELSYSDIR)/src" + $(INSTALL_DIR) "$(RELSYSDIR)/include" + $(INSTALL_DATA) $(HRL_FILES) "$(RELSYSDIR)/include" +Only in ../otp_src_18.1-a/lib/megaco: config.log +Only in ../otp_src_18.1-a/lib/megaco: config.status +Only in ../otp_src_18.1-a/lib/megaco/src/flex: x86_64-unknown-linux-gnu +diff -u -r ./lib/mnesia/src/Makefile ../otp_src_18.1-a/lib/mnesia/src/Makefile +--- ./lib/mnesia/src/Makefile 2015-09-22 12:10:57.000000000 -0700 ++++ ../otp_src_18.1-a/lib/mnesia/src/Makefile 2015-10-13 07:26:46.821098642 -0700 +@@ -133,7 +133,7 @@ + + release_spec: opt + $(INSTALL_DIR) "$(RELSYSDIR)/src" +- $(INSTALL_DATA) $(HRL_FILES) $(ERL_FILES) "$(RELSYSDIR)/src" ++ $(INSTALL_DATA) $(HRL_FILES) "$(RELSYSDIR)/src" + $(INSTALL_DIR) "$(RELSYSDIR)/ebin" + $(INSTALL_DATA) $(TARGET_FILES) "$(RELSYSDIR)/ebin" + +Only in ../otp_src_18.1-a/lib/odbc: config.log +Only in ../otp_src_18.1-a/lib/odbc: config.status +Only in ../otp_src_18.1-a/lib/odbc/c_src: x86_64-unknown-linux-gnu +Only in ../otp_src_18.1-a/lib/odbc: SKIP +diff -u -r ./lib/os_mon/src/Makefile ../otp_src_18.1-a/lib/os_mon/src/Makefile +--- ./lib/os_mon/src/Makefile 2015-09-22 12:10:57.000000000 -0700 ++++ ../otp_src_18.1-a/lib/os_mon/src/Makefile 2015-10-13 07:27:13.904400010 -0700 +@@ -96,7 +96,6 @@ + + release_spec: opt + $(INSTALL_DIR) "$(RELSYSDIR)/src" +- $(INSTALL_DATA) $(ERL_FILES) "$(RELSYSDIR)/src" + $(INSTALL_DATA) $(HRL_FILES) "$(RELSYSDIR)/src" + $(INSTALL_DIR) "$(RELSYSDIR)/ebin" + $(INSTALL_DATA) $(TARGET_FILES) "$(RELSYSDIR)/ebin" +diff -u -r ./lib/otp_mibs/src/Makefile ../otp_src_18.1-a/lib/otp_mibs/src/Makefile +--- ./lib/otp_mibs/src/Makefile 2015-09-22 12:10:57.000000000 -0700 ++++ ../otp_src_18.1-a/lib/otp_mibs/src/Makefile 2015-10-13 07:27:34.759862998 -0700 +@@ -96,8 +96,6 @@ + include $(ERL_TOP)/make/otp_release_targets.mk + + release_spec: opt +- $(INSTALL_DIR) "$(RELSYSDIR)/src" +- $(INSTALL_DATA) $(ERL_FILES) "$(RELSYSDIR)/src" + $(INSTALL_DIR) "$(RELSYSDIR)/ebin" + $(INSTALL_DATA) $(TARGETS) "$(RELSYSDIR)/ebin" + +diff -u -r ./lib/parsetools/src/Makefile ../otp_src_18.1-a/lib/parsetools/src/Makefile +--- ./lib/parsetools/src/Makefile 2015-09-22 12:10:57.000000000 -0700 ++++ ../otp_src_18.1-a/lib/parsetools/src/Makefile 2015-10-13 07:28:47.793983086 -0700 +@@ -91,8 +91,6 @@ + include $(ERL_TOP)/make/otp_release_targets.mk + + release_spec: opt +- $(INSTALL_DIR) "$(RELSYSDIR)/src" +- $(INSTALL_DATA) $(ERL_FILES) "$(RELSYSDIR)/src" + $(INSTALL_DIR) "$(RELSYSDIR)/ebin" + $(INSTALL_DATA) $(TARGET_FILES) "$(RELSYSDIR)/ebin" + $(INSTALL_DIR) "$(RELSYSDIR)/include" +diff -u -r ./lib/public_key/src/Makefile ../otp_src_18.1-a/lib/public_key/src/Makefile +--- ./lib/public_key/src/Makefile 2015-09-22 12:10:57.000000000 -0700 ++++ ../otp_src_18.1-a/lib/public_key/src/Makefile 2015-10-13 07:29:12.785338202 -0700 +@@ -50,8 +50,6 @@ + + HRL_FILES = $(INCLUDE)/public_key.hrl + +-INTERNAL_HRL_FILES = +- + ERL_FILES = $(MODULES:%=%.erl) + + TARGET_FILES= $(MODULES:%=$(EBIN)/%.$(EMULATOR)) +@@ -104,8 +102,6 @@ + include $(ERL_TOP)/make/otp_release_targets.mk + + release_spec: opt +- $(INSTALL_DIR) "$(RELSYSDIR)/src" +- $(INSTALL_DATA) $(INTERNAL_HRL_FILES) $(ERL_FILES) "$(RELSYSDIR)/src" + $(INSTALL_DIR) "$(RELSYSDIR)/include" + $(INSTALL_DATA) $(HRL_FILES) "$(RELSYSDIR)/include" + $(INSTALL_DIR) "$(RELSYSDIR)/ebin" +diff -u -r ./lib/reltool/src/Makefile ../otp_src_18.1-a/lib/reltool/src/Makefile +--- ./lib/reltool/src/Makefile 2015-09-22 12:10:57.000000000 -0700 ++++ ../otp_src_18.1-a/lib/reltool/src/Makefile 2015-10-13 07:29:36.312732181 -0700 +@@ -100,7 +100,7 @@ + + release_spec: opt + $(INSTALL_DIR) "$(RELSYSDIR)/src" +- $(INSTALL_DATA) $(INTERNAL_HRL_FILES) $(ERL_FILES) "$(RELSYSDIR)/src" ++ $(INSTALL_DATA) $(INTERNAL_HRL_FILES) "$(RELSYSDIR)/src" + $(INSTALL_DIR) "$(RELSYSDIR)/ebin" + $(INSTALL_DATA) $(TARGET_FILES) "$(RELSYSDIR)/ebin" + $(INSTALL_DATA) $(APP_TARGET) $(APPUP_TARGET) "$(RELSYSDIR)/ebin" +diff -u -r ./lib/runtime_tools/src/Makefile ../otp_src_18.1-a/lib/runtime_tools/src/Makefile +--- ./lib/runtime_tools/src/Makefile 2015-09-22 12:10:57.000000000 -0700 ++++ ../otp_src_18.1-a/lib/runtime_tools/src/Makefile 2015-10-13 07:29:56.672211159 -0700 +@@ -97,8 +97,6 @@ + include $(ERL_TOP)/make/otp_release_targets.mk + + release_spec: opt +- $(INSTALL_DIR) "$(RELSYSDIR)/src" +- $(INSTALL_DATA) $(ERL_FILES) "$(RELSYSDIR)/src" + $(INSTALL_DIR) "$(RELSYSDIR)/include" + $(INSTALL_DATA) $(HRL_FILES) "$(RELSYSDIR)/include" + $(INSTALL_DIR) "$(RELSYSDIR)/examples" +diff -u -r ./lib/sasl/src/Makefile ../otp_src_18.1-a/lib/sasl/src/Makefile +--- ./lib/sasl/src/Makefile 2015-09-22 12:10:57.000000000 -0700 ++++ ../otp_src_18.1-a/lib/sasl/src/Makefile 2015-10-13 07:30:20.687606696 -0700 +@@ -93,7 +93,6 @@ + + release_spec: opt + $(INSTALL_DIR) "$(RELSYSDIR)/src" +- $(INSTALL_DATA) $(ERL_FILES) "$(RELSYSDIR)/src" + $(INSTALL_DATA) $(INTERNAL_HRL_FILES) "$(RELSYSDIR)/src" + $(INSTALL_DIR) "$(RELSYSDIR)/ebin" + $(INSTALL_DATA) $(TARGET_FILES) "$(RELSYSDIR)/ebin" +Only in ../otp_src_18.1-a/lib/snmp: config.log +Only in ../otp_src_18.1-a/lib/snmp: config.status +Only in ../otp_src_18.1-a/lib/snmp/mibs: Makefile +diff -u -r ./lib/snmp/src/agent/Makefile ../otp_src_18.1-a/lib/snmp/src/agent/Makefile +--- ./lib/snmp/src/agent/Makefile 2015-09-22 12:10:57.000000000 -0700 ++++ ../otp_src_18.1-a/lib/snmp/src/agent/Makefile 2015-10-13 07:30:51.302832297 -0700 +@@ -131,7 +131,7 @@ + release_spec: opt + $(INSTALL_DIR) "$(RELSYSDIR)/src" + $(INSTALL_DIR) "$(RELSYSDIR)/src/agent" +- $(INSTALL_DATA) $(ERL_FILES) $(HRL_FILES) "$(RELSYSDIR)/src/agent" ++ $(INSTALL_DATA) $(HRL_FILES) "$(RELSYSDIR)/src/agent" + $(INSTALL_DIR) "$(RELSYSDIR)/ebin" + $(INSTALL_DATA) $(TARGET_FILES) $(APP_TARGET) $(APPUP_TARGET) \ + "$(RELSYSDIR)/ebin" +diff -u -r ./lib/snmp/src/app/Makefile ../otp_src_18.1-a/lib/snmp/src/app/Makefile +--- ./lib/snmp/src/app/Makefile 2015-09-22 12:10:57.000000000 -0700 ++++ ../otp_src_18.1-a/lib/snmp/src/app/Makefile 2015-10-13 07:31:17.390166627 -0700 +@@ -132,7 +132,7 @@ + release_spec: opt + $(INSTALL_DIR) "$(RELSYSDIR)/src" + $(INSTALL_DIR) "$(RELSYSDIR)/src/app" +- $(INSTALL_DATA) $(ERL_FILES) $(HRL_FILES) "$(RELSYSDIR)/src/app" ++ $(INSTALL_DATA) $(HRL_FILES) "$(RELSYSDIR)/src/app" + $(INSTALL_DIR) "$(RELSYSDIR)/ebin" + $(INSTALL_DATA) $(TARGET_FILES) $(APP_TARGET) $(APPUP_TARGET) \ + "$(RELSYSDIR)/ebin" +diff -u -r ./lib/snmp/src/compile/Makefile ../otp_src_18.1-a/lib/snmp/src/compile/Makefile +--- ./lib/snmp/src/compile/Makefile 2015-09-22 12:10:57.000000000 -0700 ++++ ../otp_src_18.1-a/lib/snmp/src/compile/Makefile 2015-10-13 07:31:39.533601332 -0700 +@@ -123,7 +123,7 @@ + release_spec: opt + $(INSTALL_DIR) "$(RELSYSDIR)/src" + $(INSTALL_DIR) "$(RELSYSDIR)/src/compiler" +- $(INSTALL_DATA) $(ESCRIPT_SRC) $(PARSER_SRC) $(ERL_FILES) $(INTERNAL_HRL_FILES) "$(RELSYSDIR)/src/compiler" ++ $(INSTALL_DATA) $(ESCRIPT_SRC) $(PARSER_SRC) $(INTERNAL_HRL_FILES) "$(RELSYSDIR)/src/compiler" + $(INSTALL_DIR) "$(RELSYSDIR)/ebin" + $(INSTALL_DATA) $(EBIN_FILES) "$(RELSYSDIR)/ebin" + $(INSTALL_DIR) "$(RELSYSDIR)/bin" +diff -u -r ./lib/snmp/src/manager/Makefile ../otp_src_18.1-a/lib/snmp/src/manager/Makefile +--- ./lib/snmp/src/manager/Makefile 2015-09-22 12:10:57.000000000 -0700 ++++ ../otp_src_18.1-a/lib/snmp/src/manager/Makefile 2015-10-13 07:31:57.229148564 -0700 +@@ -114,7 +114,7 @@ + release_spec: opt + $(INSTALL_DIR) "$(RELSYSDIR)/src" + $(INSTALL_DIR) "$(RELSYSDIR)/src/manager" +- $(INSTALL_DATA) $(ERL_FILES) $(HRL_FILES) "$(RELSYSDIR)/src/manager" ++ $(INSTALL_DATA) $(HRL_FILES) "$(RELSYSDIR)/src/manager" + $(INSTALL_DIR) "$(RELSYSDIR)/ebin" + $(INSTALL_DATA) $(TARGET_FILES) "$(RELSYSDIR)/ebin" + # $(INSTALL_DIR) "$(RELSYSDIR)/include" +diff -u -r ./lib/snmp/src/misc/Makefile ../otp_src_18.1-a/lib/snmp/src/misc/Makefile +--- ./lib/snmp/src/misc/Makefile 2015-09-22 12:10:57.000000000 -0700 ++++ ../otp_src_18.1-a/lib/snmp/src/misc/Makefile 2015-10-13 07:33:04.451420165 -0700 +@@ -112,7 +112,7 @@ + release_spec: opt + $(INSTALL_DIR) "$(RELSYSDIR)/src" + $(INSTALL_DIR) "$(RELSYSDIR)/src/misc" +- $(INSTALL_DATA) $(ERL_FILES) $(HRL_FILES) "$(RELSYSDIR)/src/misc" ++ $(INSTALL_DATA) $(HRL_FILES) "$(RELSYSDIR)/src/misc" + $(INSTALL_DIR) "$(RELSYSDIR)/ebin" + $(INSTALL_DATA) $(TARGET_FILES) "$(RELSYSDIR)/ebin" + # $(INSTALL_DIR) "$(RELSYSDIR)/include" +diff -u -r ./lib/ssl/src/Makefile ../otp_src_18.1-a/lib/ssl/src/Makefile +--- ./lib/ssl/src/Makefile 2015-09-22 12:10:57.000000000 -0700 ++++ ../otp_src_18.1-a/lib/ssl/src/Makefile 2015-10-13 08:12:52.973774099 -0700 +@@ -141,7 +141,7 @@ + + release_spec: opt + $(INSTALL_DIR) "$(RELSYSDIR)/src" +- $(INSTALL_DATA) $(ERL_FILES) $(INTERNAL_HRL_FILES) "$(RELSYSDIR)/src" ++ $(INSTALL_DATA) $(INTERNAL_HRL_FILES) "$(RELSYSDIR)/src" + $(INSTALL_DIR) "$(RELSYSDIR)/ebin" + $(INSTALL_DATA) $(BEHAVIOUR_TARGET_FILES) $(TARGET_FILES) $(APP_TARGET) \ + $(APPUP_TARGET) "$(RELSYSDIR)/ebin" +diff -u -r ./lib/stdlib/src/Makefile ../otp_src_18.1-a/lib/stdlib/src/Makefile +--- ./lib/stdlib/src/Makefile 2015-09-22 12:10:57.000000000 -0700 ++++ ../otp_src_18.1-a/lib/stdlib/src/Makefile 2015-10-13 08:13:16.413167446 -0700 +@@ -207,7 +207,6 @@ + + release_spec: opt + $(INSTALL_DIR) "$(RELSYSDIR)/src" +- $(INSTALL_DATA) $(ERL_FILES) erl_parse.yrl "$(RELSYSDIR)/src" + $(INSTALL_DATA) $(INTERNAL_HRL_FILES) "$(RELSYSDIR)/src" + $(INSTALL_DIR) "$(RELSYSDIR)/include" + $(INSTALL_DATA) $(HRL_FILES) "$(RELSYSDIR)/include" +diff -u -r ./lib/syntax_tools/src/Makefile ../otp_src_18.1-a/lib/syntax_tools/src/Makefile +--- ./lib/syntax_tools/src/Makefile 2015-10-13 06:55:30.516977892 -0700 ++++ ../otp_src_18.1-a/lib/syntax_tools/src/Makefile 2015-10-13 07:33:40.402494789 -0700 +@@ -100,8 +100,6 @@ + release_spec: opt + $(INSTALL_DIR) "$(RELSYSDIR)/ebin" + $(INSTALL_DATA) $(OBJECTS) "$(RELSYSDIR)/ebin" +- $(INSTALL_DIR) "$(RELSYSDIR)/src" +- $(INSTALL_DATA) $(SOURCES) "$(RELSYSDIR)/src" + $(INSTALL_DIR) "$(RELSYSDIR)/include" + $(INSTALL_DATA) $(INCLUDE_DELIVERABLES) "$(RELSYSDIR)/include" + +diff -u -r ./lib/tools/src/Makefile ../otp_src_18.1-a/lib/tools/src/Makefile +--- ./lib/tools/src/Makefile 2015-09-22 12:10:57.000000000 -0700 ++++ ../otp_src_18.1-a/lib/tools/src/Makefile 2015-10-13 07:33:59.649999509 -0700 +@@ -107,7 +107,7 @@ + + release_spec: opt + $(INSTALL_DIR) "$(RELSYSDIR)/src" +- $(INSTALL_DATA) $(ERL_FILES) $(YRL_FILE) $(HRL_FILES) "$(RELSYSDIR)/src" ++ $(INSTALL_DATA) $(HRL_FILES) "$(RELSYSDIR)/src" + $(INSTALL_DIR) "$(RELSYSDIR)/ebin" + $(INSTALL_DATA) $(TARGET_FILES) $(APP_TARGET) $(APPUP_TARGET) \ + "$(RELSYSDIR)/ebin" +Only in ../otp_src_18.1-a/lib/wx: config.log +Only in ../otp_src_18.1-a/lib/wx: config.mk +Only in ../otp_src_18.1-a/lib/wx: CONF_INFO +Only in ../otp_src_18.1-a/lib/wx/c_src: Makefile +Only in ../otp_src_18.1-a/lib/wx: x86_64-unknown-linux-gnu +diff -u -r ./lib/xmerl/src/Makefile ../otp_src_18.1-a/lib/xmerl/src/Makefile +--- ./lib/xmerl/src/Makefile 2015-09-22 12:10:57.000000000 -0700 ++++ ../otp_src_18.1-a/lib/xmerl/src/Makefile 2015-10-13 07:34:47.980755305 -0700 +@@ -218,9 +218,7 @@ + $(INSTALL_DIR) "$(RELSYSDIR)/ebin" + $(INSTALL_DATA) $(TARGET_FILES) "$(RELSYSDIR)/ebin" + $(INSTALL_DIR) "$(RELSYSDIR)/src" +- $(INSTALL_DATA) $(ERL_FILES) $(INTERNAL_HRL_FILES) $(APP_SRC) $(APPUP_SRC) "$(RELSYSDIR)/src" +- $(INSTALL_DATA) xmerl_xpath_parse.yrl "$(RELSYSDIR)/src" +- $(INSTALL_DATA) xmerl_b64Bin.yrl "$(RELSYSDIR)/src" ++ $(INSTALL_DATA) $(INTERNAL_HRL_FILES) "$(RELSYSDIR)/src" + $(INSTALL_DIR) "$(RELSYSDIR)/include" + $(INSTALL_DATA) $(HRL_FILES) "$(RELSYSDIR)/include" + diff --git a/sources b/sources new file mode 100644 index 0000000..1941d59 --- /dev/null +++ b/sources @@ -0,0 +1 @@ +fa64015fdd133e155b5b19bf90ac8678 otp_src_18.1.tar.gz