--- erlang-13.b.1-dfsg.orig/debian/erlang-mode.emacsen-install +++ erlang-13.b.1-dfsg/debian/erlang-mode.emacsen-install @@ -0,0 +1,46 @@ +#! /bin/sh -e +# /usr/lib/emacsen-common/packages/install/#PACKAGE# + +# Written by Jim Van Zandt , borrowing heavily +# from the install scripts for gettext by Santiago Vila +# and octave by Dirk Eddelbuettel . + +FLAVOR=$1 +PACKAGE=erlang + +if [ ${FLAVOR} = emacs ]; then exit 0; fi + +echo install/${PACKAGE}: Handling install for emacsen flavor ${FLAVOR} + +FLAVORTEST=`echo $FLAVOR | cut -c-6` +if [ ${FLAVORTEST} = xemacs ] ; then + SITEFLAG="-no-site-file" +else + SITEFLAG="--no-site-file" +fi +FLAGS="${SITEFLAG} -q -batch -l path.el -f batch-byte-compile" + +ELDIR=/usr/share/emacs/site-lisp/${PACKAGE} +ELCDIR=/usr/share/${FLAVOR}/site-lisp/${PACKAGE} + +# Install-info-altdir does not actually exist. +# Maybe somebody will write it. +if test -x /usr/sbin/install-info-altdir; then + echo install/${PACKAGE}: install Info links for ${FLAVOR} + install-info-altdir --quiet --section "" "" --dirname=${FLAVOR} /usr/info/${PACKAGE}.info.gz +fi + +install -m 755 -d ${ELCDIR} +cd ${ELDIR} +FILES=`echo *.el` +cp ${FILES} ${ELCDIR} +cd ${ELCDIR} + +cat << EOF > path.el +(setq load-path (cons "." load-path) byte-compile-warnings nil) +EOF +${FLAVOR} ${FLAGS} ${FILES} +rm -f *.el path.el + +exit 0 + --- erlang-13.b.1-dfsg.orig/debian/erlang-mode.emacsen-startup +++ erlang-13.b.1-dfsg/debian/erlang-mode.emacsen-startup @@ -0,0 +1,12 @@ +;; installed in a subdirectory of the respective site-lisp directory. +;; We have to add this to the load-path: +(setq load-path (cons (concat "/usr/share/" + (symbol-name debian-emacs-flavor) + "/site-lisp/erlang") load-path)) +(setq erlang-root-dir "/usr/lib/erlang") +(setq exec-path (cons "/usr/lib/erlang/bin" exec-path)) +(require 'erlang-start) + +;; (setq auto-mode-alist (cons '("\\.erl$" . erlang-mode) auto-mode-alist)) +;; (setq auto-mode-alist (cons '("\\.hrl$" . erlang-mode) auto-mode-alist)) + --- erlang-13.b.1-dfsg.orig/debian/erlang-base.prerm +++ erlang-13.b.1-dfsg/debian/erlang-base.prerm @@ -0,0 +1,100 @@ +#! /bin/sh +# prerm script for erlang-base +# +# see: dh_installdeb(1) + +set -e + +# summary of how this script can be called: +# * remove +# * upgrade +# * failed-upgrade +# * remove in-favour +# * deconfigure in-favour \ +# removing +# for details, see /usr/share/doc/debian-policy/ + +case "$1" in + remove|upgrade) + echo -n "Searching for services which depend on erlang and should be stopped..." + # find all init scripts and packages they belong + inits=$(dpkg -S '/etc/init.d/*' 2>/dev/null | sed -e's:/etc/init.d/::') + # filter the list of the packages + packs=$(echo $inits | sed -e's/:[[:space:]]\+[^[:space:]]*//g' | sed -e's/ /\n/g' | sort -u) + # find packages, which depend on erlang + packs=$(dpkg -s $packs 2>/dev/null | egrep '^Package:|^Status:|^Depends' | awk '{if ($1 ~ /^Package:/) {package=$2;inst=0} else if ($0 ~ /^Status:.* installed$/) {inst=1} else if ((inst==1) && ($0 ~ /^Depends:.* erlang/)) {print package}}') + # construct services list from the packages + services="" + for p in $packs ; do + service=$(echo $inits | sed -e's/\([^:]\) /\1\n/g' | awk "/^$p:/ {print \$2}") + services="$services $service" + done + services=$(echo $services | tr '\n' ' ' | sed -e's/\(^[[:space:]]*\|[[:space:]]*$\)//g') + + if [ -z "$services" ] ; then + echo "none found." + else + echo "found: $services." + echo "Stopping services which depend on erlang" + rl=$(runlevel | awk '{print $2}') + failed="" + for service in $services ; do + if [ -f /usr/share/file-rc/rc -o -f /usr/lib/file-rc/rc ] && [ -f /etc/runlevel.conf ] ; then + idl=$(filerc $rl $service) + else + idl=$(ls /etc/rc${rl}.d/S??${service} 2> /dev/null | head -1) + fi + if [ -n "$idl" ] ; then + echo -n " $service: stopping..." + if $idl stop > /dev/null 2>&1 ; then + echo "done." + else + echo "failed. ($?)" + failed="$failed $service" + fi + fi + done + if [ -n "$failed" ] ; then + echo "The following services failed to stop: $failed." + else + echo "Services stopped successfully." + fi + fi + + echo -n "Killing epmd..." + if which pgrep >/dev/null ; then + pid=$(pgrep epmd | head -1) + if [ -z "$pid" ] ; then + echo "it is not running." + else + if /usr/bin/epmd -kill 1>/dev/null 2>&1 || kill $pid 2>/dev/null ; then + echo "done." + else + echo "failed." + fi + fi + else + if /usr/bin/epmd -kill 1>/dev/null 2>&1 ; then + echo "done." + else + echo "failed (or it is not running)." + fi + fi + ;; + + failed-upgrade|deconfigure) + ;; + + *) + echo "prerm called with unknown argument \`$1'" >&2 + exit 0 + ;; +esac + +# dh_installdeb will replace this with shell code automatically +# generated by other debhelper scripts. + +#DEBHELPER# + +exit 0 + --- erlang-13.b.1-dfsg.orig/debian/erlang.xpm +++ erlang-13.b.1-dfsg/debian/erlang.xpm @@ -0,0 +1,41 @@ +/* XPM */ +static char * erlang_xpm[] = { +"32 32 6 1", +" c None", +". c #FFFFFF", +"+ c #800000", +"@ c #808080", +"# c #FF0000", +"$ c #000000", +"................................", +".++++...........+...........+++.", +".+++..........+++++.........+++.", +".+++.........+++++++........@++.", +".++.........++++++++.........++.", +".++.........++++++++.........++.", +".+............................+.", +".+............................+.", +".+............................+.", +".+............................+.", +".+............................+.", +".+..........+++++++++++++++++++.", +".+..........+++++++++++++++++++.", +".+..........+++++++++++++++++++.", +".+..........+++++++++++++++++++.", +".+..........+++++++++++++++++++.", +".+..........+++++++++++++..++++.", +".++..........++++++++++++...@++.", +".++..........@++++++++++......+.", +".+++..........+++++++++.......+.", +".+++...........+++++++.......++.", +".+++#............+++........@++.", +".++++.......................+++.", +"................................", +"................................", +"................................", +".$$..$$$...$....$$...$..$...$$$.", +".$...$..$..$....$$...$$.$..$....", +".$$..$$$...$....$$...$.$$..$.$$.", +".$...$.$...$...$$$$..$..$..$..$.", +".$$..$..$..$$$.$..$..$..$...$$..", +"................................"}; --- erlang-13.b.1-dfsg.orig/debian/erlang-base.postinst +++ erlang-13.b.1-dfsg/debian/erlang-base.postinst @@ -0,0 +1,93 @@ +#! /bin/sh +# postinst script for erlang-base +# +# see: dh_installdeb(1) + +set -e + +# summary of how this script can be called: +# * configure +# * abort-upgrade +# * abort-remove in-favour +# * abort-remove +# * abort-deconfigure in-favour \ +# removing +# for details, see /usr/doc/packaging-manual/ +# +# quoting from the policy: +# Any necessary prompting should almost always be confined to the +# post-installation script, and should be protected with a conditional +# so that unnecessary prompting doesn't happen if a package's +# installation fails and the is called with abort-upgrade, +# abort-remove or abort-deconfigure. + +case "$1" in + abort-upgrade|abort-remove|abort-deconfigure) + ;; + + configure) + if [ -z "$2" ] || dpkg --compare-versions "$2" ge-nl "1:10.b.10-3" ; then + echo -n "Searching for services which depend on erlang and should be started..." + # find all init scripts and packages they belong + inits=$(dpkg -S '/etc/init.d/*' 2>/dev/null | sed -e's:/etc/init.d/::') + # filter the list of the packages + packs=$(echo $inits | sed -e's/:[[:space:]]\+[^[:space:]]*//g' | sed -e's/ /\n/g' | sort -u) + # find packages, which depend on erlang + packs=$(dpkg -s $packs 2>/dev/null | egrep '^Package:|^Status:|^Depends' | awk '{if ($1 ~ /^Package:/) {package=$2;inst=0} else if ($0 ~ /^Status:.* installed$/) {inst=1} else if ((inst==1) && ($0 ~ /^Depends:.* erlang/)) {print package}}') + # construct services list from the packages + services="" + for p in $packs ; do + service=$(echo $inits | sed -e's/\([^:]\) /\1\n/g' | awk "/^$p:/ {print \$2}") + services="$services $service" + done + services=$(echo $services | tr '\n' ' ' | sed -e's/\(^[[:space:]]*\|[[:space:]]*$\)//g') + + if [ -z "$services" ] ; then + echo "none found." + else + echo "found: $services." + echo "Starting services which depend on erlang" + rl=$(runlevel | awk '{print $2}') + failed="" + for service in $services ; do + if [ -f /usr/share/file-rc/rc -o -f /usr/lib/file-rc/rc ] && [ -f /etc/runlevel.conf ] ; then + idl=$(filerc $rl $service) + else + idl=$(ls /etc/rc${rl}.d/S??${service} 2> /dev/null | head -1) + fi + if [ -n "$idl" ] ; then + echo -n " $service: starting..." + if $idl start > /dev/null 2>&1 ; then + echo "done." + else + echo "failed. ($?)" + failed="$failed $service" + fi + fi + done + if [ -n "$failed" ] ; then + echo "The following services failed to start: $failed." + echo + echo "You will need to start them manually by running \`/etc/init.d/ start'" + echo "If the service still fails to start, you may need to file a bug on" + echo "\`erlang' package or the service involved." + else + echo "Services started successfully." + fi + fi + fi + ;; + + *) + echo "postinst called with unknown argument \`$1'" >&2 + exit 0 + ;; +esac + +# dh_installdeb will replace this with shell code automatically +# generated by other debhelper scripts. + +#DEBHELPER# + +exit 0 + --- erlang-13.b.1-dfsg.orig/debian/erlang-dialyzer.manpages +++ erlang-13.b.1-dfsg/debian/erlang-dialyzer.manpages @@ -0,0 +1 @@ +debian/manpages/dialyzer.1 --- erlang-13.b.1-dfsg.orig/debian/erlang-typer.links +++ erlang-13.b.1-dfsg/debian/erlang-typer.links @@ -0,0 +1 @@ +usr/lib/erlang/bin/typer usr/bin/typer --- erlang-13.b.1-dfsg.orig/debian/erlang-webtool.manpages +++ erlang-13.b.1-dfsg/debian/erlang-webtool.manpages @@ -0,0 +1 @@ +debian/manpages/start_webtool.1 --- erlang-13.b.1-dfsg.orig/debian/erlang-dialyzer.links +++ erlang-13.b.1-dfsg/debian/erlang-dialyzer.links @@ -0,0 +1 @@ +usr/lib/erlang/bin/dialyzer usr/bin/dialyzer --- erlang-13.b.1-dfsg.orig/debian/erlang-dev.links.in +++ erlang-13.b.1-dfsg/debian/erlang-dev.links.in @@ -0,0 +1,18 @@ +usr/lib/erlang/usr/include/driver.h usr/include/driver.h +usr/lib/erlang/usr/include/driver_int.h usr/include/driver_int.h +usr/lib/erlang/usr/include/erl_driver.h usr/include/erl_driver.h +usr/lib/erlang/usr/include/erl_fixed_size_int_types.h usr/include/erl_fixed_size_int_types.h +usr/lib/erlang/usr/include/erl_int_sizes_config.h usr/include/erl_int_sizes_config.h +usr/lib/erlang/usr/include/erl_memory_trace_parser.h usr/include/erl_memory_trace_parser.h +usr/lib/erlang/usr/lib/liberts.a usr/lib/liberts.a +usr/lib/erlang/usr/lib/liberts_r.a usr/lib/liberts_r.a +usr/lib/erlang/lib/erl_interface-@EI_VSN@/include/ei.h usr/include/ei.h +usr/lib/erlang/lib/erl_interface-@EI_VSN@/include/ei_connect.h usr/include/ei_connect.h +usr/lib/erlang/lib/erl_interface-@EI_VSN@/include/eicode.h usr/include/eicode.h +usr/lib/erlang/lib/erl_interface-@EI_VSN@/include/erl_interface.h usr/include/erl_interface.h +usr/lib/erlang/lib/erl_interface-@EI_VSN@/lib/libei.a usr/lib/libei.a +usr/lib/erlang/lib/erl_interface-@EI_VSN@/lib/libei_st.a usr/lib/libei_st.a +usr/lib/erlang/lib/erl_interface-@EI_VSN@/lib/liberl_interface.a usr/lib/liberl_interface.a +usr/lib/erlang/lib/erl_interface-@EI_VSN@/lib/liberl_interface_st.a usr/lib/liberl_interface_st.a +usr/lib/erlang/lib/ic-@IC_VSN@/include/ic.h usr/include/ic.h +usr/lib/erlang/lib/ic-@IC_VSN@/priv/lib/libic.a usr/lib/libic.a --- erlang-13.b.1-dfsg.orig/debian/copyright +++ erlang-13.b.1-dfsg/debian/copyright @@ -0,0 +1,426 @@ +This package was debianized by Brent A. Fulgham on +Sat, 10 Aug 2002 23:16:47 -0700 + +It was downloaded from the Erlang OTP Homepage at http://www.erlang.org. + +Authors: (In Alphabetical Order) + Stefan Anbratt, Ingela Anderton, Joe Armstrong, Gordon Beaton, + Martin Bjorklund, Johan Blom, Hans Bolinder, Kent Boortz, + Pascal Brisset, Richard Carlsson, Maurice Castro, Anders Dahlin, + Jan-Erik Dahlin, Mick Dwyer, Klas Eriksson, Magnus Frieberg, + Luke Gorrie , Joakim Grebeno, Rickard Green, + Dan Gudmundsson, Bjorn Gustavsson, Fredrik Gustafson, + Bogumil Hausman, Per Hedeland, Peter Hogfeldt, Gunilla Hugosson, + Erik Johansson, Arndt Jonasson, Micael Karlberg, Janne Lindblad, + Anders Lindgren, Peter Lundel, Kenneth Lundin , + Ulf Magnusson, Horkan Mattsson, Ingvar Meyer, Hans Nilsson, + Mattias Nilsson, Raimo Niskanen, Patrik Nyblom, Sven-Olof Nystrom, + Lennart Ohman, Peter Olin, Shawn Pearce , + Mikael Pettersson, Tony Rogvail , + Kostis Sagonas, Ola Samuelsson, Ruslan Shevchenko , + Sebastian Strollo , Lars Thorsen, + Fredrik Tillman, Torbjorn Tornquist, Markus Torpvret, + Esko Vierumski, Robert Virding, Carl Wilhelm Welin, Sverker Wiberg, + Jesper Wilhelmsson, Mike Williams, Claes Wikstrom, Patrik Winroth, + Geoff Wong, Babbis Xagorarakis + +============================================================================ +As of version 12.b.0 (R12B-0 in original versioning) Erlang/OTP is distributed +with prebuilt architecture-independent binaries. They are removed from the +source package (except for required bootstrap files). + +The files lib/megaco/standards/* and lib/ssh/standards/* have been removed +from the upstream tarball because they are not DFSG free. + +============================================================================ +This licence applies to lib/edoc and lib/syntax_tools + + GNU LESSER GENERAL PUBLIC LICENSE + Version 2.1, February 1999 + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2 of the License, or (at your option) any later version. + + This library is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, write to the Free Software + Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + +On Debian systems, the complete text of the GNU Lesser General Public +License, version 2.1, can be found in /usr/share/common-licenses/LGPL-2.1 + +============================================================================ +This license applies to erts/emulator/beam/erl_md5.c, +lib/erl_interface/src/misc/eimd5.c and lib/erl_interface/src/misc/eimd5.h + +Copyright (C) 1991-2, RSA Data Security, Inc. Created 1991. All +rights reserved. + +License to copy and use this software is granted provided that it +is identified as the "RSA Data Security, Inc. MD5 Message-Digest +Algorithm" in all material mentioning or referencing this software +or this function. + +License is also granted to make and use derivative works provided +that such works are identified as "derived from the RSA Data +Security, Inc. MD5 Message-Digest Algorithm" in all material +mentioning or referencing the derived work. + +RSA Data Security, Inc. makes no representations concerning either +the merchantability of this software or the suitability of this +software for any particular purpose. It is provided "as is" +without express or implied warranty of any kind. + +These notices must be retained in any copies of any part of this +documentation and/or software. + + +Clarification letter: + +The following was recevied Fenbruary 23,2000 +From: "Linn, John" + +February 19, 2000 + + The purpose of this memo is to clarify the status of intellectual +property rights asserted by RSA Security Inc. ("RSA") in the MD2, MD4 and +MD5 message-digest algorithms, which are documented in RFC-1319, RFC-1320, +and RFC-1321 respectively. + + Implementations of these message-digest algorithms, including +implementations derived from the reference C code in RFC-1319, RFC-1320, and +RFC-1321, may be made, used, and sold without license from RSA for any +purpose. + + No rights other than the ones explicitly set forth above are +granted. Further, although RSA grants rights to implement certain +algorithms as defined by identified RFCs, including implementations derived +from the reference C code in those RFCs, no right to use, copy, sell, or +distribute any other implementations of the MD2, MD4, or MD5 message-digest +algorithms created, implemented, or distributed by RSA is hereby granted by +implication, estoppel, or otherwise. Parties interested in licensing +security components and toolkits written by RSA should contact the company +to discuss receiving a license. All other questions should be directed to +Margaret K. Seif, General Counsel, RSA Security Inc., 36 Crosby Drive, +Bedford, Massachusetts 01730. + + Implementations of the MD2, MD4, or MD5 algorithms may be subject to +United States laws and regulations controlling the export of technical data, +computer software, laboratory prototypes and other commodities (including +the Arms Export Control Act, as amended, and the Export Administration Act +of 1970). The transfer of certain technical data and commodities may +require a license from the cognizant agency of the United States Government. +RSA neither represents that a license shall not be required for a particular +implementation nor that, if required, one shall be issued. + + + DISCLAIMER: RSA MAKES NO REPRESENTATIONS AND EXTENDS NO WARRANTIES +OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO +WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, VALIDITY OF +INTELLECTUAL PROPERTY RIGHTS, ISSUED OR PENDING, OR THE ABSENCE OF LATENT OR +OTHER DEFECTS, WHETHER OR NOT DISCOVERABLE, IN CONNECTION WITH THE MD2, MD4, +OR MD5 ALGORITHMS. NOTHING IN THIS GRANT OF RIGHTS SHALL BE CONSTRUED AS A +REPRESENTATION OR WARRANTY GIVEN BY RSA THAT THE IMPLEMENTATION OF THE +ALGORITHM WILL NOT INFRINGE THE INTELLECTUAL PROPERTY RIGHTS OF ANY THIRD +PARTY. IN NO EVENT SHALL RSA, ITS TRUSTEES, DIRECTORS, OFFICERS, EMPLOYEES, +PARENTS AND AFFILIATES BE LIABLE FOR INCIDENTAL OR CONSEQUENTIAL DAMAGES OF +ANY KIND RESULTING FROM IMPLEMENTATION OF THIS ALGORITHM, INCLUDING ECONOMIC +DAMAGE OR INJURY TO PROPERTY AND LOST PROFITS, REGARDLESS OF WHETHER RSA +SHALL BE ADVISED, SHALL HAVE OTHER REASON TO KNOW, OR IN FACT SHALL KNOW OF +THE POSSIBILITY OF SUCH INJURY OR DAMAGE. + +============================================================================ + +ERLANG PUBLIC LICENSE +Version 1.1 + +1. Definitions. + +1.1. ``Contributor'' means each entity that creates or contributes to +the creation of Modifications. + +1.2. ``Contributor Version'' means the combination of the Original +Code, prior Modifications used by a Contributor, and the Modifications +made by that particular Contributor. + +1.3. ``Covered Code'' means the Original Code or Modifications or the +combination of the Original Code and Modifications, in each case +including portions thereof. + +1.4. ``Electronic Distribution Mechanism'' means a mechanism generally +accepted in the software development community for the electronic +transfer of data. + +1.5. ``Executable'' means Covered Code in any form other than Source +Code. + +1.6. ``Initial Developer'' means the individual or entity identified +as the Initial Developer in the Source Code notice required by Exhibit +A. + +1.7. ``Larger Work'' means a work which combines Covered Code or +portions thereof with code not governed by the terms of this License. + +1.8. ``License'' means this document. + +1.9. ``Modifications'' means any addition to or deletion from the +substance or structure of either the Original Code or any previous +Modifications. When Covered Code is released as a series of files, a +Modification is: + +A. Any addition to or deletion from the contents of a file containing + Original Code or previous Modifications. + +B. Any new file that contains any part of the Original Code or + previous Modifications. + +1.10. ``Original Code'' means Source Code of computer software code +which is described in the Source Code notice required by Exhibit A as +Original Code, and which, at the time of its release under this +License is not already Covered Code governed by this License. + +1.11. ``Source Code'' means the preferred form of the Covered Code for +making modifications to it, including all modules it contains, plus +any associated interface definition files, scripts used to control +compilation and installation of an Executable, or a list of source +code differential comparisons against either the Original Code or +another well known, available Covered Code of the Contributor's +choice. The Source Code can be in a compressed or archival form, +provided the appropriate decompression or de-archiving software is +widely available for no charge. + +1.12. ``You'' means an individual or a legal entity exercising rights +under, and complying with all of the terms of, this License. For legal +entities,``You'' includes any entity which controls, is controlled by, +or is under common control with You. For purposes of this definition, +``control'' means (a) the power, direct or indirect, to cause the +direction or management of such entity, whether by contract or +otherwise, or (b) ownership of fifty percent (50%) or more of the +outstanding shares or beneficial ownership of such entity. + +2. Source Code License. + +2.1. The Initial Developer Grant. +The Initial Developer hereby grants You a world-wide, royalty-free, +non-exclusive license, subject to third party intellectual property +claims: + +(a) to use, reproduce, modify, display, perform, sublicense and + distribute the Original Code (or portions thereof) with or without + Modifications, or as part of a Larger Work; and + +(b) under patents now or hereafter owned or controlled by Initial + Developer, to make, have made, use and sell (``Utilize'') the + Original Code (or portions thereof), but solely to the extent that + any such patent is reasonably necessary to enable You to Utilize + the Original Code (or portions thereof) and not to any greater + extent that may be necessary to Utilize further Modifications or + combinations. + +2.2. Contributor Grant. +Each Contributor hereby grants You a world-wide, royalty-free, +non-exclusive license, subject to third party intellectual property +claims: + +(a) to use, reproduce, modify, display, perform, sublicense and + distribute the Modifications created by such Contributor (or + portions thereof) either on an unmodified basis, with other + Modifications, as Covered Code or as part of a Larger Work; and + +(b) under patents now or hereafter owned or controlled by Contributor, + to Utilize the Contributor Version (or portions thereof), but + solely to the extent that any such patent is reasonably necessary + to enable You to Utilize the Contributor Version (or portions + thereof), and not to any greater extent that may be necessary to + Utilize further Modifications or combinations. + +3. Distribution Obligations. + +3.1. Application of License. +The Modifications which You contribute are governed by the terms of +this License, including without limitation Section 2.2. The Source +Code version of Covered Code may be distributed only under the terms +of this License, and You must include a copy of this License with +every copy of the Source Code You distribute. You may not offer or +impose any terms on any Source Code version that alters or restricts +the applicable version of this License or the recipients' rights +hereunder. However, You may include an additional document offering +the additional rights described in Section 3.5. + +3.2. Availability of Source Code. +Any Modification which You contribute must be made available in Source +Code form under the terms of this License either on the same media as +an Executable version or via an accepted Electronic Distribution +Mechanism to anyone to whom you made an Executable version available; +and if made available via Electronic Distribution Mechanism, must +remain available for at least twelve (12) months after the date it +initially became available, or at least six (6) months after a +subsequent version of that particular Modification has been made +available to such recipients. You are responsible for ensuring that +the Source Code version remains available even if the Electronic +Distribution Mechanism is maintained by a third party. + +3.3. Description of Modifications. +You must cause all Covered Code to which you contribute to contain a +file documenting the changes You made to create that Covered Code and +the date of any change. You must include a prominent statement that +the Modification is derived, directly or indirectly, from Original +Code provided by the Initial Developer and including the name of the +Initial Developer in (a) the Source Code, and (b) in any notice in an +Executable version or related documentation in which You describe the +origin or ownership of the Covered Code. + +3.4. Intellectual Property Matters + +(a) Third Party Claims. + If You have knowledge that a party claims an intellectual property + right in particular functionality or code (or its utilization + under this License), you must include a text file with the source + code distribution titled ``LEGAL'' which describes the claim and + the party making the claim in sufficient detail that a recipient + will know whom to contact. If you obtain such knowledge after You + make Your Modification available as described in Section 3.2, You + shall promptly modify the LEGAL file in all copies You make + available thereafter and shall take other steps (such as notifying + appropriate mailing lists or newsgroups) reasonably calculated to + inform those who received the Covered Code that new knowledge has + been obtained. + +(b) Contributor APIs. + If Your Modification is an application programming interface and + You own or control patents which are reasonably necessary to + implement that API, you must also include this information in the + LEGAL file. + +3.5. Required Notices. +You must duplicate the notice in Exhibit A in each file of the Source +Code, and this License in any documentation for the Source Code, where +You describe recipients' rights relating to Covered Code. If You +created one or more Modification(s), You may add your name as a +Contributor to the notice described in Exhibit A. If it is not +possible to put such notice in a particular Source Code file due to +its structure, then you must include such notice in a location (such +as a relevant directory file) where a user would be likely to look for +such a notice. You may choose to offer, and to charge a fee for, +warranty, support, indemnity or liability obligations to one or more +recipients of Covered Code. However, You may do so only on Your own +behalf, and not on behalf of the Initial Developer or any +Contributor. You must make it absolutely clear than any such warranty, +support, indemnity or liability obligation is offered by You alone, +and You hereby agree to indemnify the Initial Developer and every +Contributor for any liability incurred by the Initial Developer or +such Contributor as a result of warranty, support, indemnity or +liability terms You offer. + +3.6. Distribution of Executable Versions. +You may distribute Covered Code in Executable form only if the +requirements of Section 3.1-3.5 have been met for that Covered Code, +and if You include a notice stating that the Source Code version of +the Covered Code is available under the terms of this License, +including a description of how and where You have fulfilled the +obligations of Section 3.2. The notice must be conspicuously included +in any notice in an Executable version, related documentation or +collateral in which You describe recipients' rights relating to the +Covered Code. You may distribute the Executable version of Covered +Code under a license of Your choice, which may contain terms different +from this License, provided that You are in compliance with the terms +of this License and that the license for the Executable version does +not attempt to limit or alter the recipient's rights in the Source +Code version from the rights set forth in this License. If You +distribute the Executable version under a different license You must +make it absolutely clear that any terms which differ from this License +are offered by You alone, not by the Initial Developer or any +Contributor. You hereby agree to indemnify the Initial Developer and +every Contributor for any liability incurred by the Initial Developer +or such Contributor as a result of any such terms You offer. + +3.7. Larger Works. +You may create a Larger Work by combining Covered Code with other code +not governed by the terms of this License and distribute the Larger +Work as a single product. In such a case, You must make sure the +requirements of this License are fulfilled for the Covered Code. + +4. Inability to Comply Due to Statute or Regulation. +If it is impossible for You to comply with any of the terms of this +License with respect to some or all of the Covered Code due to statute +or regulation then You must: (a) comply with the terms of this License +to the maximum extent possible; and (b) describe the limitations and +the code they affect. Such description must be included in the LEGAL +file described in Section 3.4 and must be included with all +distributions of the Source Code. Except to the extent prohibited by +statute or regulation, such description must be sufficiently detailed +for a recipient of ordinary skill to be able to understand it. + +5. Application of this License. + +This License applies to code to which the Initial Developer has +attached the notice in Exhibit A, and to related Covered Code. + +6. CONNECTION TO MOZILLA PUBLIC LICENSE + +This Erlang License is a derivative work of the Mozilla Public +License, Version 1.0. It contains terms which differ from the Mozilla +Public License, Version 1.0. + +7. DISCLAIMER OF WARRANTY. + +COVERED CODE IS PROVIDED UNDER THIS LICENSE ON AN ``AS IS'' BASIS, +WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, +WITHOUT LIMITATION, WARRANTIES THAT THE COVERED CODE IS FREE OF +DEFECTS, MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE OR +NON-INFRINGING. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF +THE COVERED CODE IS WITH YOU. SHOULD ANY COVERED CODE PROVE DEFECTIVE +IN ANY RESPECT, YOU (NOT THE INITIAL DEVELOPER OR ANY OTHER +CONTRIBUTOR) ASSUME THE COST OF ANY NECESSARY SERVICING, REPAIR OR +CORRECTION. THIS DISCLAIMER OF WARRANTY CONSTITUTES AN ESSENTIAL PART +OF THIS LICENSE. NO USE OF ANY COVERED CODE IS AUTHORIZED HEREUNDER +EXCEPT UNDER THIS DISCLAIMER. + +8. TERMINATION. +This License and the rights granted hereunder will terminate +automatically if You fail to comply with terms herein and fail to cure +such breach within 30 days of becoming aware of the breach. All +sublicenses to the Covered Code which are properly granted shall +survive any termination of this License. Provisions which, by their +nature, must remain in effect beyond the termination of this License +shall survive. + +9. DISCLAIMER OF LIABILITY +Any utilization of Covered Code shall not cause the Initial Developer +or any Contributor to be liable for any damages (neither direct nor +indirect). + +10. MISCELLANEOUS +This License represents the complete agreement concerning the subject +matter hereof. If any provision is held to be unenforceable, such +provision shall be reformed only to the extent necessary to make it +enforceable. This License shall be construed by and in accordance with +the substantive laws of Sweden. Any dispute, controversy or claim +arising out of or relating to this License, or the breach, termination +or invalidity thereof, shall be subject to the exclusive jurisdiction +of Swedish courts, with the Stockholm City Court as the first +instance. + +EXHIBIT A. + +``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 via the world wide web 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. + +The Initial Developer of the Original Code is Ericsson Utvecklings AB. +Portions created by Ericsson are Copyright 1999, Ericsson Utvecklings +AB. All Rights Reserved.'' + --- erlang-13.b.1-dfsg.orig/debian/erlang-base.files +++ erlang-13.b.1-dfsg/debian/erlang-base.files @@ -0,0 +1,34 @@ +usr/lib/erlang/bin/erlc +usr/lib/erlang/bin/run_erl +usr/lib/erlang/bin/to_erl +usr/lib/erlang/erts-*/bin/beam +usr/lib/erlang/erts-*/bin/beam.elib +usr/lib/erlang/erts-*/bin/beam.elib.shared +usr/lib/erlang/erts-*/bin/beam.shared +usr/lib/erlang/erts-*/bin/child_setup +usr/lib/erlang/erts-*/bin/child_setup.shared +usr/lib/erlang/erts-*/bin/epmd +usr/lib/erlang/erts-*/bin/erlc +usr/lib/erlang/erts-*/bin/erlexec +usr/lib/erlang/erts-*/bin/heart +usr/lib/erlang/erts-*/bin/inet_gethost +usr/lib/erlang/erts-*/bin/run_erl +usr/lib/erlang/erts-*/bin/to_erl +usr/lib/erlang/erts-*/lib/internal/*.a +usr/lib/erlang/erts-*/bin/beam.hybrid +usr/lib/erlang/erts-*/bin/child_setup.hybrid +usr/lib/erlang/lib/odbc-*/priv/bin/odbcserver +usr/lib/erlang/lib/asn1-*/priv/lib/*.so +usr/lib/erlang/lib/crypto-*/priv/lib/*.o +usr/lib/erlang/lib/crypto-*/priv/lib/*.so +usr/lib/erlang/lib/crypto-*/priv/obj/*.o +usr/lib/erlang/lib/erl_interface-*/bin/erl_call +usr/lib/erlang/lib/erl_interface-*/lib/*.a +usr/lib/erlang/lib/ic-*/priv/lib/*.a +usr/lib/erlang/lib/megaco-*/priv/lib/*.so +usr/lib/erlang/lib/orber-*/priv/bin/obj_init_port +usr/lib/erlang/lib/os_mon-*/priv/bin/memsup +usr/lib/erlang/lib/runtime_tools-*/priv/lib/*.so +usr/lib/erlang/lib/ssl-*/priv/bin/ssl_esock +usr/lib/erlang/lib/ssl-*/priv/obj/*.o + --- erlang-13.b.1-dfsg.orig/debian/erlang-base.manpages +++ erlang-13.b.1-dfsg/debian/erlang-base.manpages @@ -0,0 +1,7 @@ +debian/manpages/epmd.1 +debian/manpages/erl_call.1 +debian/manpages/erlc.1 +debian/manpages/erl.1 +debian/manpages/escript.1 +debian/manpages/run_erl.1 +debian/manpages/start_embedded.1 --- erlang-13.b.1-dfsg.orig/debian/erlang-base-hipe.desktop +++ erlang-13.b.1-dfsg/debian/erlang-base-hipe.desktop @@ -0,0 +1,6 @@ +[Desktop Entry] +Type=KonsoleApplication +Name=Erlang +Comment=New Erlang Shell +Exec=/usr/bin/erl +Icon=/usr/share/pixmaps/erlang.xpm --- erlang-13.b.1-dfsg.orig/debian/erlang-base.menu +++ erlang-13.b.1-dfsg/debian/erlang-base.menu @@ -0,0 +1,8 @@ +?package(erlang-base):\ + needs="text" \ + section="Applications/Programming" \ + title="Erlang Shell" \ + longtitle="Erlang shell in a terminal session" \ + hints="Erlang" \ + command="/usr/bin/erl" \ + icon="/usr/share/pixmaps/erlang.xpm" --- erlang-13.b.1-dfsg.orig/debian/watch +++ erlang-13.b.1-dfsg/debian/watch @@ -0,0 +1,7 @@ +# Watch control file for uscan + +# Compulsory line, this is a version 3 file +version=3 + +opts=dversionmangle=s/-dfsg\d*$//,uversionmangle=tr/[A-Z]/[a-z]/;s/\.$// \ + http://www.erlang.org/download/otp_src_R(\d*)([A-Z]*)(?:-?(\d*))?.tar.gz --- erlang-13.b.1-dfsg.orig/debian/erlang-base-hipe.links.in +++ erlang-13.b.1-dfsg/debian/erlang-base-hipe.links.in @@ -0,0 +1,8 @@ +usr/lib/erlang/bin/erl usr/bin/erl +usr/lib/erlang/bin/erlc usr/bin/erlc +usr/lib/erlang/bin/escript usr/bin/escript +usr/lib/erlang/bin/run_erl usr/bin/run_erl +usr/lib/erlang/bin/start usr/bin/start_embedded +usr/lib/erlang/erts-@VERSION@/bin/epmd usr/lib/erlang/bin/epmd +usr/lib/erlang/bin/epmd usr/bin/epmd +usr/lib/erlang/lib/erl_interface-@EI_VSN@/bin/erl_call usr/bin/erl_call --- erlang-13.b.1-dfsg.orig/debian/compat +++ erlang-13.b.1-dfsg/debian/compat @@ -0,0 +1 @@ +5 --- erlang-13.b.1-dfsg.orig/debian/erlang-mode.dirs +++ erlang-13.b.1-dfsg/debian/erlang-mode.dirs @@ -0,0 +1 @@ +usr/share/emacs/site-lisp/erlang --- erlang-13.b.1-dfsg.orig/debian/erlang-base-hipe.prerm +++ erlang-13.b.1-dfsg/debian/erlang-base-hipe.prerm @@ -0,0 +1,100 @@ +#! /bin/sh +# prerm script for erlang-base-hipe +# +# see: dh_installdeb(1) + +set -e + +# summary of how this script can be called: +# * remove +# * upgrade +# * failed-upgrade +# * remove in-favour +# * deconfigure in-favour \ +# removing +# for details, see /usr/share/doc/debian-policy/ + +case "$1" in + remove|upgrade) + echo -n "Searching for services which depend on erlang and should be stopped..." + # find all init scripts and packages they belong + inits=$(dpkg -S '/etc/init.d/*' 2>/dev/null | sed -e's:/etc/init.d/::') + # filter the list of the packages + packs=$(echo $inits | sed -e's/:[[:space:]]\+[^[:space:]]*//g' | sed -e's/ /\n/g' | sort -u) + # find packages, which depend on erlang + packs=$(dpkg -s $packs 2>/dev/null | egrep '^Package:|^Status:|^Depends' | awk '{if ($1 ~ /^Package:/) {package=$2;inst=0} else if ($0 ~ /^Status:.* installed$/) {inst=1} else if ((inst==1) && ($0 ~ /^Depends:.* erlang/)) {print package}}') + # construct services list from the packages + services="" + for p in $packs ; do + service=$(echo $inits | sed -e's/\([^:]\) /\1\n/g' | awk "/^$p:/ {print \$2}") + services="$services $service" + done + services=$(echo $services | tr '\n' ' ' | sed -e's/\(^[[:space:]]*\|[[:space:]]*$\)//g') + + if [ -z "$services" ] ; then + echo "none found." + else + echo "found: $services." + echo "Stopping services which depend on erlang" + rl=$(runlevel | awk '{print $2}') + failed="" + for service in $services ; do + if [ -f /usr/share/file-rc/rc -o -f /usr/lib/file-rc/rc ] && [ -f /etc/runlevel.conf ] ; then + idl=$(filerc $rl $service) + else + idl=$(ls /etc/rc${rl}.d/S??${service} 2> /dev/null | head -1) + fi + if [ -n "$idl" ] ; then + echo -n " $service: stopping..." + if $idl stop > /dev/null 2>&1 ; then + echo "done." + else + echo "failed. ($?)" + failed="$failed $service" + fi + fi + done + if [ -n "$failed" ]; then + echo "The following services failed to stop: $failed." + else + echo "Services stopped successfully." + fi + fi + + echo -n "Killing epmd..." + if which pgrep >/dev/null ; then + pid=$(pgrep epmd | head -1) + if [ -z "$pid" ] ; then + echo "it is not running." + else + if /usr/bin/epmd -kill 1>/dev/null 2>&1 || kill $pid 2>/dev/null ; then + echo "done." + else + echo "failed." + fi + fi + else + if /usr/bin/epmd -kill 1>/dev/null 2>&1 ; then + echo "done." + else + echo "failed (or it is not running)." + fi + fi + ;; + + failed-upgrade|deconfigure) + ;; + + *) + echo "prerm called with unknown argument \`$1'" >&2 + exit 0 + ;; +esac + +# dh_installdeb will replace this with shell code automatically +# generated by other debhelper scripts. + +#DEBHELPER# + +exit 0 + --- erlang-13.b.1-dfsg.orig/debian/README.Debian +++ erlang-13.b.1-dfsg/debian/README.Debian @@ -0,0 +1,92 @@ +Open Source Erlang for DEBIAN +----------------------------- + +Erlang is a programming language designed at the Ericsson Computer +Science Laboratory. Open-Source Erlang was released to help encourage +the spread of Erlang outside of Ericsson. + +(From the White Paper: http://erlang.org/white_paper.html) + +Erlang is characterized by the following features: + +* Concurrency - Erlang has extremely lightweight processes whose memory + requirements can vary dynamically. Processes have no shared memory and + communicate by asynchronous message passing. Erlang supports + applications with very large numbers of concurrent processes. No + requirements for concurrency are placed on the host operating system. + +* Distribution - Erlang is designed to be run in a distributed + environment. An Erlang virtual machine is called an Erlang node. A + distributed Erlang system is a network of Erlang nodes (typically one + per processor). An Erlang node can create parallel processes running + on other nodes, which perhaps use other operating systems. Processes + residing on different nodes communicate in exactly the same was as + processes residing on the same node. + +* Robustness - Erlang has various error detection primitives which can + be used to structure fault-tolerant systems. For example, processes + can monitor the status and activities of other processes, even if + these processes are executing on other nodes. Processes in a + distributed system can be configured to fail-over to other nodes in + case of failures and automatically migrate back to recovered nodes. +* Soft real-time - Erlang supports programming "soft" real-time systems, + which require response times in the order of milliseconds. Long + garbage collection delays in such systems are unacceptable, so Erlang + uses incremental garbage collection techniques. + +* Hot code upgrade - Many systems cannot be stopped for software + maintenance. Erlang allows program code to be changed in a running + system. Old code can be phased out and replaced by new code. During + the transition, both old code and new code can coexist. It is thus + possible to install bug fixes and upgrades in a running system without + disturbing its operation. + +* Incremental code loading - Users can control in detail how code is + loaded. In embedded systems, all code is usually loaded at boot time. + In development systems, code is loaded when it is needed, even when + the system is running. If testing uncovers bugs, only the buggy code + need be replaced. + +* External interfaces - Erlang processes communicate with the outside + world using the same message passing mechanism as used between Erlang + processes. This mechanism is used for communication with the host + operating system and for interaction with programs written in other + languages. If required for reasons of efficiency, a special version of + this concept allows e.g. C programs to be directly linked into the + Erlang runtim + +The how's and why of Erlang are discussed at the website +at: http://erlang.org + +Enjoy Erlang! :-) + +Brent A. Fulgham Sat, 10 Aug 2002 23:16:47 -0700 + + +---------------- + +This project (Erlang for Debian) is hosted on Berlios.de: + +http://erlang-pkg.berlios.de (website) +http://developer.berlios.de/projects/erlang-pkg (project page) +http://svn.berlios.de/viewcvs/erlang-pkg/ (ViewCVS) +mailto:erlang-pkg-devel@lists.berlios.de (mailing list) + +---------------- + +Note, that if you want to get Erlang documentation, you'll have to +install erlang-manpages (for manual pages) and/or erlang-doc-html +(for docs in HTML). + +---------------- + +Starting from version 13.b.1-dfsg-2 Erlang packages come with debug info +stripped. It's done to make the packages more suitable for using in +embedded environment or distributing on limited-space media (as CDs). +If you need debug information (e.g. to use debugger application) then +you'll have to rebuild erlang from the source setting DEB_BUILD_OPTIONS +to debug,nostrip: + +DEB_BUILD_OPTIONS="debug,nostrip" dpkg-buildpackage -rfakeroot -b + +Sergei Golovan Tue, 16 Jun 2009 22:07:30 +0400 --- erlang-13.b.1-dfsg.orig/debian/erlang-base-hipe.menu +++ erlang-13.b.1-dfsg/debian/erlang-base-hipe.menu @@ -0,0 +1,8 @@ +?package(erlang-base-hipe):\ + needs="text" \ + section="Applications/Programming" \ + title="Erlang Shell" \ + longtitle="Erlang shell in a terminal session" \ + hints="Erlang" \ + command="/usr/bin/erl" \ + icon="/usr/share/pixmaps/erlang.xpm" --- erlang-13.b.1-dfsg.orig/debian/control +++ erlang-13.b.1-dfsg/debian/control @@ -0,0 +1,646 @@ +Source: erlang +Maintainer: Erlang Packagers +Uploaders: Torsten Werner , Sergei Golovan +Section: interpreters +Priority: optional +Standards-Version: 3.8.1 +Build-Depends: debhelper (>= 5.0.0), autoconf (>= 2.50), openssl, libssl-dev, m4, + libncurses5-dev, quilt, autotools-dev, unixodbc-dev, bison, flex, + libwxgtk2.8-dev, dctrl-tools, + libgl1-mesa-dev | libgl-dev, libglu1-mesa-dev | libglu-dev, + libsctp-dev [!hurd-i386 !kfreebsd-i386 !kfreebsd-amd64 !solaris-i386], + kfreebsd-kernel-headers [kfreebsd-i386 kfreebsd-amd64] +Build-Conflicts: autoconf2.13 +Homepage: http://www.erlang.org/ +Vcs-Svn: http://svn.berlios.de/svnroot/repos/erlang-pkg/erlang/trunk/ +Vcs-Browser: http://svn.berlios.de/viewcvs/erlang-pkg/erlang/trunk/ + +Package: erlang-base +Architecture: any +Depends: ${procps:Depends}, ${shlibs:Depends}, ${misc:Depends} +Recommends: ${libsctp:Version}, erlang-crypto (= ${binary:Version}), erlang-syntax-tools (= ${binary:Version}) +Suggests: erlang-tools (= ${binary:Version}), erlang-nox, erlang-x11, erlang, erlang-manpages, erlang-doc-html +Conflicts: erlang (<< ${source:Version}), erlang-base-hipe, erlang-doc-html (<< ${source:Upstream-Version}), erlang-doc-html (>> ${source:Upstream-Version}-999), erlang-manpages (<= 1:11.b.1-2) +Replaces: erlang (<< ${source:Version}), erlang-base-hipe, erlang-nox (<< ${source:Version}), erlang-x11 (<< ${source:Version}), erlang-src (<< ${source:Version}), erlang-dev (<< ${binary:Version}), erlang-examples (<< ${source:Version}), erlang-mode (<< 1:12.b.1-dfsg-2), erlang-doc-html (<< ${source:Upstream-Version}), erlang-doc-html (>> ${source:Upstream-Version}-999), erlang-manpages (<= 1:11.b.1-2) +Provides: erlang-abi-13.a +Description: Erlang/OTP virtual machine and base applications + This package contains the Erlang/OTP runtime implementation, which is + configured and built without HiPE support (compiles to byte-code only), + and minimal set of Erlang applications: + compiler - compiles Erlang code to byte-code; + erts - the Erlang runtime system application; + kernel - code necessary to run the Erlang runtime system itself; + sasl - the system architecture support libraries application; + stdlib - modules for manipulating lists, strings, files etc. + + +Package: erlang-base-hipe +Architecture: amd64 i386 powerpc sparc solaris-i386 +Priority: extra +Depends: ${procps:Depends}, ${shlibs:Depends}, ${misc:Depends} +Recommends: ${libsctp:Version}, erlang-crypto (= ${binary:Version}), erlang-syntax-tools (= ${binary:Version}) +Suggests: erlang-tools (= ${binary:Version}), erlang-nox, erlang-x11, erlang, erlang-manpages, erlang-doc-html +Conflicts: erlang (<< ${source:Version}), erlang-base, erlang-doc-html (<< ${source:Upstream-Version}), erlang-doc-html (>> ${source:Upstream-Version}-999), erlang-manpages (<= 1:11.b.1-2) +Replaces: erlang (<< ${source:Version}), erlang-base, erlang-nox (<< ${source:Version}), erlang-x11 (<< ${source:Version}), erlang-src (<< ${source:Version}), erlang-dev (<< ${binary:Version}), erlang-examples (<< ${source:Version}), erlang-mode (<< 1:12.b.1-dfsg-2), erlang-doc-html (<< ${source:Upstream-Version}), erlang-doc-html (>> ${source:Upstream-Version}-999), erlang-manpages (<= 1:11.b.1-2) +Provides: erlang-abi-13.a +Description: Erlang/OTP HiPE enabled virtual machine and base applications + This package contains the Erlang/OTP runtime implementation, which is + configured and built with HiPE support (allows compiling to native code), + and minimal set of Erlang applications: + compiler - compiles Erlang code to byte-code; + erts - the Erlang runtime system application; + kernel - code necessary to run the Erlang runtime system itself; + sasl - the system architecture support libraries application; + stdlib - modules for manipulating lists, strings, files etc. + + +Package: erlang-appmon +Architecture: any +Depends: ${erlang-base}, erlang-gs (= ${binary:Version}), erlang-inets (= ${binary:Version}), ${shlibs:Depends}, ${misc:Depends} +Suggests: erlang-nox, erlang-x11, erlang, erlang-manpages, erlang-doc-html +Conflicts: erlang-manpages (<= 1:11.b.1-2) +Replaces: erlang (<< ${source:Version}), erlang-base (<< ${binary:Version}), erlang-base-hipe (<< ${binary:Version}), erlang-nox (<< ${source:Version}), erlang-x11 (<< ${binary:Version}), erlang-src (<< ${source:Version}), erlang-dev (<< ${binary:Version}), erlang-examples (<< ${source:Version}), erlang-mode (<< 1:12.b.1-dfsg-2), erlang-doc-html (<< ${source:Upstream-Version}), erlang-doc-html (>> ${source:Upstream-Version}-999), erlang-manpages (<= 1:11.b.1-2) +Description: Erlang/OTP application monitor + The Application Monitor, Appmon, is a graphical utility used to supervise + Erlang applications executing either locally or on remote Erlang nodes. + The process tree of an application can furthermore be monitored. + + +Package: erlang-asn1 +Architecture: any +Depends: ${erlang-base}, erlang-syntax-tools (= ${binary:Version}), ${shlibs:Depends}, ${misc:Depends} +Suggests: erlang-nox, erlang-x11, erlang, erlang-manpages, erlang-doc-html +Conflicts: erlang-manpages (<= 1:11.b.1-2) +Replaces: erlang (<< ${source:Version}), erlang-base (<< ${binary:Version}), erlang-base-hipe (<< ${binary:Version}), erlang-nox (<< ${source:Version}), erlang-x11 (<< ${binary:Version}), erlang-src (<< ${source:Version}), erlang-dev (<< ${binary:Version}), erlang-examples (<< ${source:Version}), erlang-mode (<< 1:12.b.1-dfsg-2), erlang-doc-html (<< ${source:Upstream-Version}), erlang-doc-html (>> ${source:Upstream-Version}-999), erlang-manpages (<= 1:11.b.1-2) +Description: Erlang/OTP modules for ASN.1 support + The Asn1 application contains modules with compile-time and run-time + support for ASN.1 in Erlang/OTP. + + +Package: erlang-common-test +Architecture: any +Depends: ${erlang-base}, erlang-debugger (= ${binary:Version}), erlang-et (= ${binary:Version}), erlang-gs (= ${binary:Version}), erlang-inets (= ${binary:Version}), erlang-snmp (= ${binary:Version}), erlang-ssh (= ${binary:Version}), erlang-test-server (= ${binary:Version}), erlang-wx (= ${binary:Version}), ${shlibs:Depends}, ${misc:Depends} +Suggests: erlang-nox, erlang-x11, erlang, erlang-manpages, erlang-doc-html +Conflicts: erlang-manpages (<= 1:11.b.1-2) +Replaces: erlang (<< ${source:Version}), erlang-base (<< ${binary:Version}), erlang-base-hipe (<< ${binary:Version}), erlang-nox (<< ${source:Version}), erlang-x11 (<< ${binary:Version}), erlang-src (<< ${source:Version}), erlang-dev (<< ${binary:Version}), erlang-examples (<< ${source:Version}), erlang-mode (<< 1:12.b.1-dfsg-2), erlang-doc-html (<< ${source:Upstream-Version}), erlang-doc-html (>> ${source:Upstream-Version}-999), erlang-manpages (<= 1:11.b.1-2) +Description: Erlang/OTP application for automated testing + Common Test is a portable application for automated testing. It is + suitable for black-box testing of target systems of any type (i.e. + not necessarily implemented in Erlang), as well as for white-box + testing of Erlang/OTP programs. Black-box testing is performed via + standard interfaces (such as SNMP, HTTP, Corba, Telnet, etc) and, + if required, via user specific interfaces (often called test ports). + White-box testing of Erlang/OTP programs is easily accomplished by + calling the target API functions directly from the test case functions. + Common Test also integrates usage of the OTP cover tool for code + coverage analysis of Erlang/OTP programs. + + +Package: erlang-corba +Architecture: any +Depends: ${erlang-base}, erlang-inets (= ${binary:Version}), ${shlibs:Depends}, ${misc:Depends} +Suggests: erlang-nox, erlang-x11, erlang, erlang-manpages, erlang-doc-html +Conflicts: erlang-manpages (<= 1:11.b.1-2) +Replaces: erlang (<< ${source:Version}), erlang-base (<< ${binary:Version}), erlang-base-hipe (<< ${binary:Version}), erlang-nox (<< ${source:Version}), erlang-x11 (<< ${binary:Version}), erlang-src (<< ${source:Version}), erlang-dev (<< ${binary:Version}), erlang-examples (<< ${source:Version}), erlang-mode (<< 1:12.b.1-dfsg-2), erlang-doc-html (<< ${source:Upstream-Version}), erlang-doc-html (>> ${source:Upstream-Version}-999), erlang-manpages (<= 1:11.b.1-2) +Description: Erlang/OTP applications for CORBA support + The Orber application is an Erlang implementation of a CORBA + Object Request Broker. + . + The cosEvent application is an Erlang implementation of a CORBA + Service CosEvent. + . + The cosEventDomain application is an Erlang implementation of a + CORBA Service CosEventDomainAdmin. + . + The cosFileTransfer Application is an Erlang implementation of + the OMG CORBA File Transfer Service. + . + The cosNotification application is an Erlang implementation of + the OMG CORBA Notification Service. + . + The cosProperty Application is an Erlang implementation of the + OMG CORBA Property Service. + . + The cosTime application is an Erlang implementation of the OMG + CORBA Time and TimerEvent Services. + . + The cosTransactions application is an Erlang implementation of + the OMG CORBA Transaction Service. + + +Package: erlang-crypto +Architecture: any +Depends: ${erlang-base}, ${shlibs:Depends}, ${misc:Depends} +Suggests: erlang-nox, erlang-x11, erlang, erlang-manpages, erlang-doc-html +Conflicts: erlang-manpages (<= 1:11.b.1-2) +Replaces: erlang (<< ${source:Version}), erlang-base (<< ${binary:Version}), erlang-base-hipe (<< ${binary:Version}), erlang-nox (<< ${source:Version}), erlang-x11 (<< ${binary:Version}), erlang-src (<< ${source:Version}), erlang-dev (<< ${binary:Version}), erlang-examples (<< ${source:Version}), erlang-mode (<< 1:12.b.1-dfsg-2), erlang-doc-html (<< ${source:Upstream-Version}), erlang-doc-html (>> ${source:Upstream-Version}-999), erlang-manpages (<= 1:11.b.1-2) +Description: Erlang/OTP cryprographic modules + The Crypto Application provides functions for computation of message + digests, encryption and decryption functions. It uses OpenSSL for + actual calculations. + + +Package: erlang-debugger +Architecture: any +Depends: ${erlang-base}, erlang-crypto (= ${binary:Version}), erlang-gs (= ${binary:Version}), erlang-wx (= ${binary:Version}), ${shlibs:Depends}, ${misc:Depends} +Suggests: erlang-nox, erlang-x11, erlang, erlang-manpages, erlang-doc-html +Conflicts: erlang-manpages (<= 1:11.b.1-2) +Replaces: erlang (<< ${source:Version}), erlang-base (<< ${binary:Version}), erlang-base-hipe (<< ${binary:Version}), erlang-nox (<< ${source:Version}), erlang-x11 (<< ${binary:Version}), erlang-src (<< ${source:Version}), erlang-dev (<< ${binary:Version}), erlang-examples (<< ${source:Version}), erlang-mode (<< 1:12.b.1-dfsg-2), erlang-doc-html (<< ${source:Upstream-Version}), erlang-doc-html (>> ${source:Upstream-Version}-999), erlang-manpages (<= 1:11.b.1-2) +Description: Erlang/OTP application for debugging and testing + Debugger is a graphical tool which can be used for debugging and + testing of Erlang programs. For example, breakpoints can be set, + code can be single stepped and variable values can be inspected + and modified. + + +Package: erlang-dialyzer +Architecture: any +Depends: ${erlang-base}, erlang-syntax-tools (=${binary:Version}), ${shlibs:Depends}, ${misc:Depends} +Recommends: erlang-gs (= ${binary:Version}) +Suggests: erlang-nox, erlang-x11, erlang, erlang-manpages, erlang-doc-html +Conflicts: erlang-manpages (<= 1:11.b.1-2) +Replaces: erlang (<< ${source:Version}), erlang-base (<< ${binary:Version}), erlang-base-hipe (<< ${binary:Version}), erlang-nox (<< ${source:Version}), erlang-x11 (<< ${binary:Version}), erlang-src (<< ${source:Version}), erlang-dev (<< ${binary:Version}), erlang-examples (<< ${source:Version}), erlang-mode (<< 1:12.b.1-dfsg-2), erlang-doc-html (<< ${source:Upstream-Version}), erlang-doc-html (>> ${source:Upstream-Version}-999), erlang-manpages (<= 1:11.b.1-2) +Description: Erlang/OTP discrepancy analyzer application + Dialyzer is a static analysis tool that identifies software + discrepancies such as type errors, unreachable code, unnecessary + tests etc. in single Erlang modules or entire (sets of) applications. + + +Package: erlang-docbuilder +Architecture: any +Depends: ${erlang-base}, erlang-edoc (= ${binary:Version}), ${shlibs:Depends}, ${misc:Depends} +Suggests: erlang-nox, erlang-x11, erlang, erlang-manpages, erlang-doc-html +Conflicts: erlang-manpages (<= 1:11.b.1-2) +Replaces: erlang (<< ${source:Version}), erlang-base (<< ${binary:Version}), erlang-base-hipe (<< ${binary:Version}), erlang-nox (<< ${source:Version}), erlang-x11 (<< ${binary:Version}), erlang-src (<< ${source:Version}), erlang-dev (<< ${binary:Version}), erlang-examples (<< ${source:Version}), erlang-mode (<< 1:12.b.1-dfsg-2), erlang-doc-html (<< ${source:Upstream-Version}), erlang-doc-html (>> ${source:Upstream-Version}-999), erlang-manpages (<= 1:11.b.1-2) +Description: Erlang/OTP application for building HTML documentation + DocBuilder provides functionality for generating HTML documentation + for Erlang modules and Erlang/OTP applications from XML source code + and/or EDoc comments in Erlang source code. + + +Package: erlang-edoc +Architecture: any +Depends: ${erlang-base}, erlang-inets (= ${binary:Version}), erlang-syntax-tools (=${binary:Version}), erlang-xmerl (= ${binary:Version}), ${shlibs:Depends}, ${misc:Depends} +Suggests: erlang-nox, erlang-x11, erlang, erlang-manpages, erlang-doc-html +Conflicts: erlang-manpages (<= 1:11.b.1-2) +Replaces: erlang (<< ${source:Version}), erlang-base (<< ${binary:Version}), erlang-base-hipe (<< ${binary:Version}), erlang-nox (<< ${source:Version}), erlang-x11 (<< ${binary:Version}), erlang-src (<< ${source:Version}), erlang-dev (<< ${binary:Version}), erlang-examples (<< ${source:Version}), erlang-mode (<< 1:12.b.1-dfsg-2), erlang-doc-html (<< ${source:Upstream-Version}), erlang-doc-html (>> ${source:Upstream-Version}-999), erlang-manpages (<= 1:11.b.1-2) +Description: Erlang/OTP module for generating documentation + EDoc is the Erlang program documentation generator. Inspired by the + Javadoc tool for the Java programming language, EDoc is adapted to + the conventions of the Erlang world. + + +Package: erlang-et +Architecture: any +Depends: ${erlang-base}, erlang-crypto (= ${binary:Version}), erlang-gs (= ${binary:Version}), erlang-runtime-tools (= ${binary:Version}), ${shlibs:Depends}, ${misc:Depends} +Suggests: erlang-nox, erlang-x11, erlang, erlang-manpages, erlang-doc-html +Conflicts: erlang-manpages (<= 1:11.b.1-2) +Replaces: erlang (<< ${source:Version}), erlang-base (<< ${binary:Version}), erlang-base-hipe (<< ${binary:Version}), erlang-nox (<< ${source:Version}), erlang-x11 (<< ${binary:Version}), erlang-src (<< ${source:Version}), erlang-dev (<< ${binary:Version}), erlang-examples (<< ${source:Version}), erlang-mode (<< 1:12.b.1-dfsg-2), erlang-doc-html (<< ${source:Upstream-Version}), erlang-doc-html (>> ${source:Upstream-Version}-999), erlang-manpages (<= 1:11.b.1-2) +Description: Erlang/OTP event tracer application + The Event Tracer (ET) uses the built-in trace mechanism in Erlang + and provides tools for collecting and examinig trace data using GUI. + + +Package: erlang-eunit +Architecture: any +Depends: ${erlang-base}, ${shlibs:Depends}, ${misc:Depends} +Suggests: erlang-nox, erlang-x11, erlang, erlang-manpages, erlang-doc-html +Conflicts: erlang-manpages (<= 1:11.b.1-2) +Replaces: erlang (<< ${source:Version}), erlang-base (<< ${binary:Version}), erlang-base-hipe (<< ${binary:Version}), erlang-nox (<< ${source:Version}), erlang-x11 (<< ${binary:Version}), erlang-src (<< ${source:Version}), erlang-dev (<< ${binary:Version}), erlang-examples (<< ${source:Version}), erlang-mode (<< 1:12.b.1-dfsg-2), erlang-doc-html (<< ${source:Upstream-Version}), erlang-doc-html (>> ${source:Upstream-Version}-999), erlang-manpages (<= 1:11.b.1-2) +Description: Erlang/OTP module for unit testing + The EUnit application contains modules with support for unit testing. + + +Package: erlang-gs +Architecture: any +Depends: ${erlang-base}, ${shlibs:Depends}, ${misc:Depends}, tk | wish +Suggests: erlang-nox, erlang-x11, erlang, erlang-manpages, erlang-doc-html +Conflicts: erlang-manpages (<= 1:11.b.1-2) +Replaces: erlang (<< ${source:Version}), erlang-base (<< ${binary:Version}), erlang-base-hipe (<< ${binary:Version}), erlang-nox (<< ${source:Version}), erlang-x11 (<< ${binary:Version}), erlang-src (<< ${source:Version}), erlang-dev (<< ${binary:Version}), erlang-examples (<< ${source:Version}), erlang-mode (<< 1:12.b.1-dfsg-2), erlang-doc-html (<< ${source:Upstream-Version}), erlang-doc-html (>> ${source:Upstream-Version}-999), erlang-manpages (<= 1:11.b.1-2) +Description: Erlang/OTP graphics system + The Graphics System application, GS, is a library of routines for + writing graphical user interfaces. Programs written using GS work + on all Erlang platforms and do not depend upon the underlying + windowing system. It uses Tk widgets for visualization. + + +Package: erlang-ic +Architecture: any +Depends: ${erlang-base}, ${shlibs:Depends}, ${misc:Depends} +Suggests: erlang-nox, erlang-x11, erlang, erlang-manpages, erlang-doc-html +Conflicts: erlang-manpages (<= 1:11.b.1-2) +Replaces: erlang (<< ${source:Version}), erlang-base (<< ${binary:Version}), erlang-base-hipe (<< ${binary:Version}), erlang-nox (<< ${source:Version}), erlang-x11 (<< ${binary:Version}), erlang-src (<< ${source:Version}), erlang-dev (<< ${binary:Version}), erlang-examples (<< ${source:Version}), erlang-mode (<< 1:12.b.1-dfsg-2), erlang-doc-html (<< ${source:Upstream-Version}), erlang-doc-html (>> ${source:Upstream-Version}-999), erlang-manpages (<= 1:11.b.1-2) +Description: Erlang/OTP IDL compiler + The IC application is an Erlang implementation of an IDL (CORBA Interface + Definition Language) compiler. Depending on the choice of back-end the + code will map to Erlang, C, or Java. The compiler generates client stubs + and server skeletons. + + +Package: erlang-inets +Architecture: any +Depends: ${erlang-base}, erlang-mnesia (= ${binary:Version}), erlang-public-key (= ${binary:Version}), erlang-runtime-tools (= ${binary:Version}), erlang-ssl (= ${binary:Version}), ${shlibs:Depends}, ${misc:Depends} +Suggests: erlang-nox, erlang-x11, erlang, erlang-manpages, erlang-doc-html +Conflicts: erlang-manpages (<= 1:11.b.1-2) +Replaces: erlang (<< ${source:Version}), erlang-base (<< ${binary:Version}), erlang-base-hipe (<< ${binary:Version}), erlang-nox (<< ${source:Version}), erlang-x11 (<< ${binary:Version}), erlang-src (<< ${source:Version}), erlang-dev (<< ${binary:Version}), erlang-examples (<< ${source:Version}), erlang-mode (<< 1:12.b.1-dfsg-2), erlang-doc-html (<< ${source:Upstream-Version}), erlang-doc-html (>> ${source:Upstream-Version}-999), erlang-manpages (<= 1:11.b.1-2) +Description: Erlang/OTP Internet clients and servers + Inets is a container for Internet clients and servers. Currently + a FTP client, a HTTP client and server, and a TFTP client and + server are provided in Inets. + + +Package: erlang-inviso +Architecture: any +Depends: ${erlang-base}, erlang-runtime-tools (= ${binary:Version}), ${shlibs:Depends}, ${misc:Depends} +Suggests: erlang-nox, erlang-x11, erlang, erlang-manpages, erlang-doc-html +Conflicts: erlang-manpages (<= 1:11.b.1-2) +Replaces: erlang (<< ${source:Version}), erlang-base (<< ${binary:Version}), erlang-base-hipe (<< ${binary:Version}), erlang-nox (<< ${source:Version}), erlang-x11 (<< ${binary:Version}), erlang-src (<< ${source:Version}), erlang-dev (<< ${binary:Version}), erlang-examples (<< ${source:Version}), erlang-mode (<< 1:12.b.1-dfsg-2), erlang-doc-html (<< ${source:Upstream-Version}), erlang-doc-html (>> ${source:Upstream-Version}-999), erlang-manpages (<= 1:11.b.1-2) +Description: Erlang/OTP trace tool + Inviso, an Erlang trace tool. With the inviso API, runtime components + can be started and tracing managed across a network of distributed + Erlang nodes, using a control component also started with inviso API + functions. + + +Package: erlang-megaco +Architecture: any +Depends: ${erlang-base}, erlang-asn1 (= ${binary:Version}), erlang-debugger (= ${binary:Version}), erlang-et (= ${binary:Version}), erlang-gs (= ${binary:Version}), erlang-runtime-tools (= ${binary:Version}), erlang-wx (= ${binary:Version}), ${shlibs:Depends}, ${misc:Depends} +Suggests: erlang-nox, erlang-x11, erlang, erlang-manpages, erlang-doc-html +Conflicts: erlang-manpages (<= 1:11.b.1-2) +Replaces: erlang (<< ${source:Version}), erlang-base (<< ${binary:Version}), erlang-base-hipe (<< ${binary:Version}), erlang-nox (<< ${source:Version}), erlang-x11 (<< ${binary:Version}), erlang-src (<< ${source:Version}), erlang-dev (<< ${binary:Version}), erlang-examples (<< ${source:Version}), erlang-mode (<< 1:12.b.1-dfsg-2), erlang-doc-html (<< ${source:Upstream-Version}), erlang-doc-html (>> ${source:Upstream-Version}-999), erlang-manpages (<= 1:11.b.1-2) +Description: Erlang/OTP implementation of Megaco/H.248 protocol + The Megaco application is a framework for building applications on + top of the Megaco/H.248 protocol. + + +Package: erlang-mnesia +Architecture: any +Depends: ${erlang-base}, ${shlibs:Depends}, ${misc:Depends} +Suggests: erlang-nox, erlang-x11, erlang, erlang-manpages, erlang-doc-html +Conflicts: erlang-manpages (<= 1:11.b.1-2) +Replaces: erlang (<< ${source:Version}), erlang-base (<< ${binary:Version}), erlang-base-hipe (<< ${binary:Version}), erlang-nox (<< ${source:Version}), erlang-x11 (<< ${binary:Version}), erlang-src (<< ${source:Version}), erlang-dev (<< ${binary:Version}), erlang-examples (<< ${source:Version}), erlang-mode (<< 1:12.b.1-dfsg-2), erlang-doc-html (<< ${source:Upstream-Version}), erlang-doc-html (>> ${source:Upstream-Version}-999), erlang-manpages (<= 1:11.b.1-2) +Description: Erlang/OTP distributed relational/object hybrid database + Mnesia is a distributed DataBase Management System (DBMS), appropriate + for telecommunications applications and other Erlang applications + which require continuous operation and exhibit soft real-time properties. + + +Package: erlang-observer +Architecture: any +Depends: ${erlang-base}, erlang-inets (= ${binary:Version}), erlang-webtool (= ${binary:Version}), ${shlibs:Depends}, ${misc:Depends} +Recommends: erlang-et (= ${binary:Version}), erlang-gs (= ${binary:Version}) +Suggests: erlang-nox, erlang-x11, erlang, erlang-manpages, erlang-doc-html +Conflicts: erlang-manpages (<= 1:11.b.1-2) +Replaces: erlang (<< ${source:Version}), erlang-base (<< ${binary:Version}), erlang-base-hipe (<< ${binary:Version}), erlang-nox (<< ${source:Version}), erlang-x11 (<< ${binary:Version}), erlang-src (<< ${source:Version}), erlang-dev (<< ${binary:Version}), erlang-examples (<< ${source:Version}), erlang-mode (<< 1:12.b.1-dfsg-2), erlang-doc-html (<< ${source:Upstream-Version}), erlang-doc-html (>> ${source:Upstream-Version}-999), erlang-manpages (<= 1:11.b.1-2) +Description: Erlang/OTP application for investigating distributed systems + The OBSERVER application contains tools for tracing and investigation of + distributed systems. They include etop - a tool for presenting information + about Erlang processes, and crashdump_viewer - a HTML based tool for + browsing Erlang crashdumps. + + +Package: erlang-odbc +Architecture: any +Depends: ${erlang-base}, ${shlibs:Depends}, ${misc:Depends} +Suggests: erlang-nox, erlang-x11, erlang, erlang-manpages, erlang-doc-html +Conflicts: erlang-manpages (<= 1:11.b.1-2) +Replaces: erlang (<< ${source:Version}), erlang-base (<< ${binary:Version}), erlang-base-hipe (<< ${binary:Version}), erlang-nox (<< ${source:Version}), erlang-x11 (<< ${binary:Version}), erlang-src (<< ${source:Version}), erlang-dev (<< ${binary:Version}), erlang-examples (<< ${source:Version}), erlang-mode (<< 1:12.b.1-dfsg-2), erlang-doc-html (<< ${source:Upstream-Version}), erlang-doc-html (>> ${source:Upstream-Version}-999), erlang-manpages (<= 1:11.b.1-2) +Description: Erlang/OTP interface to SQL databases + The Erlang ODBC application provides an interface for accessing + relational SQL databases from Erlang. + + +Package: erlang-os-mon +Architecture: any +Depends: ${erlang-base}, erlang-inets (= ${binary:Version}), erlang-snmp (= ${binary:Version}), ${shlibs:Depends}, ${misc:Depends} +Suggests: erlang-nox, erlang-x11, erlang, erlang-manpages, erlang-doc-html +Conflicts: erlang-manpages (<= 1:11.b.1-2) +Replaces: erlang (<< ${source:Version}), erlang-base (<< ${binary:Version}), erlang-base-hipe (<< ${binary:Version}), erlang-nox (<< ${source:Version}), erlang-x11 (<< ${binary:Version}), erlang-src (<< ${source:Version}), erlang-dev (<< ${binary:Version}), erlang-examples (<< ${source:Version}), erlang-mode (<< 1:12.b.1-dfsg-2), erlang-doc-html (<< ${source:Upstream-Version}), erlang-doc-html (>> ${source:Upstream-Version}-999), erlang-manpages (<= 1:11.b.1-2) +Description: Erlang/OTP operating system monitor + The operating system monitor, OS_Mon, provides services for + monitoring CPU load, disk usage, memory usage and OS messages. + + +Package: erlang-parsetools +Architecture: any +Depends: ${erlang-base}, ${shlibs:Depends}, ${misc:Depends} +Suggests: erlang-nox, erlang-x11, erlang, erlang-manpages, erlang-doc-html +Conflicts: erlang-manpages (<= 1:11.b.1-2) +Replaces: erlang (<< ${source:Version}), erlang-base (<< ${binary:Version}), erlang-base-hipe (<< ${binary:Version}), erlang-nox (<< ${source:Version}), erlang-x11 (<< ${binary:Version}), erlang-src (<< ${source:Version}), erlang-dev (<< ${binary:Version}), erlang-examples (<< ${source:Version}), erlang-mode (<< 1:12.b.1-dfsg-2), erlang-doc-html (<< ${source:Upstream-Version}), erlang-doc-html (>> ${source:Upstream-Version}-999), erlang-manpages (<= 1:11.b.1-2) +Description: Erlang/OTP parsing tools + The Parsetools application contains utilities for parsing. Currently, + it includes yecc module. Yecc is an LALR-1 parser generator for Erlang, + similar to yacc. Yecc takes a BNF grammar definition as input, and + produces Erlang code for a parser as output. + + +Package: erlang-percept +Architecture: any +Depends: ${erlang-base}, erlang-inets (= ${binary:Version}), ${shlibs:Depends}, ${misc:Depends} +Suggests: erlang-nox, erlang-x11, erlang, erlang-manpages, erlang-doc-html +Conflicts: erlang-manpages (<= 1:11.b.1-2) +Replaces: erlang (<< ${source:Version}), erlang-base (<< ${binary:Version}), erlang-base-hipe (<< ${binary:Version}), erlang-nox (<< ${source:Version}), erlang-x11 (<< ${binary:Version}), erlang-src (<< ${source:Version}), erlang-dev (<< ${binary:Version}), erlang-examples (<< ${source:Version}), erlang-mode (<< 1:12.b.1-dfsg-2), erlang-doc-html (<< ${source:Upstream-Version}), erlang-doc-html (>> ${source:Upstream-Version}-999), erlang-manpages (<= 1:11.b.1-2) +Description: Erlang/OTP concurrency profiling tool + Percept is a tool which visualizes application level concurrency and + helps to indentify concurrency bottlenecks. + + +Package: erlang-pman +Architecture: any +Depends: ${erlang-base}, erlang-gs (= ${binary:Version}), ${shlibs:Depends}, ${misc:Depends} +Suggests: erlang-nox, erlang-x11, erlang, erlang-manpages, erlang-doc-html +Conflicts: erlang-manpages (<= 1:11.b.1-2) +Replaces: erlang (<< ${source:Version}), erlang-base (<< ${binary:Version}), erlang-base-hipe (<< ${binary:Version}), erlang-nox (<< ${source:Version}), erlang-x11 (<< ${binary:Version}), erlang-src (<< ${source:Version}), erlang-dev (<< ${binary:Version}), erlang-examples (<< ${source:Version}), erlang-mode (<< 1:12.b.1-dfsg-2), erlang-doc-html (<< ${source:Upstream-Version}), erlang-doc-html (>> ${source:Upstream-Version}-999), erlang-manpages (<= 1:11.b.1-2) +Description: Erlang/OTP process manager + The process manager Pman is a graphical tool used to inspect the + Erlang processes executing either locally or on remote Erlang nodes. + It also allows to trace events in the individual processes. + + +Package: erlang-public-key +Architecture: any +Depends: ${erlang-base}, erlang-crypto (= ${binary:Version}), ${shlibs:Depends}, ${misc:Depends} +Suggests: erlang-nox, erlang-x11, erlang, erlang-manpages, erlang-doc-html +Conflicts: erlang-manpages (<= 1:11.b.1-2) +Replaces: erlang (<< ${source:Version}), erlang-base (<< ${binary:Version}), erlang-base-hipe (<< ${binary:Version}), erlang-nox (<< ${source:Version}), erlang-x11 (<< ${binary:Version}), erlang-src (<< ${source:Version}), erlang-dev (<< ${binary:Version}), erlang-examples (<< ${source:Version}), erlang-mode (<< 1:12.b.1-dfsg-2), erlang-doc-html (<< ${source:Upstream-Version}), erlang-doc-html (>> ${source:Upstream-Version}-999), erlang-manpages (<= 1:11.b.1-2) +Description: Erlang/OTP public key infrastructure + Provides functions to handle public key infrastructure from RFC 3280 + (X.509 certificates) and some parts of the PKCS-standard. + + +Package: erlang-reltool +Architecture: any +Depends: ${erlang-base}, erlang-inets (= ${binary:Version}), erlang-observer (= ${binary:Version}), erlang-syntax-tools (= ${binary:Version}), erlang-tools (= ${binary:Version}), erlang-webtool (= ${binary:Version}), erlang-wx (= ${binary:Version}), ${shlibs:Depends}, ${misc:Depends} +Suggests: erlang-nox, erlang-x11, erlang, erlang-manpages, erlang-doc-html +Conflicts: erlang-manpages (<= 1:11.b.1-2) +Replaces: erlang (<< ${source:Version}), erlang-base (<< ${binary:Version}), erlang-base-hipe (<< ${binary:Version}), erlang-nox (<< ${source:Version}), erlang-x11 (<< ${binary:Version}), erlang-src (<< ${source:Version}), erlang-dev (<< ${binary:Version}), erlang-examples (<< ${source:Version}), erlang-mode (<< 1:12.b.1-dfsg-2), erlang-doc-html (<< ${source:Upstream-Version}), erlang-doc-html (>> ${source:Upstream-Version}-999), erlang-manpages (<= 1:11.b.1-2) +Description: Erlang/OTP release management tool + Reltool is a release management tool. It analyses a given Erlang/OTP + installation and determines dependencies between applications. The + graphical frontend depicts the dependencies and enables interactive + customization of a target system. The backend provides a batch + interface for generation of customized target systems. + + +Package: erlang-runtime-tools +Architecture: any +Depends: ${erlang-base}, ${shlibs:Depends}, ${misc:Depends} +Suggests: erlang-nox, erlang-x11, erlang, erlang-manpages, erlang-doc-html +Conflicts: erlang-manpages (<= 1:11.b.1-2) +Replaces: erlang (<< ${source:Version}), erlang-base (<< ${binary:Version}), erlang-base-hipe (<< ${binary:Version}), erlang-nox (<< ${source:Version}), erlang-x11 (<< ${binary:Version}), erlang-src (<< ${source:Version}), erlang-dev (<< ${binary:Version}), erlang-examples (<< ${source:Version}), erlang-mode (<< 1:12.b.1-dfsg-2), erlang-doc-html (<< ${source:Upstream-Version}), erlang-doc-html (>> ${source:Upstream-Version}-999), erlang-manpages (<= 1:11.b.1-2) +Description: Erlang/OTP runtime tracing/debugging tools + Runtime_Tools provides low-footprint tracing/debugging tools suitable + for inclusion in a production system. + + +Package: erlang-snmp +Architecture: any +Depends: ${erlang-base}, erlang-crypto (= ${binary:Version}), erlang-mnesia (= ${binary:Version}), erlang-runtime-tools (= ${binary:Version}), ${shlibs:Depends}, ${misc:Depends} +Suggests: erlang-nox, erlang-x11, erlang, erlang-manpages, erlang-doc-html +Conflicts: erlang-manpages (<= 1:11.b.1-2) +Replaces: erlang (<< ${source:Version}), erlang-base (<< ${binary:Version}), erlang-base-hipe (<< ${binary:Version}), erlang-nox (<< ${source:Version}), erlang-x11 (<< ${binary:Version}), erlang-src (<< ${source:Version}), erlang-dev (<< ${binary:Version}), erlang-examples (<< ${source:Version}), erlang-mode (<< 1:12.b.1-dfsg-2), erlang-doc-html (<< ${source:Upstream-Version}), erlang-doc-html (>> ${source:Upstream-Version}-999), erlang-manpages (<= 1:11.b.1-2) +Description: Erlang/OTP SNMP applications + A multilingual Simple Network Management Protocol application features + an Extensible Agent, simple manager, a MIB compiler and facilities for + implementing SNMP MIBs etc. + . + The OTP_Mibs application provides an SNMP management information base + for Erlang nodes. + + +Package: erlang-ssh +Architecture: any +Depends: ${erlang-base}, erlang-crypto (= ${binary:Version}), ${shlibs:Depends}, ${misc:Depends} +Suggests: erlang-nox, erlang-x11, erlang, erlang-manpages, erlang-doc-html +Conflicts: erlang-manpages (<= 1:11.b.1-2) +Replaces: erlang (<< ${source:Version}), erlang-base (<< ${binary:Version}), erlang-base-hipe (<< ${binary:Version}), erlang-nox (<< ${source:Version}), erlang-x11 (<< ${binary:Version}), erlang-src (<< ${source:Version}), erlang-dev (<< ${binary:Version}), erlang-examples (<< ${source:Version}), erlang-mode (<< 1:12.b.1-dfsg-2), erlang-doc-html (<< ${source:Upstream-Version}), erlang-doc-html (>> ${source:Upstream-Version}-999), erlang-manpages (<= 1:11.b.1-2) +Description: Erlang/OTP implementation of SSH protocol + The SSH application is an erlang implementation of the secure + shell protocol. + + +Package: erlang-ssl +Architecture: any +Depends: ${erlang-base}, erlang-public-key (= ${binary:Version}), ${shlibs:Depends}, ${misc:Depends} +Suggests: erlang-nox, erlang-x11, erlang, erlang-manpages, erlang-doc-html +Conflicts: erlang-manpages (<= 1:11.b.1-2) +Replaces: erlang (<< ${source:Version}), erlang-base (<< ${binary:Version}), erlang-base-hipe (<< ${binary:Version}), erlang-nox (<< ${source:Version}), erlang-x11 (<< ${binary:Version}), erlang-src (<< ${source:Version}), erlang-dev (<< ${binary:Version}), erlang-examples (<< ${source:Version}), erlang-mode (<< 1:12.b.1-dfsg-2), erlang-doc-html (<< ${source:Upstream-Version}), erlang-doc-html (>> ${source:Upstream-Version}-999), erlang-manpages (<= 1:11.b.1-2) +Description: Erlang/OTP implementation of SSL + The SSL application provides secure communication over sockets. + + +Package: erlang-syntax-tools +Architecture: any +Depends: ${erlang-base}, ${shlibs:Depends}, ${misc:Depends} +Suggests: erlang-nox, erlang-x11, erlang, erlang-manpages, erlang-doc-html +Conflicts: erlang-manpages (<= 1:11.b.1-2) +Replaces: erlang (<< ${source:Version}), erlang-base (<< ${binary:Version}), erlang-base-hipe (<< ${binary:Version}), erlang-nox (<< ${source:Version}), erlang-x11 (<< ${binary:Version}), erlang-src (<< ${source:Version}), erlang-dev (<< ${binary:Version}), erlang-examples (<< ${source:Version}), erlang-mode (<< 1:12.b.1-dfsg-2), erlang-doc-html (<< ${source:Upstream-Version}), erlang-doc-html (>> ${source:Upstream-Version}-999), erlang-manpages (<= 1:11.b.1-2) +Description: Erlang/OTP modules for handling abstract Erlang syntax trees + Syntax_Tools contains modules for handling abstract Erlang syntax + trees in a way that is compatible with the "parse trees" of the + STDLIB module erl_parse, together with utilities for reading source + files in unusual ways and pretty-printing syntax trees. Also it + includes a module merger and renamer called Igor, as well as an + automatic code-cleaner. + + +Package: erlang-test-server +Architecture: any +Depends: ${erlang-base}, erlang-inets (= ${binary:Version}), erlang-observer (= ${binary:Version}), erlang-tools (= ${binary:Version}), erlang-webtool (= ${binary:Version}), ${shlibs:Depends}, ${misc:Depends} +Suggests: erlang-nox, erlang-x11, erlang, erlang-manpages, erlang-doc-html +Conflicts: erlang-manpages (<= 1:11.b.1-2) +Replaces: erlang (<< ${source:Version}), erlang-base (<< ${binary:Version}), erlang-base-hipe (<< ${binary:Version}), erlang-nox (<< ${source:Version}), erlang-x11 (<< ${binary:Version}), erlang-src (<< ${source:Version}), erlang-dev (<< ${binary:Version}), erlang-examples (<< ${source:Version}), erlang-mode (<< 1:12.b.1-dfsg-2), erlang-doc-html (<< ${source:Upstream-Version}), erlang-doc-html (>> ${source:Upstream-Version}-999), erlang-manpages (<= 1:11.b.1-2) +Description: Erlang/OTP server for automated application testing + Test Server is a portable test server for automated application testing. + The server can run test suites on local or remote targets and log + progress and results to HTML pages. The main purpose of Test Server + is to act as engine inside customized test tools. A callback interface + for such framework applications is provided. + + +Package: erlang-toolbar +Architecture: any +Depends: ${erlang-base}, erlang-gs (= ${binary:Version}), ${shlibs:Depends}, ${misc:Depends} +Suggests: erlang-nox, erlang-x11, erlang, erlang-manpages, erlang-doc-html +Conflicts: erlang-manpages (<= 1:11.b.1-2) +Replaces: erlang (<< ${source:Version}), erlang-base (<< ${binary:Version}), erlang-base-hipe (<< ${binary:Version}), erlang-nox (<< ${source:Version}), erlang-x11 (<< ${binary:Version}), erlang-src (<< ${source:Version}), erlang-dev (<< ${binary:Version}), erlang-examples (<< ${source:Version}), erlang-mode (<< 1:12.b.1-dfsg-2), erlang-doc-html (<< ${source:Upstream-Version}), erlang-doc-html (>> ${source:Upstream-Version}-999), erlang-manpages (<= 1:11.b.1-2) +Description: Erlang/OTP graphical toolbar + The Toolbar application simplifies access to the Erlang/OTP tools. + It consists of a number of buttons, one for each available tool. + + +Package: erlang-tools +Architecture: any +Depends: ${erlang-base}, erlang-inets (= ${binary:Version}), erlang-observer (= ${binary:Version}), erlang-webtool (= ${binary:Version}), ${shlibs:Depends}, ${misc:Depends} +Suggests: erlang-nox, erlang-x11, erlang, erlang-manpages, erlang-doc-html +Conflicts: erlang-manpages (<= 1:11.b.1-2) +Replaces: erlang (<< ${source:Version}), erlang-base (<< ${binary:Version}), erlang-base-hipe (<< ${binary:Version}), erlang-nox (<< ${source:Version}), erlang-x11 (<< ${binary:Version}), erlang-src (<< ${source:Version}), erlang-dev (<< ${binary:Version}), erlang-examples (<< ${source:Version}), erlang-mode (<< 1:12.b.1-dfsg-2), erlang-doc-html (<< ${source:Upstream-Version}), erlang-doc-html (>> ${source:Upstream-Version}-999), erlang-manpages (<= 1:11.b.1-2) +Description: Erlang/OTP various tools + The Tools application contains a number of stand-alone tools, which are + useful when developing Erlang programs. + . + cover - A coverage analysis tool for Erlang. + cprof - A profiling tool that shows how many times each function + is called. Uses a kind of local call trace breakpoints containing + counters to achieve very low runtime performance degradation. + eprof - A time profiling tool; measures how time is used in Erlang + programs. Predecessor of fprof (see below). + fprof - Another Erlang profiler; measures how time is used in Erlang + programs. Uses trace to file to minimize runtime performance + impact, and displays time for calling and called functions. + instrument - Utility functions for obtaining and analysing resource + usage in an instrumented Erlang runtime system. + make - A make utility for Erlang similar to UNIX make. + tags - A tool for generating Emacs TAGS files from Erlang source + files. + xref - A cross reference tool. Can be used to check dependencies + between functions, modules, applications and releases. + + +Package: erlang-tv +Architecture: any +Depends: ${erlang-base}, erlang-gs (= ${binary:Version}), erlang-mnesia (= ${binary:Version}), erlang-pman (= ${binary:Version}), ${shlibs:Depends}, ${misc:Depends} +Suggests: erlang-nox, erlang-x11, erlang, erlang-manpages, erlang-doc-html +Conflicts: erlang-manpages (<= 1:11.b.1-2) +Replaces: erlang (<< ${source:Version}), erlang-base (<< ${binary:Version}), erlang-base-hipe (<< ${binary:Version}), erlang-nox (<< ${source:Version}), erlang-x11 (<< ${binary:Version}), erlang-src (<< ${source:Version}), erlang-dev (<< ${binary:Version}), erlang-examples (<< ${source:Version}), erlang-mode (<< 1:12.b.1-dfsg-2), erlang-doc-html (<< ${source:Upstream-Version}), erlang-doc-html (>> ${source:Upstream-Version}-999), erlang-manpages (<= 1:11.b.1-2) +Description: Erlang/OTP table viewer + The TV application allows the user to examine ETS and Mnesia tables. + Once a certain table has been opened in the tool, its content may be + viewed in various levels of detail. + + +Package: erlang-typer +Architecture: any +Depends: ${erlang-base}, erlang-dialyzer (= ${binary:Version}), ${shlibs:Depends}, ${misc:Depends} +Suggests: erlang-nox, erlang-x11, erlang, erlang-manpages, erlang-doc-html +Conflicts: erlang-manpages (<= 1:11.b.1-2) +Replaces: erlang (<< ${source:Version}), erlang-base (<< ${binary:Version}), erlang-base-hipe (<< ${binary:Version}), erlang-nox (<< ${source:Version}), erlang-x11 (<< ${binary:Version}), erlang-src (<< ${source:Version}), erlang-dev (<< ${binary:Version}), erlang-examples (<< ${source:Version}), erlang-mode (<< 1:12.b.1-dfsg-2), erlang-doc-html (<< ${source:Upstream-Version}), erlang-doc-html (>> ${source:Upstream-Version}-999), erlang-manpages (<= 1:11.b.1-2) +Description: Erlang/OTP code type annotator + TypEr is a tool that displays and automatically inserts type annotations + in Erlang code. It uses Dialyzer to infer variable types. + + +Package: erlang-webtool +Architecture: any +Depends: ${erlang-base}, erlang-inets (= ${binary:Version}), ${shlibs:Depends}, ${misc:Depends} +Recommends: erlang-observer (= ${binary:Version}) +Suggests: erlang-nox, erlang-x11, erlang, erlang-manpages, erlang-doc-html +Conflicts: erlang-manpages (<= 1:11.b.1-2) +Replaces: erlang (<< ${source:Version}), erlang-base (<< ${binary:Version}), erlang-base-hipe (<< ${binary:Version}), erlang-nox (<< ${source:Version}), erlang-x11 (<< ${binary:Version}), erlang-src (<< ${source:Version}), erlang-dev (<< ${binary:Version}), erlang-examples (<< ${source:Version}), erlang-mode (<< 1:12.b.1-dfsg-2), erlang-doc-html (<< ${source:Upstream-Version}), erlang-doc-html (>> ${source:Upstream-Version}-999), erlang-manpages (<= 1:11.b.1-2) +Description: Erlang/OTP helper for web-based tools + WebTool provides an easy way to use web-based tools with Erlang/OTP. + It configures and starts a webserver as well as all available tools. + + +Package: erlang-wx +Architecture: any +Depends: ${erlang-base}, ${shlibs:Depends}, ${misc:Depends} +Suggests: erlang-nox, erlang-x11, erlang, erlang-manpages, erlang-doc-html +Conflicts: erlang-manpages (<= 1:11.b.1-2) +Replaces: erlang (<< ${source:Version}), erlang-base (<< ${binary:Version}), erlang-base-hipe (<< ${binary:Version}), erlang-nox (<< ${source:Version}), erlang-x11 (<< ${binary:Version}), erlang-src (<< ${source:Version}), erlang-dev (<< ${binary:Version}), erlang-examples (<< ${source:Version}), erlang-mode (<< 1:12.b.1-dfsg-2), erlang-doc-html (<< ${source:Upstream-Version}), erlang-doc-html (>> ${source:Upstream-Version}-999), erlang-manpages (<= 1:11.b.1-2) +Description: Erlang/OTP bindings to wxWidgets + The wxErlang application is an API for writing graphical user + interfaces with wxWidgets. + + +Package: erlang-xmerl +Architecture: any +Depends: ${erlang-base}, ${shlibs:Depends}, ${misc:Depends} +Suggests: erlang-nox, erlang-x11, erlang, erlang-manpages, erlang-doc-html +Conflicts: erlang-manpages (<= 1:11.b.1-2) +Replaces: erlang (<< ${source:Version}), erlang-base (<< ${binary:Version}), erlang-base-hipe (<< ${binary:Version}), erlang-nox (<< ${source:Version}), erlang-x11 (<< ${binary:Version}), erlang-src (<< ${source:Version}), erlang-dev (<< ${binary:Version}), erlang-examples (<< ${source:Version}), erlang-mode (<< 1:12.b.1-dfsg-2), erlang-doc-html (<< ${source:Upstream-Version}), erlang-doc-html (>> ${source:Upstream-Version}-999), erlang-manpages (<= 1:11.b.1-2) +Description: Erlang/OTP XML tools + The xmerl application contains modules for processing XML. + + +Package: erlang-dev +Architecture: any +Depends: ${erlang-base}, ${shlibs:Depends}, ${misc:Depends} +Suggests: erlang-nox, erlang-x11, erlang, erlang-manpages, erlang-doc-html +Replaces: erlang (<< ${source:Version}), erlang-base (<< ${binary:Version}), erlang-base-hipe (<< ${binary:Version}), erlang-nox (<< ${binary:Version}), erlang-x11 (<< ${binary:Version}), erlang-src (<< ${source:Version}), erlang-examples (<< ${source:Version}), erlang-mode (<< 1:12.b.1-dfsg-2) +Description: Erlang/OTP development libraries and headers + The files for application development in Erlang. They include headers for + all applications included int Erlang/OTP distribution and C interface + libraries. + + +Package: erlang-src +Architecture: all +Depends: ${erlang-base} +Suggests: erlang-nox, erlang-x11, erlang, erlang-manpages, erlang-doc-html +Replaces: erlang (<< ${binary:Version}), erlang-base (<< ${binary:Version}), erlang-base-hipe (<< ${binary:Version}), erlang-nox (<< ${binary:Version}), erlang-x11 (<< ${binary:Version}), erlang-dev (<< ${binary:Version}), erlang-examples (<< ${binary:Version}), erlang-mode (<< 1:12.b.1-dfsg-2) +Description: Erlang/OTP applications sources + Erlang sources for all the applications in the Erlang/OTP system. + They are useful for educational purpose and as a base for creating + embedded systems. + + +Package: erlang-examples +Architecture: all +Depends: ${erlang-base} +Suggests: erlang, erlang-manpages, erlang-doc-html +Replaces: erlang (<< ${binary:Version}), erlang-base (<< ${binary:Version}), erlang-base-hipe (<< ${binary:Version}), erlang-nox (<< ${binary:Version}), erlang-x11 (<< ${binary:Version}), erlang-dev (<< ${binary:Version}), erlang-src (<< ${binary:Version}), erlang-mode (<< 1:12.b.1-dfsg-2) +Description: Erlang/OTP application examples + The examples, included in the Erlang/OTP system distribution. + + +Package: erlang-mode +Architecture: all +Depends: emacsen-common +Suggests: erlang, erlang-manpages, erlang-doc-html +Conflicts: erlang-manpages (<< 1:11.b.5-1) +Replaces: erlang-base (<< 1:12.b.1-dfsg-2), erlang-base-hipe (<< 1:12.b.1-dfsg-2) +Description: Erlang major editing mode for Emacs + This package includes the mode for editing Erlang programs in GNU Emacs. + It is provided with the default Erlang/OTP distribution. It supports + sophisticated indentation, syntax highlighting, electric commands, + module name verification, comments, skeletons, tags etc. + + +Package: erlang-nox +Architecture: any +Depends: ${erlang-base}, erlang-asn1, erlang-corba, erlang-crypto, + erlang-docbuilder, erlang-edoc, erlang-eunit, erlang-ic, erlang-inets, + erlang-inviso, erlang-mnesia, erlang-odbc, erlang-os-mon, erlang-parsetools, + erlang-percept, erlang-public-key, erlang-runtime-tools, erlang-snmp, + erlang-ssh, erlang-ssl, erlang-syntax-tools, erlang-xmerl +Suggests: erlang-x11, erlang, erlang-manpages, erlang-doc-html +Description: Erlang/OTP applications that don't require X Window System + This package is a dummy package which will install all Erlang/OTP + applications which do not require X Window System to run. + + +Package: erlang-x11 +Architecture: any +Depends: ${erlang-base}, erlang-nox, erlang-appmon, erlang-common-test, + erlang-debugger, erlang-dialyzer, erlang-et, erlang-gs, erlang-megaco, + erlang-observer, erlang-pman, erlang-reltool, erlang-test-server, + erlang-toolbar, erlang-tools, erlang-tv, erlang-typer, erlang-webtool, + erlang-wx +Suggests: erlang, erlang-manpages, erlang-doc-html +Description: Erlang/OTP applications that require X Window System + This package is a dummy package which will install all Erlang/OTP + applications which use graphical interface and therefore require + X Window System to run. + + +Package: erlang +Architecture: all +Depends: ${erlang-base}, erlang-nox, erlang-x11, erlang-dev +Recommends: erlang-mode, erlang-src, erlang-examples +Suggests: erlang-manpages, erlang-doc-html +Description: Concurrent, real-time, distributed functional language + Open Source Erlang is a functional programming language designed at + the Ericsson Computer Science Laboratory. + . + Some of Erlang main features are: + * Clear declarative syntax and is largely free from side-effects; + * Builtin support for real-time, concurrent and distributed programming; + * Designed for development of robust and continously operated programs; + * Dynamic code replacement at runtime. + . + The Erlang distribution also includes OTP (Open Telecom Platform) which + provides a reach set of libraries and applications. + . + This package is a dummy package which will install Erlang/OTP runtime, + applications, sources, code examples and the Erlang editing mode for Emacs. --- erlang-13.b.1-dfsg.orig/debian/analyse.sh +++ erlang-13.b.1-dfsg/debian/analyse.sh @@ -0,0 +1,94 @@ +#!/bin/sh + +echo "Determining which files goes where through \ +the magic of regular expressions." + +# Pretty dead simple. The pattern files include +# regular expression that match some files. Files that +# match patterns in binary.patterns go into the base +# package. Same goes for the X11 package. Files +# that don't match anything go into the NO-X package etc. + +# Files that match here might also go into +# erlang-base-hipe.install. + +DIR=$1 + +echo "erlang-base" +find debian/erlang-stnd -type f | \ + grep -E -f debian/patterns/erlang-base.patterns | \ + cut -c 20- > debian/erlang-base.install + +echo "erlang-base-hipe" +find debian/erlang-hipe -type f | \ + grep -E -f debian/patterns/erlang-base-hipe.patterns | \ + cut -c 20- > debian/erlang-base-hipe.install + +# Here, files that matched above shouldn't +# be looked at. + +echo "erlang-examples" +find $DIR -type f | \ + grep -v -E -f debian/patterns/erlang-base.patterns | \ + grep -v -E -f debian/patterns/erlang-base-hipe.patterns | \ + grep -E -f debian/patterns/erlang-examples.patterns | \ + cut -c 20- > debian/erlang-examples.install + +echo "erlang-src" +find $DIR -type f | \ + grep -v -E -f debian/patterns/erlang-base.patterns | \ + grep -v -E -f debian/patterns/erlang-base-hipe.patterns | \ + grep -v -E -f debian/patterns/erlang-examples.patterns | \ + grep -E -f debian/patterns/erlang-src.patterns | \ + cut -c 20- > debian/erlang-src.install + +echo "erlang-dev" +find $DIR -type f | \ + grep -E -e './usr/lib/erlang/usr/include' | \ + cut -c 20- | sed -e 's!$! usr/lib/erlang/usr/include!' > debian/erlang-dev.install + +find $DIR -type f | \ + grep -v -E -f debian/patterns/erlang-base.patterns | \ + grep -v -E -f debian/patterns/erlang-base-hipe.patterns | \ + grep -v -E -f debian/patterns/erlang-examples.patterns | \ + grep -v -E -f debian/patterns/erlang-src.patterns | \ + grep -E -f debian/patterns/erlang-dev.patterns | \ + cut -c 20- >> debian/erlang-dev.install + +PACKAGES='appmon asn1 common-test corba crypto debugger dialyzer docbuilder + edoc et eunit gs ic inets inviso megaco mnesia observer odbc os-mon + parsetools percept pman public-key reltool runtime-tools snmp ssh + ssl syntax-tools test-server toolbar tools tv typer webtool wx xmerl' + +CMD='grep -v -E -e ./usr/lib/erlang/usr/include | + grep -v -E -f debian/patterns/erlang-base.patterns | + grep -v -E -f debian/patterns/erlang-base-hipe.patterns | + grep -v -E -f debian/patterns/erlang-examples.patterns | + grep -v -E -f debian/patterns/erlang-src.patterns | + grep -v -E -f debian/patterns/erlang-dev.patterns' + +CMD1=$CMD + +for pkg in $PACKAGES ; do + echo erlang-$pkg + + find $DIR -type f | eval $CMD | \ + grep -E -f debian/patterns/erlang-$pkg.patterns | \ + cut -c 20- | sort > debian/erlang-$pkg.install + + CMD1="$CMD1 | grep -v -E -f debian/patterns/erlang-$pkg.patterns" +done + +echo "FILES WHICH HAVEN'T REACHED ANY PACKAGE" +find $DIR -type f | eval $CMD1 + +echo "PACKAGES INTERSECTIONS" +for pkg1 in $PACKAGES ; do + for pkg2 in $PACKAGES ; do + if [ $pkg1 != $pkg2 ] ; then + comm -1 -2 debian/erlang-$pkg1.install debian/erlang-$pkg2.install + fi + done +done +echo "---------------------------------------" + --- erlang-13.b.1-dfsg.orig/debian/rules +++ erlang-13.b.1-dfsg/debian/rules @@ -0,0 +1,492 @@ +#!/usr/bin/make -f + +# Please don't mind too much about BUILD_DIR, +# it was originally from an experiment that I did +# not keep in the package. F-D + +#export DH_VERBOSE=1 +DEB_HOST_ARCH := $(shell dpkg-architecture -qDEB_HOST_ARCH) +DEB_HOST_GNU_TYPE := $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE) +DEB_BUILD_GNU_TYPE := $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE) +export QUILT_PATCHES := debian/patches +ROOT_DIR=$(shell pwd) +BUILD_DIR=$(ROOT_DIR) + +export HOME := $(ROOT_DIR)/debian + +-include ${BUILD_DIR}/erts/vsn.mk +-include ${BUILD_DIR}/lib/erl_interface/vsn.mk +-include ${BUILD_DIR}/lib/ic/vsn.mk +-include ${BUILD_DIR}/lib/tools/vsn.mk +-include ${BUILD_DIR}/lib/webtool/vsn.mk +SOURCE_VERSION=$(shell dpkg-parsechangelog | sed -ne's!^Version: \(.*\)-.*!\1!p') +ABI_VERSION=$(shell cat debian/control | sed -ne's!^Provides: erlang-abi-\(.*\)!\1!p' | head -1) +HIPE_ARCHES=$(shell cat debian/control | grep '^Architecture:' | egrep -v '(all|any)' | sed -e 's/^Architecture: *//') + +BUILD_HIPE := $(shell echo ' $(HIPE_ARCHES) ' | grep -c ' ${DEB_HOST_ARCH} ' | sed -es/1/yes/ -es/0/no/) +ifeq ($(BUILD_HIPE), no) +BINARY_TARGETS=binary-erlang-base +INSTALL_RULE=install-stnd-stamp +TMPINSTALL_DIR=debian/erlang-stnd +ERLANGBASE=erlang-base=erlang-base (= $${binary:Version}) +else +BINARY_TARGETS=binary-erlang-base binary-erlang-base-hipe +INSTALL_RULE=install-stnd-stamp install-hipe-stamp +TMPINSTALL_DIR=debian/erlang-hipe +ERLANGBASE=erlang-base=erlang-base (= $${binary:Version}) | erlang-base-hipe (= $${binary:Version}) +endif + +USE_KERNEL_POLL := $(shell echo ${DEB_HOST_ARCH} | egrep -c "hurd" | sed -es/1/no/ -es/0/yes/) +ifeq ($(USE_KERNEL_POLL), no) +KERNEL_POLL_OPT=--disable-kernel-poll +else +KERNEL_POLL_OPT=--enable-kernel-poll +endif + +USE_CLOCK_GETTIME := $(shell echo ${DEB_HOST_ARCH} | egrep -c "bsd|hurd" | sed -es/1/no/ -es/0/yes/) +ifeq ($(USE_CLOCK_GETTIME), no) +CLOCK_GETTIME_OPT= +else +CLOCK_GETTIME_OPT=--enable-clock-gettime +endif + +LIBSCTP=libsctp1 + +CFLAGS=-g -O2 -fno-strict-aliasing +GEN_OPT_FLGS=-O2 -fno-strict-aliasing + +unpatch: patch-stamp + dh_testdir + quilt pop -a || test $$? = 2 + rm -rf .pc + rm -f patch-stamp + +patch: patch-stamp +patch-stamp: + dh_testdir + quilt push -a || test $$? = 2 + touch patch-stamp + +clean: clean-patched unpatch + dh_testdir + dh_testroot + dh_clean + +clean-patched: patch-stamp + dh_testdir + dh_testroot + + (cd ${BUILD_DIR} && [ ! -f Makefile ] || ${MAKE} clean) + rm -f lib/dialyzer/SKIP + + # Remove installed erlang from debian/ + rm -rf debian/erlang-stnd + rm -rf debian/erlang-hipe + + # Restore replaced configure, config.guess, and config.sub files + for i in `find ${BUILD_DIR} -name 'configure.backup'` ; do \ + mv $$i $${i%%.backup} ; \ + done + for i in `find ${BUILD_DIR} -name 'config.guess~'` ; do \ + mv $$i $${i%%\~} ; \ + done + for i in `find ${BUILD_DIR} -name 'config.sub~'` ; do \ + mv $$i $${i%%\~} ; \ + done + + # Remove files, which were generated from templates + for i in debian/*.in ; do \ + rm -f $${i%%.in} ; \ + done + + # *.install were also generated on-the-fly + rm -f debian/*.install + + rm -f debian/AUTHORS debian/erlang-depends.1 + + # Don't remove patch-stamp + rm -f [^p]*-stamp + +automake: automake-stamp +automake-stamp: patch-stamp + dh_testdir + + # Return error if there are known nonfree docs in upstream tarball + # Return error if there are prebuilt binaries in upstream tarball + err=0 ; \ + for fn in `find lib/*/doc -name standard -or -name archive` ; do \ + err=1 ; \ + echo Found directory $$fn with non-free docs in upstream. Please remove it. ; \ + done ; \ + if [ -f prebuilt.files ] ; then \ + err=1 ; \ + echo Found prebuilt binaries in upstream. Please remove them. ; \ + fi ; \ + if [ $$err = 1 ] ; then \ + echo ; \ + echo Use get-orig-source target to get upstream tarball. ; \ + echo ; \ + false ; \ + fi + + # Preserve configure scripts + for i in `find ${BUILD_DIR} -not \( -wholename '*/.pc' -prune \) \ + -a -name 'configure'` ; do \ + cp -f $$i $$i.backup ; \ + done + + # Replace config.guess and config.sub by installed in /usr/share/misc. + # Also add suffix -gnu to ibm-linux in config.guess to fix FTBFS + # on s390 architecture + for i in `find ${BUILD_DIR} -not \( -wholename '*/.pc' -prune \) \ + -a -name 'config.guess'` ; do \ + cp -fb /usr/share/misc/config.guess $$i ; \ + sed -i 's/-ibm-linux$$/-ibm-linux-gnu/g' $$i ; \ + done + for i in `find ${BUILD_DIR} -not \( -wholename '*/.pc' -prune \) \ + -a -name 'config.sub'` ; do \ + cp -fb /usr/share/misc/config.sub $$i ; \ + done + + # Regenerate configure scripts using autoconf + for i in `find ${BUILD_DIR} -not \( -wholename '*/.pc' -prune \) \ + -a -name 'configure.in' -printf "%h\n"`; do \ + echo "autoconf'ing $${i}"; \ + (cd $${i} && autoconf) \ + done + touch automake-stamp + +configure-hipe: configure-hipe-stamp +configure-hipe-stamp: automake-stamp + dh_testdir + + echo "BUILDING HIPE VERSION (BUILD_HIPE: $(BUILD_HIPE))" + + [ ! -f Makefile ] || ${MAKE} clean + rm -f lib/dialyzer/SKIP + + (cd ${BUILD_DIR} && \ + CFLAGS="$(CFLAGS)" \ + ./configure --host=$(DEB_HOST_GNU_TYPE) \ + --build=$(DEB_BUILD_GNU_TYPE) \ + --prefix=/usr \ + --libexecdir=/usr/bin \ + --infodir=/usr/share/info \ + --mandir=/usr/share/man \ + --enable-smp-support \ + --enable-hybrid-heap \ + --enable-threads \ + --enable-hipe \ + $(KERNEL_POLL_OPT) \ + --enable-sctp \ + $(CLOCK_GETTIME_OPT) \ + --enable-dynamic-ssl-lib \ + --without-ssl-zlib) + + touch configure-hipe-stamp + +configure-stnd: configure-stnd-stamp +configure-stnd-stamp: automake-stamp + dh_testdir + + echo "BUILDING STANDARD VERSION (BUILD_HIPE: $(BUILD_HIPE))" + + [ ! -f Makefile ] || ${MAKE} clean + rm -f lib/dialyzer/SKIP + + (cd ${BUILD_DIR} && \ + CFLAGS="$(CFLAGS)" \ + ./configure --host=$(DEB_HOST_GNU_TYPE) \ + --build=$(DEB_BUILD_GNU_TYPE) \ + --prefix=/usr \ + --libexecdir=/usr/bin \ + --infodir=/usr/share/info \ + --mandir=/usr/share/man \ + --enable-smp-support \ + --enable-hybrid-heap \ + --enable-threads \ + --disable-hipe \ + $(KERNEL_POLL_OPT) \ + --enable-sctp \ + $(CLOCK_GETTIME_OPT) \ + --enable-dynamic-ssl-lib \ + --without-ssl-zlib) + + touch configure-stnd-stamp + +define do-install + echo "*** do-install called for $(INSTALL_DIR)." + +# Calls make install. + (cd $(BUILD_DIR) && \ + ${MAKE} INSTALL_PREFIX=$(INSTALL_DIR) install) + +# Replace ROOTDIR in "erl" and "start" scripts for real rootdir +# If there's no erl or start then it's better to fail than silently continue + for dir in $(INSTALL_DIR)/usr/lib/erlang/erts-$(VSN)/bin \ + $(INSTALL_DIR)/usr/lib/erlang/bin; do \ + for val in erl start; do \ + sed -i 's!ROOTDIR=.*!ROOTDIR=/usr/lib/erlang!' $${dir}/$${val}; \ + done; \ + done + +# Correct ERL_ROOT in RELEASES file + sed 's!%ERL_ROOT%!/usr/lib/erlang!' \ + $(INSTALL_DIR)/usr/lib/erlang/releases/RELEASES.src \ + >$(INSTALL_DIR)/usr/lib/erlang/releases/RELEASES + +# Get rid of windows cruft + -find $(INSTALL_DIR) -name *.bat -exec rm {} \; + +# Fix permissions + -cp $(INSTALL_DIR)/usr/lib/erlang/erts-$(VSN)/bin/start_erl.src \ + $(INSTALL_DIR)/usr/lib/erlang/erts-$(VSN)/bin/start_erl + -chmod 755 $(INSTALL_DIR)/usr/lib/erlang/erts-$(VSN)/bin/start_erl + -chmod 755 $(INSTALL_DIR)/usr/lib/erlang/erts-$(VSN)/bin/*.src + -chmod 644 $(INSTALL_DIR)/usr/lib/erlang/bin/start.script + -chmod 644 $(INSTALL_DIR)/usr/lib/erlang/lib/wx-*/examples/*/*.beam + -chmod 644 $(INSTALL_DIR)/usr/lib/erlang/lib/wx-*/examples/*/*.xpm + +# Remove useless ssl and crypto object files + -rm -rf $(INSTALL_DIR)/usr/lib/erlang/lib/crypto-*/priv/obj + -rm -rf $(INSTALL_DIR)/usr/lib/erlang/lib/ssl-*/priv/obj + +# Remove some files which should be rather in erlang-doc-html package + -find $(INSTALL_DIR)/usr/lib/erlang/lib -name info -exec rm {} \; + -rm -rf $(INSTALL_DIR)/usr/lib/erlang/erts-$(VSN)/doc + +# Remove useless Install and manpage formatting scripts + -rm -f $(INSTALL_DIR)/usr/lib/erlang/Install + -rm -rf $(INSTALL_DIR)/usr/lib/erlang/misc + +# Remove dialyzer_init_plt from sources directory + -rm -f $(INSTALL_DIR)/usr/lib/erlang/lib/dialyzer-*/src/dialyzer_init_plt + +# Fix run_test script in common_test application + (cd $(INSTALL_DIR)/usr/lib/erlang/lib/common_test-* && \ + ./install.sh $(INSTALL_DIR)/usr/lib/erlang/lib && \ + sed -i -e 's:$(INSTALL_DIR)::g' priv/bin/run_test && \ + rm install.sh priv/run_test.in) +endef + +# CC_R_FLAG and LD_R_FLAG are empty because Debian doesn't recommend +# RPATH definition in binaries +# CC_R_OPT is used in percept +build-hipe: build-hipe-stamp +build-hipe-stamp: configure-hipe-stamp + dh_testdir + (cd ${BUILD_DIR} && ${MAKE} GEN_OPT_FLGS="$(GEN_OPT_FLGS)" CC_R_FLAG= LD_R_FLAG= CC_R_OPT=) + touch build-hipe-stamp + +build-stnd: build-stnd-stamp +build-stnd-stamp: configure-stnd-stamp + dh_testdir + (cd ${BUILD_DIR} && ${MAKE} GEN_OPT_FLGS="$(GEN_OPT_FLGS)" CC_R_FLAG= LD_R_FLAG= CC_R_OPT=) + touch build-stnd-stamp + +install-hipe: install-hipe-stamp +install-hipe-stamp: INSTALL_DIR=$(shell pwd)/debian/erlang-hipe +install-hipe-stamp: build-hipe-stamp + dh_testdir + $(do-install) + touch install-hipe-stamp + +install-stnd: install-stnd-stamp +install-stnd-stamp: INSTALL_DIR=$(shell pwd)/debian/erlang-stnd +install-stnd-stamp: build-stnd-stamp + dh_testdir + $(do-install) + touch install-stnd-stamp + +# Very accurately place each installed file into the proper package +# See this script and the debian/patterns/*.patterns files for more informations. +build-arch: build-stamp +build-indep: build-stamp +build: build-stamp +build-stamp: $(INSTALL_RULE) + dh_testdir + # + sh debian/analyse.sh $(TMPINSTALL_DIR) + for i in debian/*.in ; do \ + sed -e's/@VERSION@/$(VSN)/g' \ + -e's/@SOURCE_VERSION@/$(SOURCE_VERSION)/g' \ + -e's/@HIPE_ARCHES@/$(HIPE_ARCHES)/g' \ + -e's/@ABI_VERSION@/$(ABI_VERSION)/g' \ + -e's/@EI_VSN@/$(EI_VSN)/g' \ + -e's/@IC_VSN@/$(IC_VSN)/g' \ + -e's/@WEBTOOL_VSN@/$(WEBTOOL_VSN)/g' \ + -e's/@TOOLS_VSN@/$(TOOLS_VSN)/g' <$$i >$${i%%.in} ; \ + done + pod2man -c 'Erlang packages for Debian GNU/Linux' \ + debian/erlang-depends >debian/erlang-depends.1 + # + # Add all author lists to debian/AUTHORS + f=1 ; \ + for i in `find $(BUILD_DIR) -name AUTHORS | sort` ; do \ + echo $$i ; \ + if [ $$f = 1 ] ; then \ + f=0 ; \ + else \ + echo >>debian/AUTHORS ; \ + echo "------------------------------------------------------------------------" >>debian/AUTHORS ; \ + dirname=`dirname $$i` ; \ + echo `basename $$dirname` >>debian/AUTHORS ; \ + echo >>debian/AUTHORS ; \ + fi ; \ + cat $$i >>debian/AUTHORS ; \ + done + # + touch build-stamp + +binary-indep: build-stamp + dh_testdir + dh_testroot + dh_installdirs -i + dh_install -i --sourcedir=$(TMPINSTALL_DIR) + # + for pkg in examples ; do \ + install -D -m 644 debian/lintian/erlang-$$pkg.lintian-override \ + $(ROOT_DIR)/debian/erlang-$$pkg/usr/share/lintian/overrides/erlang-$$pkg ; \ + done + # + dh_installdocs -i -A debian/README.Debian debian/TODO.Debian debian/AUTHORS + dh_installemacsen -i + dh_installexamples -i + dh_installchangelogs -i + dh_installman -i + dh_installmenu -i + dh_link -i + dh_strip -i + dh_compress -i + dh_fixperms -i + dh_makeshlibs -i + dh_installdeb -i + echo 'erlang-base=erlang-base | erlang-base-hipe' >>debian/erlang.substvars + #echo 'erlang-base=erlang-base | erlang-base-hipe' >>debian/erlang-nox.substvars + #echo 'erlang-base=erlang-base | erlang-base-hipe' >>debian/erlang-x11.substvars + echo 'erlang-base=erlang-base (>= $${binary:Version}) | erlang-base-hipe (>= $${binary:Version}), erlang-base (<< $${binary:Version}.0) | erlang-base-hipe (<< $${binary:Version}.0)' \ + >>debian/erlang-src.substvars + echo 'erlang-base=erlang-base (>= $${binary:Version}) | erlang-base-hipe (>= $${binary:Version}), erlang-base (<< $${binary:Version}.0) | erlang-base-hipe (<< $${binary:Version}.0)' \ + >>debian/erlang-examples.substvars + dh_shlibdeps -i + dh_gencontrol -i + dh_md5sums -i + dh_builddeb -i + +binary-arch: $(BINARY_TARGETS) + +binary-erlang-base: build-stamp + dh_testdir + dh_testroot + dh_installdirs -a -Nerlang-base-hipe + dh_install -perlang-base --sourcedir=debian/erlang-stnd + dh_install -a -Nerlang-base -Nerlang-base-hipe --sourcedir=$(TMPINSTALL_DIR) + # + install -D -m 755 $(ROOT_DIR)/debian/erlang-depends \ + $(ROOT_DIR)/debian/erlang-dev/usr/bin/erlang-depends + install -D -m 644 $(ROOT_DIR)/debian/erlang.xpm \ + $(ROOT_DIR)/debian/erlang-base/usr/share/pixmaps/erlang.xpm + install -D -m 644 $(ROOT_DIR)/debian/erlang-base.desktop \ + $(ROOT_DIR)/debian/erlang-base/usr/share/apps/konsole/erlang.desktop + # + for pkg in base appmon debugger docbuilder edoc gs observer percept pman tv ; do \ + install -D -m 644 debian/lintian/erlang-$$pkg.lintian-override \ + $(ROOT_DIR)/debian/erlang-$$pkg/usr/share/lintian/overrides/erlang-$$pkg ; \ + done + # + dh_installdocs -a -Nerlang-base-hipe -A debian/README.Debian debian/TODO.Debian debian/AUTHORS + dh_installchangelogs -a -Nerlang-base-hipe + dh_installemacsen -a -Nerlang-base-hipe + dh_installexamples -a -Nerlang-base-hipe + dh_installman -a -Nerlang-base-hipe + dh_installmenu -a -Nerlang-base-hipe + dh_link -a -Nerlang-base-hipe + dh_strip -a -Nerlang-base-hipe + dh_compress -a -Nerlang-base-hipe + dh_fixperms -a -Nerlang-base-hipe + dh_makeshlibs -a -Nerlang-base-hipe + dh_installdeb -a -Nerlang-base-hipe +ifneq ($(DEB_HOST_ARCH), hurd-i386) + echo 'procps:Depends=procps' >>debian/erlang-base.substvars +endif + echo 'erlang-base=erlang-base | erlang-base-hipe' >>debian/erlang-nox.substvars + echo 'erlang-base=erlang-base | erlang-base-hipe' >>debian/erlang-x11.substvars + for pkg in \ + dev appmon asn1 common-test corba crypto debugger dialyzer \ + docbuilder edoc et eunit gs ic inets inviso megaco \ + mnesia observer odbc os-mon parsetools percept pman public-key \ + reltool runtime-tools snmp ssh ssl syntax-tools test-server toolbar \ + tools tv typer webtool wx xmerl ; do \ + echo '$(ERLANGBASE)' >>debian/erlang-$$pkg.substvars ; \ + done + dh_shlibdeps -a -Nerlang-base-hipe + grep-status -s Version -PX $(LIBSCTP) | \ + sed -e's!^Version: \(.*\)-[^-]*!libsctp:Version=$(LIBSCTP) (>= \1)!' \ + >> debian/erlang-base.substvars + dh_gencontrol -a -Nerlang-base-hipe + dh_md5sums -a -Nerlang-base-hipe + dh_builddeb -a -Nerlang-base-hipe + +binary-erlang-base-hipe: build-stamp + dh_testdir + dh_testroot + dh_installdirs -perlang-base-hipe + dh_install -perlang-base-hipe --sourcedir=debian/erlang-hipe + install -D -m 644 $(ROOT_DIR)/debian/erlang.xpm \ + $(ROOT_DIR)/debian/erlang-base-hipe/usr/share/pixmaps/erlang.xpm + install -D -m 644 $(ROOT_DIR)/debian/erlang-base-hipe.desktop \ + $(ROOT_DIR)/debian/erlang-base-hipe/usr/share/apps/konsole/erlang.desktop + # + for pkg in base-hipe ; do \ + install -D -m 644 debian/lintian/erlang-$$pkg.lintian-override \ + $(ROOT_DIR)/debian/erlang-$$pkg/usr/share/lintian/overrides/erlang-$$pkg ; \ + done + # + dh_installdocs -perlang-base-hipe debian/README.Debian debian/TODO.Debian debian/AUTHORS + dh_installchangelogs -perlang-base-hipe + dh_installemacsen -perlang-base-hipe + dh_installexamples -perlang-base-hipe + dh_installman -perlang-base-hipe + dh_installmenu -perlang-base-hipe + dh_link -perlang-base-hipe + dh_strip -perlang-base-hipe + dh_compress -perlang-base-hipe + dh_fixperms -perlang-base-hipe + dh_makeshlibs -perlang-base-hipe + dh_installdeb -perlang-base-hipe +ifneq ($(DEB_HOST_ARCH), hurd-i386) + echo 'procps:Depends=procps' >>debian/erlang-base-hipe.substvars +endif + dh_shlibdeps -perlang-base-hipe + grep-status -s Version -PX $(LIBSCTP) | \ + sed -e's!^Version: \(.*\)-[^-]*!libsctp:Version=$(LIBSCTP) (>= \1)!' \ + >> debian/erlang-base-hipe.substvars + dh_gencontrol -perlang-base-hipe + dh_md5sums -perlang-base-hipe + dh_builddeb -perlang-base-hipe + +source diff: + @echo >&2 'source and diff are obsolete - use dpkg-source -b'; false + +binary: binary-indep binary-arch + +REL=R13B01 +DEB_REL=13.b.1-dfsg + +get-orig-source: + CURDIR=`pwd` && TMPDIR=`mktemp -d /tmp/erlang.XXXXXX` && \ + cd $$TMPDIR && \ + wget -O - http://www.erlang.org/download/otp_src_$(REL).tar.gz | tar -zx && \ + (cd otp_src_$(REL) && \ + ./otp_build save_bootstrap && \ + for f in `cat prebuilt.files` ; do rm -f $$f ; done) && \ + rm -rvf otp_src_$(REL)/lib/*/doc/standard/ && \ + rm -rvf otp_src_$(REL)/lib/*/doc/archive/ && \ + tar -zcf $$CURDIR/erlang_$(DEB_REL).orig.tar.gz otp_src_$(REL) && \ + rm -rf $$TMPDIR + +.PHONY: patch unpatch clean-patched clean automake install build build-arch build-indep +.PHONY: binary binary-arch binary-indep get-orig-source +.PHONY: configure-stnd build-stnd install-stnd +.PHONY: configure-hipe build-hipe install-hipe +.PHONY: binary-erlang-base binary-erlang-base-hipe --- erlang-13.b.1-dfsg.orig/debian/erlang-base.links.in +++ erlang-13.b.1-dfsg/debian/erlang-base.links.in @@ -0,0 +1,8 @@ +usr/lib/erlang/bin/erl usr/bin/erl +usr/lib/erlang/bin/erlc usr/bin/erlc +usr/lib/erlang/bin/escript usr/bin/escript +usr/lib/erlang/bin/run_erl usr/bin/run_erl +usr/lib/erlang/bin/start usr/bin/start_embedded +usr/lib/erlang/erts-@VERSION@/bin/epmd usr/lib/erlang/bin/epmd +usr/lib/erlang/bin/epmd usr/bin/epmd +usr/lib/erlang/lib/erl_interface-@EI_VSN@/bin/erl_call usr/bin/erl_call --- erlang-13.b.1-dfsg.orig/debian/erlang-mode.links +++ erlang-13.b.1-dfsg/debian/erlang-mode.links @@ -0,0 +1 @@ +usr/share/man /usr/lib/erlang/man --- erlang-13.b.1-dfsg.orig/debian/erlang-base-hipe.manpages +++ erlang-13.b.1-dfsg/debian/erlang-base-hipe.manpages @@ -0,0 +1,7 @@ +debian/manpages/epmd.1 +debian/manpages/erl_call.1 +debian/manpages/erlc.1 +debian/manpages/erl.1 +debian/manpages/escript.1 +debian/manpages/run_erl.1 +debian/manpages/start_embedded.1 --- erlang-13.b.1-dfsg.orig/debian/erlang-dev.manpages +++ erlang-13.b.1-dfsg/debian/erlang-dev.manpages @@ -0,0 +1 @@ +debian/erlang-depends.1 --- erlang-13.b.1-dfsg.orig/debian/erlang-base-hipe.postinst +++ erlang-13.b.1-dfsg/debian/erlang-base-hipe.postinst @@ -0,0 +1,93 @@ +#! /bin/sh +# postinst script for erlang-base-hipe +# +# see: dh_installdeb(1) + +set -e + +# summary of how this script can be called: +# * configure +# * abort-upgrade +# * abort-remove in-favour +# * abort-remove +# * abort-deconfigure in-favour \ +# removing +# for details, see /usr/doc/packaging-manual/ +# +# quoting from the policy: +# Any necessary prompting should almost always be confined to the +# post-installation script, and should be protected with a conditional +# so that unnecessary prompting doesn't happen if a package's +# installation fails and the is called with abort-upgrade, +# abort-remove or abort-deconfigure. + +case "$1" in + abort-upgrade|abort-remove|abort-deconfigure) + ;; + + configure) + if [ -z "$2" ] || dpkg --compare-versions "$2" ge-nl "1:10.b.10-3" ; then + echo -n "Searching for services which depend on erlang and should be started..." + # find all init scripts and packages they belong + inits=$(dpkg -S '/etc/init.d/*' 2>/dev/null | sed -e's:/etc/init.d/::') + # filter the list of the packages + packs=$(echo $inits | sed -e's/:[[:space:]]\+[^[:space:]]*//g' | sed -e's/ /\n/g' | sort -u) + # find packages, which depend on erlang + packs=$(dpkg -s $packs 2>/dev/null | egrep '^Package:|^Status:|^Depends' | awk '{if ($1 ~ /^Package:/) {package=$2;inst=0} else if ($0 ~ /^Status:.* installed$/) {inst=1} else if ((inst==1) && ($0 ~ /^Depends:.* erlang/)) {print package}}') + # construct services list from the packages + services="" + for p in $packs ; do + service=$(echo $inits | sed -e's/\([^:]\) /\1\n/g' | awk "/^$p:/ {print \$2}") + services="$services $service" + done + services=$(echo $services | tr '\n' ' ' | sed -e's/\(^[[:space:]]*\|[[:space:]]*$\)//g') + + if [ -z "$services" ] ; then + echo "none found." + else + echo "found: $services." + echo "Starting services which depend on erlang" + rl=$(runlevel | awk '{print $2}') + failed="" + for service in $services ; do + if [ -f /usr/share/file-rc/rc -o -f /usr/lib/file-rc/rc ] && [ -f /etc/runlevel.conf ] ; then + idl=$(filerc $rl $service) + else + idl=$(ls /etc/rc${rl}.d/S??${service} 2> /dev/null | head -1) + fi + if [ -n "$idl" ] ; then + echo -n " $service: starting..." + if $idl start > /dev/null 2>&1 ; then + echo "done." + else + echo "failed. ($?)" + failed="$failed $service" + fi + fi + done + if [ -n "$failed" ] ; then + echo "The following services failed to start: $failed." + echo + echo "You will need to start them manually by running \`/etc/init.d/ start'" + echo "If the service still fails to start, you may need to file a bug on" + echo "\`erlang' package or the service involved." + else + echo "Services started successfully." + fi + fi + fi + ;; + + *) + echo "postinst called with unknown argument \`$1'" >&2 + exit 0 + ;; +esac + +# dh_installdeb will replace this with shell code automatically +# generated by other debhelper scripts. + +#DEBHELPER# + +exit 0 + --- erlang-13.b.1-dfsg.orig/debian/erlang-base.desktop +++ erlang-13.b.1-dfsg/debian/erlang-base.desktop @@ -0,0 +1,6 @@ +[Desktop Entry] +Type=KonsoleApplication +Name=Erlang +Comment=New Erlang Shell +Exec=/usr/bin/erl +Icon=/usr/share/pixmaps/erlang.xpm --- erlang-13.b.1-dfsg.orig/debian/erlang-depends.in +++ erlang-13.b.1-dfsg/debian/erlang-depends.in @@ -0,0 +1,96 @@ +#!/usr/bin/perl + +# Copyright (c) 2005 Rafael Laboissiere +# +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License along +# with this program; if not, write to the Free Software Foundation, +# Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + +=head1 NAME + +erlang-depends - calculates Erlang dependencies + +=cut + +use strict; +use warnings; +use Debian::Debhelper::Dh_Lib; + +=head1 SYNOPSIS + +B [S>] + +=head1 DESCRIPTION + +erlang-depends is a debhelper-like program that is responsible for generating +the ${erlang-base:Depends}, ${erlang-nox:Depends}, ${erlang-x11:Depends}, and +${erlang-dev:Depends} substitutions and adding them to substvars files. + +Also, ${erlang-abi:Depends} substitution adds current erlang ABI virtual +package to substvar files. It is useful if your package uses C-based +extensions. + +If you use this program, your package must build-depend on erlang-dev +(>= 1:11.b.2-3). If you want your package to depend on virtual package +provided by ${erlang-abi:Depends} then it must build-depend on erlang-dev +(>= 1:11.b.4-4). + + +=cut + +init (); + +# The current Erlang version +my $version = '@SOURCE_VERSION@'; +my $abi_version = '@ABI_VERSION@'; + +# The list of HiPE enabled architectures (with added 'all' architecture) +my @hipe_arches = split(/\s+/, '@HIPE_ARCHES@ all'); + +foreach my $package (@{$dh{DOPACKAGES}}) { + delsubstvar($package, "erlang-abi:Depends"); + addsubstvar($package, "erlang-abi:Depends", "erlang-abi-$abi_version"); + delsubstvar($package, "erlang-base:Depends"); + my $arch = package_arch($package); + if (grep(/^$arch$/, @hipe_arches)) { + addsubstvar($package, "erlang-base:Depends", + "erlang-base (>= $version) | erlang-base-hipe (>= $version)"); + } else { + addsubstvar($package, "erlang-base:Depends", "erlang-base (>= $version)"); + } + foreach my $pkg ("appmon", "asn1", "common-test", "corba", "crypto", "debugger", + "dialyzer", "docbuilder", "edoc", "et", "eunit", "gs", "ic", + "inets", "inviso", "megaco", "mnesia", "observer", "odbc", + "os-mon", "parsetools", "percept", "pman", "public-key", + "reltool", "runtime-tools", "snmp", "ssh", "ssl", + "syntax-tools", "test-server", "toolbar", "tools", "tv", + "typer", "webtool", "wx", "xmerl", "nox", "x11", "dev") { + delsubstvar($package, "erlang-$pkg:Depends"); + addsubstvar($package, "erlang-$pkg:Depends", "erlang-$pkg (>= $version)"); + } +} + +=head1 SEE ALSO + +L + +This program is not part of debhelper. + +=head1 AUTHOR + +Torsten Werner + +Most ideas borrowed from octave-depends by Rafael Laboissiere +. + +=cut --- erlang-13.b.1-dfsg.orig/debian/erlang-mode.emacsen-remove +++ erlang-13.b.1-dfsg/debian/erlang-mode.emacsen-remove @@ -0,0 +1,15 @@ +#!/bin/sh -e +# /usr/lib/emacsen-common/packages/remove/#PACKAGE# + +FLAVOR=$1 +PACKAGE=erlang + +if [ ${FLAVOR} != emacs ]; then + if test -x /usr/sbin/install-info-altdir; then + echo remove/${PACKAGE}: removing Info links for ${FLAVOR} + install-info-altdir --quiet --remove --dirname=${FLAVOR} /usr/info/#PACKAGE#.info.gz + fi + + echo remove/${PACKAGE}: purging byte-compiled files for ${FLAVOR} + rm -rf /usr/share/${FLAVOR}/site-lisp/${PACKAGE} +fi --- erlang-13.b.1-dfsg.orig/debian/TODO.Debian +++ erlang-13.b.1-dfsg/debian/TODO.Debian @@ -0,0 +1,8 @@ +Things we hope in the next versions of this package: + +* Build and package erl_jinterface. JInterface is not built +in the main package since it doesn't not depend on Java. + +* Add kernel-poll support and HiPE to kfreebsd-i386 and kfreebsd-amd64 +architecture (It seems to be possible). + --- erlang-13.b.1-dfsg.orig/debian/erlang-webtool.links.in +++ erlang-13.b.1-dfsg/debian/erlang-webtool.links.in @@ -0,0 +1 @@ +usr/lib/erlang/lib/webtool-@WEBTOOL_VSN@/priv/bin/start_webtool usr/bin/start_webtool --- erlang-13.b.1-dfsg.orig/debian/erlang-mode.install.in +++ erlang-13.b.1-dfsg/debian/erlang-mode.install.in @@ -0,0 +1,2 @@ +usr/lib/erlang/lib/tools-@TOOLS_VSN@/emacs/*.el usr/share/emacs/site-lisp/erlang/ +usr/lib/erlang/lib/tools-@TOOLS_VSN@/emacs/README usr/share/doc/erlang-mode/ --- erlang-13.b.1-dfsg.orig/debian/changelog +++ erlang-13.b.1-dfsg/debian/changelog @@ -0,0 +1,1266 @@ +erlang (1:13.b.1-dfsg-2ubuntu1~8.04ppa1) hardy; urgency=low + + * Backporting to Hardy. + + -- Elliot Murphy Tue, 01 Sep 2009 17:43:07 -0400 + +erlang (1:13.b.1-dfsg-2) unstable; urgency=low + + * Updated manpages for section 1. + * Applied patch by James Henstridge, which sets ERL_COMPILE_FLAGS based on + DEB_BUILD_OPTIONS. By default slim runtime without debug info is built. + To remove slim option set DEB_BUILD_OPTION to 'nostrip', to add debug_info + compiler option set DEB_BUILD_OPTION to 'debug'. Or it may be set to + 'nostrip,debug' to return to the previous level ob debug information + (closes: #532757). + * Added a few words about building Erlang packages with debug info included + to README.Debian. + + -- Sergei Golovan Wed, 17 Jun 2009 08:49:38 +0400 + +erlang (1:13.b.1-dfsg-1) unstable; urgency=low + + * New upstream release. + * Removed unnecessary dependency of erlang-os-mon on erlang-observer and + erlang-tools and added missing dependency of erlang-nox on erlang-os-mon + (closes: #529512). + * Removed a patch to eunit application because the bug was fixed upstream. + + -- Sergei Golovan Thu, 11 Jun 2009 12:18:07 +0400 + +erlang (1:13.b-dfsg1-1) unstable; urgency=low + + * Removed another bunch of non-free RFCs from original tarball + (closes: #527053). + * Fixed build-dependencies list by adding missing comma. This requires + libsctp-dev again. Also, added libsctp1 dependency to erlang-base and + erlang-base-hipe packages because the shared library is loaded via + dlopen now and cannot be added using dh_slibdeps (closes: #526682). + * Weakened dependency of erlang-webtool on erlang-observer to recommends + to avoid circular dependencies (closes: #526627). + * Added solaris-i386 to HiPE enabled architectures. + * Made script sources in /usr/lib/erlang/erts-*/bin directory executable, + which is more convenient if a user wants to create a target Erlang system. + * Shortened extended description line for erlang-dev package to make it + fit 80x25 terminals. + + -- Sergei Golovan Thu, 07 May 2009 15:07:37 +0400 + +erlang (1:13.b-dfsg-2) unstable; urgency=low + + * Cleaned up patches: removed unneeded patch which helped to support + different SCTP library versions, made sure that changes for m68k + architecture applied only when building on this architecture. + * Removed duplicated information from binary packages descriptions. + * Don't require libsctp-dev build-dependency on solaris-i386 architecture + which allows to build Erlang on Nexenta (thanks to Tim Spriggs for + the suggestion). + + -- Sergei Golovan Fri, 01 May 2009 10:14:38 +0400 + +erlang (1:13.b-dfsg-1) experimental; urgency=low + + * New upstream release. + * Reduced number of packaged in build dependencies (removed unnecessary + freeglut3-dev). + * Added all new packages to erlang-depends script. + * Put start scripts and releases sources into erlang-src package. They + are needed when a target Erlang system is to be created. + * Temporarily changed architecture of erlang-nox and erlang-x11 packages + from all to any. Otherwise they will be broken during transition period + when the new split Erlang is uploaded but isn't built on all architectures + yet. + * Added a patch which fixes backquote syntax in Erlang mode for Emacs + (closes: #494823). Thanks to Balint Reczey. + * Added a patch by upstream to eunit application. It makes eunit compatible + with Erlang R13B. + + -- Sergei Golovan Wed, 22 Apr 2009 09:04:23 +0400 + +erlang (1:13.a-dfsg-1) experimental; urgency=low + + * New upstream beta release. + * Added packages libwxgtk2.8-dev, freeglut3-dev to build dependencies to make + wxErlang buildable. + * Split erlang-nox and erlang-x11 packages into a bunch of smaller packages + for individual Erlang/OTP applications. erlang-nox and erlang-x11 are still + exist and depend on the correspondent packages. + * Overridden lintian error 'embedded-zlib' because zlib included into Erlang + VM is patched, so using system-wide zlib will lead to unknown concequences. + * Bumped standards version to 3.8.1. + + -- Sergei Golovan Fri, 10 Apr 2009 16:32:04 +0400 + +erlang (1:12.b.5-dfsg-3) unstable; urgency=low + + * Added a patch which fixes HTTP URI decoding if {packet, http} socket + option is used. + * Added a patch which fixes backquote syntax in Erlang mode for Emacs + (closes: #494823). Thanks to Balint Reczey. + * Bumped standards version to 3.8.1. + * Put start scripts and releases sources into erlang-src package. They + are needed when a target Erlang system is to be created. + + -- Sergei Golovan Wed, 22 Apr 2009 08:54:39 +0400 + +erlang (1:12.b.5-dfsg-2) unstable; urgency=low + + * Upload to unstable after lenny is released. + + -- Sergei Golovan Sun, 15 Feb 2009 16:42:52 +0300 + +erlang (1:12.b.5-dfsg-1) experimental; urgency=low + + * New upstream release. + * Removed patch which fixed detaching from a controlling terminal because + this bug was fixed upstream. + + -- Sergei Golovan Wed, 05 Nov 2008 22:24:46 +0300 + +erlang (1:12.b.4-dfsg-1) experimental; urgency=low + + * New upstream release. + * Mangled debian version number in uscan control file debian/watch because + it contains -dfsg suffix. + + -- Sergei Golovan Sun, 07 Sep 2008 21:27:27 +0400 + +erlang (1:12.b.3-dfsg-4) unstable; urgency=low + + * Fixed erlang-depends script to add optional dependency on erlang-base-hipe + to ${erlang-base:Depends} substvar for all architecture-independent + packages. Otherwise building them on different architectures will lead to + different dependencies. + * Added Vcs-Svn and Vcs-Browser headers to debian/control. + * Removed package libgd2-xpm-dev from build dependencies which is not + necessary anymore. + * Added a patch which fixes detaching of erlang process from a controlling + terminal (closes: #463538). + + -- Sergei Golovan Sun, 20 Jul 2008 08:12:37 +0400 + +erlang (1:12.b.3-dfsg-3) unstable; urgency=low + + * Fixed patches to reenable building erlang regexp driver for common_test + application on hurd-i386 architecture. + * Refreshed patches and made their description more clear. + * Made dependencies of architecture-independent packages erlang, + erlang-examples and erlang-src the same regardless of whether they are + built on HiPE-enabled architecture or not. + + -- Sergei Golovan Mon, 14 Jul 2008 09:18:15 +0400 + +erlang (1:12.b.3-dfsg-2) unstable; urgency=low + + * Adjusted erlang-base-hipe package priority to extra as it conflicts with + erlang-base. + * Added several substitution variables in debian/control to remove + dependencies on hurd and erlang-base-hipe for architectures where these + packages don't exist. + * Changed erlang-depends script to generate dependency on erlang-base-hipe + only for architectures where HiPE is available. + * Enabled kernel poll for kfreebsd-i386 and kfreebsd-amd64 architectures. + * Explicitly specified host and build architecture to erlang configure + script. + * Typer application requires dialyzer to work, so moved it to erlang-x11 + package. + * Added a typer manpage based on typer --help output. + + -- Sergei Golovan Fri, 11 Jul 2008 22:53:54 +0400 + +erlang (1:12.b.3-dfsg-1) unstable; urgency=low + + * New upstream release. + * Removed perl from build dependencies because it is build-essential. + * Added checks for error code 2 after quilt invocation which means that all + patches are already pushed/popped. This allows to convert the source + package to 3.0 (quilt) format. + * Enabled building of erlang regexp driver for kfreebsd-* and hurd-i386 + architectures. + * Unconditionally enabled SMP and hybrid heap (which currently doesn't build + anyway) emulators in configure call. + * Reordered calls to dh_makeshlibs, dh_shlibdeps, dh_installdeb in + debian/rules. + * Removed unused lintian overrides from erlang-nox and erlang-src packages. + * Bumped standards version to 3.8.0. + * Fixed references to manpages from section 3 (replaced (3) by (3erl)). + + -- Sergei Golovan Tue, 17 Jun 2008 17:38:24 +0400 + +erlang (1:12.b.2-dfsg-3) unstable; urgency=low + + * Fixed clean target to work with debhelper 7.0 (made dh_clean the last + command, so debhelper logs are removed now). + + -- Sergei Golovan Thu, 01 May 2008 12:38:36 +0400 + +erlang (1:12.b.2-dfsg-2) unstable; urgency=low + + * Added a patch by Balint Reczey which adds missing + SCTP_ADDR_CONFIRMED event to Erlang SCTP API (closes: #475540). To use + this event erlang must be build with libsctp-dev (>= 1.0.7). + * Moved percept application from erlang-x11 to erlang-nox because it doesn't + require libgd2-xpm anymore. + + -- Sergei Golovan Tue, 15 Apr 2008 11:16:52 +0400 + +erlang (1:12.b.2-dfsg-1) unstable; urgency=low + + * New upstream release. + * Removed a patch which allowed to build Erlang with HiPE on i386 + architecture with glibc 2.7 because it is included into upstream + distribution. + * Removed patch which defined MAXHOSTNAMELEN because orber doesn't need it + anymore on hurd-i386. + * Updated manual pages. + * Cleaned LDFLAGS environment variable when configuring rx library (in + common_test application) to make it work with newer GCC. + + -- Sergei Golovan Thu, 10 Apr 2008 16:05:01 +0400 + +erlang (1:12.b.1-dfsg-5) unstable; urgency=low + + * Removed workaround for a bug in gcc-4.2 for mips and mipsel architectures. + * Removed workaround for a bug in gcc-4.2 for m68k architecture. + * Added -fno-strict-aliasing to GCC options to make casting integers to + pointers possible (it's a workaround for C99 rule violation). + Closes: #472554. + + -- Sergei Golovan Sat, 05 Apr 2008 22:46:36 +0400 + +erlang (1:12.b.1-dfsg-4) unstable; urgency=low + + * Moved README to /usr/share/doc/erlang-mode/ directory. + * Clarified titles in menu and desktop files. + * Generated run script for common_test application. + * Updated TODO. + + -- Sergei Golovan Wed, 12 Mar 2008 21:58:02 +0300 + +erlang (1:12.b.1-dfsg-3) unstable; urgency=low + + * Fixed a workaround for buildd timeout while building dialyzer PLT. + + -- Sergei Golovan Sun, 24 Feb 2008 20:03:49 +0300 + +erlang (1:12.b.1-dfsg-2) unstable; urgency=low + + * Copied Erlang Emacs mode files to /usr/share/emacs/site-lisp/erlang + instead of linking which allows to loosen erlang-mode dependencies. Now it + becomes more reliable and doesn't break in unstable until buildd compliles + erlang on the corresponding architecture. + * Moved link /usr/lib/erlang/man -> /usr/share/man from erlang-base to + erlang-mode package since it is used only to allow showing manpages by + Emacs. + + -- Sergei Golovan Sun, 17 Feb 2008 12:27:52 +0300 + +erlang (1:12.b.1-dfsg-1) unstable; urgency=low + + * New upstream release. + * Added a patch which fixes building common_test application shared library + on certain architectures (added -fPIC to gcc options, closes: #454615). + * Included stdlib.h, stdio.h and string.h headers while building common_test + application driver to fix implicit declaration warnings. + * Added explicit -lc to libraries list to fix lintian complain about static + linking. + * Reordered manpage sections in MANSECT environment variable (put 3erl to + the front) to minimize probability of getting unexpected manpage using + erl -man (closes: #458744). + * Added patch by Mikael Pettersson to fix HiPE enabled build on i386 + architecture. + * Added a workaround for a bug in gcc-4.2 which caused FTBFS on m68k. + * Added homepage header to debian/control. + * Switched to a dependency on the default tk package instead of tk8.4. + * Added a check for error condition when stopping erlang-based services on + erlang-base or erlang-base-hipe upgrades (closes: #462138). + * Bumped standards version to 3.7.3. + + -- Sergei Golovan Thu, 07 Feb 2008 00:00:10 +0300 + +erlang (1:11.b.5dfsg-12) unstable; urgency=low + + * Added a hack to prevent crashes during networking operations on m68k + architecture. + * Fixed checking for floating point exceptions on i386 architecture + (closes: #456868). + * Added extra check for existence of pgrep to make prerm script working on + hurd-i386 architecture. + + -- Sergei Golovan Tue, 01 Jan 2008 15:29:36 +0300 + +erlang (1:11.b.5dfsg-11) unstable; urgency=low + + * Undefined BSD4_4 in os_mon application port driver memsup for hurd-i386 + architecture. + * Skipped building SSL certificate examples on hurd-i386 architecture + because it has no a random translator. + + -- Sergei Golovan Fri, 07 Dec 2007 01:18:09 +0300 + +erlang (1:11.b.5dfsg-10) unstable; urgency=low + + [ Sergei Golovan ] + * Enabled IPv6 in ssl_esock (closes: #449304). + * Copied real manual pages for user commands from erlang-manpages package + (closes: #449100). + * Renamed /usr/bin/start to /usr/bin/start_embedded to prevent possible + confusion with /usr/bin/startx (closes: #449099). + * Relaxed suggested packages (removed versioned suggests) in debian/control. + * Adjusted HiPE architecture from ppc64 to ppc if 32-bit code is generated + (closes: #451505). + * Commented out native.diff in debian/patches/series because native code + requires more memory resources if the package without HiPE is used. Those + who want to enable native code may uncomment it and rebuild the package. + + -- Sergei Golovan Wed, 21 Nov 2007 16:08:08 +0300 + +erlang (1:11.b.5dfsg-9) experimental; urgency=low + + * Added a patch which allows to build Erlang with HiPE on i386 architecture + with glibc 2.7. + * Build all modules with native code on architectures where HiPE is enabled. + This increases their size more than two times but gives a significant + performance gain for CPU-intensive tasks. + + -- Sergei Golovan Sat, 27 Oct 2007 21:06:55 +0400 + +erlang (1:11.b.5dfsg-8) unstable; urgency=low + + * Added alternative dependency of erlang-base and erlang-base-hipe on hurd + to make them installable on hurd-i386 architecture. + * Forced build of beam_emu.c with -O0 optimization option on mips/mipsel + architectures to bypass a bug in GCC 4.2 (thanks to Martin Michlmayr for + this workaround). + + -- Sergei Golovan Sun, 21 Oct 2007 16:03:31 +0400 + +erlang (1:11.b.5dfsg-7) unstable; urgency=low + + * Applied patch by Mikael Magnusson which fixes building of SCTP support + with libsctp-dev 1.0.7, and enabled SCTP for linux architectures + (closes: #436258). + * Unconditionally required using clock_gettime for time correction on linux + architectures. As a result, the package will not build and work on 2.4 + kernels. + + -- Sergei Golovan Fri, 28 Sep 2007 14:29:23 +0400 + +erlang (1:11.b.5dfsg-6) unstable; urgency=low + + * Added a script which prints out dots during dialyzer persistent lookup + table creating. This prevents build timeouts in buildd on a slow machines. + * Added build-dependency on bison. + * Fixed a small error in debian/rules. + + -- Sergei Golovan Sun, 23 Sep 2007 21:13:12 +0400 + +erlang (1:11.b.5dfsg-5) unstable; urgency=low + + * Weakened dependency of erlang-x11 on tk8.4 to Recommends since this + package is useful even without X-Window system. + * Weakened dependencies of erlang on erlang-src, erlang-examples and + erlang-mode to make the package more robust in unstable during build + cycles. + * Moved several forgotten source directories to erlang-src. + * Rewritten clean target in debian/rules to ignore only missing Makefile + error. + * Made clean-patched target in debian/rules depend on patch-stamp. + * Moved erlang-nox and erlang-x11 menu items from Apps to Applications + section. + * Overridden lintian warning desktop-command-not-in-package since + /usr/bin/erl is included into a package on which erlang-nox depends. + * Fixed cleanup patch. + * Added patch which defines MAXHOSTNAMELEN. It is harmless on all linux + architectures, but fixes orber building on hurd-i386. + * Redefined HOME environment variable to fix Erlang compiler warnings in + case when HOME points to an existent inaccessible directory. + + -- Sergei Golovan Sun, 09 Sep 2007 13:09:46 +0400 + +erlang (1:11.b.5dfsg-4) unstable; urgency=low + + * Skip dialyzer during the second (HiPE enabled) build to save build time. + * Do not build erlang-base-hipe package on arm architecture since only + big-endian ARM mode is supported. As a result, patch 31arm.diff is + removed. + + -- Sergei Golovan Tue, 28 Aug 2007 12:04:34 +0400 + +erlang (1:11.b.5dfsg-3) unstable; urgency=low + + [ Sergei Golovan ] + * Added Sergei Golovan to uploaders list. + * Linked /usr/share/man to /usr/lib/erlang directory and added support for + compressed manual pages to Erlang mode. This allows to read manual pages + using Erlang mode for Emacs (closes: #436044). + * Added patch which helps to reveal certain build failures (the author is + Christian Faulhammer). + * Overridden lintian warnings about shell script skeletons in megaco + examples directory. + * Bumped debhelper compatibility level to 5. + + -- Sergei Golovan Sun, 26 Aug 2007 21:53:10 +0400 + +erlang (1:11.b.5dfsg-2) unstable; urgency=low + + [ Sergei Golovan ] + * Linked openssl libraries dynamically instead of new default static linking + which causes difficulties with security updates. + + -- Torsten Werner Thu, 02 Aug 2007 13:01:22 +0400 + +erlang (1:11.b.5dfsg-1) unstable; urgency=low + + [ Sergei Golovan ] + * Fixed using incorrect original tarball in previous version. (Also, + dfsg suffix indicates changes with respect to original distribution.) + * Added a check for prebuilt binaries and non-free docs to debian/rules. + + -- Torsten Werner Sun, 29 Jul 2007 13:58:34 +0400 + +erlang (1:11.b.5-1) unstable; urgency=low + + [ Sergei Golovan ] + * New upstream release (fixes FTBFS with glibc 2.6, closes: #434342). + * Removed patch which fixed Delete key binding in Erlang mode for emacs + since it is included into upstream distribution. + * Added build-arch and build-indep targets to debian/rules (they are + equivalent to build target since the whole build is required to create + architecture-dependent and architecture-independent packages). + + -- Torsten Werner Tue, 26 Jun 2007 17:49:41 +0400 + +erlang (1:11.b.4-4) unstable; urgency=low + + [ Sergei Golovan ] + * Made erlang-base and erlang-base-hipe provide virtual package + erlang-abi-11.b.3 (the number means the first erlang version, which + provides current ABI). Its version must be changed after any changes + in ABI made by upstream. Also added ${erlang-abi:Depends} substitution + variable to erlang-depends script. + * Added Erlang homepage to debian/control. + * Removed lintian override files for erlang-base and erlang-base-hipe + since they are no longer needed. Also, removed override for + binary-without-manpage from erlang-x11.lintian-override. + * Converted erlang-nox and erlang-x11 to architecture-any packages and + moved all relevant binaries from erlang-base to these packages. + * Made erlang-base (and erlang-base-hipe) suggest erlang-nox and erlang-x11 + instead of recommending because the default aptitude behavior is to + install recommended packages. This avoids installing X window system when + only some server application is needed (ejabberd, yaws etc.). + * Fixed binary-arch and binary-indep targets dependencies in debian/rules. + + -- Torsten Werner Sat, 16 Jun 2007 17:21:57 +0400 + +erlang (1:11.b.4-3) unstable; urgency=low + + [ Sergei Golovan ] + * Fixed cleanup after package build (closes: #424198). + * Applied patch by Mikael Magnusson, which adds IPv6 support to ssl + application (closes: #413401). + + -- Torsten Werner Fri, 18 May 2007 09:32:00 +0400 + +erlang (1:11.b.4-2) unstable; urgency=low + + [ Sergei Golovan ] + * Replaced `ps` by `pgrep` in prerm scripts to make them more clear. + * Added dependency on procps package because `pgrep` is used in prerm + scripts and procps is not an essential package (closes: #417413). + * Updated TODO.Debian. + + -- Torsten Werner Sun, 08 Apr 2007 19:21:46 +0400 + +erlang (1:11.b.4-1) experimental; urgency=low + + [ Sergei Golovan ] + * New upstream release R11B-4. + * Added stub manual page for escript. + + -- Torsten Werner Wed, 28 Mar 2007 20:15:50 +0400 + +erlang (1:11.b.3-1) experimental; urgency=low + + * New upstream release. + + [ Torsten Werner ] + * Change header of erlang-depends(1) man page. + + [ Sergei Golovan ] + * Fixed FTBFS on m68k architecture. + * Documented RSA derived code license in debian/copyright + (closes: #405360). + * Switched to quilt for patch management + * Switched to conventional source:Version, binary:Version and + source:Upstream-Version substvars (thus making porting to sarge + nontrivial). + * Added flex build-dependency (it is needed by megaco application). + * Added autoconf2.13 to Build-Conflicts because if it is present then + it is used instead of autoconf 2.50 and fails. + * Fixed clause arrows syntax highlighting in Erlang mode for Emacs + (closes: #413052). + * Fixed $' and $" patterns syntax highlighting in Erlang mode for Emacs. + + -- Torsten Werner Fri, 09 Feb 2007 20:44:55 +0300 + +erlang (1:11.b.2-4) unstable; urgency=medium + + [ Sergei Golovan ] + * Fixed erlang-base and erlang-base-hipe prerm scripts. + + -- Erlang Packagers Sun, 03 Dec 2006 17:07:44 +0300 + +erlang (1:11.b.2-3) unstable; urgency=medium + + * Introduce erlang-depends to calculate ${erlang-*:Depends} for packages + that Build-Depend on erlang. + * Setting urgency to medium because this revision does not change any + existing functionality but it is important for future backports to etch. + + -- Torsten Werner Thu, 30 Nov 2006 21:47:53 +0100 + +erlang (1:11.b.2-2) unstable; urgency=low + + [ Sergei Golovan ] + * Added IPv6 name resolution patch by Mikael Magnusson (closes: #399628) + + -- Erlang Packagers Tue, 21 Nov 2006 22:07:56 +0300 + +erlang (1:11.b.2-1) unstable; urgency=low + + [ Sergei Golovan ] + * New upstream release. + * Removed /dev/epoll support patch. Now /dev/epoll is supported + out-of-the-box. + * Optimized erlang-base and erlang-base-hipe prerm and postinst + scripts (thanks to Aaron M. Ucko, closes: #394379). + * Changed erlang-base and erlang-base-hipe prerm scripts to stop + erlang-based services on 'remove in-favour' operation and postinst + scripts to start the services on any 'configure' operation. It + makes upgrading when conflicting erlang-doc-html is installed or + replacing erlang-base by erlang-base-hipe (or vice versa) correct. + * Added stub manual pages for all utilities, which are placed to + /usr/bin/, with reference to erlang-manpages package. + * Added conflict with erlang-manpages <= 1:11.b.1-2 because of + added stub manpages. + + -- Erlang Packagers Wed, 08 Nov 2006 17:44:44 +0300 + +erlang (1:11.b.1.dfsg-1) unstable; urgency=medium + + [ Sergei Golovan ] + * Removed nonfree documentation from the upstream source and added + dfsg suffix to version number (closes: #393367). + * Removed conflicts with erlang-doc-html from all packages except + erlang-base and erlang-base-hipe. + * Removed conflicts with erlang binary packages from all packages + (made them just replace earlier versions). + * Added erlang-src, erlang-examples, and erlang-mode dependency on + erlang-base (or erlang-base-hipe). It's done only for easier + packaging. + * Moved overriding config.sub and config.guess from dpatch + to debian/rules. + * Bind Backspace key in Erlang mode for Emacs and XEmacs differently + (closes: #388851). + * Added description to all patches in debian/patches. + + [ Torsten Werner ] + * Set urgency to medium, because we are fixing a RC bug. + + -- Torsten Werner Mon, 16 Oct 2006 19:30:39 +0200 + +erlang (1:11.b.1-1) unstable; urgency=low + + [ Sergei Golovan ] + * New upstream version. + * Removed 43beam_makeopts.dpatch as it is included in upstream. + * Overridden lintian complain about missing manual page for dialyzer + (it is available from erlang-manpages package). + * Made "make clean" not removing bootstrap files. Otherwise the second + build cannot be successful. + * Changed dependencies on erlang-base and erlang-base-hipe to allow + binary-only NMUs. + + [ Torsten Werner ] + * add SVN id in README.Debian. + + -- Torsten Werner Tue, 5 Sep 2006 18:11:45 +0200 + +erlang (1:11.b.0-3) unstable; urgency=low + + [ Sergei Golovan ] + * Made odbc driver build on 64-bit architectures. + * Added debian/watch control file. + * Added link from /usr/lib/erlang/include/driver.h to /usr/include + (it seems not to conflict with other packages). + * Disabled optimization for m68k (both -O1 and -O2 do not work, + see bug #378599). + + -- Erlang Packagers Wed, 19 Jul 2006 09:03:17 +0400 + +erlang (1:11.b.0-2) experimental; urgency=low + + [ Sergei Golovan ] + * Added odbc application building (with unixodbc dependency). + + * Merged changes from erlang 1:10.b.10-3, namely: + + * Replaced ibm-linux by ibm-linux-gnu in config.guess. + * Use -O1 optimization flag for m68k (workaround for bug in GCC, but there + are still bugs in glibc, so it's unlikely to build erlang on m68k). + * Corrected erlang-dev short description. + * Corrected erlang-src.patterns (moved nonsource gs application files to + erlang-x11). + * Added prerm and postinstall scripts which stop and start erlang-dependent + services (otherwise certain services, e.g. ejabberd become irresponsible + after upgrading erlang). + * Removed gawk from Build-Depends (mawk is required package and is + sufficient), replaced perl5 by perl because perl5 is a virtual package + and can't be installed. + * Moved erlang.xpm to /usr/share/pixmaps. + * Added erlang.desktop to /usr/share/apps/konsole directory making + possible to start erlang from Konsole menu. + + -- Erlang Packagers Sat, 08 Jul 2006 09:38:26 +0400 + +erlang (1:11.b.0-1) experimental; urgency=low + + [ Sergei Golovan ] + * New upstream version. + + -- Erlang Packagers Tue, 20 Jun 2006 12:48:30 +0400 + +erlang (1:10.b.10-3) unstable; urgency=low + + [ Sergei Golovan ] + * Fixed erlang-x11.menu (Erlang Toplevel requires terminal). + * Applied patch, which fixes large list matching bug on 64-bit + architectures (see + http://www.erlang.org/ml-archive/erlang-questions/200606/msg00372.html + and http://www.erlang.org/ml-archive/erlang-questions/200606/msg00425.html). + * replaced "-include" for "include" in debian/rules to make get-orig-source + target working in any directory (see section 4.8 of Debian Policy Manual). + + -- Erlang Packagers Mon, 19 Jun 2006 23:10:52 +0400 + +erlang (1:10.b.10-2) unstable; urgency=low + + [ Sergei Golovan ] + * Fixed erlang-dev patterns (excluded private file from orber + application) + * Added patch for building erlang-base-hipe on arm architecture. + * Added libiodbc2-dev and unixodbc-dev to Build-Conflicts to prevent + accidental building of odbc application. + + -- Erlang Packagers Tue, 13 Jun 2006 14:05:39 +0400 + +erlang (1:10.b.10-1) unstable; urgency=low + + * New upstream release. + * Added patch for building Erlang on GNU/kFreeBSD (Closes: #345204). + * As a side effect Erlang can be built on GNU/Hurd now. + * Added patch for building Erlang on Sparc (Closes: #328031). + * Added erlang-dev package, containing development files (C-interface + headers and libraries, Erlang/OTP application headers). Closes: #367614. + * Added erlang-examples package, containing Erlang/OTP application + examples. + * Cleaned up debian/rules script, added the possibility to configure + Erlang without kernel poll support (useful for kFreeBSD and Hurd + architectures). + + -- Erlang Packagers Sat, 10 Jun 2006 14:33:56 +0400 + +erlang (1:10.b.9-5) unstable; urgency=low + + * Sergei Golovan noticed that on platforms supporting HiPE, erlang- + base and erlang-base-hipe and configured the same way. Fixed. + * New maintainers: Erlang Packagers + [ Sergei Golovan ] + * Removed unused files (updvsn, preservebeam, extrafiles, erlang-doc.docs, + *.install). + * Removed unnecessary patches from patches/00list. + * Made templates from erlang-base.links, erlang-mode.links, + erlang-base-hipe.links. Replaced explicit version numbers to version + templates. + * Corrected dependencies in control file (replaced erlang-base-hipe by + erlang-base because erlang-base-hipe is not always available, made all + packages conflict with erlang-manpages and erlang-doc-html with + incompatible versions). + * Cleaned up lintian override files. + * Made installing erlang with and without HIPE to debian/erlang-hipe and + debian/erlang-std respectively (making debugging easier). Rewrote install + part of the script (made it removing some src files and object files from + ssl and crypto applications). Made some cleanups in rules. + * Fixed warnings of missing final newline in several files. + * Added menu entries to erlang-nox and erlang-x11 packages (since they use + /usr/bin/erl which is not present in these packages, there are also new + entries in lintian override files). + * Added supervisor performance improvement patch + (http://support.process-one.net/browse/EJAB-19). + * Added epoll support patch + (http://developer.sipphone.com/ejabberd/erlang_epoll_patch/). + * Restored patch which makes erl -man searching manual pages in the + standard locations. + * Moved sasl and stdlib beams from erlang-nox to erlang-base-hipe and + erlang-base packages making them usable without erlang-nox. + * Closes: #367996 + * Replaced Ericcson by Ericsson in control file (Closes: #368808) + * Added conflicts of erlang-nox, erlang-x11, erlang-base, erlang-base-hipe + with erlang-src of incompatible version. + + -- Erlang Packagers Mon, 29 May 2006 00:48:11 +0400 + +erlang (1:10.b.9-4) unstable; urgency=low + + [ Francois-Denis Gonthier ] + * Disables HiPE build for hppa64 and m68k. + * Upgraded policy version. + + [ Torsten Werner ] + * disabled HiPE build an arm (not only armv4l) + * added myself to the Uploaders: field in debian/control + + -- Torsten Werner Tue, 16 May 2006 17:35:41 +0200 + +erlang (1:10.b.9-3) unstable; urgency=low + + * Closes: #366398: Same has #358410. + * Closes: #357134: NMU of Luk Claes. Most of those errors were already + fixed in the new package. Thanks. + * Closes: #358179: Removed the copy of the LGPL in the copyright file. + I've put the required shorter text. + * Disabled HiPE build for mips, arm, mipsel, s390 and sparc, in hope + that it fixe FTBS on those platforms. + * Closes: #358410. erlang-src and erlang-mode are now Architecture: + all. + * erlang-nox and erlang-x11 are now built as arch-dependant targets + since, practically, they depend on one of erlang-runtime to be + built. + * Added a link from /usr/lib/erlang/usr/include to /usr/include/erlang + to fix potential FTBS of dependencies of Erlang. + * cant install erlang package (dependencie problem) (Closes: #366398) + + -- Francois-Denis Gonthier Mon, 8 May 2006 21:06:21 -0400 + +erlang (1:10.b.9-2) unstable; urgency=low + + * Closes: #333853, moved driver_int.h and erl_driver.h to + /usr/include. + * Closes: #331817, added debconf-2.0 alternative to erlang + dependencies. + * Closes: #344118, added a missing "," in Depends in the + control file. + * Removed dependency to bash v3, which means Erlang 10.b.9-2 is + backportable to Sarge thanks to Sergei Golovan. + * 10.b.9-1 was a test version that was announced on the erlang- + questions mailing list. + * erlang-manpages: Manpages are not where erl -man looks for them + (Closes: #348333). erl -man is now using the standard manual path + and MANSECT=1:3erl:4:6. + * /usr/bin/ear is a dangling symlink (Closes: #346548) + * Removed ear, ecc, elink, escript, which are bad links produced even + by the standard erlang install (I sure should ask erlang-questions + about those). + * FTBFS: build-depends on removed xlibs-dev (Closes: #346655) + + -- Francois-Denis Gonthier Tue, 24 Jan 2006 13:07:19 -0500 + +erlang (1:10.b.9-1) unstable; urgency=low + + * New upstream version. + + -- Francois-Denis Gonthier Wed, 14 Dec 2005 11:42:47 -0500 + +erlang (1:10.b.8-2) unstable; urgency=low + + * HiPE-enabled binaries are now put in their own package. + * Source files (*.erl, *.hrl, *.c and *.h) are now put in their own + package since they are not required to use the system. + * Well, I have dpatch'ified the thing but since I now use svn- + buildpackage locally, the patches are not rather useless. + * Closes: #333853 + * Closes: #331817 + * Major rules overhaul. I've had some problems getting some targets + to run twice but I worked around them. + + -- Francois-Denis Gonthier Mon, 28 Nov 2005 14:44:55 -0500 + +erlang (1:10.b.8-1) unstable; urgency=low + + * new upstream version + * fully dpatch'ified. + * Emacs editing mode pulled from the main package and put into it's + own erlang-mode package. + * As it was suggested a few times, I've splitted the main arch- + independent package in two. There is now an erlang-nox package + which include the base applications that don't require tk8.4 to + work. The applications that depend on gs and thus on tk8.4 and now + in erlang-x11. + * The files that go in the 3 packages are now determined using regular + expressions. See analyse.sh for details. + + -- Francois-Denis Gonthier Tue, 1 Nov 2005 23:24:01 -0500 + +erlang (1:10.b.7-2) unstable; urgency=low + + * Now using autooconf2.5x + * The whole package is now dpatch'ified. + * I've simplified the aggressive cleaning done in the clean phase of + debian/rules. It doesn't mean that it was wrong, but right now I + don't fully understand the need for it. I take care of preserving + the pristine content of the bootstrap directory instead of using the + weird preservebeam script. I suspect that might be causing some + problems on some plateforms althought I don't really know why. + + -- Francois-Denis Gonthier Wed, 28 Sep 2005 00:02:28 -0400 + +erlang (1:10.b.7-1) unstable; urgency=low + + * new upstream version + * Closes: #317456 #310741 + + -- Francois-Denis Gonthier Mon, 5 Sep 2005 20:59:45 -0400 + +erlang (1:10.b.5-1) unstable; urgency=low + + * new upstream version + * Still Closes: #307725 + * A remaining rpath problem has been fixed by a change in + make/configure.in. I hope it won't break anything else. + * Moved a few binary file from erlang to erlang-base. Apparently they + were binary executable files. + * I guess it Closes: #298076 too. + + -- Francois-Denis Gonthier Sat, 14 May 2005 17:47:38 -0400 + +erlang (1:10.b.4-3) unstable; urgency=low + + * Fixes updvsn which did not detect all version change and left some + old directories behind. + * Change O3 for O2 in erts/emulator/Makefile.in (thanks Will Newton) + * Still not uploaded so: New Maintainer (Closes: #307725) + * Removed dependency on sed since it's a build essential + * Removed debian/conffiles, which is not useful. + * Manually removed SSH & ODBC apps which were empty (thanks Nicolas + Niclausse) + + -- Francois-Denis Gonthier Wed, 11 May 2005 10:58:03 -0400 + +erlang (1:10.b.4-2) unstable; urgency=low + + * New maintainer (Closes: #307725) + + -- Francois-Denis Gonthier Mon, 9 May 2005 23:17:42 -0400 + +erlang (1:10.b.4-1) unstable; urgency=low + + * new upstream version + + -- Francois-Denis Gonthier Thu, 5 May 2005 14:45:00 -0400 + +erlang (1:10.b.1a-2.2) unstable; urgency=high + + * Non-maintainer upload. + * High-urgency upload for sarge-targetted RC bugfix + * Build with --disable-hipe on everything but amd64 (not just on i386), + for compatibility with 2.4 kernels in sarge; thanks to Lars + Wirzenius for tracking this down. Closes: #276800. + + -- Steve Langasek Sat, 12 Mar 2005 01:27:58 -0800 + +erlang (1:10.b.1a-2.1) unstable; urgency=high + + * NMU + * configure --disable-hipe on i386, (Closes: #276800) + + -- Frank Lichtenheld Sat, 12 Mar 2005 14:50:16 +0100 + +erlang (1:10.b.1a-2) unstable; urgency=low + + * Rebuild with corrected pathnames to libraries (remove duplicates). + * Compiled with -fPIC to support RISC (among others). + + -- Brent A. Fulgham Wed, 24 Nov 2004 20:07:57 -0800 + +erlang (1:10.b.1a-1) unstable; urgency=low + + * New upstream release: + - Compiler optimizations. + - Runtime memory use error. + - Better support for the new try/catch syntax. + - Emulator crash with bignums corrected. + - HIPE updated to correct a bug that caused the emulator to crash. + * Added a 'conflicts' with libxmerl-erlang, since 'xmerl' is now + distributed with Erlang OTP. Perhaps we need some way to allow this + to be upgraded if xmerl has interim releases... + + -- Brent A. Fulgham Fri, 19 Nov 2004 23:36:41 -0800 + +erlang (1:10.b.0-2) unstable; urgency=low + + * Fix erlc: VSN value changed and I didn't catch it. Revised build + script to extract correct version from sources so I don't make this + mistake again. + + -- Brent A. Fulgham Sun, 10 Oct 2004 14:01:06 -0700 + +erlang (1:10.b.0-1) unstable; urgency=low + + * New upstream release. + * Numbering now matches upstream. + * Correct package description duplication. (Closes:#275595) + + -- Brent A. Fulgham Wed, 6 Oct 2004 22:07:42 -0700 + +erlang (1:9.2.2-6) unstable; urgency=low + + * Include crypto support. (Closes:#270629) + + -- Brent A. Fulgham Mon, 27 Sep 2004 21:12:45 -0700 + +erlang (1:9.2.2-5) unstable; urgency=low + + * Correct s390 build bug (autoconf/config.guess returns triplet + s390-ibm-linux, rather than the s390-ibm-linux-gnu expected by + config.sub and others. + + -- Brent A. Fulgham Thu, 2 Sep 2004 00:29:45 -0700 + +erlang (1:9.2.2-4) unstable; urgency=low + + * A few more cleanups. (Closes:#263590). + * Add lintian-override for binaries-without-manpage, since these + manpages are all provided in the erlang-manpages package. + + -- Brent A. Fulgham Sat, 28 Aug 2004 17:12:12 -0700 + +erlang (1:9.2.2-3) unstable; urgency=low + + * Build with Tcl/Tk 8.4 to be more "modern". + * Provide better cleanup. Thanks to David N. Welton for + the fix. (Closes: #263590). + + -- Brent A. Fulgham Fri, 6 Aug 2004 23:36:28 -0700 + +erlang (1:9.2.2-2) unstable; urgency=low + + * Include dependency on Tcl/Tk 8.3 to allow gs to work. + + -- Brent A. Fulgham Sat, 31 Jul 2004 18:53:58 -0700 + +erlang (1:9.2.2-1) unstable; urgency=low + + * New upstream release. + * Highlights: Some performance improvements, some bug fixes. + + -- Brent A. Fulgham Thu, 24 Jun 2004 22:49:25 -0700 + +erlang (1:9.2.1-5) unstable; urgency=low + + * Before someone files a bug: ecc conflicts with elastiC, so + change link to "erl-ecc". + + -- Brent A. Fulgham Sat, 19 Jun 2004 09:24:24 -0700 + +erlang (1:9.2.1-4) unstable; urgency=low + + * A few straggling links to ear, escript. + + -- Brent A. Fulgham Sun, 13 Jun 2004 00:55:23 -0700 + +erlang (1:9.2.1-3) unstable; urgency=low + + * Ugh! Links didn't get picked up after the migration of platform + independent files. (Closes:#253988) + + -- Brent A. Fulgham Sat, 12 Jun 2004 09:25:40 -0700 + +erlang (1:9.2.1-2) unstable; urgency=low + + * Make upgrade easier. (Closes:#253914) + * Clean up various lintian warnings. (Made icon 32x32) + + -- Brent A. Fulgham Fri, 11 Jun 2004 23:42:45 -0700 + +erlang (1:9.2.1-1) unstable; urgency=low + + * New upstream release.(Closes:#253116) + * Correct Emacs handling. (Closes:#240235). + * Never uploaded 9.2-6 -- make sure (Closes:#237653) + + -- Brent A. Fulgham Wed, 9 Jun 2004 22:57:36 -0700 + +erlang (1:9.2-6) unstable; urgency=low + + * Reconfigure a few things: Make the 'erlang' package hold the + architecture-independent files. Make the 'erlang-base' package hold + the base virtual machine (platform-dependent). + * Remove duplicates where possible. (Closes:#237653) + + -- Brent A. Fulgham Mon, 15 Mar 2004 21:10:42 -0800 + +erlang (1:9.2-5) unstable; urgency=low + + * Regenerate configure stuff in the hopes that this will help HPPA builds. + * Updated config.guess, config.sub to most recent version for autoconf2.13 + series. + + -- Brent A. Fulgham Mon, 9 Feb 2004 21:37:33 -0800 + +erlang (1:9.2-4) unstable; urgency=low + + * Add ia64 to buildable architectures (now that it builds!). + (Closes:#142642, #161266, #225226) + + -- Brent A. Fulgham Sun, 8 Feb 2004 00:33:38 -0800 + +erlang (1:9.2-3) unstable; urgency=low + + * Minor fixes to build packages. + * Incorporate Daniel Schepler's patch (Closes:#196247) + + -- Brent A. Fulgham Sat, 8 Nov 2003 21:00:56 -0800 + +erlang (1:9.2-2) unstable; urgency=low + + * Correct bad 'WWW' path. (Closes:#207375). + + -- Brent A. Fulgham Wed, 27 Aug 2003 23:41:08 -0700 + +erlang (1:9.2-1) unstable; urgency=low + + * The Erlang 9RC Release. + + -- Brent A. Fulgham Thu, 14 Aug 2003 21:25:25 -0700 + +erlang (1:9.1-3) unstable; urgency=low + + * Declare platform dependencies only on architectures supported by upstream. + The proper place for these to be fixed is in a real porting effort, not + by keeping Erlang out of stable. + (Closes:#142642), (Closes:#161266), (Closes:#179803), (Closes:#189591) + * Correct bad symlink to epmd (among others). (Closes:#196268) + + -- Brent A. Fulgham Mon, 23 Jun 2003 23:30:16 -0700 + +erlang (1:9.1-2) unstable; urgency=low + + * Incorporate Laurent Bonnaud's patch for allowing the Erlang mode to + work under XEmacs. (Closes:#179277) + + -- Brent A. Fulgham Tue, 18 Mar 2003 21:43:28 -0800 + +erlang (1:9.1-1) unstable; urgency=low + + * New upstream release. Highlights: + + Constant expressions now evaluated at compile time. + + "," and "and" guards now handled properly. + + Corrections for floating point problems. + + Some 64-bit architecture fixes. + + -- Brent A. Fulgham Fri, 14 Mar 2003 22:19:50 -0800 + +erlang (1:9.0-10) unstable; urgency=low + + * Correct settings of ERLDIR to not include quotes. This corrects a problem + that kept Yaws from building properly "out of the box." A tip 'o the + hat to Jimmie Houchin for noticing. + + -- Brent A. Fulgham Sun, 2 Mar 2003 20:33:22 -0800 + +erlang (1:9.0-9) unstable; urgency=low + + * Add conflicts to elastic-base. (Closes:Bug#179816) + + -- Brent A. Fulgham Tue, 4 Feb 2003 22:11:08 -0800 + +erlang (1:9.0-8) unstable; urgency=low + + * Remove dangling symlinks from bad earlier package. (Closes:#170528) + * Remove HIPE support for SPARC. SPARC only supports HIPE under + SOLARIS (for now), so this causes build failures. + + -- Brent A. Fulgham Sun, 2 Feb 2003 20:38:37 -0800 + +erlang (1:9.0-7) unstable; urgency=low + + * HPPA built on Paer, so I'm opening up the architecture to 'any'. + * Changed 'gawk' dependency to plain 'awk'. + + -- Brent A. Fulgham Sat, 1 Feb 2003 23:09:23 -0800 + +erlang (1:9.0-6) unstable; urgency=low + + * Erlang won't build on other architectures because of my monkeying + around with 'ecc'. Too many scripts depende on it being named + 'ecc' and located in /usr/bin/ecc. And I'm not sure how many + external Erlang programs make this assumption. Going back to + conflicting with Elastic. + + -- Brent A. Fulgham Sat, 1 Feb 2003 10:29:31 -0800 + +erlang (1:9.0-5) unstable; urgency=low + + * Fix some lintian warnings. + * Move all Java stuff into erlang-base, declare as binary-indep, and + remove build-depends on Java (since autobuilders don't need to build + these parts.) Since the java-stuff is not critical to the function + of Erlang, modify build rules to ignore failure if 'javac' does not + exist, for example. + * Incorporated translations for German, Spanish, and Japanese. + + -- Brent A. Fulgham Thu, 30 Jan 2003 21:46:22 -0800 + +erlang (1:9.0-4) unstable; urgency=low + + * More fun with 'ecc'. I stupidly copied this into my own /usr/bin, so of + course everything works just fine on my system. I figured out where this + is referenced in the erlc source and *hopefully* have this fixed so it + can coexist with the 'elastic' compiler. (Closes: #172931) + * Changed dependency to xlibs-dev (Closes: #170156) + + -- Brent A. Fulgham Sat, 14 Dec 2002 16:52:18 -0800 + +erlang (1:9.0-3) unstable; urgency=low + + * Well, it appears bad paths continue to be a problem. With some + messy sed scripts, this is now corrected. "INSTALL_PREFIX" does + not seem to be honored by the installation rules from Ericsson + (unfortunately). + + -- Brent A. Fulgham Wed, 13 Nov 2002 23:31:55 -0800 + +erlang (1:9.0-2) unstable; urgency=low + + * Correct a link to empd in the runtime. + * Provide a menu entry. + * Add a conflict with the 'elastic' compiler, which also defines + a /usr/bin/ecc. (Closes:Bug#168407) + * Use "INSTALL_PREFIX" to avoid all of those bad paths in the compiled + scripts. Surprised no one saw this! + + -- Brent A. Fulgham Sun, 10 Nov 2002 00:00:51 -0800 + +erlang (1:9.0-1) unstable; urgency=low + + * New upstream release. + + -- Brent A. Fulgham Thu, 7 Nov 2002 21:15:57 -0800 + +erlang (1:8.2-1) unstable; urgency=low + + * New maintainer. + * New upstream version. + * Correct a few lintian warnings, eject 'java' package that caused the + Debian install system to complain. + + -- Brent A. Fulgham Sat, 10 Aug 2002 23:16:47 -0700 + +erlang (49.1-10.1) stable; urgency=high + + * Non-maintainer upload by the Security Team + * Apply patch for double-free bug to included copy of zlib + + -- Matt Zimmerman Thu, 14 Feb 2002 04:38:23 +0000 + +erlang (49.1-10) frozen unstable; urgency=low + + * Incorporate bug fixes only from upstream maintainer. The bug could lead + in database deadlock in some situations. + + -- Samuel Tardieu Sun, 27 Feb 2000 15:27:34 +0100 + +erlang (49.1-9) frozen unstable; urgency=low + + * Add a tiny patch to avoid a duplicate case clause on Sparc, because the + latest /usr/include/asm/signal.h files have the same value for + SIGLOST and SIGPWR. Closes an unreported important bug (this package + could not be rebuilt on Sparc). This 4 lines patch is the only code + change in this revision. + * Add libncurses5-dev to the Build-Depends list. Closes: #58151. + * Remove c-shell from the Depends list. Closes: #58152. + + -- Samuel Tardieu Tue, 15 Feb 2000 13:58:41 +0100 + +erlang (49.1-8) frozen unstable; urgency=low + + * Apply latest upstream patches for the build process. + Closes: #57349, #57350. No new functionality has been added. + + -- Samuel Tardieu Tue, 8 Feb 2000 13:38:34 +0100 + +erlang (49.1-7) frozen unstable; urgency=low + + * Remove Alpha from list of supported targets. Obviously, this code is + 32 bits specific. Closes: #55237. + + -- Samuel Tardieu Mon, 17 Jan 2000 17:11:31 +0100 + +erlang (49.1-6) unstable; urgency=low + + * Remove the etkdir.dpatch patch as it is not necessary. + + -- Samuel Tardieu Mon, 13 Dec 1999 13:05:11 +0100 + +erlang (49.1-5) unstable; urgency=low + + * Apply patch from upstream to build Erlang libraries with proper dynamic + flags. + * Apply patch from upstream to put etk in the right directory. + + -- Samuel Tardieu Sat, 11 Dec 1999 16:59:37 +0100 + +erlang (49.1-4) unstable; urgency=low + + * Add a patch to fix multicast bug. Submitted to upstream authors. + + -- Samuel Tardieu Wed, 8 Dec 1999 18:48:31 +0100 + +erlang (49.1-3) unstable; urgency=low + + * Add Pre-Depends lines for dpkg. + * Apply unofficial patch for building ETK library. + * Change status of two patches from unofficial to official. + * Apply official patch for fixing netadm functions. + + -- Samuel Tardieu Mon, 6 Dec 1999 13:14:50 +0100 + +erlang (49.1-2) unstable; urgency=low + + * Split this file into different package, to avoid duplication of + architecture independent files. + * Remove dependency on java. Closes: #51383. + * Remove hard-coded path inherited at installation time. + + -- Samuel Tardieu Mon, 29 Nov 1999 15:42:55 +0100 + +erlang (49.1-1) unstable; urgency=low + + * New upstream release. + * New maintainer. + * New packages. + + -- Samuel Tardieu Thu, 25 Nov 1999 11:26:58 +0100 + +erlang (47.4.1-2) unstable; urgency=low + + * Closed bugs: #38119, #38265 - sparc, alpha ports and clean target. + + -- Mark Ng Mon, 21 Jun 1999 21:45:00 +1100 + +erlang (47.4.1-1) unstable; urgency=low + + * the .erl files now have their own package, giving a total of 5 packages. + * moved the .jam files and docs into their arch independant packages. + * New upsteam release. + + -- Mark Ng Sat, 8 May 1999 16:45:00 +1100 + +erlang (47.4.0-1) unstable; urgency=low + + * Initial Release. + * Split into -base and -dev packages + * Erlang sources for libraries and tools are removed from the bin dist. + + -- Mark Ng Thu, 4 Feb 1999 23:21:00 +1100 --- erlang-13.b.1-dfsg.orig/debian/erlang-typer.manpages +++ erlang-13.b.1-dfsg/debian/erlang-typer.manpages @@ -0,0 +1 @@ +debian/manpages/typer.1 --- erlang-13.b.1-dfsg.orig/debian/patches/man.patch +++ erlang-13.b.1-dfsg/debian/patches/man.patch @@ -0,0 +1,21 @@ +man.patch by Francois-Denis Gonthier + +Patch allows to use standard man path with erl -man command. +(Erlang manual pages are placed to /usr/share/man/ hierarchy +as required by Debian policy.) + +--- erlang-13.b.1-dfsg.orig/erts/etc/common/erlexec.c ++++ erlang-13.b.1-dfsg/erts/etc/common/erlexec.c +@@ -696,8 +696,10 @@ + error("-man not supported on Windows"); + #else + argv[i] = "man"; +- sprintf(tmpStr, "%s/man", rootdir); +- set_env("MANPATH", tmpStr); ++ /* ++ * Conform to erlang-manpages content. ++ */ ++ putenv(strsave("MANSECT=3erl:1:4:6")); + execvp("man", argv+i); + error("Could not execute the 'man' command."); + #endif --- erlang-13.b.1-dfsg.orig/debian/patches/ssl.patch +++ erlang-13.b.1-dfsg/debian/patches/ssl.patch @@ -0,0 +1,464 @@ +ssl.patch by Mikael Magnusson + +Patch adds support for IPv6 to the ssl application. + +--- erlang-13.b.1-dfsg.orig/erts/configure.in ++++ erlang-13.b.1-dfsg/erts/configure.in +@@ -1475,6 +1475,8 @@ + fi + fi + AC_CHECK_FUNCS([getnameinfo getipnodebyname getipnodebyaddr gethostbyname2]) ++AC_CHECK_FUNCS([inet_pton]) ++AC_CHECK_TYPES([struct sockaddr_storage],,,[#include ]) + + AC_CHECK_FUNCS([ieee_handler fpsetmask finite isnan isinf res_gethostbyname dlopen \ + pread pwrite writev memmove strerror strerror_r strncasecmp \ +--- erlang-13.b.1-dfsg.orig/erts/config.h.in ++++ erlang-13.b.1-dfsg/erts/config.h.in +@@ -241,6 +241,9 @@ + /* Define if ipv6 is present */ + #undef HAVE_IN6 + ++/* Define to 1 if you have the `inet_pton' function. */ ++#undef HAVE_INET_PTON ++ + /* Define to 1 if you have the header file. */ + #undef HAVE_INTTYPES_H + +@@ -409,6 +412,9 @@ + /* Define to 1 if `ssf_data' is member of `struct sctp_send_failed'. */ + #undef HAVE_STRUCT_SCTP_SEND_FAILED_SSF_DATA + ++/* Define to 1 if the system has the type `struct sockaddr_storage'. */ ++#undef HAVE_STRUCT_SOCKADDR_STORAGE ++ + /* Define to 1 if you have the header file. */ + #undef HAVE_SYSLOG_H + +--- erlang-13.b.1-dfsg.orig/lib/ssl/c_src/esock.c ++++ erlang-13.b.1-dfsg/lib/ssl/c_src/esock.c +@@ -132,6 +132,11 @@ + #define INADDR_NONE 0xffffffff /* Should be in . */ + #endif + ++#if defined(HAVE_STRUCT_SOCKADDR_STORAGE) && defined(HAVE_GETNAMEINFO) && \ ++ defined(HAVE_INET_PTON) ++# define USE_IPV6 ++#endif ++ + #include "esock.h" + #include "debuglog.h" + #include "esock_utils.h" +@@ -178,6 +183,15 @@ + static void dump_connections(void); + static int check_num_sock_fds(FD fd); + static void safe_close(FD fd); ++ ++#if defined(USE_IPV6) ++static FD do_connect6(char *lipstring, int lport, char *fipstring, int fport); ++static FD do_listen6(char *ipstring, int lport, int backlog, int *aport); ++static int ss_getport(const struct sockaddr *sa, socklen_t size); ++static int reply_sockaddr(int cmd, int fd, const struct sockaddr *sa, ++ socklen_t size); ++#endif ++ + static Connection *new_connection(int state, FD fd); + static Connection *get_connection(FD fd); + static void remove_connection(Connection *conn); +@@ -366,7 +380,11 @@ + char *protocol_vsn, *cipher; + unsigned char *cert, *bin; + int certlen, binlen; ++#if defined(USE_IPV6) ++ struct sockaddr_storage iserv_addr; ++#else + struct sockaddr_in iserv_addr; ++#endif + int sret = 1; + Connection *cp, *cpnext, *newcp; + Proxy *pp; +@@ -443,7 +461,12 @@ + /* Add to pending proxy connections */ + SET_NONBLOCKING(proxysock); + pp = new_proxy(proxysock); ++#if defined(USE_IPV6) ++ pp->peer_port = ++ ss_getport((struct sockaddr *)&iserv_addr, length); ++#else + pp->peer_port = ntohs(iserv_addr.sin_port); ++#endif + DEBUGF(("-----------------------------------\n")); + DEBUGF(("[PROXY_LISTEN_SOCK] conn accepted: " + "proxyfd = %d, " +@@ -498,9 +521,14 @@ + * reply = {cmd(1), fd(4), port(2), + * ipstring(N), 0(1)} + */ ++#if defined(USE_IPV6) ++ reply_sockaddr(ESOCK_GETPEERNAME_REP, fd, ++ (struct sockaddr*)&iserv_addr, length); ++#else + reply(ESOCK_GETPEERNAME_REP, "42s", fd, + ntohs(iserv_addr.sin_port), + inet_ntoa(iserv_addr.sin_addr)); ++#endif + } + break; + +@@ -524,9 +552,14 @@ + * reply = {cmd(1), fd(4), port(2), + * ipstring(N), 0(1)} + */ ++#if defined(USE_IPV6) ++ reply_sockaddr(ESOCK_GETSOCKNAME_REP, fd, ++ (struct sockaddr*)&iserv_addr, length); ++#else + reply(ESOCK_GETSOCKNAME_REP, "42s", fd, + ntohs(iserv_addr.sin_port), + inet_ntoa(iserv_addr.sin_addr)); ++#endif + } + break; + +@@ -701,8 +734,7 @@ + } + DEBUGF(("-> PASSIVE_LISTENING (fd = %d)\n", listensock)); + /* Publish listensock */ +- reply(ESOCK_LISTEN_REP, "442", intref, listensock, +- ntohs(iserv_addr.sin_port)); ++ reply(ESOCK_LISTEN_REP, "442", intref, listensock, lport); + break; + + case ESOCK_TRANSPORT_ACCEPT_CMD: +@@ -1516,6 +1548,11 @@ + struct sockaddr_in sock_addr; + long inaddr; + FD fd; ++ ++#if defined(USE_IPV6) ++ if (strchr(fipstring, ':')) ++ return do_connect6(lipstring, lport, fipstring, fport); ++#endif + + if ((fd = socket(AF_INET, SOCK_STREAM, 0)) == INVALID_FD) { + DEBUGF(("Error calling socket()\n")); +@@ -1573,9 +1610,14 @@ + static int one = 1; /* Type must be int, not long */ + struct sockaddr_in sock_addr; + long inaddr; +- int length; ++ unsigned int length; + FD fd; + ++#if defined(USE_IPV6) ++ if (strchr(ipstring, ':')) ++ return do_listen6(ipstring, lport, backlog, aport); ++#endif ++ + if ((fd = socket(AF_INET, SOCK_STREAM, 0)) == INVALID_FD) { + DEBUGF(("Error calling socket()\n")); + return fd; +@@ -1631,6 +1673,145 @@ + return fd; + } + ++#if defined(USE_IPV6) ++static FD do_connect6(char *lipstring, int lport, char *fipstring, int fport) ++{ ++ struct sockaddr_in6 sock_addr; ++ FD fd; ++ ++ if ((fd = socket(AF_INET6, SOCK_STREAM, 0)) == INVALID_FD) { ++ DEBUGF(("Error calling socket()\n")); ++ return fd; ++ } ++ if (check_num_sock_fds(fd) < 0) ++ return INVALID_FD; ++ DEBUGF((" fd = %d\n", fd)); ++ ++ memset(&sock_addr, 0, sizeof(sock_addr)); ++ /* local */ ++ if (inet_pton(AF_INET6, lipstring, &sock_addr.sin6_addr) <= 0) { ++ DEBUGF(("Error in inet_pton(): lipstring = %s\n", lipstring)); ++ safe_close(fd); ++ sock_set_errno(ERRNO_ADDRNOTAVAIL); ++ return INVALID_FD; ++ } ++ sock_addr.sin6_family = AF_INET6; ++ sock_addr.sin6_port = htons(lport); ++ if(bind(fd, (struct sockaddr*) &sock_addr, sizeof(sock_addr)) < 0) { ++ DEBUGF(("Error in bind()\n")); ++ safe_close(fd); ++ /* XXX Set error code for bind error */ ++ return INVALID_FD; ++ } ++ ++ /* foreign */ ++ memset(&sock_addr, 0, sizeof(sock_addr)); ++ if (inet_pton(AF_INET6, fipstring, &sock_addr.sin6_addr) <= 0) { ++ DEBUGF(("Error in inet_pton(): fipstring = %s\n", fipstring)); ++ safe_close(fd); ++ sock_set_errno(ERRNO_ADDRNOTAVAIL); ++ return INVALID_FD; ++ } ++ sock_addr.sin6_family = AF_INET6; ++ sock_addr.sin6_port = htons(fport); ++ ++ SET_NONBLOCKING(fd); ++ ++ if(connect(fd, (struct sockaddr*)&sock_addr, sizeof(sock_addr)) < 0) { ++ if (sock_errno() != ERRNO_PROGRESS && /* UNIX */ ++ sock_errno() != ERRNO_BLOCK) { /* WIN32 */ ++ DEBUGF(("Error in connect()\n")); ++ safe_close(fd); ++ return INVALID_FD; ++ } ++ } ++ return fd; ++} ++ ++static FD do_listen6(char *ipstring, int lport, int backlog, int *aport) ++{ ++ static int one = 1; /* Type must be int, not long */ ++ struct sockaddr_in6 sock_addr; ++ socklen_t length; ++ FD fd; ++ ++ if ((fd = socket(AF_INET6, SOCK_STREAM, 0)) == INVALID_FD) { ++ DEBUGF(("Error calling socket()\n")); ++ return fd; ++ } ++ if (check_num_sock_fds(fd) < 0) ++ return INVALID_FD; ++ DEBUGF((" fd = %d\n", fd)); ++ memset(&sock_addr, 0, sizeof(sock_addr)); ++ if (inet_pton(AF_INET6, ipstring, &sock_addr.sin6_addr) <= 0) { ++ DEBUGF(("Error in inet_pton(): ipstring = %s\n", ipstring)); ++ safe_close(fd); ++ sock_set_errno(ERRNO_ADDRNOTAVAIL); ++ return INVALID_FD; ++ } ++ sock_addr.sin6_family = AF_INET6; ++ sock_addr.sin6_port = htons(lport); ++ ++ setsockopt(fd, SOL_SOCKET, SO_REUSEADDR, (void *)&one, sizeof(one)); ++ ++ if(bind(fd, (struct sockaddr*) &sock_addr, sizeof(sock_addr)) < 0) { ++ DEBUGF(("Error in bind()\n")); ++ safe_close(fd); ++ return INVALID_FD; ++ } ++ if (listen(fd, backlog) < 0) { ++ DEBUGF(("Error in listen()\n")); ++ safe_close(fd); ++ return INVALID_FD; ++ } ++ /* find out assigned local port number */ ++ length = sizeof(sock_addr); ++ if (getsockname(fd, (struct sockaddr *)&sock_addr, &length) < 0) { ++ DEBUGF(("Error in getsockname()\n")); ++ safe_close(fd); ++ return INVALID_FD; ++ } ++ if (aport) ++ *aport = ntohs(sock_addr.sin6_port); ++ return fd; ++} ++ ++static int reply_sockaddr(int cmd, int fd, const struct sockaddr *sa, ++ socklen_t size) ++{ ++ char addr[INET6_ADDRSTRLEN+1] = ""; ++ char port[10] = ""; ++ int res; ++ ++ res = getnameinfo(sa, size, ++ addr, sizeof(addr), port, sizeof(port), ++ NI_NUMERICHOST | NI_NUMERICSERV); ++ if (res) { ++ if (res != EAI_SYSTEM) { ++ sock_set_errno(ERRNO_INVAL); ++ } ++ return reply(cmd, "4s", fd, psx_errstr()); ++ } else { ++ return reply(cmd, "42s", fd, atoi(port), addr); ++ } ++} ++ ++static int ss_getport(const struct sockaddr *sa, socklen_t size) ++{ ++ char port[10] = ""; ++ int res; ++ ++ res = getnameinfo(sa, size, ++ NULL, 0, port, sizeof(port), NI_NUMERICSERV); ++ if (res) { ++ return -1; ++ } else { ++ return atoi(port); ++ } ++} ++#endif ++ ++ + static Connection *new_connection(int state, FD fd) + { + Connection *cp; +--- erlang-13.b.1-dfsg.orig/lib/ssl/src/ssl_broker.erl ++++ erlang-13.b.1-dfsg/lib/ssl/src/ssl_broker.erl +@@ -486,7 +486,7 @@ + debug(St, "peername: client = ~w~n", [Client]), + Reply = case ssl_server:peername(St#st.fd) of + {ok, {Address, Port}} -> +- {ok, At} = inet_parse:ipv4_address(Address), ++ {ok, At} = inet_parse:address(Address), + {ok, {At, Port}}; + Error -> + Error +@@ -543,7 +543,7 @@ + debug(St, "sockname: client = ~w~n", [Client]), + Reply = case ssl_server:sockname(St#st.fd) of + {ok, {Address, Port}} -> +- {ok, At} = inet_parse:ipv4_address(Address), ++ {ok, At} = inet_parse:address(Address), + {ok, {At, Port}}; + Error -> + Error +@@ -706,7 +706,8 @@ + SSLOpts = get_ssl_opts(Opts), + FlagStr =mk_ssl_optstr(SSLOpts), + BackLog = get_backlog(LOpts), +- IP = get_ip(LOpts), ++ Family = get_family(Opts), ++ IP = get_ip(LOpts, Family), + case ssl_server:listen_prim(ServerName, IP, Port, FlagStr, BackLog) of + {ok, ListenFd, _Port0} -> + ThisSocket = #sslsocket{fd = ListenFd, pid = self()}, +@@ -729,10 +730,11 @@ + COpts = get_tcp_connect_opts(Opts), + SSLOpts = get_ssl_opts(Opts), + FlagStr = mk_ssl_optstr(SSLOpts), +- case inet:getaddr(FAddress, inet) of ++ Family = get_family(Opts), ++ case inet:getaddr(FAddress, Family) of + {ok, FIP} -> + %% Timeout is gen_server timeout - hence catch +- LIP = get_ip(COpts), ++ LIP = get_ip(COpts, Family), + LPort = get_port(COpts), + case (catch ssl_server:connect_prim(ServerName, + LIP, LPort, FIP, FPort, +@@ -1019,8 +1021,13 @@ + get_backlog(Opts) -> + get_tagged_opt(backlog, Opts, ?DEF_BACKLOG). + +-get_ip(Opts) -> +- get_tagged_opt(ip, Opts, {0, 0, 0, 0}). ++get_ip(Opts, Family) -> ++ DefaultIp = ++ case Family of ++ inet -> {0, 0, 0, 0}; ++ inet6 -> {0, 0, 0, 0, 0, 0, 0, 0} ++ end, ++ get_tagged_opt(ip, Opts, DefaultIp). + + get_port(Opts) -> + get_tagged_opt(port, Opts, 0). +@@ -1028,6 +1035,9 @@ + get_nodelay(Opts) -> + get_tagged_opt(nodelay, Opts, empty). + ++get_family(Opts) -> ++ get_tagged_opt(family, transform_opts(Opts), inet). ++ + %% + %% add_default_*_opts(Opts) -> NOpts + %% +@@ -1076,6 +1086,8 @@ + transform_opt(binary) -> [{mode, binary}]; + transform_opt(list) -> [{mode, list}]; + transform_opt({packet, raw}) -> [{packet, 0}]; ++transform_opt(inet) -> [{family, inet}]; ++transform_opt(inet6) -> [{family, inet6}]; + transform_opt(raw) -> []; + transform_opt(Opt) -> [Opt]. + +@@ -1083,10 +1095,10 @@ + %% only. + + is_connect_opt(Opt) -> +- is_tcp_connect_opt(Opt) or is_ssl_opt(Opt). ++ is_tcp_connect_opt(Opt) or is_ssl_opt(Opt) or is_family_opt(Opt). + + is_listen_opt(Opt) -> +- is_tcp_listen_opt(Opt) or is_ssl_opt(Opt). ++ is_tcp_listen_opt(Opt) or is_ssl_opt(Opt) or is_family_opt(Opt). + + is_tcp_accept_opt(Opt) -> + is_tcp_gen_opt(Opt). +@@ -1142,6 +1154,10 @@ + is_ssl_opt({cachetimeout, Timeout}) when Timeout >= 0 -> true; + is_ssl_opt(_Opt) -> false. + ++is_family_opt({family, inet}) -> true; ++is_family_opt({family, inet6}) -> true; ++is_family_opt(_Opt) -> false. ++ + %% Various types + is_string(String) when is_list(String) -> + lists:all(fun (C) when is_integer(C), 0 =< C, C =< 255 -> true; +@@ -1152,11 +1168,20 @@ + + is_ip_address(Addr) when is_tuple(Addr), size(Addr) == 4 -> + is_string(tuple_to_list(Addr)); ++is_ip_address(Addr) when is_tuple(Addr), size(Addr) == 8 -> ++ is_ip6_string(tuple_to_list(Addr)); + is_ip_address(Addr) when is_list(Addr) -> + is_string(Addr); + is_ip_address(_) -> + false. + ++is_ip6_string(String) when is_list(String) -> ++ lists:all(fun (C) when is_integer(C), 0 =< C, C =< 65535 -> true; ++ (_C) -> false end, ++ String); ++is_ip6_string(_) -> ++ false. ++ + get_tagged_opt(Tag, Opts, Default) -> + case lists:keysearch(Tag, 1, Opts) of + {value, {_, Value}} -> +--- erlang-13.b.1-dfsg.orig/lib/ssl/src/ssl_prim.erl ++++ erlang-13.b.1-dfsg/lib/ssl/src/ssl_prim.erl +@@ -128,7 +128,7 @@ + peername(St) when record(St, st), St#st.status =:= open -> + case ssl_server:peername_prim(ssl_server_prim, St#st.fd) of + {ok, {Address, Port}} -> +- {ok, At} = inet_parse:ipv4_address(Address), ++ {ok, At} = inet_parse:address(Address), + {ok, {At, Port}}; + Error -> + Error +@@ -140,7 +140,7 @@ + sockname(St) when record(St, st), St#st.status =:= open -> + case ssl_server:sockname_prim(ssl_server_prim, St#st.fd) of + {ok, {Address, Port}} -> +- {ok, At} = inet_parse:ipv4_address(Address), ++ {ok, At} = inet_parse:address(Address), + {ok, {At, Port}}; + Error -> + Error +--- erlang-13.b.1-dfsg.orig/lib/ssl/src/ssl_server.erl ++++ erlang-13.b.1-dfsg/lib/ssl/src/ssl_server.erl +@@ -1378,7 +1378,10 @@ + + ip_to_string({A,B,C,D}) -> + [integer_to_list(A),$.,integer_to_list(B),$., +- integer_to_list(C),$.,integer_to_list(D)]. ++ integer_to_list(C),$.,integer_to_list(D)]; ++ ++ip_to_string(Addr) when is_tuple(Addr), size(Addr) == 8 -> ++ inet_parse:ntoa(Addr). + + debug(St, Format, Args) -> + debug1(St#st.debug, Format, Args). --- erlang-13.b.1-dfsg.orig/debian/patches/sparc.patch +++ erlang-13.b.1-dfsg/debian/patches/sparc.patch @@ -0,0 +1,45 @@ +sparc.patch by Jurij Smakov + +(1) Defines ARCH=ultrasparc for any sparc* architecture. This allows + to build HiPE enabled package for sparc in Debian. + +(2) Fixes FTBFS(see http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=328031). + +--- erlang-13.b.1-dfsg.orig/erts/configure.in ++++ erlang-13.b.1-dfsg/erts/configure.in +@@ -473,7 +473,7 @@ + chk_arch_=`uname -m` + fi + case $chk_arch_ in +- sun4u) ARCH=ultrasparc;; ++ sun4u|sparc*) ARCH=ultrasparc;; + sparc64) ARCH=sparc64;; + sun4v) ARCH=ultrasparc;; + i86pc) ARCH=x86;; +--- erlang-13.b.1-dfsg.orig/erts/emulator/beam/beam_emu.c ++++ erlang-13.b.1-dfsg/erts/emulator/beam/beam_emu.c +@@ -976,16 +976,6 @@ + * in registers. + */ + +-#if defined(__GNUC__) && defined(sparc) && !defined(DEBUG) +-# define REG_x0 asm("%l0") +-# define REG_xregs asm("%l1") +-# define REG_htop asm("%l2") +-# define REG_stop asm("%l3") +-# define REG_I asm("%l4") +-# define REG_fcalls asm("%l5") +-# define REG_tmp_arg1 asm("%l6") +-# define REG_tmp_arg2 asm("%l7") +-#else + # define REG_x0 + # define REG_xregs + # define REG_htop +@@ -994,7 +984,6 @@ + # define REG_fcalls + # define REG_tmp_arg1 + # define REG_tmp_arg2 +-#endif + + /* + * process_main() is called twice: --- erlang-13.b.1-dfsg.orig/debian/patches/native.patch +++ erlang-13.b.1-dfsg/debian/patches/native.patch @@ -0,0 +1,18 @@ +native.patch by Sergei Golovan + +Adds native code to all Erlang binaries if HiPE is enabled. + +--- erlang-13.b-dfsg.orig/make/otp.mk.in ++++ erlang-13.b-dfsg/make/otp.mk.in +@@ -66,6 +66,11 @@ + ERL_COMPILE_FLAGS += +slim + else + ERL_COMPILE_FLAGS += +debug_info ++ ifeq ($(HIPE_ENABLED),yes) ++ ifeq ($(BUILD_ALL),true) ++ ERL_COMPILE_FLAGS += +native ++ endif ++ endif + endif + endif + endif --- erlang-13.b.1-dfsg.orig/debian/patches/series +++ erlang-13.b.1-dfsg/debian/patches/series @@ -0,0 +1,9 @@ +clean.patch +gnu.patch +sparc.patch +man.patch +emacs.patch +ssl.patch +m68k.patch +#native.patch +build-options.patch --- erlang-13.b.1-dfsg.orig/debian/patches/gnu.patch +++ erlang-13.b.1-dfsg/debian/patches/gnu.patch @@ -0,0 +1,96 @@ +gnu.patch by Aurelien Jarno and +Sergei Golovan + +(1) Defines GNU macros not only for Linux but also for any system + with 'gnu' substring in OS name. Fixes FTBFS on GNU/kFreeBSD and GNU/Hurd. + +(2) Allows to build erlang regexp driver for common_test application. + +(3) Undefines BSD4_4 for os_mon application for GNU/Hurd; + +(4) Skips building SSL certificate examples for GNU/Hurd (Debian GNU/Hurd has + no a random translator yet). +--- erlang-13.b.1-dfsg.orig/erts/configure.in ++++ erlang-13.b.1-dfsg/erts/configure.in +@@ -315,7 +315,7 @@ + + dnl NOTE: CPPFLAGS will be included in CFLAGS at the end + case $host_os in +- linux*) CPPFLAGS="$CPPFLAGS -D_GNU_SOURCE";; ++ linux*|*gnu*) CPPFLAGS="$CPPFLAGS -D_GNU_SOURCE";; + win32) + # The ethread library requires _WIN32_WINNT of at least 0x0403. + # -D_WIN32_WINNT=* from CPPFLAGS is saved in ETHR_DEFS. +@@ -926,7 +926,7 @@ + solaris*) + enable_child_waiter_thread=yes + ;; +- linux*) ++ linux*|*gnu*) + AC_DEFINE(USE_RECURSIVE_MALLOC_MUTEX,[1], + [Define if malloc should use a recursive mutex]) + AC_MSG_CHECKING([whether dlopen() needs to be called before first call to dlerror()]) +--- erlang-13.b.1-dfsg.orig/lib/common_test/Makefile ++++ erlang-13.b.1-dfsg/lib/common_test/Makefile +@@ -30,9 +30,13 @@ + ifeq ($(findstring solaris,$(TARGET)),solaris) + SUB_DIRECTORIES = doc/src src priv + else ++ifeq ($(findstring gnu,$(TARGET)),gnu) ++SUB_DIRECTORIES = doc/src src c_src priv ++else + SUB_DIRECTORIES = doc/src src priv + endif + endif ++endif + + include vsn.mk + VSN = $(COMMON_TEST_VSN) +--- erlang-13.b.1-dfsg.orig/lib/common_test/priv/Makefile.in ++++ erlang-13.b.1-dfsg/lib/common_test/priv/Makefile.in +@@ -43,9 +43,13 @@ + ifeq ($(findstring solaris,$(TARGET)),solaris) + XNIX = true + else ++ifeq ($(findstring gnu,$(TARGET)),gnu) ++XNIX = true ++else + XNIX = false + endif + endif ++endif + + ifneq ($(findstring win32,$(TARGET)),win32) + +--- erlang-13.b.1-dfsg.orig/lib/os_mon/c_src/memsup.c ++++ erlang-13.b.1-dfsg/lib/os_mon/c_src/memsup.c +@@ -110,6 +110,11 @@ + #include + #endif + ++#ifdef __GNU__ ++#warning "Undefined BSD4_4 for GNU/Hurd" ++#undef BSD4_4 ++#endif ++ + #ifdef BSD4_4 + #include + #include +--- erlang-13.b.1-dfsg.orig/lib/ssl/Makefile ++++ erlang-13.b.1-dfsg/lib/ssl/Makefile +@@ -32,8 +32,15 @@ + SKIP_BUILDING_BINARIES := true + endif + else ++ifeq ($(HOST_OS),) ++HOST_OS := $(shell $(ERL_TOP)/erts/autoconf/config.guess) ++endif ++ifeq ($(findstring gnu0.3,$(HOST_OS)),gnu0.3) ++SKIP_BUILDING_BINARIES := true ++else + SKIP_BUILDING_BINARIES := false + endif ++endif + + ifeq ($(SKIP_BUILDING_BINARIES), true) + SUB_DIRECTORIES = pkix src c_src doc/src --- erlang-13.b.1-dfsg.orig/debian/patches/emacs.patch +++ erlang-13.b.1-dfsg/debian/patches/emacs.patch @@ -0,0 +1,110 @@ +emacs.patch by Sergei Golovan + +(1) Fixes bug with clause arrow syntax highlighting +(see http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=413052). + +(2) Fixes (partially) $' and $" patterns syntax highlighting. + +(3) Adds support of compressed manual pages search. + +(4) Patch by Balint Reczey fixes backquote +syntax (see http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=494823). + +--- erlang-13.b.1-dfsg.orig/lib/tools/emacs/erlang.el ++++ erlang-13.b.1-dfsg/lib/tools/emacs/erlang.el +@@ -474,7 +474,7 @@ + Should the flag the nil, the directory is absolute, should it be non-nil + the directory is relative to the variable `erlang-root-dir'.") + +-(defvar erlang-man-max-menu-size 20 ++(defvar erlang-man-max-menu-size 35 + "*The maximum number of menu items in one menu allowed.") + + (defvar erlang-man-display-function 'erlang-man-display +@@ -1839,7 +1839,7 @@ + + (defvar erlang-font-lock-keywords-arrow + (list +- (list "\\(->\\|:-\\)\\(\\s \\|$\\)" 2 'font-lock-function-name-face)) ++ (list "\\(->\\|:-\\)\\(\\s \\|$\\)" 1 'font-lock-function-name-face)) + "Font lock keyword highlighting clause arrow.") + + (defvar erlang-font-lock-keywords-lc +@@ -2058,27 +2058,23 @@ + (or (fboundp 'eval-when-compile) + (defmacro eval-when-compile (&rest rest) nil)) + +-;; These umm...functions are new in Emacs 20. And, yes, until version +-;; 19.27 Emacs backquotes were this ugly. ++;; These umm...functions are new in Emacs 20. + + (or (fboundp 'unless) + (defmacro unless (condition &rest body) + "(unless CONDITION BODY...): If CONDITION is false, do BODY, else return nil." +- (` (if (, condition) +- nil +- (,@ body))))) ++ (cons 'if (cons condition (cons nil body))))) + + (or (fboundp 'when) + (defmacro when (condition &rest body) + "(when CONDITION BODY...): If CONDITION is true, do BODY, else return nil." +- (` (if (, condition) +- (progn (,@ body)) +- nil)))) ++ (list 'if condition (cons 'progn body) nil))) ++ + + (or (fboundp 'char-before) + (defmacro char-before (&optional pos) + "Return the character in the current buffer just before POS." +- (` (char-after (1- (or (, pos) (point))))))) ++ (list 'char-after (list '1- (list 'or pos '(point)))))) + + (eval-when-compile + (if (or (featurep 'bytecomp) +@@ -2189,7 +2185,7 @@ + (modify-syntax-entry ?\n ">" table) + (modify-syntax-entry ?\" "\"" table) + (modify-syntax-entry ?# "." table) +- (modify-syntax-entry ?$ "'" table) ++ (modify-syntax-entry ?$ "/" table) + (modify-syntax-entry ?% "<" table) + (modify-syntax-entry ?& "." table) + (modify-syntax-entry ?\' "\"" table) +@@ -2819,7 +2815,7 @@ + + (defun erlang-man-make-menu-item (file) + "Create a menu item containing the name of the man page." +- (and (string-match ".*/\\([^/]+\\)\\.[^.]$" file) ++ (and (string-match ".*/\\([^/]+\\)\\.\\([124-9]\\|3erl\\)?\\(\\.gz\\)?$" file) + (let ((page (substring file (match-beginning 1) (match-end 1)))) + (list (capitalize page) + (list 'lambda '() +@@ -2830,7 +2826,7 @@ + + (defun erlang-man-get-files (dir) + "Return files in directory DIR." +- (directory-files dir t ".*\\.[0-9]\\'")) ++ (directory-files dir t ".*\\.\\([124-9]\\|3erl\\)?\\(\\.gz\\)?\\'")) + + + (defun erlang-man-module (&optional module) +@@ -2850,7 +2846,7 @@ + (if (or (null module) (string= module "")) + (error "No Erlang module name given")) + (let ((dir-list erlang-man-dirs) +- (pat (concat "/" (regexp-quote module) "\\.[^.]$")) ++ (pat (concat "/" (regexp-quote module) "\\.\\([124-9]\\|3erl\\)?\\(\\.gz\\)?$")) + (file nil) + file-list) + (while (and dir-list (null file)) +@@ -2991,7 +2987,7 @@ + (error nil)) + (if file + (let ((process-environment (copy-sequence process-environment))) +- (if (string-match "\\(.*\\)/man[^/]*/\\([^/]+\\)\\.[^.]$" file) ++ (if (string-match "\\(.*\\)/man[^/]*/\\([^.]+\\)\\.\\([124-9]\\|3erl\\)?\\(\\.gz\\)?$" file) + (let ((dir (substring file (match-beginning 1) (match-end 1))) + (page (substring file (match-beginning 2) (match-end 2)))) + (if (fboundp 'setenv) --- erlang-13.b.1-dfsg.orig/debian/patches/build-options.patch +++ erlang-13.b.1-dfsg/debian/patches/build-options.patch @@ -0,0 +1,36 @@ +build-options.patch by James Henstridge + +Set ERL_COMPILE_FLAGS based on DEB_BUILD_OPTIONS instead of hard coding +it based on the platform. By default, we'll generate compressed stripped +BEAM files. + +--- erlang-13.b.1-dfsg.orig/make/otp.mk.in ++++ erlang-13.b.1-dfsg/make/otp.mk.in +@@ -54,19 +54,15 @@ + # Erlang language section + # ---------------------------------------------------- + EMULATOR = beam +-ifeq ($(findstring vxworks,$(TARGET)),vxworks) +-# VxWorks object files should be compressed. +-# Other object files should have debug_info. +- ERL_COMPILE_FLAGS += +compressed ++ifdef BOOTSTRAP ++ ERL_COMPILE_FLAGS += +slim + else +- ifeq ($(findstring ose_ppc750,$(TARGET)),ose_ppc750) +- ERL_COMPILE_FLAGS += +compressed +- else +- ifdef BOOTSTRAP +- ERL_COMPILE_FLAGS += +slim +- else +- ERL_COMPILE_FLAGS += +debug_info +- endif ++ ERL_COMPILE_FLAGS += +compressed ++ ifeq ($(findstring debug,$(DEB_BUILD_OPTIONS)),debug) ++ ERL_COMPILE_FLAGS += +debug_info ++ endif ++ ifneq ($(findstring nostrip,$(DEB_BUILD_OPTIONS)),nostrip) ++ ERL_COMPILE_FLAGS += +slim + endif + endif + ERLC_WFLAGS = -W --- erlang-13.b.1-dfsg.orig/debian/patches/m68k.patch +++ erlang-13.b.1-dfsg/debian/patches/m68k.patch @@ -0,0 +1,31 @@ +m68k.patch by Sergei Golovan + +This patch fixes 2 issues on m68k architecture: + +(1) FTBFS because of insufficiently aligned variable (thanks to + Aleksey Shchepin for help in debugging it). + +(2) Non-working networking besause of blind conversion of long to a pointer. + +--- erlang-13.b.1-dfsg.orig/erts/emulator/beam/binary.c ++++ erlang-13.b.1-dfsg/erts/emulator/beam/binary.c +@@ -31,6 +31,8 @@ + #include "erl_binary.h" + #include "erl_bits.h" + ++erts_atomic_t erts_allocated_binaries __attribute__ ((aligned (4))); ++ + #ifdef DEBUG + static int list_to_bitstr_buf(Eterm obj, char* buf, int len); + #else +--- erlang-13.b.1-dfsg.orig/erts/emulator/beam/erl_driver.h ++++ erlang-13.b.1-dfsg/erts/emulator/beam/erl_driver.h +@@ -516,7 +516,7 @@ + EXTERN ErlDrvTermData driver_caller(ErlDrvPort); + extern const ErlDrvTermData driver_term_nil; + EXTERN ErlDrvTermData driver_mk_term_nil(void); +-EXTERN ErlDrvPort driver_create_port(ErlDrvPort creator_port, ++EXTERN long driver_create_port(long creator_port, + ErlDrvTermData connected, /* pid */ + char* name, /* driver name */ + ErlDrvData drv_data); --- erlang-13.b.1-dfsg.orig/debian/patches/clean.patch +++ erlang-13.b.1-dfsg/debian/patches/clean.patch @@ -0,0 +1,182 @@ +clean.patch by Sergei Golovan + +Erlang leaves many files after make clean. This patch contains +a hack to remove them. + +--- erlang-13.b.1-dfsg.orig/Makefile.in ++++ erlang-13.b.1-dfsg/Makefile.in +@@ -837,6 +837,7 @@ + cd erts && ERL_TOP=$(ERL_TOP) $(MAKE) clean + cd lib && ERL_TOP=$(ERL_TOP) $(MAKE) clean BUILD_ALL=true + cd lib/dialyzer && ERL_TOP=$(ERL_TOP) $(MAKE) clean ++ $(MAKE) additional_clean + + # + # Just wipe out emulator, not libraries +@@ -871,3 +872,166 @@ + || $(MAKE) BOOTSTRAP_ROOT=$(BOOTSTRAP_ROOT) bootstrap_root_clean + + # ---------------------------------------------------------------------- ++ ++additional_clean: ++ rm -rf $(ERL_TOP)/bin ++ rm -rf $(ERL_TOP)/bootstrap/bin/erl ++ rm -rf $(ERL_TOP)/bootstrap/bin/erlc ++ rm -rf $(ERL_TOP)/bootstrap/lib/asn1 ++ rm -rf $(ERL_TOP)/bootstrap/lib/hipe ++ rm -rf $(ERL_TOP)/bootstrap/lib/ic ++ rm -rf $(ERL_TOP)/bootstrap/lib/parsetools ++ rm -rf $(ERL_TOP)/bootstrap/lib/sasl ++ rm -rf $(ERL_TOP)/bootstrap/lib/snmp ++ rm -rf $(ERL_TOP)/bootstrap/lib/syntax_tools ++ rm -rf $(ERL_TOP)/bootstrap/lib/wx ++ rm -rf $(ERL_TOP)/erts/config.log ++ rm -rf $(ERL_TOP)/erts/config.status ++ rm -rf $(ERL_TOP)/erts/emulator/$(TARGET) ++ rm -rf $(ERL_TOP)/erts/emulator/obj ++ rm -rf $(ERL_TOP)/erts/emulator/zlib/$(TARGET) ++ rm -rf $(ERL_TOP)/erts/epmd/src/$(TARGET) ++ rm -rf $(ERL_TOP)/erts/etc/common/erl.src ++ rm -rf $(ERL_TOP)/erts/etc/common/$(TARGET) ++ rm -rf $(ERL_TOP)/erts/etc/common/Install ++ rm -rf $(ERL_TOP)/erts/$(TARGET) ++ rm -rf $(ERL_TOP)/erts/include/$(TARGET) ++ rm -rf $(ERL_TOP)/erts/include/internal/$(TARGET) ++ rm -rf $(ERL_TOP)/erts/lib/$(TARGET) ++ rm -rf $(ERL_TOP)/erts/lib/internal/$(TARGET) ++ rm -rf $(ERL_TOP)/erts/lib_src/$(TARGET) ++ rm -rf $(ERL_TOP)/erts/lib_src/obj ++ rm -rf $(ERL_TOP)/erts/Makefile ++ rm -rf $(ERL_TOP)/erts/obj/$(TARGET) ++ rm -rf $(ERL_TOP)/erts/obj.debug/$(TARGET) ++ rm -rf $(ERL_TOP)/erts/start_scripts/RELEASES.src ++ rm -rf $(ERL_TOP)/erts/start_scripts/tmp ++ rm -rf $(ERL_TOP)/lib/asn1/c_src/$(TARGET) ++ rm -rf $(ERL_TOP)/lib/asn1/priv/lib/$(TARGET) ++ rm -rf $(ERL_TOP)/lib/asn1/priv/obj/$(TARGET) ++ rm -rf $(ERL_TOP)/lib/common_test/install.sh ++ rm -rf $(ERL_TOP)/lib/common_test/priv/lib/erl_rx_driver.so ++ rm -rf $(ERL_TOP)/lib/common_test/priv/rx-*/config.log ++ rm -rf $(ERL_TOP)/lib/common_test/priv/rx-*/config.status ++ rm -rf $(ERL_TOP)/lib/common_test/priv/rx-*/Makefile ++ rm -rf $(ERL_TOP)/lib/common_test/priv/rx-*/rx/config.log ++ rm -rf $(ERL_TOP)/lib/common_test/priv/rx-*/rx/config.status ++ rm -rf $(ERL_TOP)/lib/common_test/priv/rx-*/rx/hashrexp.o ++ rm -rf $(ERL_TOP)/lib/common_test/priv/rx-*/rx/librx.a ++ rm -rf $(ERL_TOP)/lib/common_test/priv/rx-*/rx/Makefile ++ rm -rf $(ERL_TOP)/lib/common_test/priv/rx-*/rx/rxanal.o ++ rm -rf $(ERL_TOP)/lib/common_test/priv/rx-*/rx/rxbasic.o ++ rm -rf $(ERL_TOP)/lib/common_test/priv/rx-*/rx/rxbitset.o ++ rm -rf $(ERL_TOP)/lib/common_test/priv/rx-*/rx/rxcset.o ++ rm -rf $(ERL_TOP)/lib/common_test/priv/rx-*/rx/rxdbug.o ++ rm -rf $(ERL_TOP)/lib/common_test/priv/rx-*/rx/rxgnucomp.o ++ rm -rf $(ERL_TOP)/lib/common_test/priv/rx-*/rx/rxhash.o ++ rm -rf $(ERL_TOP)/lib/common_test/priv/rx-*/rx/rxnfa.o ++ rm -rf $(ERL_TOP)/lib/common_test/priv/rx-*/rx/rxnode.o ++ rm -rf $(ERL_TOP)/lib/common_test/priv/rx-*/rx/rx.o ++ rm -rf $(ERL_TOP)/lib/common_test/priv/rx-*/rx/rxposix.o ++ rm -rf $(ERL_TOP)/lib/common_test/priv/rx-*/rx/rxsimp.o ++ rm -rf $(ERL_TOP)/lib/common_test/priv/rx-*/rx/rxspencer.o ++ rm -rf $(ERL_TOP)/lib/common_test/priv/rx-*/rx/rxstr.o ++ rm -rf $(ERL_TOP)/lib/common_test/priv/rx-*/rx/rxsuper.o ++ rm -rf $(ERL_TOP)/lib/common_test/priv/rx-*/rx/rxunfa.o ++ rm -rf $(ERL_TOP)/lib/config.log ++ rm -rf $(ERL_TOP)/lib/config.status ++ rm -rf $(ERL_TOP)/lib/cosEventDomain/include/CosEventDomainAdmin_EventDomainFactory.hrl ++ rm -rf $(ERL_TOP)/lib/cosEventDomain/include/CosEventDomainAdmin_EventDomain.hrl ++ rm -rf $(ERL_TOP)/lib/cosEventDomain/include/CosEventDomainAdmin.hrl ++ rm -rf $(ERL_TOP)/lib/cosEventDomain/include/oe_CosEventDomainAdmin.hrl ++ rm -rf $(ERL_TOP)/lib/crypto/c_src/$(TARGET) ++ rm -rf $(ERL_TOP)/lib/crypto/priv/lib/$(TARGET) ++ rm -rf $(ERL_TOP)/lib/crypto/priv/obj/$(TARGET) ++ rm -rf $(ERL_TOP)/lib/docbuilder/ebin/docbuilder.appup ++ rm -rf $(ERL_TOP)/lib/erl_interface/bin/$(TARGET) ++ rm -rf $(ERL_TOP)/lib/erl_interface/config.log ++ rm -rf $(ERL_TOP)/lib/erl_interface/config.status ++ rm -rf $(ERL_TOP)/lib/erl_interface/obj/$(TARGET) ++ rm -rf $(ERL_TOP)/lib/erl_interface/obj.mt/$(TARGET) ++ rm -rf $(ERL_TOP)/lib/erl_interface/obj.st/$(TARGET) ++ rm -rf $(ERL_TOP)/lib/erl_interface/src/$(TARGET) ++ rm -rf $(ERL_TOP)/lib/gs/config.log ++ rm -rf $(ERL_TOP)/lib/gs/config.status ++ rm -rf $(ERL_TOP)/lib/gs/tcl/$(TARGET) ++ rm -rf $(ERL_TOP)/lib/gs/tcl/win32 ++ rm -rf $(ERL_TOP)/lib/ic/c_src/$(TARGET) ++ rm -rf $(ERL_TOP)/lib/ic/priv/com ++ rm -rf $(ERL_TOP)/lib/ic/priv/ic.jar ++ rm -rf $(ERL_TOP)/lib/ic/priv/lib/$(TARGET) ++ rm -rf $(ERL_TOP)/lib/ic/priv/obj/$(TARGET) ++ rm -rf $(ERL_TOP)/lib/jinterface/priv/com ++ rm -rf $(ERL_TOP)/lib/jinterface/priv/OtpErlang.jar ++ rm -rf $(ERL_TOP)/lib/kernel/ebin/*.beam ++ rm -rf $(ERL_TOP)/lib/kernel/ebin/*.app ++ rm -rf $(ERL_TOP)/lib/kernel/ebin/*.appup ++ rm -rf $(ERL_TOP)/lib/megaco/config.log ++ rm -rf $(ERL_TOP)/lib/megaco/config.status ++ rm -rf $(ERL_TOP)/lib/megaco/priv/lib/$(TARGET) ++ rm -rf $(ERL_TOP)/lib/megaco/src/flex/$(TARGET) ++ rm -rf $(ERL_TOP)/lib/mnesia_session/src/mnesia_AttrNames.erl ++ rm -rf $(ERL_TOP)/lib/mnesia_session/src/mnesia_Checkpoints.erl ++ rm -rf $(ERL_TOP)/lib/mnesia_session/src/mnesia_Indices.erl ++ rm -rf $(ERL_TOP)/lib/mnesia_session/src/mnesia_KeyList.erl ++ rm -rf $(ERL_TOP)/lib/mnesia_session/src/mnesia_NodeList.erl ++ rm -rf $(ERL_TOP)/lib/mnesia_session/src/mnesia_Recordlist.erl ++ rm -rf $(ERL_TOP)/lib/mnesia_session/src/mnesia_TableList.erl ++ rm -rf $(ERL_TOP)/lib/odbc/config.log ++ rm -rf $(ERL_TOP)/lib/odbc/config.status ++ rm -rf $(ERL_TOP)/lib/odbc/c_src/$(TARGET) ++ rm -rf $(ERL_TOP)/lib/odbc/priv/bin/$(TARGET) ++ rm -rf $(ERL_TOP)/lib/odbc/priv/obj/$(TARGET) ++ rm -rf $(ERL_TOP)/lib/orber/COSS/CosNaming/CosNaming_NamingContextExt_AlreadyBound.erl ++ rm -rf $(ERL_TOP)/lib/orber/COSS/CosNaming/CosNaming_NamingContextExt_CannotProceed.erl ++ rm -rf $(ERL_TOP)/lib/orber/COSS/CosNaming/CosNaming_NamingContextExt_InvalidName.erl ++ rm -rf $(ERL_TOP)/lib/orber/COSS/CosNaming/CosNaming_NamingContextExt_NotEmpty.erl ++ rm -rf $(ERL_TOP)/lib/orber/COSS/CosNaming/CosNaming_NamingContextExt_NotFound.erl ++ rm -rf $(ERL_TOP)/lib/orber/c_src/$(TARGET) ++ rm -rf $(ERL_TOP)/lib/orber/priv/bin/$(TARGET) ++ rm -rf $(ERL_TOP)/lib/orber/priv/obj/$(TARGET) ++ rm -rf $(ERL_TOP)/lib/orber/src/OrberCSIv2.beam ++ rm -rf $(ERL_TOP)/lib/orber/src/PKIX1Explicit88.asn1db ++ rm -rf $(ERL_TOP)/lib/orber/src/PKIX1Implicit88.asn1db ++ rm -rf $(ERL_TOP)/lib/orber/src/PKIXAttributeCertificate.asn1db ++ rm -rf $(ERL_TOP)/lib/os_mon/c_src/$(TARGET) ++ rm -rf $(ERL_TOP)/lib/os_mon/priv/bin/$(TARGET) ++ rm -rf $(ERL_TOP)/lib/os_mon/priv/obj/$(TARGET) ++ rm -rf $(ERL_TOP)/lib/otp_mibs/ebin/otp_mib.beam ++ rm -rf $(ERL_TOP)/lib/percept/c_src/$(TARGET) ++ rm -rf $(ERL_TOP)/lib/percept/priv/lib ++ rm -rf $(ERL_TOP)/lib/percept/priv/obj/$(TARGET) ++ rm -rf $(ERL_TOP)/lib/runtime_tools/c_src/$(TARGET) ++ rm -rf $(ERL_TOP)/lib/runtime_tools/priv/lib/$(TARGET) ++ rm -rf $(ERL_TOP)/lib/runtime_tools/priv/obj/$(TARGET) ++ rm -rf $(ERL_TOP)/lib/snmp/config.log ++ rm -rf $(ERL_TOP)/lib/snmp/config.status ++ rm -rf $(ERL_TOP)/lib/snmp/mibs/Makefile ++ rm -rf $(ERL_TOP)/lib/ssl/c_src/$(TARGET) ++ rm -rf $(ERL_TOP)/lib/ssl/examples/certs/$(TARGET) ++ rm -rf $(ERL_TOP)/lib/ssl/pkix/OTP-PKIX.asn1db ++ rm -rf $(ERL_TOP)/lib/ssl/priv/bin/$(TARGET) ++ rm -rf $(ERL_TOP)/lib/ssl/priv/obj/$(TARGET) ++ rm -rf $(ERL_TOP)/lib/test_server/src/configure ++ rm -rf $(ERL_TOP)/lib/tools/c_src/$(TARGET) ++ rm -rf $(ERL_TOP)/lib/tools/src/xref_parser.erl ++ rm -rf $(ERL_TOP)/lib/webtool/ebin/webtool.appup ++ rm -rf $(ERL_TOP)/lib/wx/config.log ++ rm -rf $(ERL_TOP)/lib/wx/config.mk ++ rm -rf $(ERL_TOP)/lib/wx/c_src/$(TARGET) ++ rm -rf $(ERL_TOP)/lib/wx/c_src/Makefile ++ rm -rf $(ERL_TOP)/lib/wx/$(TARGET) ++ rm -rf $(ERL_TOP)/lib/wx/priv/$(TARGET) ++ rm -rf $(ERL_TOP)/make/$(TARGET) ++ rm -rf $(ERL_TOP)/Makefile ++ rm -rf $(ERL_TOP)/erts/emulator/pcre/$(TARGET) ++ rm -rf $(ERL_TOP)/erts/emulator/pcre/obj ++ rm -rf $(ERL_TOP)/erts/emulator/pcre/pcre_exec_loop_break_cases.inc ++ rm -rf $(ERL_TOP)/erts/emulator/zlib/obj ++ rm -rf $(ERL_TOP)/lib/common_test/config.log ++ rm -rf $(ERL_TOP)/lib/common_test/config.status ++ rm -rf $(ERL_TOP)/lib/common_test/c_src/$(TARGET) ++ rm -rf $(ERL_TOP)/lib/common_test/priv/$(TARGET) ++ rm -rf $(ERL_TOP)/lib/common_test/priv/lib/$(TARGET) ++ rm -rf $(ERL_TOP)/lib/common_test/priv/rx-1.5/configure ++ rm -rf $(ERL_TOP)/lib/common_test/priv/rx-1.5/rx/configure --- erlang-13.b.1-dfsg.orig/debian/lintian/erlang-debugger.lintian-override +++ erlang-13.b.1-dfsg/debian/lintian/erlang-debugger.lintian-override @@ -0,0 +1 @@ +erlang-debugger: image-file-in-usr-lib --- erlang-13.b.1-dfsg.orig/debian/lintian/erlang-examples.lintian-override +++ erlang-13.b.1-dfsg/debian/lintian/erlang-examples.lintian-override @@ -0,0 +1,5 @@ +erlang-examples: image-file-in-usr-lib + +# The scripts in the following warnings are not scripts but script skeletons. +erlang-examples: script-not-executable +erlang-examples: shell-script-fails-syntax-check --- erlang-13.b.1-dfsg.orig/debian/lintian/erlang-base.lintian-override +++ erlang-13.b.1-dfsg/debian/lintian/erlang-base.lintian-override @@ -0,0 +1,3 @@ +# Zlib which is embedded into Erlang VM is patched, so I'm not sure +# if it's possible to link it to an external zlib. +erlang-base: embedded-zlib --- erlang-13.b.1-dfsg.orig/debian/lintian/erlang-docbuilder.lintian-override +++ erlang-13.b.1-dfsg/debian/lintian/erlang-docbuilder.lintian-override @@ -0,0 +1 @@ +erlang-docbuilder: image-file-in-usr-lib --- erlang-13.b.1-dfsg.orig/debian/lintian/erlang-observer.lintian-override +++ erlang-13.b.1-dfsg/debian/lintian/erlang-observer.lintian-override @@ -0,0 +1 @@ +erlang-observer: image-file-in-usr-lib --- erlang-13.b.1-dfsg.orig/debian/lintian/erlang-edoc.lintian-override +++ erlang-13.b.1-dfsg/debian/lintian/erlang-edoc.lintian-override @@ -0,0 +1 @@ +erlang-edoc: image-file-in-usr-lib --- erlang-13.b.1-dfsg.orig/debian/lintian/erlang-percept.lintian-override +++ erlang-13.b.1-dfsg/debian/lintian/erlang-percept.lintian-override @@ -0,0 +1 @@ +erlang-percept: image-file-in-usr-lib --- erlang-13.b.1-dfsg.orig/debian/lintian/erlang-gs.lintian-override +++ erlang-13.b.1-dfsg/debian/lintian/erlang-gs.lintian-override @@ -0,0 +1 @@ +erlang-gs: image-file-in-usr-lib --- erlang-13.b.1-dfsg.orig/debian/lintian/erlang-pman.lintian-override +++ erlang-13.b.1-dfsg/debian/lintian/erlang-pman.lintian-override @@ -0,0 +1 @@ +erlang-pman: image-file-in-usr-lib --- erlang-13.b.1-dfsg.orig/debian/lintian/erlang-appmon.lintian-override +++ erlang-13.b.1-dfsg/debian/lintian/erlang-appmon.lintian-override @@ -0,0 +1 @@ +erlang-appmon: image-file-in-usr-lib --- erlang-13.b.1-dfsg.orig/debian/lintian/erlang-tv.lintian-override +++ erlang-13.b.1-dfsg/debian/lintian/erlang-tv.lintian-override @@ -0,0 +1 @@ +erlang-tv: image-file-in-usr-lib --- erlang-13.b.1-dfsg.orig/debian/lintian/erlang-base-hipe.lintian-override +++ erlang-13.b.1-dfsg/debian/lintian/erlang-base-hipe.lintian-override @@ -0,0 +1,3 @@ +# Zlib which is embedded into Erlang VM is patched, so I'm not sure +# if it's possible to link it to an external zlib. +erlang-base-hipe: embedded-zlib --- erlang-13.b.1-dfsg.orig/debian/manpages/erl_call.1 +++ erlang-13.b.1-dfsg/debian/manpages/erl_call.1 @@ -0,0 +1,237 @@ +.TH erl_call 1 "erl_interface 3.6.2" "Ericsson AB" "USER COMMANDS" +.SH NAME +erl_call \- Call/Start a Distributed Erlang Node +.SH DESCRIPTION +.LP +\fIerl_call\fR makes it possible to start and/or communicate with a distributed Erlang node\&. It is built upon the \fIerl_interface\fR library as an example application\&. Its purpose is to use an Unix shell script to interact with a distributed Erlang node\&. It performs all communication with the Erlang \fIrex server\fR, using the standard Erlang RPC facility\&. It does not require any special software to be run at the Erlang target node\&. +.LP +The main use is to either start a distributed Erlang node or to make an ordinary function call\&. However, it is also possible to pipe an Erlang module to \fIerl_call\fR and have it compiled, or to pipe a sequence of Erlang expressions to be evaluated (similar to the Erlang shell)\&. +.LP +Options, which cause \fIstdin\fR to be read, can be used with advantage as scripts from within (Unix) shell scripts\&. Another nice use of \fIerl_call\fR could be from (http) CGI-bin scripts\&. + +.SH EXPORTS +.LP +.B +erl_call +.br +.RS +.LP +Each option flag is described below with its name, type and meaning\&. +.RS 2 +.TP 4 +.B +-a [Mod [Fun [Args]]]]: +(\fIoptional\fR): Applies the specified function and returns the result\&. \fIMod\fR must be specified, however \fI[]\fR is assumed for unspecified \fIFun\fR and \fIArgs\fR\&. \fIArgs\fR should be in the same format as for \fIerlang:apply/3\fR\&. Note that this flag takes exactly one argument, so quoting may be necessary in order to group \fIMod\fR, \fIFun\fR and \fIArgs\fR, in a manner dependent on the behavior of your command shell\&. +.RS 4 +.LP + +.LP + +.RE +.TP 4 +.B +-c Cookie: +(\fIoptional\fR): Use this option to specify a certain cookie\&. If no cookie is specified, the \fI~/\&.erlang\&.cookie\fR file is read and its content are used as cookie\&. The Erlang node we want to communicate with must have the same cookie\&. +.TP 4 +.B +-d: +(\fIoptional\fR): Debug mode\&. This causes all IO to be output to the file \fI~/\&.erl_call\&.out\&.Nodename\fR, where \fINodename\fR is the node name of the Erlang node in question\&. +.RS 4 +.LP + +.LP + +.RE +.TP 4 +.B +-e: +(\fIoptional\fR): Reads a sequence of Erlang expressions, separated by \&'\fI,\fR\&' and ended with a \&'\fI\&.\fR\&', from \fIstdin\fR until EOF (Control-D)\&. Evaluates the expressions and returns the result from the last expression\&. Returns \fI{ok, Result}\fR if successful\&. +.RS 4 +.LP + +.LP + +.RE +.TP 4 +.B +-h HiddenName: +(\fIoptional\fR): Specifies the name of the hidden node that \fIerl_call\fR represents\&. +.RS 4 +.LP + +.LP + +.RE +.TP 4 +.B +-m: +(\fIoptional\fR): Reads an Erlang module from \fIstdin\fR and compiles it\&. +.RS 4 +.LP + +.LP + +.RE +.TP 4 +.B +-n Node: +(one of \fI-n, -name, -sname\fR is required): Has the same meaning as \fI-name\fR and can still be used for backwards compatibility reasons\&. +.RS 4 +.LP + +.LP + +.RE +.TP 4 +.B +-name Node: +(one of \fI-n, -name, -sname\fR is required): \fINode\fR is the name of the node to be started or communicated with\&. It is assumed that \fINode\fR is started with \fIerl -name\fR, which means that fully qualified long node names are used\&. If the \fI-s\fR option is given, an Erlang node will (if necessary) be started with \fIerl -name\fR\&. +.RS 4 +.LP + +.LP + +.RE +.TP 4 +.B +-q: +(\fIoptional\fR): Halts the Erlang node specified with the -n switch\&. This switch overrides the -s switch\&. +.RS 4 +.LP + +.LP + +.RE +.TP 4 +.B +-r: +(\fIoptional\fR): Generates a random name of the hidden node that \fIerl_call\fR represents\&. +.RS 4 +.LP + +.LP + +.RE +.TP 4 +.B +-s: +(\fIoptional\fR): Starts a distributed Erlang node if necessary\&. This means that in a sequence of calls, where the \&'\fI-s\fR\&' and \&'\fI-n Node\fR\&' are constant, only the first call will start the Erlang node\&. This makes the rest of the communication very fast\&. This flag is currently only available on the Unix platform\&. +.RS 4 +.LP + +.LP + +.RE +.TP 4 +.B +-sname Node: +(one of \fI-n, -name, -sname\fR is required): \fINode\fR is the name of the node to be started or communicated with\&. It is assumed that \fINode\fR is started with \fIerl -sname\fR which means that short node names are used\&. If \fI-s\fR option is given, an Erlang node will be started (if necessary) with \fIerl -sname\fR\&. +.RS 4 +.LP + +.LP + +.RE +.TP 4 +.B +-v: +(\fIoptional\fR): Prints a lot of \fIverbose\fR information\&. This is only useful for the developer and maintainer of \fIerl_call\fR\&. +.RS 4 +.LP + +.LP + +.RE +.TP 4 +.B +-x ErlScript: +(\fIoptional\fR): Specifies another name of the Erlang start-up script to be used\&. If not specified, the standard \fIerl\fR start-up script is used\&. +.RE +.RE +.SH EXAMPLES +.LP +Starts an Erlang node and calls \fIerlang:time/0\fR\&. + +.nf +erl_call -s -a \&'erlang time\&' -n madonna +{18,27,34} + +.fi +.LP +Terminates an Erlang node by calling \fIerlang:halt/0\fR\&. + +.nf +erl_call -s -a \&'erlang halt\&' -n madonna + +.fi +.LP +An apply with several arguments\&. + +.nf +erl_call -s -a \&'lists map [{math,sqrt},[1,4,9,16,25]]\&' -n madonna + +.fi +.LP +Evaluates a couple of expressions\&. The input ends with EOF (Control-D)\&. + +.nf +erl_call -s -e -n madonna +statistics(runtime), +X=1, +Y=2, +{_,T}=statistics(runtime), +{X+Y,T}\&. +^D +{ok,{3,0}} + +.fi +.LP +Compiles a module and runs it\&. Again, the input ends with EOF (Control-D)\&. (In the example shown, the output has been formatted afterwards)\&. + +.nf +erl_call -s -m -a lolita -n madonna +-module(lolita)\&. +-compile(export_all)\&. +start() -> + P = processes(), + F = fun(X) -> {X,process_info(X,registered_name)} end, + lists:map(F,[],P)\&. +^D +[{, + {registered_name,init}}, + {, + {registered_name,erl_prim_loader}}, + {, + {registered_name,error_logger}}, + {, + {registered_name,application_controller}}, + {, + {registered_name,kernel}}, + {, + []}, + {, + {registered_name,kernel_sup}}, + {, + {registered_name,net_sup}}, + {, + {registered_name,net_kernel}}, + {, + []}, + {, + {registered_name,global_name_server}}, + {, + {registered_name,auth}}, + {, + {registered_name,rex}}, + {, + []}, + {, + {registered_name,file_server}}, + {, + {registered_name,code_server}}, + {, + {registered_name,user}}, + {, + []}] + +.fi --- erlang-13.b.1-dfsg.orig/debian/manpages/typer.1 +++ erlang-13.b.1-dfsg/debian/manpages/typer.1 @@ -0,0 +1,81 @@ +.TH typer 1 "typer 0.1.7.1" "Ericsson AB" "USER COMMANDS" +.SH NAME +typer \- The TypEr, a Type annotator of Erlang code +.SH DESCRIPTION +.LP +TypEr is a tool that displays and automatically inserts type annotations +in Erlang code. It uses Dialyzer to infer variable types. + +.SH USAGE +.LP +typer [--help] [--version] [--comments] [--plt PltFile] + [--show | --show-exported | --annotate | --annotate-inc-files] + [-Ddefine]* [-I include_dir]* [-T application]* [-r] file* +.fi +.LP +Options: +.RS 2 +.TP 4 +.B +\fI-r dir\fR +Searches directories recursively for .erl files below them. +.TP 4 +.B +\fI--show\fR +Prints type specifications for all functions on stdout +(this is the default behaviour; this option is not really needed). +.TP 4 +.B +\fI--show-exported\fR +Same as --show, but prints specifications for exported functions only. +Specs are displayed sorted alphabetically on the function's name. +.TP 4 +.B +\fI--annotate\fR +Annotates the specified files with type specifications. +.TP 4 +.B +\fI--annotate-inc-files\fR +Same as --annotate but annotates all -include() files as well as +all .erl files (use this option with caution, it has not been tested much). +.TP 4 +.B +\fI--comments\fR +Prints type information using Edoc comments, not type contracts. +.TP 4 +.B +\fI--plt PltFile\fR +Uses the specified Dialyzer plt file rather than the default one. +.TP 4 +.B +\fI-T file\fR +The file \fIfile\fR already contains type specifications and these specifications +are to be trusted in order to print specs for the rest of the files. +(Multiple files or dirs, separated by spaces, can be specified.) +.TP 4 +.B +\fI-Dname\fR (or \fI-Dname=value\fR) +Passes the defined name to TypEr. +(The syntax of defines is the same as that used by \fIerlc\fR, see erlc(1).) +.TP 4 +.B +\fI-I include_dir\fR +Passes the include_dir to TypEr. +(The syntax of includes is the same as that used by \fIerlc\fR, see erlc(1).) +.TP 4 +.B +\fI--version\fR (or \fI-v\fR) +Prints the TypEr version and exits. +.TP 4 +.B +\fI--help\fR (or \fI-h\fR) +Prints help message and exits. +.RE +.SS Note: +.LP +* denotes that multiple occurrences of these options are possible\&. + +.SH SEE ALSO +dialyzer(1), erlc(1) + +.RE --- erlang-13.b.1-dfsg.orig/debian/manpages/erlc.1 +++ erlang-13.b.1-dfsg/debian/manpages/erlc.1 @@ -0,0 +1,214 @@ +.TH erlc 1 "erts 5.7.2" "Ericsson AB" "USER COMMANDS" +.SH NAME +erlc \- Compiler +.SH DESCRIPTION +.LP +The \fIerlc\fR program provides a common way to run all compilers in the Erlang system\&. Depending on the extension of each input file, \fIerlc\fR will invoke the appropriate compiler\&. Regardless of which compiler is used, the same flags are used to provide parameters such as include paths and output directory\&. +.LP +The current working directory, \fI"\&."\fR, will not be included in the code path when running the compiler (to avoid loading Beam files from the current working directory that could potentially be in conflict with the compiler or Erlang/OTP system used by the compiler)\&. + +.SH EXPORTS +.LP +.B +erlc flags file1\&.ext file2\&.ext\&.\&.\&. +.br +.RS +.LP +\fIErlc\fR compiles one or more files\&. The files must include the extension, for example \fI\&.erl\fR for Erlang source code, or \fI\&.yrl\fR for Yecc source code\&. \fIErlc\fR uses the extension to invoke the correct compiler\&. +.RE +.SH GENERALLY USEFUL FLAGS +.LP +The following flags are supported: +.RS 2 +.TP 4 +.B +-I \fIdirectory\fR: +Instructs the compiler to search for include files in the specified directory\&. When encountering an \fI-include\fR or \fI-include_dir\fR directive, the compiler searches for header files in the following directories: +.RS 4 +.LP + +.RS 2 +.TP 4 +1. +\fI"\&."\fR, the current working directory of the file server; +.TP 4 +2. +the base name of the compiled file; +.TP 4 +3. +the directories specified using the \fI-I\fR option\&. The directory specified last is searched first\&. +.RE +.RE +.TP 4 +.B +-o \fIdirectory\fR: +The directory where the compiler should place the output files\&. If not specified, output files will be placed in the current working directory\&. +.TP 4 +.B +-D\fIname\fR: +Defines a macro\&. +.TP 4 +.B +-D\fIname\fR=\fIvalue\fR: +Defines a macro with the given value\&. The value can be any Erlang term\&. Depending on the platform, the value may need to be quoted if the shell itself interprets certain characters\&. On Unix, terms which contain tuples and list must be quoted\&. Terms which contain spaces must be quoted on all platforms\&. +.TP 4 +.B +-W\fInumber\fR: +Sets warning level to \fInumber\fR\&. Default is \fI1\fR\&. Use \fI-W0\fR to turn off warnings\&. +.TP 4 +.B +-W: +Same as \fI-W1\fR\&. Default\&. +.TP 4 +.B +-v: +Enables verbose output\&. +.TP 4 +.B +-b \fIoutput-type\fR: +Specifies the type of output file\&. Generally, \fIoutput-type\fR is the same as the file extension of the output file but without the period\&. This option will be ignored by compilers that have a a single output format\&. +.TP 4 +.B +-hybrid: +Compile using the hybrid-heap emulator\&. This is mainly useful for compiling native code, which needs to be compiled with the same run-time system that it should be run on\&. +.TP 4 +.B +-smp: +Compile using the SMP emulator\&. This is mainly useful for compiling native code, which needs to be compiled with the same run-time system that it should be run on\&. +.TP 4 +.B +--: +Signals that no more options will follow\&. The rest of the arguments will be treated as file names, even if they start with hyphens\&. +.TP 4 +.B ++\fIterm\fR: +A flag starting with a plus (\&'\fI+\fR\&') rather than a hyphen will be converted to an Erlang term and passed unchanged to the compiler\&. For instance, the \fIexport_all\fR option for the Erlang compiler can be specified as follows: +.RS 4 +.LP + + +.nf +erlc +export_all file\&.erl +.fi +.LP + +.LP +Depending on the platform, the value may need to be quoted if the shell itself interprets certain characters\&. On Unix, terms which contain tuples and list must be quoted\&. Terms which contain spaces must be quoted on all platforms\&. +.RE +.RE +.SH SPECIAL FLAGS +.LP +The flags in this section are useful in special situations such as re-building the OTP system\&. +.RS 2 +.TP 4 +.B +-pa \fIdirectory\fR: +Appends \fIdirectory\fR to the front of the code path in the invoked Erlang emulator\&. This can be used to invoke another compiler than the default one\&. +.TP 4 +.B +-pz \fIdirectory\fR: +Appends \fIdirectory\fR to the code path in the invoked Erlang emulator\&. +.RE +.SH SUPPORTED COMPILERS +.RS 2 +.TP 4 +.B +\&.erl: +Erlang source code\&. It generates a \fI\&.beam\fR file\&. +.RS 4 +.LP + +.LP +The options -P, -E, and -S are equivalent to +\&'P\&', +\&'E\&', and +\&'S\&', except that it is not necessary to include the single quotes to protect them from the shell\&. +.LP + +.LP +Supported options: -I, -o, -D, -v, -W, -b\&. +.RE +.TP 4 +.B +\&.yrl: +Yecc source code\&. It generates an \fI\&.erl\fR file\&. +.RS 4 +.LP + +.LP +Use the -I option with the name of a file to use that file as a customized prologue file (the \fIincludefile\fR option)\&. +.LP + +.LP +Supported options: -o, -v, -I, -W (see above)\&. +.RE +.TP 4 +.B +\&.mib: +MIB for SNMP\&. It generates a \fI\&.bin\fR file\&. +.RS 4 +.LP + +.LP +Supported options: -I, -o, -W\&. +.RE +.TP 4 +.B +\&.bin: +A compiled MIB for SNMP\&. It generates a \fI\&.hrl\fR file\&. +.RS 4 +.LP + +.LP +Supported options: -o, -v\&. +.RE +.TP 4 +.B +\&.rel: +Script file\&. It generates a boot file\&. +.RS 4 +.LP + +.LP +Use the -I to name directories to be searched for application files (equivalent to the \fIpath\fR in the option list for \fIsystools:make_script/2\fR)\&. +.LP + +.LP +Supported options: -o\&. +.RE +.TP 4 +.B +\&.asn1: +ASN1 file\&. +.RS 4 +.LP + +.LP +Creates an \fI\&.erl\fR, \fI\&.hrl\fR, and \fI\&.asn1db\fR file from an \fI\&.asn1\fR file\&. Also compiles the \fI\&.erl\fR using the Erlang compiler unless the \fI+noobj\fR options is given\&. +.LP + +.LP +Supported options: -I, -o, -b, -W\&. +.RE +.TP 4 +.B +\&.idl: +IC file\&. +.RS 4 +.LP + +.LP +Runs the IDL compiler\&. +.LP + +.LP +Supported options: -I, -o\&. +.RE +.RE +.SH ENVIRONMENT VARIABLES +.RS 2 +.TP 4 +.B +ERLC_EMULATOR: +The command for starting the emulator\&. Default is \fIerl\fR in the same directory as the \fIerlc\fR program itself, or if it doesn\&'t exist, \fIerl\fR in any of the directories given in the \fIPATH\fR environment variable\&. +.RE +.SH SEE ALSO +.LP +erl(1), compile(3erl), yecc(3erl), snmp(3erl) --- erlang-13.b.1-dfsg.orig/debian/manpages/epmd.1 +++ erlang-13.b.1-dfsg/debian/manpages/epmd.1 @@ -0,0 +1,62 @@ +.TH epmd 1 "erts 5.7.2" "Ericsson AB" "USER COMMANDS" +.SH NAME +epmd \- Erlang Port Mapper Daemon +.SH DESCRIPTION +.LP +This daemon acts as a name server on all hosts involved in distributed Erlang computations\&. When an Erlang node starts, the node has a name and it obtains an address from the host OS kernel\&. The name and the address are sent to the \fIepmd\fR daemon running on the local host\&. In a TCP/IP environment, the address consists of the IP address and a port number\&. The name of the node is an atom on the form of \fIName@Node\fR\&. The job of the \fIepmd\fR daemon is to keep track of which node name listens on which address\&. Hence, \fIepmd\fR map symbolic node names to machine addresses\&. +.LP +The daemon is started automatically by the Erlang start-up script\&. +.LP +The program \fIepmd\fR can also be used for a variety of other purposes, for example checking the DNS (Domain Name System) configuration of a host\&. + +.SH EXPORTS +.LP +.B +epmd [-daemon] +.br +.RS +.LP +Starts a name server as a daemon\&. If it has no argument, the \fIepmd\fR runs as a normal program with the controlling terminal of the shell in which it is started\&. Normally, it should run as a daemon\&. +.RE +.LP +.B +epmd -names +.br +.RS +.LP +Requests the names of the local Erlang nodes \fIepmd\fR has registered\&. +.RE +.LP +.B +epmd -kill +.br +.RS +.LP +Kills the \fIepmd\fR process\&. +.RE +.LP +.B +epmd -help +.br +.RS +.LP +Write short info about the usage including some debugging options not listed here\&. +.RE +.SH ENVIRONMENT VARIABLES +.RS 2 +.TP 4 +.B +\fIERL_EPMD_PORT\fR: +This environment variable can contain the port number epmd will use\&. The default port will work fine in most cases\&. A different port can be specified to allow several instances of epmd, representing independant clusters of nodes, to co-exist on the same host\&. All nodes in a cluster must use the same epmd port number\&. +.RE +.SH LOGGING +.LP +On some operating systems \fIsyslog\fR will be used for error reporting when epmd runs as an daemon\&. To enable the error logging you have to edit /etc/syslog\&.conf() file and add an entry + +.nf + !epmd + *\&.*/var/log/epmd\&.log + +.fi +.LP +where are at least one real tab character\&. Spaces will silently be ignored\&. --- erlang-13.b.1-dfsg.orig/debian/manpages/escript.1 +++ erlang-13.b.1-dfsg/debian/manpages/escript.1 @@ -0,0 +1,132 @@ +.TH escript 1 "erts 5.7.2" "Ericsson AB" "USER COMMANDS" +.SH NAME +escript \- Erlang scripting support +.SH DESCRIPTION +.LP +\fIescript\fR provides support for running short Erlang programs without having to compile them first and an easy way to retrieve the command line arguments\&. + +.SH EXPORTS +.LP +.B +script-name script-arg1 script-arg2\&.\&.\&. +.br +.B +escript escript-flags script-name script-arg1 script-arg2\&.\&.\&. +.br +.RS +.LP +\fIescript\fR runs a script written in Erlang\&. +.LP +Here follows an example\&. + +.nf +$ cat factorial + +#!/usr/bin/env escript +%% -*- erlang -*- +%%! -smp enable -sname factorial -mnesia debug verbose +main([String]) -> + try + N = list_to_integer(String), + F = fac(N), + io:format("factorial ~w = ~w\en", [N,F]) + catch + _:_ -> + usage() + end; +main(_) -> + usage()\&. + +usage() -> + io:format("usage: factorial integer\en"), + halt(1)\&. + +fac(0) -> 1; +fac(N) -> N * fac(N-1)\&. +$ factorial 5 + +factorial 5 = 120 +$ factorial + +usage: factorial integer +$ factorial five + +usage: factorial integer +.fi +.LP +The header of an Erlang script differs from a normal Erlang module\&. The first line is intended to be the interpreter line, which invokes \fIescript\fR\&. However if you invoke \fIescript\fR like this + +.nf +$ escript factorial 5 + +.fi +.LP +the contents of the first line does not matter, but it cannot contain Erlang code as it will be \fIignored\fR\&. +.LP +The second line in the example, contains an optional directive to the \fIEmacs\fR editor which causes it to enter the major mode for editing Erlang source files\&. If the directive is present it must be located on the second line\&. +.LP +On the third line (or second line depending on the presence of the Emacs directive), it is possible to give arguments to the emulator, such as + +.nf +%%! -smp enable -sname factorial -mnesia debug verbose +.fi +.LP +Such an argument line must start with \fI%%!\fR and the rest of the line will interpreted as arguments to the emulator\&. +.LP +If you know the location of the \fIescript\fR executable, the first line can directly give the path to \fIescript\fR\&. For instance: + +.nf +#!/usr/bin/escript +.fi +.LP +As any other kind of scripts, Erlang scripts will not work on Unix platforms if the execution bit for the script file is not set\&. (Use \fIchmod +x script-name\fR to turn on the execution bit\&.) +.LP +The rest of the Erlang script file may either contain Erlang source code, an inlined \fIbeam\fR file or an inlined archive file\&. +.LP +An Erlang script file must always contain the function \fImain/1\fR\&. When the script is run, the \fImain/1\fR will be called with a list of strings representing the arguments given to the script (not changed or interpreted in any way)\&. +.LP +If the \fImain/1\fR function in the script returns successfully, the exit status for the script will be 0\&. If an exception is generated during execution, a short message will be printed and the script terminated with exit status 127\&. +.LP +To return your own non-zero exit code, call \fIhalt(ExitCode)\fR; for instance: + +.nf +halt(1)\&. +.fi +.LP +Call \fIescript:script_name/0\fR from your to script to retrieve the pathname of the script (the pathname is usually, but not always, absolute)\&. +.LP +If the file contains source code (as in the example above), it will be processed by the preprocessor \fIepp\fR\&. This means that you for example may use pre-defined macros (such as \fI?MODULE\fR) as well as include directives like the \fI-include_lib\fR directive\&. For instance, use + +.nf +-include_lib("kernel/include/file\&.hrl")\&. +.fi +.LP +to include the record definitions for the records used by the \fIfile:read_file_info/1\fR function\&. +.LP +The script will be checked for syntactic and semantic correctness before being run\&. If there are warnings (such as unused variables), they will be printed and the script will still be run\&. If there are errors, they will be printed and the script will not be run and its exit status will be 127\&. +.LP +Both the module declaration and the export declaration of the \fImain/1\fR function are optional\&. +.LP +By default, the script will be interpreted\&. You can force it to be compiled by including the following line somewhere in the script file: + +.nf +-mode(compile)\&. +.fi +.LP +Execution of interpreted code is slower than compiled code\&. If much of the execution takes place in interpreted code it may be worthwile to compile it, even though the compilation itself will take a little while\&. +.LP +As mentioned earlier, it is possible to have a script which contains precompiled \fIbeam\fR code\&. In a precompiled script, the interpretation of the script header is exactly the same as in a script containing source code\&. That means that you can make a \fIbeam\fR file executable by prepending the file with the lines starting with \fI#!\fR and \fI%%!\fR mentioned above\&. In a precompiled script, the function \fImain/1\fR must be exported\&. +.LP +As yet another option it is possible to have an entire Erlang archive in the script\&. In a archive script, the interpretation of the script header is exactly the same as in a script containing source code\&. That means that you can make an archive file executable by prepending the file with the lines starting with \fI#!\fR and \fI%%!\fR mentioned above\&. In an archive script, the function \fImain/1\fR must be exported\&. By default the \fImain/1\fR function in the module with the same name as the basename of the \fIescript\fR file will be invoked\&. This behavior can be overridden by setting the flag \fI-escript main Module\fR as one of the emulator flags\&. The \fIModule\fR must be the name of a module which has an exported \fImain/1\fR function\&. See code(3erl) for more information about archives and code loading\&. +.SS Warning: +.LP +The support for loading of code from archive files is experimental\&. The sole purpose of releasing it before it is ready is to obtain early feedback\&. The file format, semantics, interfaces etc\&. may be changed in a future release\&. The flag \fI-escript\fR is also experimental\&. + +.RE +.SH OPTIONS ACCEPTED BY ESCRIPT +.RS 2 +.TP 4 +.B +-s: +Only perform a syntactic and semantic check of the script file\&. Warnings and errors (if any) are written to the standard output, but the script will not be run\&. The exit status will be 0 if there were no errors, and 127 otherwise\&. +.RE --- erlang-13.b.1-dfsg.orig/debian/manpages/run_erl.1 +++ erlang-13.b.1-dfsg/debian/manpages/run_erl.1 @@ -0,0 +1,85 @@ +.TH run_erl 1 "erts 5.7.2" "Ericsson AB" "USER COMMANDS" +.SH NAME +run_erl \- Redirect Erlang input and output streams on Solaris(R) +.SH DESCRIPTION +.LP +This describes the \fIrun_erl\fR program specific to Solaris/Linux\&. This program redirect the standard input and standard output streams so that all output can be logged\&. It also let the program \fIto_erl\fR connect to the Erlang console making it possible to monitor and debug an embedded system remotely\&. +.LP +You can read more about the use in the \fIEmbedded System User\&'s Guide\fR\&. + +.SH EXPORTS +.LP +.B +run_erl [-daemon] pipe_dir/ log_dir "exec command [command_arguments]" +.br +.RS +.LP +The \fIrun_erl\fR program arguments are: +.RS 2 +.TP 4 +.B +-daemon: +This option is highly recommended\&. It makes run_erl run in the background completely detached from any controlling terminal and the command returns to the caller immediately\&. Without this option, run_erl must be started using several tricks in the shell to detach it completely from the terminal in use when starting it\&. The option must be the first argument to run_erl on the command line\&. +.TP 4 +.B +pipe_dir: +This is where to put the named pipe, usually \fI/tmp/\fR\&. It shall be suffixed by a \fI/\fR (slash), i\&.e\&. not \fI/tmp/epipies\fR, but \fI/tmp/epipes/\fR\&. +.TP 4 +.B +log_dir: +This is where the log files are written\&. There will be one log file, \fIrun_erl\&.log\fR that log progress and warnings from the \fIrun_erl\fR program itself and there will be up to five log files at maximum 100KB each (both number of logs and sizes can be changed by environment variables, see below) with the content of the standard streams from and to the command\&. When the logs are full \fIrun_erl\fR will delete and reuse the oldest log file\&. +.TP 4 +.B +"exec command [command_arguments]": +In the third argument \fIcommand\fR is the to execute where everything written to stdin and stdout is logged to \fIlog_dir\fR\&. +.RE +.RE +.SH NOTES CONCERNING THE LOG FILES +.LP +While running, run_erl (as stated earlier) sends all output, uninterpreted, to a log file\&. The file is called \fIerlang\&.log\&.N\fR, where N is a number\&. When the log is "full", default after 100KB, run_erl starts to log in file \fIerlang\&.log\&.(N+1)\fR, until N reaches a certain number (default 5), where after N starts at 1 again and the oldest files start getting overwritten\&. If no output comes from the erlang shell, but the erlang machine still seems to be alive, an "ALIVE" message is written to the log, it is a timestamp and is written, by default, after 15 minutes of inactivity\&. Also, if output from erlang is logged but it\&'s been more than 5 minutes (default) since last time we got anything from erlang, a timestamp is written in the log\&. The "ALIVE" messages look like this: + +.nf + ===== ALIVE + +.fi +.LP +while the other timestamps look like this: + +.nf + ===== + +.fi +.LP +The \fIdate-time-string\fR is the date and time the message is written, default in local time (can be changed to GMT if one wants to) and is formatted with the ANSI-C function \fIstrftime\fR using the format string \fI%a %b %e %T %Z %Y\fR, which produces messages on the line of \fI===== ALIVE Thu May 15 10:13:36 MEST 2003\fR, this can be changed, see below\&. +.SH ENVIRONMENT VARIABLES +.LP +The following environment variables are recognized by run_erl and change the logging behavior\&. Also see the notes above to get more info on how the log behaves\&. +.RS 2 +.TP 4 +.B +RUN_ERL_LOG_ALIVE_MINUTES: +How long to wait for output (in minutes) before writing an "ALIVE" message to the log\&. Default is 15, can never be less than 1\&. +.TP 4 +.B +RUN_ERL_LOG_ACTIVITY_MINUTES: +How long erlang need to be inactive before output will be preceded with a timestamp\&. Default is RUN_ERL_LOG_ALIVE_MINUTES div 3, but never less than 1\&. +.TP 4 +.B +RUN_ERL_LOG_ALIVE_FORMAT: +Specifies another format string to be used in the strftime C library call\&. i\&.e specifying this to \fI"%e-%b-%Y, %T %Z"\fR will give log messages with timestamps looking like \fI15-May-2003, 10:23:04 MET\fR etc\&. See the documentation for the C library function strftime for more information\&. Default is \fI"%a %b %e %T %Z %Y"\fR\&. +.TP 4 +.B +RUN_ERL_LOG_ALIVE_IN_UTC: +If set to anything else than "0", it will make all times displayed by run_erl to be in UTC (GMT,CET,MET, without DST), rather than in local time\&. This does not affect data coming from erlang, only the logs output directly by run_erl\&. The application \fIsasl\fR can be modified accordingly by setting the erlang application variable \fIutc_log\fR to \fItrue\fR\&. +.TP 4 +.B +RUN_ERL_LOG_GENERATIONS: +Controls the number of log files written before older files are being reused\&. Default is 5, minimum is 2, maximum is 1000\&. +.TP 4 +.B +RUN_ERL_LOG_MAXSIZE: +The size (in bytes) of a log file before switching to a new log file\&. Default is 100000, minimum is 1000 and maximum is approximately 2^30\&. +.RE +.SH SEE ALSO +.LP +start_embedded(1) --- erlang-13.b.1-dfsg.orig/debian/manpages/start_embedded.1 +++ erlang-13.b.1-dfsg/debian/manpages/start_embedded.1 @@ -0,0 +1,29 @@ +.TH start_embedded 1 "erts 5.7.2" "Ericsson AB" "USER COMMANDS" +.SH NAME +start_embedded \- OTP start script example for Unix +.SH DESCRIPTION +.LP +This describes the \fIstart\fR script that is an example script on how to startup the Erlang system in embedded mode on Unix\&. +.LP +You can read more about the use in the \fIEmbedded System User\&'s Guide\fR\&. + +.SH EXPORTS +.LP +.B +start [ data_file ] +.br +.RS +.LP +In the example there is one argument +.RS 2 +.TP 4 +.B +data_file: +Optional, specifies what \fIstart_erl\&.data\fR file to use\&. +.RE +.LP +There is also an environment variable \fIRELDIR\fR that can be set prior to calling this example that set the directory where to find the release files\&. +.RE +.SH SEE ALSO +.LP +run_erl(1) --- erlang-13.b.1-dfsg.orig/debian/manpages/dialyzer.1 +++ erlang-13.b.1-dfsg/debian/manpages/dialyzer.1 @@ -0,0 +1,287 @@ +.TH dialyzer 1 "dialyzer 1.9.2" "Ericsson AB" "USER COMMANDS" +.SH NAME +dialyzer \- The Dialyzer, a DIscrepancy AnalYZer for ERlang programs +.SH DESCRIPTION +.LP +The Dialyzer is a static analysis tool that identifies software discrepancies such as definite type errors, code which has become dead or unreachable due to some programming error, unnecessary tests, etc\&. in single Erlang modules or entire (sets of) applications\&. Dialyzer starts its analysis from either debug-compiled BEAM bytecode or from Erlang source code\&. The file and line number of a discrepancy is reported along with an indication of what the discrepancy is about\&. Dialyzer bases its analysis on the concept of success typings which allows for sound warnings (no false positives)\&. +.LP +Read more about Dialyzer and about how to use it from the GUI in Dialyzer User\&'s Guide\&. + +.SH USING THE DIALYZER FROM THE COMMAND LINE +.LP +Dialyzer also has a command line version for automated use\&. Below is a brief description of the list of its options\&. The same information can be obtained by writing + +.nf + dialyzer --help + +.fi +.LP +in a shell\&. Please refer to the GUI description for more details on the operation of Dialyzer\&. +.LP +The exit status of the command line version is: + +.nf + 0 - No problems were encountered during the analysis and no + warnings were emitted\&. + 1 - Problems were encountered during the analysis\&. + 2 - No problems were encountered, but warnings were emitted\&. + +.fi +.LP +Usage: + +.nf + dialyzer [--help] [--version] [--shell] [--quiet] [--verbose] + [-pa dir]* [--plt plt] [-Ddefine]* [-I include_dir]* + [--output_plt file] [-Wwarn]* [--src] + [-c applications] [-r applications] [-o outfile] + [--build_plt] [--add_to_plt] [--remove_from_plt] + [--check_plt] [--no_check_plt] [--plt_info] [--get_warnings] + +.fi +.LP +Options: +.RS 2 +.TP 4 +.B +\fI-c applications\fR(or \fI--command-line applications\fR): +use Dialyzer from the command line (no GUI) to detect defects in the specified applications (directories or \fI\&.erl\fR or \fI\&.beam\fR files) +.TP 4 +.B +\fI-r applications\fR: +same as \fI-c\fR only that directories are searched recursively for subdirectories containing \fI\&.erl\fR or \fI\&.beam\fR files (depending on the type of analysis) +.TP 4 +.B +\fI-o outfile\fR(or \fI--output outfile\fR): +when using Dialyzer from the command line, send the analysis results in the specified \fIoutfile\fR rather than in stdout +.TP 4 +.B +\fI--src\fR: +overide the default, which is to analyze debug compiled BEAM bytecode, and analyze starting from Erlang source code instead +.TP 4 +.B +\fI--raw\fR: +When using Dialyzer from the command line, output the raw analysis results (Erlang terms) instead of the formatted result\&. The raw format is easier to post-process (for instance, to filter warnings or to output HTML pages)\&. +.TP 4 +.B +\fI-Dname\fR(or \fI-Dname=value\fR): +when analyzing from source, pass the define to Dialyzer (**) +.TP 4 +.B +\fI-I include_dir\fR: +when analyzing from source, pass the \fIinclude_dir\fR to Dialyzer (**) +.TP 4 +.B +\fI-pa dir\fR: +Include \fIdir\fR in the path for Erlang\&. Useful when analyzing files that have \fI-include_lib()\fR directives\&. +.TP 4 +.B +\fI--output_plt file\fR: +Store the PLT at the specified location after building it\&. +.TP 4 +.B +\fI--plt plt\fR: +Use the specified plt as the initial persistent lookup table\&. +.TP 4 +.B +\fI-Wwarn\fR: +a family of option which selectively turn on/off warnings\&. (for help on the names of warnings use \fIdialyzer -Whelp\fR) +.TP 4 +.B +\fI--shell\fR: +do not disable the Erlang shell while running the GUI +.TP 4 +.B +\fI--version (or -v)\fR: +prints the Dialyzer version and some more information and exits +.TP 4 +.B +\fI--help (or -h)\fR: +prints this message and exits +.TP 4 +.B +\fI--quiet (or -q)\fR: +makes Dialyzer a bit more quiet +.TP 4 +.B +\fI--verbose\fR: +makes Dialyzer a bit more verbose +.TP 4 +.B +\fI--check_plt\fR: +Only checks if the initial PLT is up to date and rebuilds it if this is not the case +.TP 4 +.B +\fI--no_check_plt (or -n)\fR: +Skip the PLT integrity check when running Dialyzer\&. Useful when working with installed PLTs that never change\&. +.TP 4 +.B +\fI--build_plt\fR: +The analysis starts from an empty PLT and creates a new one from the files specified with -c and -r\&. Only works for beam files\&. Use --plt or --output_plt to override the default PLT location\&. +.TP 4 +.B +\fI--add_to_plt\fR: +The PLT is extended to also include the files specified with -c and -r\&. Use --plt to specify wich PLT to start from, and --output_plt to specify where to put the PLT\&. Note that the analysis might include files from the PLT if they depend on the new files\&. This option only works with beam files\&. +.TP 4 +.B +\fI--remove_from_plt\fR: +The information from the files specified with -c and -r is removed from the PLT\&. Note that this may cause a re-analysis of the remaining dependent files\&. +.TP 4 +.B +\fI--get_warnings\fR: +Makes Dialyzer emit warnings even when manipulating the PLT\&. Only emits warnings for files that are actually analyzed\&. The default is to not emit any warnings when manipulating the PLT\&. This option has no effect when performing a normal analysis\&. +.RE +.SS Note: +.LP +* denotes that multiple occurrences of these options are possible\&. +.LP +** options \fI-D\fR and \fI-I\fR work both from command-line and in the Dialyzer GUI; the syntax of defines and includes is the same as that used by \fIerlc\fR\&. + +.LP +Warning options: +.RS 2 +.TP 4 +.B +\fI-Wno_return\fR: +Suppress warnings for functions of no return\&. +.TP 4 +.B +\fI-Wno_unused\fR: +Suppress warnings for unused functions\&. +.TP 4 +.B +\fI-Wno_improper_lists\fR: +Suppress warnings for construction of improper lists\&. +.TP 4 +.B +\fI-Wno_fun_app\fR: +Suppress warnings for fun applications that will fail\&. +.TP 4 +.B +\fI-Wno_match\fR: +Suppress warnings for patterns that are unused or cannot match\&. +.TP 4 +.B +\fI-Werror_handling\fR***: +Include warnings for functions that only return by means of an exception\&. +.TP 4 +.B +\fI-Wunmatched_returns\fR***: +Include warnings for function calls which ignore a structured return value or do not match against one of many possible return value(s)\&. +.TP 4 +.B +\fI-Wunderspecs\fR***: +Warn about underspecified functions (the -spec is strictly more allowing than the success typing) +.TP 4 +.B +\fI-Woverspecs\fR***: +Warn about overspecified functions (the -spec is strictly less allowing than the success typing) +.TP 4 +.B +\fI-Wspecdiffs\fR***: +Warn when the -spec is different than the success typing +.RE +.SS Note: +.LP +*** These are options that turn on warnings rather than turning them off\&. + +.SH USING THE DIALYZER FROM ERLANG +.LP +You can also use Dialyzer directly from Erlang\&. Both the GUI and the command line version are available\&. The options are similar to the ones given from the command line, so please refer to the sections above for a description of these\&. +.SH EXPORTS +.LP +.B +gui() -> ok | {error, Msg} +.br +.B +gui(OptList) -> ok | {error, Msg} +.br +.RS +.TP +Types +OptList -- see below +.br +.RE +.RS +.LP +Dialyzer GUI version\&. + +.nf +OptList : [Option] +Option : {files, [Filename : string()]} + | {files_rec, [DirName : string()]} + | {defines, [{Macro: atom(), Value : term()}]} + | {from, src_code | byte_code} %% Defaults to byte_code + | {init_plt, FileName : string()} %% If changed from default + | {include_dirs, [DirName : string()]} + | {output_file, FileName : string()} + | {output_plt, FileName :: string()} + | {analysis_type, \&'success_typings\&' | \&'plt_add\&' | \&'plt_build\&' | \&'plt_check\&' | \&'plt_remove\&'} + | {warnings, [WarnOpts]} + | {get_warnings, bool()} + +WarnOpts : no_return + | no_unused + | no_improper_lists + | no_fun_app + | no_match + | no_fail_call + | error_handling + | unmatched_returns + | overspecs + | underspecs + | specdiffs + +.fi +.RE +.LP +.B +run(OptList) -> Warnings +.br +.RS +.TP +Types +OptList -- see gui/0, 1 +.br +Warnings -- see below +.br +.RE +.RS +.LP +Dialyzer command line version\&. + +.nf +Warnings :: [{Tag, Id, Msg}] +Tag : \&'warn_return_no_exit\&' | \&'warn_return_only_exit\&' + | \&'warn_not_called\&' | \&'warn_non_proper_list\&' + | \&'warn_fun_app\&' | \&'warn_matching\&' + | \&'warn_failing_call\&' | \&'warn_contract_types\&' + | \&'warn_contract_syntax\&' | \&'warn_contract_not_equal\&' + | \&'warn_contract_subtype\&' | \&'warn_contract_supertype\&' +Id = {File :: string(), Line :: integer()} +Msg = msg() -- Undefined + +.fi +.RE +.LP +.B +format_warning(Msg) -> string() +.br +.RS +.TP +Types +Msg = {Tag, Id, msg()} -- See run/1 +.br +.RE +.RS +.LP +Get a string from warnings as returned by dialyzer:run/1\&. +.RE +.LP +.B +plt_info(string()) -> {\&'ok\&', [{atom(), any()}]} | {\&'error\&', atom()} +.br +.RS +.LP +Returns information about the specified plt\&. +.RE --- erlang-13.b.1-dfsg.orig/debian/manpages/start_webtool.1 +++ erlang-13.b.1-dfsg/debian/manpages/start_webtool.1 @@ -0,0 +1,70 @@ +.TH start_webtool 1 "webtool 0.8.4" "Ericsson AB" "USER COMMANDS" +.SH NAME +start_webtool \- WebTool Start Script +.SH DESCRIPTION +.LP +The \fIstart_webtool\fR script starts WebTool, a WebTool application and a web browser pointing to this application\&. + +.SH EXPORTS +.LP +.B +start_webtool application [ browser ] +.br +.RS +.LP +Starts WebTool, the given WebTool Application and a web browser pointing to this application\&. +.LP +If no argument is given, a list of available applications is displayed, e\&.g\&. + +.nf +>start_webtool +Starting webtool\&.\&.\&. +WebTool is available at http://localhost:8888/ +Or http://127\&.0\&.0\&.1:8888/ + +Usage: start_webtool application [ browser ] + +Available applications are: [orber,appmon,crashdump_viewer,webcover] +Default browser is \&'iexplore\&' (Internet Explorer) on Windows or else \&'netscape\&' +.fi +.LP +To start any of the listed applications, give the application name as the first argument, e\&.g\&. + +.nf +>start_webtool webcover +Starting webtool\&.\&.\&. +WebTool is available at http://localhost:8888/ +Or http://127\&.0\&.0\&.1:8888/ +Starting webcover\&.\&.\&. +Sending URL to netscape\&.\&.\&.done +.fi +.LP +The WebTool application WebCover is then started and the default browser is used\&. The default broser is Internet Explorer on Windows or else Netscape\&. +.LP +To use another browser, give the browser\&'s start command as the second argument, e\&.g\&. + +.nf +>start_webtool webcover mozilla +Starting webtool\&.\&.\&. +WebTool is available at http://localhost:8888/ +Or http://127\&.0\&.0\&.1:8888/ +Starting webcover\&.\&.\&. +Sending URL to mozilla\&.\&.\&.done +.fi +.LP +If the given browser name is not known to WebTool, WebTool will run it as a command with the start URL as the only argument, e\&.g\&. + +.nf +>start_webtool webcover mybrowser +Starting webtool\&.\&.\&. +WebTool is available at http://localhost:8888/ +Or http://127\&.0\&.0\&.1:8888/ +Starting webcover\&.\&.\&. +Starting mybrowser\&.\&.\&. +.fi +.LP +Here the command \fI"mybrowser http://localhost:8888/webcover"\fR is executed\&. +.RE +.SH SEE ALSO +.LP +webtool(3erl) --- erlang-13.b.1-dfsg.orig/debian/manpages/erl.1 +++ erlang-13.b.1-dfsg/debian/manpages/erl.1 @@ -0,0 +1,740 @@ +.TH erl 1 "erts 5.7.2" "Ericsson AB" "USER COMMANDS" +.SH NAME +erl \- The Erlang Emulator +.SH DESCRIPTION +.LP +The \fIerl\fR program starts an Erlang runtime system\&. The exact details (for example, whether \fIerl\fR is a script or a program and which other programs it calls) are system-dependent\&. +.LP +Windows users probably wants to use the \fIwerl\fR program instead, which runs in its own window with scrollbars and supports command-line editing\&. The \fIerl\fR program on Windows provides no line editing in its shell, and on Windows 95 there is no way to scroll back to text which has scrolled off the screen\&. The \fIerl\fR program must be used, however, in pipelines or if you want to redirect standard input or output\&. + +.SH EXPORTS +.LP +.B +erl +.br +.RS +.LP +Starts an Erlang runtime system\&. +.LP +The arguments can be divided into \fIemulator flags\fR, \fIflags\fR and \fIplain arguments\fR: +.RS 2 +.TP 2 +* +Any argument starting with the character \fI+\fR is interpreted as an emulator flag\&. +.RS 2 +.LP + +.LP +As indicated by the name, emulator flags controls the behavior of the emulator\&. +.RE +.TP 2 +* +Any argument starting with the character \fI-\fR (hyphen) is interpreted as a flag which should be passed to the Erlang part of the runtime system, more specifically to the \fIinit\fR system process, see init(3erl)\&. +.RS 2 +.LP + +.LP +The \fIinit\fR process itself interprets some of these flags, the \fIinit flags\fR\&. It also stores any remaining flags, the \fIuser flags\fR\&. The latter can be retrieved by calling \fIinit:get_argument/1\fR\&. +.LP + +.LP +It can be noted that there are a small number of "-" flags which now actually are emulator flags, see the description below\&. +.RE +.TP 2 +* +Plain arguments are not interpreted in any way\&. They are also stored by the \fIinit\fR process and can be retrieved by calling \fIinit:get_plain_arguments/0\fR\&. Plain arguments can occur before the first flag, or after a \fI--\fR flag\&. Additionally, the flag \fI-extra\fR causes everything that follows to become plain arguments\&. +.RE +.LP +Example: + +.nf +% erl +W w -sname arnie +R 9 -s my_init -extra +bertie + +(arnie@host)1> init:get_argument(sname)\&. + +{ok,[["arnie"]]} +(arnie@host)2> init:get_plain_arguments()\&. + +["+bertie"] +.fi +.LP +Here \fI+W w\fR and \fI+R 9\fR are emulator flags\&. \fI-s my_init\fR is an init flag, interpreted by \fIinit\fR\&. \fI-sname arnie\fR is a user flag, stored by \fIinit\fR\&. It is read by Kernel and will cause the Erlang runtime system to become distributed\&. Finally, everything after \fI-extra\fR (that is, \fI+bertie\fR) is considered as plain arguments\&. + +.nf +% erl -myflag 1 + +1> init:get_argument(myflag)\&. + +{ok,[["1"]]} +2> init:get_plain_arguments()\&. + +[] +.fi +.LP +Here the user flag \fI-myflag 1\fR is passed to and stored by the \fIinit\fR process\&. It is a user defined flag, presumably used by some user defined application\&. +.RE +.SH FLAGS +.LP +In the following list, init flags are marked (init flag)\&. Unless otherwise specified, all other flags are user flags, for which the values can be retrieved by calling \fIinit:get_argument/1\fR\&. Note that the list of user flags is not exhaustive, there may be additional, application specific flags which instead are documented in the corresponding application documentation\&. +.RS 2 +.TP 4 +.B +\fI--\fR(init flag): +Everything following \fI--\fR up to the next flag (\fI-flag\fR or \fI+flag\fR) is considered plain arguments and can be retrieved using \fIinit:get_plain_arguments/0\fR\&. +.TP 4 +.B +\fI-Application Par Val\fR: +Sets the application configuration parameter \fIPar\fR to the value \fIVal\fR for the application \fIApplication\fR, see app(4) and application(3erl)\&. +.TP 4 +.B +\fI-args_file FileName\fR: + +.RS 4 +.LP +Command line arguments are read from the file \fIFileName\fR\&. The arguments read from the file replace the \&'\fI-args_file FileName\fR\&' flag on the resulting command line\&. +.LP + +.LP +The file \fIFileName\fR should be a plain text file and may contain comments and command line arguments\&. A comment begins with a # character and continues until next end of line character\&. Backslash (\e) is used as quoting character\&. All command line arguments accepted by \fIerl\fR are allowed, also the \fI-args_file FileName\fR flag\&. Be careful not to cause circular dependencies between files containing the \fI-args_file\fR flag, though\&. +.LP + +.LP +The \fI-extra\fR flag is treated specially\&. Its scope ends at the end of the file\&. Arguments following an \fI-extra\fR flag are moved on the command line into the \fI-extra\fR section, i\&.e\&. the end of the command line following after an \fI-extra\fR flag\&. +.RE +.TP 4 +.B +\fI-async_shell_start\fR: +The initial Erlang shell does not read user input until the system boot procedure has been completed (Erlang 5\&.4 and later)\&. This flag disables the start synchronization feature and lets the shell start in parallel with the rest of the system\&. +.TP 4 +.B +\fI-boot File\fR: +Specifies the name of the boot file, \fIFile\&.boot\fR, which is used to start the system\&. See init(3erl)\&. Unless \fIFile\fR contains an absolute path, the system searches for \fIFile\&.boot\fR in the current and \fI$ROOT/bin\fR directories\&. +.RS 4 +.LP + +.LP +Defaults to \fI$ROOT/bin/start\&.boot\fR\&. +.RE +.TP 4 +.B +\fI-boot_var Var Dir\fR: +If the boot script contains a path variable \fIVar\fR other than \fI$ROOT\fR, this variable is expanded to \fIDir\fR\&. Used when applications are installed in another directory than \fI$ROOT/lib\fR, see systools:make_script/1,2\&. +.TP 4 +.B +\fI-code_path_cache\fR: +Enables the code path cache of the code server, see code(3erl)\&. +.TP 4 +.B +\fI-compile Mod1 Mod2 \&.\&.\&.\fR: +Compiles the specified modules and then terminates (with non-zero exit code if the compilation of some file did not succeed)\&. Implies \fI-noinput\fR\&. Not recommended - use erlc instead\&. +.TP 4 +.B +\fI-config Config\fR: +Specifies the name of a configuration file, \fIConfig\&.config\fR, which is used to configure applications\&. See app(4) and application(3erl)\&. +.TP 4 +.B +\fI-connect_all false\fR: + +.RS 4 +.LP +If this flag is present, \fIglobal\fR will not maintain a fully connected network of distributed Erlang nodes, and then global name registration cannot be used\&. See global(3erl)\&. +.RE +.TP 4 +.B +\fI-cookie Cookie\fR: +Obsolete flag without any effect and common misspelling for \fI-setcookie\fR\&. Use \fI-setcookie\fR instead\&. +.TP 4 +.B +\fI-detached\fR: +Starts the Erlang runtime system detached from the system console\&. Useful for running daemons and backgrounds processes\&. +.TP 4 +.B +\fI-emu_args\fR: +Useful for debugging\&. Prints out the actual arguments sent to the emulator\&. +.TP 4 +.B +\fI-env Variable Value\fR: +Sets the host OS environment variable \fIVariable\fR to the value \fIValue\fR for the Erlang runtime system\&. Example: +.RS 4 +.LP + + +.nf +% erl -env DISPLAY gin:0 + +.fi +.LP + +.LP +In this example, an Erlang runtime system is started with the \fIDISPLAY\fR environment variable set to \fIgin:0\fR\&. +.RE +.TP 4 +.B +\fI-eval Expr\fR(init flag): +Makes \fIinit\fR evaluate the expression \fIExpr\fR, see init(3erl)\&. +.TP 4 +.B +\fI-extra\fR(init flag): +Everything following \fI-extra\fR is considered plain arguments and can be retrieved using \fIinit:get_plain_arguments/0\fR\&. +.TP 4 +.B +\fI-heart\fR: +Starts heart beat monitoring of the Erlang runtime system\&. See heart(3erl)\&. +.TP 4 +.B +\fI-hidden\fR: +Starts the Erlang runtime system as a hidden node, if it is run as a distributed node\&. Hidden nodes always establish hidden connections to all other nodes except for nodes in the same global group\&. Hidden connections are not published on neither of the connected nodes, i\&.e\&. neither of the connected nodes are part of the result from \fInodes/0\fR on the other node\&. See also hidden global groups, global_group(3erl)\&. +.TP 4 +.B +\fI-hosts Hosts\fR: +Specifies the IP addresses for the hosts on which Erlang boot servers are running, see erl_boot_server(3erl)\&. This flag is mandatory if the \fI-loader inet\fR flag is present\&. +.RS 4 +.LP + +.LP +The IP addresses must be given in the standard form (four decimal numbers separated by periods, for example \fI"150\&.236\&.20\&.74"\fR\&. Hosts names are not acceptable, but a broadcast address (preferably limited to the local network) is\&. +.RE +.TP 4 +.B +\fI-id Id\fR: +Specifies the identity of the Erlang runtime system\&. If it is run as a distributed node, \fIId\fR must be identical to the name supplied together with the \fI-sname\fR or \fI-name\fR flag\&. +.TP 4 +.B +\fI-init_debug\fR: +Makes \fIinit\fR write some debug information while interpreting the boot script\&. +.TP 4 +.B +\fI-instr\fR(emulator flag): + +.RS 4 +.LP +Selects an instrumented Erlang runtime system (virtual machine) to run, instead of the ordinary one\&. When running an instrumented runtime system, some resource usage data can be obtained and analysed using the module \fIinstrument\fR\&. Functionally, it behaves exactly like an ordinary Erlang runtime system\&. +.RE +.TP 4 +.B +\fI-loader Loader\fR: +Specifies the method used by \fIerl_prim_loader\fR to load Erlang modules into the system\&. See erl_prim_loader(3erl)\&. Two \fILoader\fR methods are supported, \fIefile\fR and \fIinet\fR\&. \fIefile\fR means use the local file system, this is the default\&. \fIinet\fR means use a boot server on another machine, and the \fI-id\fR, \fI-hosts\fR and \fI-setcookie\fR flags must be specified as well\&. If \fILoader\fR is something else, the user supplied \fILoader\fR port program is started\&. +.TP 4 +.B +\fI-make\fR: +Makes the Erlang runtime system invoke \fImake:all()\fR in the current working directory and then terminate\&. See make(3erl)\&. Implies \fI-noinput\fR\&. +.TP 4 +.B +\fI-man Module\fR: +Displays the manual page for the Erlang module \fIModule\fR\&. Only supported on Unix\&. +.TP 4 +.B +\fI-mode interactive | embedded\fR: +Indicates if the system should load code dynamically (\fIinteractive\fR), or if all code should be loaded during system initialization (\fIembedded\fR), see code(3erl)\&. Defaults to \fIinteractive\fR\&. +.TP 4 +.B +\fI-name Name\fR: +Makes the Erlang runtime system into a distributed node\&. This flag invokes all network servers necessary for a node to become distributed\&. See net_kernel(3erl)\&. It is also ensured that \fIepmd\fR runs on the current host before Erlang is started\&. See epmd(1)\&. +.RS 4 +.LP + +.LP +The name of the node will be \fIName@Host\fR, where \fIHost\fR is the fully qualified host name of the current host\&. For short names, use the \fI-sname\fR flag instead\&. +.RE +.TP 4 +.B +\fI-noinput\fR: +Ensures that the Erlang runtime system never tries to read any input\&. Implies \fI-noshell\fR\&. +.TP 4 +.B +\fI-noshell\fR: +Starts an Erlang runtime system with no shell\&. This flag makes it possible to have the Erlang runtime system as a component in a series of UNIX pipes\&. +.TP 4 +.B +\fI-nostick\fR: +Disables the sticky directory facility of the Erlang code server, see code(3erl)\&. +.TP 4 +.B +\fI-oldshell\fR: +Invokes the old Erlang shell from Erlang 3\&.3\&. The old shell can still be used\&. +.TP 4 +.B +\fI-pa Dir1 Dir2 \&.\&.\&.\fR: +Adds the specified directories to the beginning of the code path, similar to \fIcode:add_pathsa/1\fR\&. See code(3erl)\&. As an alternative to \fI-pa\fR, if several directories are to be prepended to the code and the directories have a common parent directory, that parent directory could be specified in the \fIERL_LIBS\fR environment variable\&. See code(3erl)\&. +.TP 4 +.B +\fI-pz Dir1 Dir2 \&.\&.\&.\fR: +Adds the specified directories to the end of the code path, similar to \fIcode:add_pathsz/1\fR\&. See code(3erl)\&. +.TP 4 +.B +\fI-remsh Node\fR: +Starts Erlang with a remote shell connected to \fINode\fR\&. +.TP 4 +.B +\fI-rsh Program\fR: +Specifies an alternative to \fIrsh\fR for starting a slave node on a remote host\&. See slave(3erl)\&. +.TP 4 +.B +\fI-run Mod [Func [Arg1, Arg2, \&.\&.\&.]]\fR(init flag): +Makes \fIinit\fR call the specified function\&. \fIFunc\fR defaults to \fIstart\fR\&. If no arguments are provided, the function is assumed to be of arity 0\&. Otherwise it is assumed to be of arity 1, taking the list \fI[Arg1, Arg2, \&.\&.\&.]\fR as argument\&. All arguments are passed as strings\&. See init(3erl)\&. +.TP 4 +.B +\fI-s Mod [Func [Arg1, Arg2, \&.\&.\&.]]\fR(init flag): +Makes \fIinit\fR call the specified function\&. \fIFunc\fR defaults to \fIstart\fR\&. If no arguments are provided, the function is assumed to be of arity 0\&. Otherwise it is assumed to be of arity 1, taking the list \fI[Arg1, Arg2, \&.\&.\&.]\fR as argument\&. All arguments are passed as atoms\&. See init(3erl)\&. +.TP 4 +.B +\fI-setcookie Cookie\fR: +Sets the magic cookie of the node to \fICookie\fR, see erlang:set_cookie/2\&. +.TP 4 +.B +\fI-shutdown_time Time\fR: +Specifies how long time (in milliseconds) the \fIinit\fR process is allowed to spend shutting down the system\&. If \fITime\fR ms have elapsed, all processes still existing are killed\&. Defaults to \fIinfinity\fR\&. +.TP 4 +.B +\fI-sname Name\fR: +Makes the Erlang runtime system into a distributed node, similar to \fI-name\fR, but the host name portion of the node name \fIName@Host\fR will be the short name, not fully qualified\&. +.RS 4 +.LP + +.LP +This is sometimes the only way to run distributed Erlang if the DNS (Domain Name System) is not running\&. There can be no communication between nodes running with the \fI-sname\fR flag and those running with the \fI-name\fR flag, as node names must be unique in distributed Erlang systems\&. +.RE +.TP 4 +.B +\fI-smp [enable|auto|disable]\fR: + +.RS 4 +.LP +\fI-smp enable\fR and \fI-smp\fR starts the Erlang runtime system with SMP support enabled\&. This may fail if no runtime system with SMP support is available\&. \fI-smp auto\fR starts the Erlang runtime system with SMP support enabled if it is available and more than one logical processor are detected\&. \fI-smp disable\fR starts a runtime system without SMP support\&. By default \fI-smp auto\fR will be used unless a conflicting parameter has been passed, then \fI-smp disable\fR will be used\&. Currently only the \fI-hybrid\fR parameter conflicts with \fI-smp auto\fR\&. +.LP + +.LP +\fINOTE\fR: The runtime system with SMP support will not be available on all supported platforms\&. See also the +S flag\&. +.RE +.TP 4 +.B +\fI-version\fR(emulator flag): +Makes the emulator print out its version number\&. The same as \fIerl +V\fR\&. +.RE +.SH EMULATOR FLAGS +.LP +\fIerl\fR invokes the code for the Erlang emulator (virtual machine), which supports the following flags: +.RS 2 +.TP 4 +.B +\fI+a size\fR: + +.RS 4 +.LP +Suggested stack size, in kilowords, for threads in the async-thread pool\&. Valid range is 16-8192 kilowords\&. The default suggested stack size is 16 kilowords, i\&.e, 64 kilobyte on 32-bit architectures\&. This small default size has been chosen since the amount of async-threads might be quite large\&. The default size is enough for drivers delivered with Erlang/OTP, but might not be sufficiently large for other dynamically linked in drivers that use the driver_async() functionality\&. Note that the value passed is only a suggestion, and it might even be ignored on some platforms\&. +.RE +.TP 4 +.B +\fI+A size\fR: + +.RS 4 +.LP +Sets the number of threads in async thread pool, valid range is 0-1024\&. Default is 0\&. +.RE +.TP 4 +.B +\fI+B [c | d | i]\fR: +The \fIc\fR option makes \fICtrl-C\fR interrupt the current shell instead of invoking the emulator break handler\&. The \fId\fR option (same as specifying \fI+B\fR without an extra option) disables the break handler\&. The \fIi\fR option makes the emulator ignore any break signal\&. +.RS 4 +.LP + +.LP +If the \fIc\fR option is used with \fIoldshell\fR on Unix, \fICtrl-C\fR will restart the shell process rather than interrupt it\&. +.LP + +.LP +Note that on Windows, this flag is only applicable for \fIwerl\fR, not \fIerl\fR (\fIoldshell\fR)\&. Note also that \fICtrl-Break\fR is used instead of \fICtrl-C\fR on Windows\&. +.RE +.TP 4 +.B +\fI+c\fR: +Disable compensation for sudden changes of system time\&. +.RS 4 +.LP + +.LP +Normally, \fIerlang:now/0\fR will not immediately reflect sudden changes in the system time, in order to keep timers (including \fIreceive-after\fR) working\&. Instead, the time maintained by \fIerlang:now/0\fR is slowly adjusted towards the new system time\&. (Slowly means in one percent adjustments; if the time is off by one minute, the time will be adjusted in 100 minutes\&.) +.LP + +.LP +When the \fI+c\fR option is given, this slow adjustment will not take place\&. Instead \fIerlang:now/0\fR will always reflect the current system time\&. Note that timers are based on \fIerlang:now/0\fR\&. If the system time jumps, timers then time out at the wrong time\&. +.RE +.TP 4 +.B +\fI+d\fR: +If the emulator detects an internal error (or runs out of memory), it will by default generate both a crash dump and a core dump\&. The core dump will, however, not be very useful since the content of process heaps is destroyed by the crash dump generation\&. +.RS 4 +.LP + +.LP +The \fI+d\fR option instructs the emulator to only produce a core dump and no crash dump if an internal error is detected\&. +.LP + +.LP +Calling \fIerlang:halt/1\fR with a string argument will still produce a crash dump\&. +.RE +.TP 4 +.B +\fI+h Size\fR: +Sets the default heap size of processes to the size \fISize\fR\&. +.TP 4 +.B +\fI+K true | false\fR: +Enables or disables the kernel poll functionality if the emulator supports it\&. Default is \fIfalse\fR (disabled)\&. If the emulator does not support kernel poll, and the \fI+K\fR flag is passed to the emulator, a warning is issued at startup\&. +.TP 4 +.B +\fI+l\fR: +Enables auto load tracing, displaying info while loading code\&. +.TP 4 +.B +\fI+MFlag Value\fR: + +.RS 4 +.LP +Memory allocator specific flags, see erts_alloc(3erl) for further information\&. +.RE +.TP 4 +.B +\fI+P Number\fR: + +.RS 4 +.LP +Sets the maximum number of concurrent processes for this system\&. \fINumber\fR must be in the range 16\&.\&.134217727\&. Default is 32768\&. +.RE +.TP 4 +.B +\fI+R ReleaseNumber\fR: + +.RS 4 +.LP +Sets the compatibility mode\&. +.LP + +.LP +The distribution mechanism is not backwards compatible by default\&. This flags sets the emulator in compatibility mode with an earlier Erlang/OTP release \fIReleaseNumber\fR\&. The release number must be in the range \fI7\&.\&.\fR\&. This limits the emulator, making it possible for it to communicate with Erlang nodes (as well as C- and Java nodes) running that earlier release\&. +.LP + +.LP +For example, an R10 node is not automatically compatible with an R9 node, but R10 nodes started with the \fI+R 9\fR flag can co-exist with R9 nodes in the same distributed Erlang system, they are R9-compatible\&. +.LP + +.LP +Note: Make sure all nodes (Erlang-, C-, and Java nodes) of a distributed Erlang system is of the same Erlang/OTP release, or from two different Erlang/OTP releases X and Y, where \fIall\fR Y nodes have compatibility mode X\&. +.LP + +.LP +For example: A distributed Erlang system can consist of R10 nodes, or of R9 nodes and R9-compatible R10 nodes, but not of R9 nodes, R9-compatible R10 nodes and "regular" R10 nodes, as R9 and "regular" R10 nodes are not compatible\&. +.RE +.TP 4 +.B +\fI+r\fR: +Force ets memory block to be moved on realloc\&. +.TP 4 +.B +\fI+S Schedulers:SchedulerOnline\fR: + +.RS 4 +.LP +Sets the amount of scheduler threads to create and scheduler threads to set online when SMP support has been enabled\&. Valid range for both values are 1-1024\&. If the Erlang runtime system is able to determine the amount of logical processors configured and logical processors available, \fISchedulers\fR will default to logical processors configured, and \fISchedulersOnline\fR will default to logical processors available; otherwise, the default values will be 1\&. \fISchedulers\fR may be omitted if \fI:SchedulerOnline\fR is not and vice versa\&. The amount of schedulers online can be changed at run time via erlang:system_flag(schedulers_online, SchedulersOnline)\&. +.LP + +.LP +This flag will be ignored if the emulator doesn\&'t have SMP support enabled (see the -smp flag)\&. +.RE +.TP 4 +.B +\fI+sFlag Value\fR: +Scheduling specific flags\&. +.RS 4 +.LP + +.RS 2 +.TP 4 +.B ++sbt BindType: + +.RS 4 +.LP +Set scheduler bind type\&. Currently valid \fIBindType\fRs: +.LP + +.RS 2 +.TP 4 +.B +\fIu\fR: +Same as erlang:system_flag(scheduler_bind_type, unbound)\&. +.TP 4 +.B +\fIns\fR: +Same as erlang:system_flag(scheduler_bind_type, no_spread)\&. +.TP 4 +.B +\fIts\fR: +Same as erlang:system_flag(scheduler_bind_type, thread_spread)\&. +.TP 4 +.B +\fIps\fR: +Same as erlang:system_flag(scheduler_bind_type, processor_spread)\&. +.TP 4 +.B +\fInnts\fR: +Same as erlang:system_flag(scheduler_bind_type, no_node_thread_spread)\&. +.TP 4 +.B +\fInnps\fR: +Same as erlang:system_flag(scheduler_bind_type, no_node_processor_spread)\&. +.TP 4 +.B +\fItnnps\fR: +Same as erlang:system_flag(scheduler_bind_type, thread_no_node_processor_spread)\&. +.TP 4 +.B +\fIdb\fR: +Same as erlang:system_flag(scheduler_bind_type, default_bind)\&. +.RE +.LP + +.LP +Binding of schedulers are currently only supported on newer Linux and Solaris systems\&. +.LP + +.LP +If no CPU topology is available when the \fI+sbt\fR flag is processed and \fIBindType\fR is any other type than \fIu\fR, the runtime system will fail to start\&. CPU topology can be defined using the +sct flag\&. Note that the \fI+sct\fR flag may have to be passed before the \fI+sbt\fR flag on the command line (in case no CPU topology has been automatically detected)\&. +.LP + +.LP +For more information, see erlang:system_flag(scheduler_bind_type, SchedulerBindType)\&. +.RE +.TP 4 +.B +\fI+sct CpuTopology\fR: + +.RS 4 +.RS 2 +.TP 2 +* +\fI = integer(); when 0 =< =< 65535\fR +.TP 2 +* +\fI = -\fR +.TP 2 +* +\fI = | \fR +.TP 2 +* +\fI = , | \fR +.TP 2 +* +\fI = L\fR +.TP 2 +* +\fI = T | t\fR +.TP 2 +* +\fI = C | c\fR +.TP 2 +* +\fI = P | p\fR +.TP 2 +* +\fI = N | n\fR +.TP 2 +* +\fI = \fR +.TP 2 +* +\fICpuTopology = : | \fR +.RE +.LP + +.LP +Upper-case letters signify real identifiers and lower-case letters signify fake identifiers only used for description of the topology\&. Identifiers passed as real identifiers may be used by the runtime system when trying to access specific hardware and if they are not correct the behavior is undefined\&. Faked logical CPU identifiers are not accepted since there is no point in defining the CPU topology without real logical CPU identifiers\&. Thread, core, processor, and node identifiers may be left out\&. If left out, thread id defaults to \fIt0\fR, core id defaults to \fIc0\fR, processor id defaults to \fIp0\fR, and node id will be left undefined\&. Either all processors or no processors should have node identifiers defined\&. +.LP + +.LP +Both increasing and decreasing \fI\fRs are allowed\&. +.LP + +.LP +NUMA node identifiers are system wide\&. That is, each NUMA node on the system have to have a unique identifier\&. Processor identifiers are also system wide\&. Core identifiers are processor wide\&. Thread identifiers are core wide\&. +.LP + +.LP +The order of the identifier types imply the hierarchy of the CPU topology\&. Currently, the only valid order is: logical, thread, core, processor, node\&. That is, thread is part of a core which is part of a processor which is part of a NUMA node\&. This will, however, change in the future, since multiple NUMA nodes can be part of a processor, but this is not supported yet\&. +.LP + +.LP +If a list of identifiers is used in an \fI\fR: +.LP + +.RS 2 +.TP 2 +* +\fI\fR have to be a list of identifiers\&. +.TP 2 +* +At least one other identifier type apart from \fI\fR also have to have a list of identifiers\&. +.TP 2 +* +All lists of identifiers have to produce the same amount of identifiers\&. +.RE +.LP + +.LP +A simple example\&. A single quad core processor may be described this way: +.LP + + +.nf +% erl +sct L0-3c0-3 + +1> erlang:system_info(cpu_topology)\&. + +[{processor,[{core,{logical,0}}, + {core,{logical,1}}, + {core,{logical,2}}, + {core,{logical,3}}]}] + +.fi +.LP + +.LP +A little more complicated example\&. Two quad core processors\&. Each processor in its own NUMA node\&. The ordering of logical processors is a little weird\&. This in order to give a better example of identifier lists: +.LP + + +.nf +% erl +sct L0-1,3-2c0-3p0N0:L7,4,6-5c0-3p1N1 + +1> erlang:system_info(cpu_topology)\&. + +[{node,[{processor,[{core,{logical,0}}, + {core,{logical,1}}, + {core,{logical,3}}, + {core,{logical,2}}]}]}, + {node,[{processor,[{core,{logical,7}}, + {core,{logical,4}}, + {core,{logical,6}}, + {core,{logical,5}}]}]}] + +.fi +.LP + +.LP +As long as real identifiers are correct it is okay to pass a CPU topology that is not a correct description of the CPU topology\&. When used with care this can actually be very useful\&. This in order to trick the emulator to bind its schedulers as you want\&. For example, if you want to run multiple Erlang runtime systems on the same machine, you want to reduce the amount of schedulers used and manipulate the CPU topology so that they bind to different logical CPUs\&. An example, with two Erlang runtime systems on a quad core machine: +.LP + + +.nf +% erl +sct L0-3c0-3 +sbt db +S3:2 -detached -noinput -noshell -sname one + +% erl +sct L3-0c0-3 +sbt db +S3:2 -detached -noinput -noshell -sname two + + +.fi +.LP + +.LP +In this example each runtime system have two schedulers each online, and all schedulers online will run on different cores\&. If we change to one scheduler online on one runtime system, and three schedulers online on the other, all schedulers online will still run on different cores\&. +.LP + +.LP +Note that a faked CPU topology that does not reflect how the real CPU topology looks like is likely to decrease the performance of the runtime system\&. +.LP + +.LP +For more information, see erlang:system_flag(cpu_topology, CpuTopology)\&. +.RE +.RE +.RE +.TP 4 +.B +\fI+T Level\fR: + +.RS 4 +.LP +Enables modified timing and sets the modified timing level\&. Currently valid range is 0-9\&. The timing of the runtime system will change\&. A high level usually means a greater change than a low level\&. Changing the timing can be very useful for finding timing related bugs\&. +.LP + +.LP +Currently, modified timing affects the following: +.LP + +.RS 2 +.TP 4 +.B +Process spawning: +A process calling \fIspawn\fR, \fIspawn_link\fR, \fIspawn_monitor\fR, or \fIspawn_opt\fR will be scheduled out immediately after completing the call\&. When higher modified timing levels are used, the caller will also sleep for a while after being scheduled out\&. +.TP 4 +.B +Context reductions: +The amount of reductions a process is a allowed to use before being scheduled out is increased or reduced\&. +.TP 4 +.B +Input reductions: +The amount of reductions performed before checking I/O is increased or reduced\&. +.RE +.LP + +.LP +\fINOTE:\fR Performance will suffer when modified timing is enabled\&. This flag is \fIonly\fR intended for testing and debugging\&. Also note that \fIreturn_to\fR and \fIreturn_from\fR trace messages will be lost when tracing on the spawn BIFs\&. This flag may be removed or changed at any time without prior notice\&. +.RE +.TP 4 +.B +\fI+V\fR: +Makes the emulator print out its version number\&. +.TP 4 +.B +\fI+v\fR: +Verbose\&. +.TP 4 +.B +\fI+W w | i\fR: +Sets the mapping of warning messages for \fIerror_logger\fR\&. Messages sent to the error logger using one of the warning routines can be mapped either to errors (default), warnings (\fI+W w\fR), or info reports (\fI+W i\fR)\&. The current mapping can be retrieved using \fIerror_logger:warning_map/0\fR\&. See error_logger(3erl) for further information\&. +.RE +.SH ENVIRONMENT VARIABLES +.RS 2 +.TP 4 +.B +\fIERL_CRASH_DUMP\fR: +If the emulator needs to write a crash dump, the value of this variable will be the file name of the crash dump file\&. If the variable is not set, the name of the crash dump file will be \fIerl_crash\&.dump\fR in the current directory\&. +.TP 4 +.B +\fIERL_CRASH_DUMP_NICE\fR: +\fIUnix systems\fR: If the emulator needs to write a crash dump, it will use the value of this variable to set the nice value for the process, thus lowering its priority\&. The allowable range is 1 through 39 (higher values will be replaced with 39)\&. The highest value, 39, will give the process the lowest priority\&. +.TP 4 +.B +\fIERL_CRASH_DUMP_SECONDS\fR: +\fIUnix systems\fR: This variable gives the number of seconds that the emulator will be allowed to spend writing a crash dump\&. When the given number of seconds have elapsed, the emulator will be terminated by a SIGALRM signal\&. +.TP 4 +.B +\fIERL_AFLAGS\fR: +The content of this environment variable will be added to the beginning of the command line for \fIerl\fR\&. +.RS 4 +.LP + +.LP +The \fI-extra\fR flag is treated specially\&. Its scope ends at the end of the environment variable content\&. Arguments following an \fI-extra\fR flag are moved on the command line into the \fI-extra\fR section, i\&.e\&. the end of the command line following after an \fI-extra\fR flag\&. +.RE +.TP 4 +.B +\fIERL_ZFLAGS\fRand \fIERL_FLAGS\fR: +The content of these environment variables will be added to the end of the command line for \fIerl\fR\&. +.RS 4 +.LP + +.LP +The \fI-extra\fR flag is treated specially\&. Its scope ends at the end of the environment variable content\&. Arguments following an \fI-extra\fR flag are moved on the command line into the \fI-extra\fR section, i\&.e\&. the end of the command line following after an \fI-extra\fR flag\&. +.RE +.TP 4 +.B +\fIERL_LIBS\fR: +This environment variable contains a list of additional library directories that the code server will search for applications and add to the code path\&. See code(3erl)\&. +.TP 4 +.B +\fIERL_EPMD_PORT\fR: +This environment variable can contain the port number to use when communicating with epmd\&. The default port will work fine in most cases\&. A different port can be specified to allow nodes of independant clusters to co-exist on the same host\&. All nodes in a cluster must use the same epmd port number\&. +.RE +.SH SEE ALSO +.LP +init(3erl), erl_prim_loader(3erl), erl_boot_server(3erl), code(3erl), application(3erl), heart(3erl), net_kernel(3erl), auth(3erl), make(3erl), epmd(1), erts_alloc(3erl) --- erlang-13.b.1-dfsg.orig/debian/patterns/erlang-common-test.patterns +++ erlang-13.b.1-dfsg/debian/patterns/erlang-common-test.patterns @@ -0,0 +1 @@ +./usr/lib/erlang/lib/common_test-.*/ --- erlang-13.b.1-dfsg.orig/debian/patterns/erlang-inets.patterns +++ erlang-13.b.1-dfsg/debian/patterns/erlang-inets.patterns @@ -0,0 +1 @@ +./usr/lib/erlang/lib/inets-.*/ --- erlang-13.b.1-dfsg.orig/debian/patterns/erlang-syntax-tools.patterns +++ erlang-13.b.1-dfsg/debian/patterns/erlang-syntax-tools.patterns @@ -0,0 +1 @@ +./usr/lib/erlang/lib/syntax_tools-.*/ --- erlang-13.b.1-dfsg.orig/debian/patterns/erlang-mnesia.patterns +++ erlang-13.b.1-dfsg/debian/patterns/erlang-mnesia.patterns @@ -0,0 +1 @@ +./usr/lib/erlang/lib/mnesia-.*/ --- erlang-13.b.1-dfsg.orig/debian/patterns/erlang-appmon.patterns +++ erlang-13.b.1-dfsg/debian/patterns/erlang-appmon.patterns @@ -0,0 +1 @@ +./usr/lib/erlang/lib/appmon-.*/ --- erlang-13.b.1-dfsg.orig/debian/patterns/erlang-inviso.patterns +++ erlang-13.b.1-dfsg/debian/patterns/erlang-inviso.patterns @@ -0,0 +1 @@ +./usr/lib/erlang/lib/inviso-.*/ --- erlang-13.b.1-dfsg.orig/debian/patterns/erlang-base.patterns +++ erlang-13.b.1-dfsg/debian/patterns/erlang-base.patterns @@ -0,0 +1,13 @@ +./usr/lib/erlang/Install +./usr/lib/erlang/misc/ +./usr/lib/erlang/releases/[^.]*(\.[^s]|\.s[^r]|\.sr[^c]|\.src.)?[^.]*$ +./usr/lib/erlang/bin/[^d][^y] +./usr/lib/erlang/erts-.*/bin/[^d][^y][^.]*(\.[^s]|\.s[^r]|\.sr[^c]|\.src.)?[^.]*$ +./usr/lib/erlang/erts-.*/bin/dyn_erl$ +./usr/lib/erlang/lib/erl_interface-.*/bin/ +./usr/lib/erlang/lib/compiler-.*/ebin/ +./usr/lib/erlang/lib/erts-.*/ebin/ +./usr/lib/erlang/lib/hipe-.*/ebin/ +./usr/lib/erlang/lib/kernel-.*/ebin/ +./usr/lib/erlang/lib/sasl-.*/ebin/ +./usr/lib/erlang/lib/stdlib-.*/ebin/ --- erlang-13.b.1-dfsg.orig/debian/patterns/erlang-runtime-tools.patterns +++ erlang-13.b.1-dfsg/debian/patterns/erlang-runtime-tools.patterns @@ -0,0 +1 @@ +./usr/lib/erlang/lib/runtime_tools-.*/ --- erlang-13.b.1-dfsg.orig/debian/patterns/erlang-dev.patterns +++ erlang-13.b.1-dfsg/debian/patterns/erlang-dev.patterns @@ -0,0 +1,38 @@ +\.a$ +./usr/lib/erlang/erts-.*/include/ +./usr/lib/erlang/erts-.*/lib/ +./usr/lib/erlang/lib/common_test-.*/include/ +./usr/lib/erlang/lib/cosEventDomain-.*/include/ +./usr/lib/erlang/lib/cosEvent-.*/include/ +./usr/lib/erlang/lib/cosFileTransfer-.*/include/ +./usr/lib/erlang/lib/cosNotification-.*/include/ +./usr/lib/erlang/lib/cosProperty-.*/include/ +./usr/lib/erlang/lib/cosTime-.*/include/ +./usr/lib/erlang/lib/cosTransactions-.*/include/ +./usr/lib/erlang/lib/edoc-.*/include/ +./usr/lib/erlang/lib/erl_interface-.*/include/ +./usr/lib/erlang/lib/erl_interface-.*/lib/ +./usr/lib/erlang/lib/et-.*/include/ +./usr/lib/erlang/lib/eunit-.*/include/ +./usr/lib/erlang/lib/ic-.*/include/ +./usr/lib/erlang/lib/ic-.*/priv/lib/ +./usr/lib/erlang/lib/kernel-.*/include/ +./usr/lib/erlang/lib/megaco-.*/include/ +./usr/lib/erlang/lib/mnemosyne-.*/include/ +./usr/lib/erlang/lib/mnesia-.*/include/ +./usr/lib/erlang/lib/mnesia_session-.*/include/ +./usr/lib/erlang/lib/observer-.*/include/ +./usr/lib/erlang/lib/odbc-.*/include/ +./usr/lib/erlang/lib/orber-[^/]*/include/ +./usr/lib/erlang/lib/os_mon-.*/include/ +./usr/lib/erlang/lib/otp_mibs-.*/include/ +./usr/lib/erlang/lib/parsetools-.*/include/ +./usr/lib/erlang/lib/public_key-.*/include/ +./usr/lib/erlang/lib/runtime_tools-.*/include/ +./usr/lib/erlang/lib/snmp-.*/include/ +./usr/lib/erlang/lib/ssh-.*/include/ +./usr/lib/erlang/lib/ssl-.*/include/ +./usr/lib/erlang/lib/stdlib-.*/include/ +./usr/lib/erlang/lib/test_server-.*/include/ +./usr/lib/erlang/lib/wx-.*/include/ +./usr/lib/erlang/lib/xmerl-.*/include/ --- erlang-13.b.1-dfsg.orig/debian/patterns/erlang-typer.patterns +++ erlang-13.b.1-dfsg/debian/patterns/erlang-typer.patterns @@ -0,0 +1,3 @@ +./usr/lib/erlang/bin/typer +./usr/lib/erlang/erts-.*/bin/typer +./usr/lib/erlang/lib/typer-.*/ --- erlang-13.b.1-dfsg.orig/debian/patterns/erlang-os-mon.patterns +++ erlang-13.b.1-dfsg/debian/patterns/erlang-os-mon.patterns @@ -0,0 +1 @@ +./usr/lib/erlang/lib/os_mon-.*/ --- erlang-13.b.1-dfsg.orig/debian/patterns/erlang-ssh.patterns +++ erlang-13.b.1-dfsg/debian/patterns/erlang-ssh.patterns @@ -0,0 +1 @@ +./usr/lib/erlang/lib/ssh-.*/ --- erlang-13.b.1-dfsg.orig/debian/patterns/erlang-parsetools.patterns +++ erlang-13.b.1-dfsg/debian/patterns/erlang-parsetools.patterns @@ -0,0 +1 @@ +./usr/lib/erlang/lib/parsetools-.*/ --- erlang-13.b.1-dfsg.orig/debian/patterns/erlang-ic.patterns +++ erlang-13.b.1-dfsg/debian/patterns/erlang-ic.patterns @@ -0,0 +1 @@ +./usr/lib/erlang/lib/ic-.*/ --- erlang-13.b.1-dfsg.orig/debian/patterns/erlang-asn1.patterns +++ erlang-13.b.1-dfsg/debian/patterns/erlang-asn1.patterns @@ -0,0 +1 @@ +./usr/lib/erlang/lib/asn1-.*/ --- erlang-13.b.1-dfsg.orig/debian/patterns/erlang-base-hipe.patterns +++ erlang-13.b.1-dfsg/debian/patterns/erlang-base-hipe.patterns @@ -0,0 +1,13 @@ +./usr/lib/erlang/Install +./usr/lib/erlang/misc/ +./usr/lib/erlang/releases/[^.]*(\.[^s]|\.s[^r]|\.sr[^c]|\.src.)?[^.]*$ +./usr/lib/erlang/bin/[^d][^y] +./usr/lib/erlang/erts-.*/bin/[^d][^y][^.]*(\.[^s]|\.s[^r]|\.sr[^c]|\.src.)?[^.]*$ +./usr/lib/erlang/erts-.*/bin/dyn_erl$ +./usr/lib/erlang/lib/erl_interface-.*/bin/ +./usr/lib/erlang/lib/compiler-.*/ebin/ +./usr/lib/erlang/lib/erts-.*/ebin/ +./usr/lib/erlang/lib/hipe-.*/ebin/ +./usr/lib/erlang/lib/kernel-.*/ebin/ +./usr/lib/erlang/lib/sasl-.*/ebin/ +./usr/lib/erlang/lib/stdlib-.*/ebin/ --- erlang-13.b.1-dfsg.orig/debian/patterns/erlang-ssl.patterns +++ erlang-13.b.1-dfsg/debian/patterns/erlang-ssl.patterns @@ -0,0 +1 @@ +./usr/lib/erlang/lib/ssl-.*/ --- erlang-13.b.1-dfsg.orig/debian/patterns/erlang-dialyzer.patterns +++ erlang-13.b.1-dfsg/debian/patterns/erlang-dialyzer.patterns @@ -0,0 +1,3 @@ +./usr/lib/erlang/bin/dialyzer +./usr/lib/erlang/erts-.*/bin/dialyzer +./usr/lib/erlang/lib/dialyzer-.*/ --- erlang-13.b.1-dfsg.orig/debian/patterns/erlang-odbc.patterns +++ erlang-13.b.1-dfsg/debian/patterns/erlang-odbc.patterns @@ -0,0 +1 @@ +./usr/lib/erlang/lib/odbc-.*/ --- erlang-13.b.1-dfsg.orig/debian/patterns/erlang-public-key.patterns +++ erlang-13.b.1-dfsg/debian/patterns/erlang-public-key.patterns @@ -0,0 +1 @@ +./usr/lib/erlang/lib/public_key-.*/ --- erlang-13.b.1-dfsg.orig/debian/patterns/erlang-et.patterns +++ erlang-13.b.1-dfsg/debian/patterns/erlang-et.patterns @@ -0,0 +1 @@ +./usr/lib/erlang/lib/et-.*/ --- erlang-13.b.1-dfsg.orig/debian/patterns/erlang-src.patterns +++ erlang-13.b.1-dfsg/debian/patterns/erlang-src.patterns @@ -0,0 +1,70 @@ +./usr/lib/erlang/.*/java_src/ +./usr/lib/erlang/erts-.*/bin/.*\.src +./usr/lib/erlang/erts-.*/src/ +./usr/lib/erlang/lib/appmon-.*/src/ +./usr/lib/erlang/lib/asn1-.*/c_src/ +./usr/lib/erlang/lib/asn1-.*/src/ +./usr/lib/erlang/lib/compiler-.*/src/ +./usr/lib/erlang/lib/common_test-.*/src/ +./usr/lib/erlang/lib/cosEventDomain-.*/src/ +./usr/lib/erlang/lib/cosEvent-.*/src/ +./usr/lib/erlang/lib/cosFileTransfer-.*/src/ +./usr/lib/erlang/lib/cosNotification-.*/src/ +./usr/lib/erlang/lib/cosProperty-.*/src/ +./usr/lib/erlang/lib/cosTime-.*/src/ +./usr/lib/erlang/lib/cosTransactions-.*/src/ +./usr/lib/erlang/lib/crypto-.*/src/ +./usr/lib/erlang/lib/debugger-.*/src/ +./usr/lib/erlang/lib/dialyzer-.*/src/ +./usr/lib/erlang/lib/docbuilder-.*/src/ +./usr/lib/erlang/lib/edoc-.*/src/ +./usr/lib/erlang/lib/erl_interface-.*/src/ +./usr/lib/erlang/lib/erts-.*/src/ +./usr/lib/erlang/lib/et-.*/src/ +./usr/lib/erlang/lib/eunit-.*/src/ +./usr/lib/erlang/lib/gs-.*/src/ +./usr/lib/erlang/lib/gs-.*/contribs/bonk/[^/]*$ +./usr/lib/erlang/lib/gs-.*/contribs/cols/[^/]*$ +./usr/lib/erlang/lib/gs-.*/contribs/mandel/[^/]*$ +./usr/lib/erlang/lib/gs-.*/contribs/othello/[^/]*$ +./usr/lib/erlang/lib/hipe-.*/ +./usr/lib/erlang/lib/ic-.*/c_src/ +./usr/lib/erlang/lib/ic-.*/src/ +./usr/lib/erlang/lib/inviso-.*/src/ +./usr/lib/erlang/lib/inets-.*/src/ +./usr/lib/erlang/lib/kernel-.*/src/ +./usr/lib/erlang/lib/megaco-.*/src/ +./usr/lib/erlang/lib/mnemosyne-.*/src/ +./usr/lib/erlang/lib/mnesia_session-.*/src/ +./usr/lib/erlang/lib/mnesia-.*/src/ +./usr/lib/erlang/lib/observer-.*/src/ +./usr/lib/erlang/lib/odbc-.*/c_src/ +./usr/lib/erlang/lib/odbc-.*/src/ +./usr/lib/erlang/lib/orber-.*/COSS/CosNaming/ +./usr/lib/erlang/lib/orber-[^/]*/src/ +./usr/lib/erlang/lib/os_mon-.*/src/ +./usr/lib/erlang/lib/otp_mibs-.*/src/ +./usr/lib/erlang/lib/parsetools-.*/src/ +./usr/lib/erlang/lib/percept-.*/src/ +./usr/lib/erlang/lib/pman-.*/src/ +./usr/lib/erlang/lib/public_key-.*/asn1/ +./usr/lib/erlang/lib/public_key-.*/src/ +./usr/lib/erlang/lib/reltool-.*/src/ +./usr/lib/erlang/lib/runtime_tools-.*/src/ +./usr/lib/erlang/lib/sasl-.*/src/ +./usr/lib/erlang/lib/snmp-.*/src/ +./usr/lib/erlang/lib/ssh-.*/src/ +./usr/lib/erlang/lib/ssl-.*/pkix/ +./usr/lib/erlang/lib/ssl-.*/src/ +./usr/lib/erlang/lib/stdlib-.*/src/ +./usr/lib/erlang/lib/syntax_tools-.*/src/ +./usr/lib/erlang/lib/test_server-.*/src/ +./usr/lib/erlang/lib/toolbar-.*/src/ +./usr/lib/erlang/lib/tools-.*/c_src/ +./usr/lib/erlang/lib/tools-.*/src/ +./usr/lib/erlang/lib/tv-.*/src/ +./usr/lib/erlang/lib/typer-.*/src/ +./usr/lib/erlang/lib/webtool-.*/src/ +./usr/lib/erlang/lib/wx-.*/src/ +./usr/lib/erlang/lib/xmerl-.*/src/ +./usr/lib/erlang/releases/.*\.src --- erlang-13.b.1-dfsg.orig/debian/patterns/erlang-snmp.patterns +++ erlang-13.b.1-dfsg/debian/patterns/erlang-snmp.patterns @@ -0,0 +1,2 @@ +./usr/lib/erlang/lib/otp_mibs-.*/ +./usr/lib/erlang/lib/snmp-.*/ --- erlang-13.b.1-dfsg.orig/debian/patterns/erlang-eunit.patterns +++ erlang-13.b.1-dfsg/debian/patterns/erlang-eunit.patterns @@ -0,0 +1 @@ +./usr/lib/erlang/lib/eunit-.*/ --- erlang-13.b.1-dfsg.orig/debian/patterns/erlang-crypto.patterns +++ erlang-13.b.1-dfsg/debian/patterns/erlang-crypto.patterns @@ -0,0 +1 @@ +./usr/lib/erlang/lib/crypto-.*/ --- erlang-13.b.1-dfsg.orig/debian/patterns/erlang-test-server.patterns +++ erlang-13.b.1-dfsg/debian/patterns/erlang-test-server.patterns @@ -0,0 +1 @@ +./usr/lib/erlang/lib/test_server-.*/ --- erlang-13.b.1-dfsg.orig/debian/patterns/erlang-tools.patterns +++ erlang-13.b.1-dfsg/debian/patterns/erlang-tools.patterns @@ -0,0 +1 @@ +./usr/lib/erlang/lib/tools-.*/ --- erlang-13.b.1-dfsg.orig/debian/patterns/erlang-xmerl.patterns +++ erlang-13.b.1-dfsg/debian/patterns/erlang-xmerl.patterns @@ -0,0 +1 @@ +./usr/lib/erlang/lib/xmerl-.*/ --- erlang-13.b.1-dfsg.orig/debian/patterns/erlang-toolbar.patterns +++ erlang-13.b.1-dfsg/debian/patterns/erlang-toolbar.patterns @@ -0,0 +1 @@ +./usr/lib/erlang/lib/toolbar-.*/ --- erlang-13.b.1-dfsg.orig/debian/patterns/erlang-wx.patterns +++ erlang-13.b.1-dfsg/debian/patterns/erlang-wx.patterns @@ -0,0 +1 @@ +./usr/lib/erlang/lib/wx-.*/ --- erlang-13.b.1-dfsg.orig/debian/patterns/erlang-docbuilder.patterns +++ erlang-13.b.1-dfsg/debian/patterns/erlang-docbuilder.patterns @@ -0,0 +1 @@ +./usr/lib/erlang/lib/docbuilder-.*/ --- erlang-13.b.1-dfsg.orig/debian/patterns/erlang-webtool.patterns +++ erlang-13.b.1-dfsg/debian/patterns/erlang-webtool.patterns @@ -0,0 +1 @@ +./usr/lib/erlang/lib/webtool-.*/ --- erlang-13.b.1-dfsg.orig/debian/patterns/erlang-tv.patterns +++ erlang-13.b.1-dfsg/debian/patterns/erlang-tv.patterns @@ -0,0 +1 @@ +./usr/lib/erlang/lib/tv-.*/ --- erlang-13.b.1-dfsg.orig/debian/patterns/erlang-edoc.patterns +++ erlang-13.b.1-dfsg/debian/patterns/erlang-edoc.patterns @@ -0,0 +1 @@ +./usr/lib/erlang/lib/edoc-.*/ --- erlang-13.b.1-dfsg.orig/debian/patterns/erlang-examples.patterns +++ erlang-13.b.1-dfsg/debian/patterns/erlang-examples.patterns @@ -0,0 +1,17 @@ +./usr/lib/erlang/lib/asn1-.*/examples/ +./usr/lib/erlang/lib/et-.*/examples/ +./usr/lib/erlang/lib/eunit-.*/examples/ +./usr/lib/erlang/lib/gs-.*/examples/ +./usr/lib/erlang/lib/ic-.*/examples/ +./usr/lib/erlang/lib/inets-.*/examples/ +./usr/lib/erlang/lib/kernel-.*/examples/ +./usr/lib/erlang/lib/megaco-.*/examples/ +./usr/lib/erlang/lib/mnemosyne-.*/examples/ +./usr/lib/erlang/lib/mnesia-.*/examples/ +./usr/lib/erlang/lib/orber-.*/examples/ +./usr/lib/erlang/lib/snmp-.*/examples/ +./usr/lib/erlang/lib/ssl-.*/examples/ +./usr/lib/erlang/lib/stdlib-.*/examples/ +./usr/lib/erlang/lib/syntax_tools-.*/examples/ +./usr/lib/erlang/lib/tools-.*/examples/ +./usr/lib/erlang/lib/wx-.*/examples/ --- erlang-13.b.1-dfsg.orig/debian/patterns/erlang-debugger.patterns +++ erlang-13.b.1-dfsg/debian/patterns/erlang-debugger.patterns @@ -0,0 +1 @@ +./usr/lib/erlang/lib/debugger-.*/ --- erlang-13.b.1-dfsg.orig/debian/patterns/erlang-reltool.patterns +++ erlang-13.b.1-dfsg/debian/patterns/erlang-reltool.patterns @@ -0,0 +1 @@ +./usr/lib/erlang/lib/reltool-.*/ --- erlang-13.b.1-dfsg.orig/debian/patterns/erlang-percept.patterns +++ erlang-13.b.1-dfsg/debian/patterns/erlang-percept.patterns @@ -0,0 +1 @@ +./usr/lib/erlang/lib/percept-.*/ --- erlang-13.b.1-dfsg.orig/debian/patterns/erlang-megaco.patterns +++ erlang-13.b.1-dfsg/debian/patterns/erlang-megaco.patterns @@ -0,0 +1 @@ +./usr/lib/erlang/lib/megaco-.*/ --- erlang-13.b.1-dfsg.orig/debian/patterns/erlang-pman.patterns +++ erlang-13.b.1-dfsg/debian/patterns/erlang-pman.patterns @@ -0,0 +1 @@ +./usr/lib/erlang/lib/pman-.*/ --- erlang-13.b.1-dfsg.orig/debian/patterns/erlang-gs.patterns +++ erlang-13.b.1-dfsg/debian/patterns/erlang-gs.patterns @@ -0,0 +1 @@ +./usr/lib/erlang/lib/gs-.*/ --- erlang-13.b.1-dfsg.orig/debian/patterns/erlang-observer.patterns +++ erlang-13.b.1-dfsg/debian/patterns/erlang-observer.patterns @@ -0,0 +1 @@ +./usr/lib/erlang/lib/observer-.*/ --- erlang-13.b.1-dfsg.orig/debian/patterns/erlang-corba.patterns +++ erlang-13.b.1-dfsg/debian/patterns/erlang-corba.patterns @@ -0,0 +1,8 @@ +./usr/lib/erlang/lib/cosEvent-.*/ +./usr/lib/erlang/lib/cosEventDomain-.*/ +./usr/lib/erlang/lib/cosFileTransfer-.*/ +./usr/lib/erlang/lib/cosNotification-.*/ +./usr/lib/erlang/lib/cosProperty-.*/ +./usr/lib/erlang/lib/cosTime-.*/ +./usr/lib/erlang/lib/cosTransactions-.*/ +./usr/lib/erlang/lib/orber-.*/