--- erlang-13.b.3-dfsg.orig/debian/erlang-base-hipe.menu +++ erlang-13.b.3-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.3-dfsg.orig/debian/erlang-mode.emacsen-startup +++ erlang-13.b.3-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.3-dfsg.orig/debian/erlang-typer.manpages +++ erlang-13.b.3-dfsg/debian/erlang-typer.manpages @@ -0,0 +1 @@ +debian/manpages/typer.1 --- erlang-13.b.3-dfsg.orig/debian/erlang-mode.install.in +++ erlang-13.b.3-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.3-dfsg.orig/debian/erlang-base.desktop +++ erlang-13.b.3-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.3-dfsg.orig/debian/erlang-mode.emacsen-install +++ erlang-13.b.3-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.3-dfsg.orig/debian/compat +++ erlang-13.b.3-dfsg/debian/compat @@ -0,0 +1 @@ +5 --- erlang-13.b.3-dfsg.orig/debian/erlang-dev.links.in +++ erlang-13.b.3-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.3-dfsg.orig/debian/erlang-base.manpages +++ erlang-13.b.3-dfsg/debian/erlang-base.manpages @@ -0,0 +1,7 @@ +debian/tmp/usr/share/man/man1/epmd.1 +debian/tmp/usr/share/man/man1/erl_call.1 +debian/tmp/usr/share/man/man1/erlc.1 +debian/tmp/usr/share/man/man1/erl.1 +debian/tmp/usr/share/man/man1/escript.1 +debian/tmp/usr/share/man/man1/run_erl.1 +debian/tmp/usr/share/man/man1/start_embedded.1 --- erlang-13.b.3-dfsg.orig/debian/control +++ erlang-13.b.3-dfsg/debian/control @@ -0,0 +1,625 @@ +Source: erlang +Maintainer: Ubuntu Developers +XSBC-Original-Maintainer: Debian Erlang Packagers +Uploaders: Sergei Golovan +Section: interpreters +Priority: optional +Standards-Version: 3.8.3 +Build-Depends: debhelper (>= 5.0.0), autoconf (>= 2.50), openssl, libssl-dev, m4, + libncurses5-dev, quilt, autotools-dev, unixodbc-dev, bison, flex, + dctrl-tools, xsltproc, + 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: svn://svn.debian.org//svn/pkg-erlang/erlang/trunk/ +Vcs-Browser: http://svn.debian.org/wsvn/pkg-erlang/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, 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-edoc (= ${binary:Version}), erlang-gs (= ${binary:Version}), erlang-tools (= ${binary:Version}), 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-inets (= ${binary:Version}), erlang-gs (= ${binary:Version}), ${shlibs:Depends}, ${misc:Depends} +Suggests: erlang, erlang-manpages, erlang-doc-html +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, erlang-manpages, erlang-doc-html +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-crypto (= ${binary:Version}), erlang-debugger (= ${binary:Version}), erlang-inets (= ${binary:Version}), erlang-runtime-tools (= ${binary:Version}), erlang-snmp (= ${binary:Version}), erlang-ssh (= ${binary:Version}), erlang-test-server (= ${binary:Version}), erlang-tools (= ${binary:Version}), erlang-webtool (= ${binary:Version}), ${shlibs:Depends}, ${misc:Depends} +Suggests: erlang, erlang-manpages, erlang-doc-html +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}), erlang-mnesia (= ${binary:Version}), erlang-ssl (= ${binary:Version}), ${shlibs:Depends}, ${misc:Depends} +Suggests: erlang, erlang-manpages, erlang-doc-html +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, erlang-manpages, erlang-doc-html +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-gs (= ${binary:Version}), ${shlibs:Depends}, ${misc:Depends} +Suggests: erlang, erlang-manpages, erlang-doc-html +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} +Suggests: erlang-gs (= ${binary:Version}), erlang, erlang-manpages, erlang-doc-html +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}), erlang-xmerl (= ${binary:Version}), ${shlibs:Depends}, ${misc:Depends} +Suggests: erlang, erlang-manpages, erlang-doc-html +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, erlang-manpages, erlang-doc-html +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-erl-docgen +Architecture: any +Depends: ${erlang-base}, ${shlibs:Depends}, ${misc:Depends} +Suggests: xsltproc, fop, erlang, erlang-manpages, erlang-doc-html +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 documentation stylesheets + The erl_docgen package includes XSLT stylesheets and document type + definitions used for Erlang/OTP documentation. They allow to + transform documentation to manpage, HTML, and PDF formats. + + +Package: erlang-et +Architecture: any +Depends: ${erlang-base}, erlang-gs (= ${binary:Version}), erlang-runtime-tools (= ${binary:Version}), ${shlibs:Depends}, ${misc:Depends} +Suggests: erlang, erlang-manpages, erlang-doc-html +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, erlang-manpages, erlang-doc-html +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, erlang-manpages, erlang-doc-html +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, erlang-manpages, erlang-doc-html +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-runtime-tools (= ${binary:Version}), erlang-ssl (= ${binary:Version}), ${shlibs:Depends}, ${misc:Depends} +Suggests: erlang, erlang-manpages, erlang-doc-html +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, erlang-manpages, erlang-doc-html +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-manpages +Architecture: all +Suggests: erlang +Description: Erlang/OTP manual pages + Documentation for the Erlang programming language in `man' format. This + documentation can be read using the command `erl -man mod', where `mod' + is the name of the module you want documentation on. + . + This package contains all Erlang/OTP manual pages from sections other + than 1. They document Erlang/OTP modules, config files and applications. + +Package: erlang-megaco +Architecture: any +Depends: ${erlang-base}, erlang-asn1 (= ${binary:Version}), erlang-et (= ${binary:Version}), erlang-runtime-tools (= ${binary:Version}), ${shlibs:Depends}, ${misc:Depends} +Suggests: erlang-debugger (= ${binary:Version}), erlang, erlang-manpages, erlang-doc-html +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, erlang-manpages, erlang-doc-html +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-et (= ${binary:Version}), erlang-inets (= ${binary:Version}), erlang-gs (= ${binary:Version}), erlang-runtime-tools (= ${binary:Version}), erlang-webtool (= ${binary:Version}), ${shlibs:Depends}, ${misc:Depends} +Suggests: erlang, erlang-manpages, erlang-doc-html +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, erlang-manpages, erlang-doc-html +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-mnesia (= ${binary:Version}), erlang-snmp (= ${binary:Version}), ${shlibs:Depends}, ${misc:Depends} +Suggests: erlang, erlang-manpages, erlang-doc-html +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, erlang-manpages, erlang-doc-html +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}), erlang-runtime-tools (= ${binary:Version}), ${shlibs:Depends}, ${misc:Depends} +Suggests: erlang, erlang-manpages, erlang-doc-html +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, erlang-manpages, erlang-doc-html +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, erlang-manpages, erlang-doc-html +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-syntax-tools (= ${binary:Version}), erlang-tools (= ${binary:Version}), ${shlibs:Depends}, ${misc:Depends} +Suggests: erlang, erlang-manpages, erlang-doc-html +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, erlang-manpages, erlang-doc-html +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, erlang-manpages, erlang-doc-html +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}), erlang-public-key (= ${binary:Version}), ${shlibs:Depends}, ${misc:Depends} +Suggests: erlang, erlang-manpages, erlang-doc-html +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-crypto (= ${binary:Version}), erlang-public-key (= ${binary:Version}), ${shlibs:Depends}, ${misc:Depends} +Suggests: erlang, erlang-manpages, erlang-doc-html +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, erlang-manpages, erlang-doc-html +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-observer (= ${binary:Version}), erlang-runtime-tools (= ${binary:Version}), erlang-tools (= ${binary:Version}), ${shlibs:Depends}, ${misc:Depends} +Suggests: erlang, erlang-manpages, erlang-doc-html +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, erlang-manpages, erlang-doc-html +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-runtime-tools (= ${binary:Version}), erlang-webtool (= ${binary:Version}), ${shlibs:Depends}, ${misc:Depends} +Suggests: erlang, erlang-manpages, erlang-doc-html +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, erlang-manpages, erlang-doc-html +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, erlang-manpages, erlang-doc-html +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} +Suggests: erlang-observer (= ${binary:Version}), erlang, erlang-manpages, erlang-doc-html +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-xmerl +Architecture: any +Depends: ${erlang-base}, ${shlibs:Depends}, ${misc:Depends} +Suggests: erlang, erlang-manpages, erlang-doc-html +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, 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, 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} +Recommends: erlang-asn1, erlang-gs, erlang-megaco, erlang-snmp, erlang-ssl +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 +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-tools, erlang-webtool, + erlang-xmerl +Suggests: erlang, erlang-manpages, erlang-doc-html +Description: Erlang/OTP applications that don't require X Window System + This package is a dummy transitional 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-tv, erlang-typer +Suggests: erlang, erlang-manpages, erlang-doc-html +Description: Erlang/OTP applications that require X Window System + This package is a dummy transitional 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-dev, erlang-appmon, erlang-asn1, + erlang-common-test, erlang-corba, erlang-crypto, erlang-debugger, + erlang-dialyzer, erlang-docbuilder, erlang-edoc, erlang-erl-docgen, erlang-et, + erlang-eunit, erlang-gs, erlang-ic, erlang-inets, erlang-inviso, + erlang-megaco, erlang-mnesia, erlang-observer, erlang-odbc, erlang-os-mon, + erlang-parsetools, erlang-percept, erlang-pman, erlang-public-key, + erlang-reltool, erlang-runtime-tools, erlang-snmp, erlang-ssh, erlang-ssl, + erlang-syntax-tools, erlang-test-server, erlang-toolbar, erlang-tools, + erlang-tv, erlang-typer, erlang-webtool, erlang-xmerl +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.3-dfsg.orig/debian/erlang-base-hipe.postinst +++ erlang-13.b.3-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.3-dfsg.orig/debian/erlang-mode.links +++ erlang-13.b.3-dfsg/debian/erlang-mode.links @@ -0,0 +1 @@ +usr/share/man /usr/lib/erlang/man --- erlang-13.b.3-dfsg.orig/debian/erlang-base.links.in +++ erlang-13.b.3-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.3-dfsg.orig/debian/erlang-typer.links +++ erlang-13.b.3-dfsg/debian/erlang-typer.links @@ -0,0 +1 @@ +usr/lib/erlang/bin/typer usr/bin/typer --- erlang-13.b.3-dfsg.orig/debian/erlang-webtool.manpages +++ erlang-13.b.3-dfsg/debian/erlang-webtool.manpages @@ -0,0 +1 @@ +debian/tmp/usr/share/man/man1/start_webtool.1 --- erlang-13.b.3-dfsg.orig/debian/erlang-mode.emacsen-remove +++ erlang-13.b.3-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.3-dfsg.orig/debian/erlang-dev.manpages +++ erlang-13.b.3-dfsg/debian/erlang-dev.manpages @@ -0,0 +1 @@ +debian/manpages/erlang-depends.1 --- erlang-13.b.3-dfsg.orig/debian/erlang-manpages.postinst +++ erlang-13.b.3-dfsg/debian/erlang-manpages.postinst @@ -0,0 +1,25 @@ +#! /bin/sh +# postinst script for erlang-manpages +# +# see: dh_installdeb(1) + +set -e + +if [ "$1" = configure ] && dpkg --compare-versions "$2" lt-nl "1:12.b.1" ; then + for name in dialyzer \ + epmd \ + erl \ + erl_call \ + erlc \ + escript \ + run_erl \ + start \ + start_webtool ; do + dpkg-divert --package erlang-manpages --remove --rename \ + --divert /usr/share/man/man1/$name.erlang.1.gz \ + /usr/share/man/man1/$name.1.gz >/dev/null + done +fi + +#DEBHELPER# + --- erlang-13.b.3-dfsg.orig/debian/erlang-base-hipe.links.in +++ erlang-13.b.3-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.3-dfsg.orig/debian/erlang-manpages.manpages +++ erlang-13.b.3-dfsg/debian/erlang-manpages.manpages @@ -0,0 +1,3 @@ +debian/tmp/usr/share/man/man3/* +debian/tmp/usr/share/man/man4/* +debian/tmp/usr/share/man/man6/* --- erlang-13.b.3-dfsg.orig/debian/erlang-base.prerm +++ erlang-13.b.3-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 epmd -kill 1>/dev/null 2>&1 || kill $pid 2>/dev/null ; then + echo "done." + else + echo "failed." + fi + fi + else + if 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.3-dfsg.orig/debian/erlang-base-hipe.manpages +++ erlang-13.b.3-dfsg/debian/erlang-base-hipe.manpages @@ -0,0 +1,7 @@ +debian/tmp/usr/share/man/man1/epmd.1 +debian/tmp/usr/share/man/man1/erl_call.1 +debian/tmp/usr/share/man/man1/erlc.1 +debian/tmp/usr/share/man/man1/erl.1 +debian/tmp/usr/share/man/man1/escript.1 +debian/tmp/usr/share/man/man1/run_erl.1 +debian/tmp/usr/share/man/man1/start_embedded.1 --- erlang-13.b.3-dfsg.orig/debian/TODO.Debian +++ erlang-13.b.3-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.3-dfsg.orig/debian/erlang.xpm +++ erlang-13.b.3-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.3-dfsg.orig/debian/copyright +++ erlang-13.b.3-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.3-dfsg.orig/debian/erlang-base.files +++ erlang-13.b.3-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.3-dfsg.orig/debian/erlang-mode.dirs +++ erlang-13.b.3-dfsg/debian/erlang-mode.dirs @@ -0,0 +1 @@ +usr/share/emacs/site-lisp/erlang --- erlang-13.b.3-dfsg.orig/debian/erlang-webtool.links.in +++ erlang-13.b.3-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.3-dfsg.orig/debian/erlang-common-test.manpages +++ erlang-13.b.3-dfsg/debian/erlang-common-test.manpages @@ -0,0 +1 @@ +debian/tmp/usr/share/man/man1/run_test.1 --- erlang-13.b.3-dfsg.orig/debian/erlang-common-test.links.in +++ erlang-13.b.3-dfsg/debian/erlang-common-test.links.in @@ -0,0 +1 @@ +usr/lib/erlang/lib/common_test-@COMMON_TEST_VSN@/priv/bin/run_test usr/bin/run_test --- erlang-13.b.3-dfsg.orig/debian/erlang-base-hipe.desktop +++ erlang-13.b.3-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.3-dfsg.orig/debian/erlang-base.menu +++ erlang-13.b.3-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.3-dfsg.orig/debian/erlang-base-hipe.prerm +++ erlang-13.b.3-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 epmd -kill 1>/dev/null 2>&1 || kill $pid 2>/dev/null ; then + echo "done." + else + echo "failed." + fi + fi + else + if 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.3-dfsg.orig/debian/changelog +++ erlang-13.b.3-dfsg/debian/changelog @@ -0,0 +1,1395 @@ +erlang (1:13.b.3-dfsg-2ubuntu2) lucid; urgency=low + + * CVE-2008-2371: outer level option with alternatives caused crash. + (LP: #535090). + + -- Ralf Doering Thu, 11 Mar 2010 15:20:06 +0100 + +erlang (1:13.b.3-dfsg-2ubuntu1) lucid; urgency=low + + * Merge with Debian testing; remaining Ubuntu changes: + - Drop libwxgtk2.8-dev build dependency. Wx isn't in main, and not + supposed to. (LP #438365) + - Drop erlang-wx binary. + - Drop erlang-wx dependency from -megaco, -common-test, and -reltool, they + do not really need wx. Also drop it from -debugger; the GUI needs wx, + but it apparently has CLI bits as well, and is also needed by -megaco, + so let's keep the package for now. + + -- Elliot Murphy Mon, 21 Dec 2009 21:54:16 -0500 + +erlang (1:13.b.3-dfsg-2) unstable; urgency=low + + * Fixed dialyzer(1) manpage which was placed into section 3 and conflicted + with dialyzer(3erl). + + -- Sergei Golovan Sun, 20 Dec 2009 09:03:40 +0300 + +erlang (1:13.b.3-dfsg-1) unstable; urgency=low + + * New upstream release (it adds a new binary package erlang-erl-docgen). + * Refreshed patches, removed most of emacs.patch which is applied upstream. + * Linked run_test binary from erlang-common-test package to /usr/bin. + * Fixed VCS headers in debian/control. + * Moved from prebuilt manpages to generated from sources. This adds + erlang-manpages binary package and xsltproc build dependency. + + -- Sergei Golovan Sat, 19 Dec 2009 19:44:54 +0300 + +erlang (1:13.b.2.1-dfsg-1ubuntu3) lucid; urgency=low + + * build-options.patch: Fix to apply to current version. + * debian/patches/series: Do what I meant, and enable build-options.patch + instead. + + -- Martin Pitt Mon, 07 Dec 2009 10:28:47 +0100 + +erlang (1:13.b.2.1-dfsg-1ubuntu2) lucid; urgency=low + + * debian/patches/series: Enable native.patch again, to get stripped beam + files and reduce the package size again. (LP: #493278) + + -- Martin Pitt Mon, 07 Dec 2009 09:02:37 +0100 + +erlang (1:13.b.2.1-dfsg-1ubuntu1) lucid; urgency=low + + * Merge with Debian testing; remaining Ubuntu changes: + - Drop libwxgtk2.8-dev build dependency. Wx isn't in main, and not + supposed to. (LP #438365) + - Drop erlang-wx binary. + - Drop erlang-wx dependency from -megaco, -common-test, and -reltool, they + do not really need wx. Also drop it from -debugger; the GUI needs wx, + but it apparently has CLI bits as well, and is also needed by -megaco, + so let's keep the package for now. + + -- Martin Pitt Fri, 06 Nov 2009 18:54:42 +0100 + +erlang (1:13.b.2.1-dfsg-1) unstable; urgency=low + + * New upstream release (closes: #539269). + * New maintainer's email address pkg-erlang-devel@lists.alioth.debian.org + mailing list. + * Overridden another lintian warning about image file in /usr/lib. + + -- Sergei Golovan Fri, 25 Sep 2009 23:45:31 +0400 + +erlang (1:13.b.1-dfsg-6) unstable; urgency=low + + * Restored debug info in beam files for default build. It's better to use + more space than to ship broken modules (debugger, dialyzer). The patch + is simply commented out in debian/patches/series, so if someone has to + strip debug info, he can simply uncomment it. + * Disabled SMP support for hurd-i386 architecture, because of FTBFS in case + when SMP is enabled. + * Added debian/README.source file with a reference to + /usr/share/doc/quilt/README.source. + * Bumped standards version to 3.8.3. + + -- Sergei Golovan Tue, 18 Aug 2009 01:29:25 +0400 + +erlang (1:13.b.1-dfsg-5) unstable; urgency=low + + * Fixed parentheses in Emacs mode (closes: #536891). + * Removed unnecessary conflicts with erlang-manpages package. + * Added workaround for #475459: disabled threads on sparc architecture. + This breaks wxErlang, so it's only a temporary solution. + + -- Sergei Golovan Wed, 05 Aug 2009 20:54:29 +0400 + +erlang (1:13.b.1-dfsg-4) unstable; urgency=low + + * Made mutual dependencies of Erlang packages more parsimonious (removed + unnecessary dependencies following erlang-depends advise). + * Added several new options to erlang-depends tool (-v, -P, --ignore). + * Made erlang-nox and erlang-x11 transitional packages (which will be + removed after squeeze release). + * Guarded change in the m68k patch for non-m68k architectures. + * Fixed building Erlang VM with debug information compiled in. Added a few + words about debug build to README.Debian. + + -- Sergei Golovan Fri, 24 Jul 2009 15:02:33 +0400 + +erlang (1:13.b.1-dfsg-3) unstable; urgency=low + + * Removed Torsten Werner from the uploaders list as per his request. + * Removed full path from epmd calls in erlang-base and erlang-base-hipe + prerm scripts. + * Added ${erlang:Depends} substvar which expands into a list of Erlang + packages which modules are actually used in application. + * Bumped standards version to 3.8.2. + + -- Sergei Golovan Tue, 30 Jun 2009 14:13:14 +0400 + +erlang (1:13.b.1-dfsg-2ubuntu1) karmic; urgency=low + + * debian/control: + - Drop libwxgtk2.8-dev build dependency. Wx isn't in main, and not + supposed to. (LP: #438365) + - Drop erlang-wx binary. + - Drop erlang-wx dependency from -megaco, -common-test, and -reltool, they + do not really need wx. Also drop it from -debugger; the GUI needs wx, + but it apparently has CLI bits as well, and is also needed by -megaco, + so let's keep the package for now. + + -- Martin Pitt Fri, 16 Oct 2009 09:40:16 +0200 + +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.3-dfsg.orig/debian/erlang-dialyzer.links +++ erlang-13.b.3-dfsg/debian/erlang-dialyzer.links @@ -0,0 +1 @@ +usr/lib/erlang/bin/dialyzer usr/bin/dialyzer --- erlang-13.b.3-dfsg.orig/debian/watch +++ erlang-13.b.3-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.3-dfsg.orig/debian/erlang-base.postinst +++ erlang-13.b.3-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.3-dfsg.orig/debian/rules +++ erlang-13.b.3-dfsg/debian/rules @@ -0,0 +1,561 @@ +#!/usr/bin/make -f + +#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) +TMP_DIR=$(ROOT_DIR)/debian/tmp + +export HOME := $(ROOT_DIR)/debian + +-include ${ROOT_DIR}/erts/vsn.mk +-include ${ROOT_DIR}/lib/erl_interface/vsn.mk +-include ${ROOT_DIR}/lib/ic/vsn.mk +-include ${ROOT_DIR}/lib/tools/vsn.mk +-include ${ROOT_DIR}/lib/webtool/vsn.mk +-include ${ROOT_DIR}/lib/common_test/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: *//') + +ifeq ($(findstring debug,$(DEB_BUILD_OPTIONS)),debug) +BUILD_HIPE := no +else +BUILD_HIPE := $(shell echo ' $(HIPE_ARCHES) ' | grep -c ' ${DEB_HOST_ARCH} ' | sed -es/1/yes/ -es/0/no/) +endif +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 + +# Temporary (until #475459 is fixed) disabling threads for sparc architecture +ifeq ($(DEB_HOST_ARCH), sparc) +THREAD_OPTS=--disable-threads --disable-smp-support +else +ifeq ($(DEB_HOST_ARCH), hurd-i386) +THREAD_OPTS=--enable-threads --disable-smp-support +else +THREAD_OPTS=--enable-threads --enable-smp-support +endif +endif + +LIBSCTP=libsctp1 + +ifeq ($(findstring debug,$(DEB_BUILD_OPTIONS)),debug) +CFLAGS=-g -O2 -fno-strict-aliasing +GEN_OPT_FLGS=-O2 -fno-strict-aliasing +TYPE=debug +else +CFLAGS=-g -O2 -fno-strict-aliasing +GEN_OPT_FLGS=-O2 -fno-strict-aliasing +TYPE= +endif + +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 -Xtest.erl.orig + +clean-patched: patch-stamp + dh_testdir + dh_testroot + + [ ! -f Makefile ] || ${MAKE} clean + rm -f lib/dialyzer/SKIP + + # Remove installed erlang from debian/ + rm -rf debian/tmp + rm -rf debian/erlang-stnd + rm -rf debian/erlang-hipe + + # Restore replaced configure, config.guess, and config.sub files + for i in `find ${ROOT_DIR} -name 'configure.backup'` ; do \ + mv $$i $${i%%.backup} ; \ + done + for i in `find ${ROOT_DIR} -name 'config.guess~'` ; do \ + mv $$i $${i%%\~} ; \ + done + for i in `find ${ROOT_DIR} -name 'config.sub~'` ; do \ + mv $$i $${i%%\~} ; \ + done + + # Remove files, which were generated from templates + for i in debian/*.in debian/scripts/*.in ; do \ + rm -f $${i%%.in} ; \ + done + + # *.install were also generated on-the-fly + rm -f debian/*.install + + rm -f debian/AUTHORS + + # 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 ${ROOT_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 ${ROOT_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 ${ROOT_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 ${ROOT_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 + + 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-hybrid-heap \ + $(THREAD_OPTS) \ + --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 + + 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-hybrid-heap \ + $(THREAD_OPTS) \ + --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. + ${MAKE} INSTALL_PREFIX=$(INSTALL_DIR) TYPE=$(TYPE) 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 + touch build-hipe-stamp +ifeq ($(findstring debug,$(DEB_BUILD_OPTIONS)),debug) + ${MAKE} TYPE=$(TYPE) FLAVOR=smp GEN_OPT_FLGS="$(GEN_OPT_FLGS)" emulator + ${MAKE} TYPE=$(TYPE) FLAVOR=plain GEN_OPT_FLGS="$(GEN_OPT_FLGS)" emulator +endif + ${MAKE} TYPE=$(TYPE) GEN_OPT_FLGS="$(GEN_OPT_FLGS)" CC_R_FLAG= LD_R_FLAG= CC_R_OPT= + +build-stnd: build-stnd-stamp +build-stnd-stamp: configure-stnd-stamp + dh_testdir +ifeq ($(findstring debug,$(DEB_BUILD_OPTIONS)),debug) + ${MAKE} TYPE=$(TYPE) FLAVOR=smp GEN_OPT_FLGS="$(GEN_OPT_FLGS)" emulator + ${MAKE} TYPE=$(TYPE) FLAVOR=plain GEN_OPT_FLGS="$(GEN_OPT_FLGS)" emulator +endif + ${MAKE} TYPE=$(TYPE) GEN_OPT_FLGS="$(GEN_OPT_FLGS)" CC_R_FLAG= LD_R_FLAG= CC_R_OPT= + touch build-stnd-stamp + +bin/docb_gen: debian/scripts/docb_gen + dh_testdir + install -D -m 755 $< $@ + +manpages: manpages-stamp +manpages-stamp: build-stnd-stamp bin/docb_gen + dh_testdir + pwd=$$(pwd) ; \ + target=$$(basename $$(find make -type d |grep /)) ; \ + PATH=$$pwd/bin:$$PATH ; \ + for m in $$(find . -wholename '*/doc/src/Makefile') ; do \ + (cd $$(dirname $$m) && make man ERL_TOP=$$pwd TARGET=$$target) || exit 1 ; \ + done + touch manpages-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 manpages-stamp + dh_testdir + $(do-install) + # + # Install manpages + install -d -m 755 $(TMP_DIR)/usr/share/man + for m in $$(find . -wholename '*/doc/man?') ; do \ + cp -r $$m $(TMP_DIR)/usr/share/man || exit 1 ; \ + done + cp $(TMP_DIR)/usr/share/man/man3/dialyzer.3 $(TMP_DIR)/usr/share/man/man1/dialyzer.1 + mv $(TMP_DIR)/usr/share/man/man1/start.1 $(TMP_DIR)/usr/share/man/man1/start_embedded.1 + # + # Fix manpages + for f in $$(find $(TMP_DIR)/usr/share/man/man1 -type f) ; do \ + sed -i -e's/, start_erl(1)//g' \ + -e's/start(1)/start_embedded(1)/g' \ + $$f ; \ + done + # + sed -i -e's/^\(\.TH .*\) 3 \(.*\) "Erlang Module Definition"/\1 1 \2 "User Commands"/' \ + $(TMP_DIR)/usr/share/man/man1/dialyzer.1 + # + sed -i -e's/^start \\-/start_embedded \\-/' \ + -e's/^\.TH start 1/.TH start_embedded 1/' \ + $(TMP_DIR)/usr/share/man/man1/start_embedded.1 + # + for f in $$(find $(TMP_DIR)/usr/share/man -type f) ; do \ + sed -i -e's/^\(\.TH .*\) 3 /\1 3erl /' \ + -e's/\([^[:space:]]\)(3)/\1(3erl)/g' \ + $$f ; \ + done + # + for f in $$(find $(TMP_DIR)/usr/share/man/man3 -type f) ; do \ + mv $$f $${f}erl ; \ + done + 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 + # + for i in debian/*.in debian/scripts/*.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/@COMMON_TEST_VSN@/$(COMMON_TEST_VSN)/g' \ + -e's/@TOOLS_VSN@/$(TOOLS_VSN)/g' <$$i >$${i%%.in} ; \ + done + sh debian/scripts/analyse $(TMPINSTALL_DIR) + # + # Add all author lists to debian/AUTHORS + f=1 ; \ + for i in `find $(ROOT_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 (>= $${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/scripts/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 erl-docgen gs observer percept pman tv wx ; 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 erl-docgen 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=R13B03 +DEB_REL=13.b.3-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.3-dfsg.orig/debian/README.source +++ erlang-13.b.3-dfsg/debian/README.source @@ -0,0 +1,8 @@ +This package uses quilt to manage all modifications to the upstream +source. Changes are stored in the source package as diffs in +debian/patches and applied during the build. + +To get detailed instructions on how to apply the series of patches +and modify them, please read /usr/share/doc/quilt/README.source + + -- Sergei Golovan Tue, 18 Aug 2009 01:27:36 +0400 --- erlang-13.b.3-dfsg.orig/debian/README.Debian +++ erlang-13.b.3-dfsg/debian/README.Debian @@ -0,0 +1,81 @@ +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). + + -- Sergei Golovan Thu, 23 Jul 2009 23:13:56 +0400 --- erlang-13.b.3-dfsg.orig/debian/erlang-dialyzer.manpages +++ erlang-13.b.3-dfsg/debian/erlang-dialyzer.manpages @@ -0,0 +1 @@ +debian/tmp/usr/share/man/man1/dialyzer.1 --- erlang-13.b.3-dfsg.orig/debian/patterns/erlang-tv.patterns +++ erlang-13.b.3-dfsg/debian/patterns/erlang-tv.patterns @@ -0,0 +1 @@ +./usr/lib/erlang/lib/tv-.*/ --- erlang-13.b.3-dfsg.orig/debian/patterns/erlang-webtool.patterns +++ erlang-13.b.3-dfsg/debian/patterns/erlang-webtool.patterns @@ -0,0 +1 @@ +./usr/lib/erlang/lib/webtool-.*/ --- erlang-13.b.3-dfsg.orig/debian/patterns/erlang-observer.patterns +++ erlang-13.b.3-dfsg/debian/patterns/erlang-observer.patterns @@ -0,0 +1 @@ +./usr/lib/erlang/lib/observer-.*/ --- erlang-13.b.3-dfsg.orig/debian/patterns/erlang-runtime-tools.patterns +++ erlang-13.b.3-dfsg/debian/patterns/erlang-runtime-tools.patterns @@ -0,0 +1 @@ +./usr/lib/erlang/lib/runtime_tools-.*/ --- erlang-13.b.3-dfsg.orig/debian/patterns/erlang-base-hipe.patterns +++ erlang-13.b.3-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][^.]*(\.debug)?(\.[^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.3-dfsg.orig/debian/patterns/erlang-ssl.patterns +++ erlang-13.b.3-dfsg/debian/patterns/erlang-ssl.patterns @@ -0,0 +1 @@ +./usr/lib/erlang/lib/ssl-.*/ --- erlang-13.b.3-dfsg.orig/debian/patterns/erlang-pman.patterns +++ erlang-13.b.3-dfsg/debian/patterns/erlang-pman.patterns @@ -0,0 +1 @@ +./usr/lib/erlang/lib/pman-.*/ --- erlang-13.b.3-dfsg.orig/debian/patterns/erlang-base.patterns +++ erlang-13.b.3-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][^.]*(\.debug)?(\.[^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.3-dfsg.orig/debian/patterns/erlang-common-test.patterns +++ erlang-13.b.3-dfsg/debian/patterns/erlang-common-test.patterns @@ -0,0 +1 @@ +./usr/lib/erlang/lib/common_test-.*/ --- erlang-13.b.3-dfsg.orig/debian/patterns/erlang-reltool.patterns +++ erlang-13.b.3-dfsg/debian/patterns/erlang-reltool.patterns @@ -0,0 +1 @@ +./usr/lib/erlang/lib/reltool-.*/ --- erlang-13.b.3-dfsg.orig/debian/patterns/erlang-edoc.patterns +++ erlang-13.b.3-dfsg/debian/patterns/erlang-edoc.patterns @@ -0,0 +1 @@ +./usr/lib/erlang/lib/edoc-.*/ --- erlang-13.b.3-dfsg.orig/debian/patterns/erlang-parsetools.patterns +++ erlang-13.b.3-dfsg/debian/patterns/erlang-parsetools.patterns @@ -0,0 +1 @@ +./usr/lib/erlang/lib/parsetools-.*/ --- erlang-13.b.3-dfsg.orig/debian/patterns/erlang-src.patterns +++ erlang-13.b.3-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.3-dfsg.orig/debian/patterns/erlang-typer.patterns +++ erlang-13.b.3-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.3-dfsg.orig/debian/patterns/erlang-toolbar.patterns +++ erlang-13.b.3-dfsg/debian/patterns/erlang-toolbar.patterns @@ -0,0 +1 @@ +./usr/lib/erlang/lib/toolbar-.*/ --- erlang-13.b.3-dfsg.orig/debian/patterns/erlang-appmon.patterns +++ erlang-13.b.3-dfsg/debian/patterns/erlang-appmon.patterns @@ -0,0 +1 @@ +./usr/lib/erlang/lib/appmon-.*/ --- erlang-13.b.3-dfsg.orig/debian/patterns/erlang-megaco.patterns +++ erlang-13.b.3-dfsg/debian/patterns/erlang-megaco.patterns @@ -0,0 +1 @@ +./usr/lib/erlang/lib/megaco-.*/ --- erlang-13.b.3-dfsg.orig/debian/patterns/erlang-os-mon.patterns +++ erlang-13.b.3-dfsg/debian/patterns/erlang-os-mon.patterns @@ -0,0 +1 @@ +./usr/lib/erlang/lib/os_mon-.*/ --- erlang-13.b.3-dfsg.orig/debian/patterns/erlang-et.patterns +++ erlang-13.b.3-dfsg/debian/patterns/erlang-et.patterns @@ -0,0 +1 @@ +./usr/lib/erlang/lib/et-.*/ --- erlang-13.b.3-dfsg.orig/debian/patterns/erlang-public-key.patterns +++ erlang-13.b.3-dfsg/debian/patterns/erlang-public-key.patterns @@ -0,0 +1 @@ +./usr/lib/erlang/lib/public_key-.*/ --- erlang-13.b.3-dfsg.orig/debian/patterns/erlang-tools.patterns +++ erlang-13.b.3-dfsg/debian/patterns/erlang-tools.patterns @@ -0,0 +1 @@ +./usr/lib/erlang/lib/tools-.*/ --- erlang-13.b.3-dfsg.orig/debian/patterns/erlang-asn1.patterns +++ erlang-13.b.3-dfsg/debian/patterns/erlang-asn1.patterns @@ -0,0 +1 @@ +./usr/lib/erlang/lib/asn1-.*/ --- erlang-13.b.3-dfsg.orig/debian/patterns/erlang-wx.patterns +++ erlang-13.b.3-dfsg/debian/patterns/erlang-wx.patterns @@ -0,0 +1 @@ +./usr/lib/erlang/lib/wx-.*/ --- erlang-13.b.3-dfsg.orig/debian/patterns/erlang-snmp.patterns +++ erlang-13.b.3-dfsg/debian/patterns/erlang-snmp.patterns @@ -0,0 +1,2 @@ +./usr/lib/erlang/lib/otp_mibs-.*/ +./usr/lib/erlang/lib/snmp-.*/ --- erlang-13.b.3-dfsg.orig/debian/patterns/erlang-ssh.patterns +++ erlang-13.b.3-dfsg/debian/patterns/erlang-ssh.patterns @@ -0,0 +1 @@ +./usr/lib/erlang/lib/ssh-.*/ --- erlang-13.b.3-dfsg.orig/debian/patterns/erlang-eunit.patterns +++ erlang-13.b.3-dfsg/debian/patterns/erlang-eunit.patterns @@ -0,0 +1 @@ +./usr/lib/erlang/lib/eunit-.*/ --- erlang-13.b.3-dfsg.orig/debian/patterns/erlang-debugger.patterns +++ erlang-13.b.3-dfsg/debian/patterns/erlang-debugger.patterns @@ -0,0 +1 @@ +./usr/lib/erlang/lib/debugger-.*/ --- erlang-13.b.3-dfsg.orig/debian/patterns/erlang-test-server.patterns +++ erlang-13.b.3-dfsg/debian/patterns/erlang-test-server.patterns @@ -0,0 +1 @@ +./usr/lib/erlang/lib/test_server-.*/ --- erlang-13.b.3-dfsg.orig/debian/patterns/erlang-erl-docgen.patterns +++ erlang-13.b.3-dfsg/debian/patterns/erlang-erl-docgen.patterns @@ -0,0 +1 @@ +./usr/lib/erlang/lib/erl_docgen-.*/ --- erlang-13.b.3-dfsg.orig/debian/patterns/erlang-inviso.patterns +++ erlang-13.b.3-dfsg/debian/patterns/erlang-inviso.patterns @@ -0,0 +1 @@ +./usr/lib/erlang/lib/inviso-.*/ --- erlang-13.b.3-dfsg.orig/debian/patterns/erlang-dev.patterns +++ erlang-13.b.3-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.3-dfsg.orig/debian/patterns/erlang-xmerl.patterns +++ erlang-13.b.3-dfsg/debian/patterns/erlang-xmerl.patterns @@ -0,0 +1 @@ +./usr/lib/erlang/lib/xmerl-.*/ --- erlang-13.b.3-dfsg.orig/debian/patterns/erlang-crypto.patterns +++ erlang-13.b.3-dfsg/debian/patterns/erlang-crypto.patterns @@ -0,0 +1 @@ +./usr/lib/erlang/lib/crypto-.*/ --- erlang-13.b.3-dfsg.orig/debian/patterns/erlang-docbuilder.patterns +++ erlang-13.b.3-dfsg/debian/patterns/erlang-docbuilder.patterns @@ -0,0 +1 @@ +./usr/lib/erlang/lib/docbuilder-.*/ --- erlang-13.b.3-dfsg.orig/debian/patterns/erlang-mnesia.patterns +++ erlang-13.b.3-dfsg/debian/patterns/erlang-mnesia.patterns @@ -0,0 +1 @@ +./usr/lib/erlang/lib/mnesia-.*/ --- erlang-13.b.3-dfsg.orig/debian/patterns/erlang-examples.patterns +++ erlang-13.b.3-dfsg/debian/patterns/erlang-examples.patterns @@ -0,0 +1,18 @@ +./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/reltool-.*/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.3-dfsg.orig/debian/patterns/erlang-percept.patterns +++ erlang-13.b.3-dfsg/debian/patterns/erlang-percept.patterns @@ -0,0 +1 @@ +./usr/lib/erlang/lib/percept-.*/ --- erlang-13.b.3-dfsg.orig/debian/patterns/erlang-syntax-tools.patterns +++ erlang-13.b.3-dfsg/debian/patterns/erlang-syntax-tools.patterns @@ -0,0 +1 @@ +./usr/lib/erlang/lib/syntax_tools-.*/ --- erlang-13.b.3-dfsg.orig/debian/patterns/erlang-dialyzer.patterns +++ erlang-13.b.3-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.3-dfsg.orig/debian/patterns/erlang-gs.patterns +++ erlang-13.b.3-dfsg/debian/patterns/erlang-gs.patterns @@ -0,0 +1 @@ +./usr/lib/erlang/lib/gs-.*/ --- erlang-13.b.3-dfsg.orig/debian/patterns/erlang-inets.patterns +++ erlang-13.b.3-dfsg/debian/patterns/erlang-inets.patterns @@ -0,0 +1 @@ +./usr/lib/erlang/lib/inets-.*/ --- erlang-13.b.3-dfsg.orig/debian/patterns/erlang-ic.patterns +++ erlang-13.b.3-dfsg/debian/patterns/erlang-ic.patterns @@ -0,0 +1 @@ +./usr/lib/erlang/lib/ic-.*/ --- erlang-13.b.3-dfsg.orig/debian/patterns/erlang-corba.patterns +++ erlang-13.b.3-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-.*/ --- erlang-13.b.3-dfsg.orig/debian/patterns/erlang-odbc.patterns +++ erlang-13.b.3-dfsg/debian/patterns/erlang-odbc.patterns @@ -0,0 +1 @@ +./usr/lib/erlang/lib/odbc-.*/ --- erlang-13.b.3-dfsg.orig/debian/scripts/analyse +++ erlang-13.b.3-dfsg/debian/scripts/analyse @@ -0,0 +1,107 @@ +#!/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 erl-docgen 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 +MODULES="" +for fn in $(awk -- '/\.beam$/ {system("basename " $1 " .beam")}' debian/erlang-base.install) +do + MODULES="$MODULES{\"$fn\", \"erlang-base\"},\n" +done +PACKAGES2="\"dev\", \"nox\", \"dev\"" +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" + for fn in $(awk -- '/\.beam$/ {system("basename " $1 " .beam")}' debian/erlang-$pkg.install) + do + MODULES="$MODULES{\"$fn\", \"erlang-$pkg\"},\n" + done + PACKAGES2="$PACKAGES2, \"$pkg\"" +done + +sed -i -e "s/@PACKAGES@/$PACKAGES2/" -e "s/@MODULES@/$MODULES/" debian/scripts/erlang-depends + +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.3-dfsg.orig/debian/scripts/erlang-depends.in +++ erlang-13.b.3-dfsg/debian/scripts/erlang-depends.in @@ -0,0 +1,662 @@ +#! /usr/bin/env escript +%% -*- erlang -*- +%%! -smp disable + +-include_lib("kernel/include/file.hrl"). + +% The current Erlang version +-define(VERSION, "@SOURCE_VERSION@"). +-define(ABI_VERSION, "@ABI_VERSION@"). + +% The list of HiPE enabled architectures (with added 'all' architecture), isn't used yet +-define(HIPE_ARCHES, split("@HIPE_ARCHES@ all", $\ )). + +% Since all packages required built application to run may be unavailable on build stage +% it's necessary to list all module-package relationships explicitly: +-define(MODULES, [@MODULES@ {"erlang", "erlang-base"}]). + +% The erlang packages list (suffixes only) +-define(PACKAGES, [@PACKAGES@]). + + +% main/1 -- +% +% Generate debhelper substitution variables for Erlang-dependent +% packages. +% +% Arguments: +% Options List of debhelper options (-v, -a, -i, -p*, -N*) or +% -h. +% +% Result: +% None. +% +% Side effects: +% For each of the selected packages the corresponding file +% debian/package.substvars is created (if necessary) and filled by erlang +% dependencies. If -h or --help is among arguments then the usage info is +% printed instead and script is halted. + +main(Options) -> + {Verbosity, TmpDir, Exclude, NewOptions} = + lists:foldl(fun(Opt, {Sum, Dir, Ex, Opts}) -> + case Opt of + "-h" -> + usage(), + halt(2); + "--help" -> + usage(), + halt(2); + "-v" -> + {Sum + 1, Dir, Ex, Opts}; + "--verbose" -> + {Sum + 1, Dir, Ex, Opts}; + "--ignore=" ++ File -> + {Sum, Dir, Ex ++ [File], Opts}; + "-P" ++ D -> + {Sum, D, Ex, Opts}; + "--tmpdir=" ++ D -> + {Sum, D, Ex, Opts}; + _ -> + {Sum, Dir, Ex, Opts ++ [Opt]} + end + end, {0, [], [], []}, Options), + lists:foreach( + fun(Package) -> + PkgDir = case TmpDir of + [] -> + filename:join("debian", Package); + _ -> + TmpDir + end, + delsubstvar(Verbosity, Package, "erlang-abi:Depends"), + addsubstvar(Verbosity, Package, "erlang-abi:Depends", + "erlang-abi-" ++ ?ABI_VERSION), + delsubstvar(Verbosity, Package, "erlang-base:Depends"), + addsubstvar(Verbosity, Package, "erlang-base:Depends", + "erlang-base (>= " ++ ?VERSION ++ + ") | erlang-base-hipe (>= " ++ ?VERSION ++ ")"), + lists:foreach( + fun(Pkg) -> + delsubstvar(Verbosity, Package, "erlang-" ++ Pkg ++ ":Depends"), + addsubstvar(Verbosity, Package, "erlang-" ++ Pkg ++ ":Depends", + "erlang-" ++ Pkg ++ " (>= " ++ ?VERSION ++ ")") + end, ?PACKAGES), + Deps = lists:foldl( + fun(M, Acc) -> + case lists:keysearch(M, 1, ?MODULES) of + {value, {_, P}} -> + ordsets:add_element(P, Acc); + _ -> + io:format("WARNING: Module ~s not found~n", [M]), + Acc + end + end, ordsets:new(), + get_remote_modules(Verbosity, PkgDir, Exclude)), + delsubstvar(Verbosity, Package, "erlang:Depends"), + case join(lists:map( + fun(D) -> + "${" ++ D ++ ":Depends}" + end, ordsets:to_list(Deps)), ", ") of + [] -> + ok; + Dep -> + % Add substvar only if it isn't empty + + addsubstvar(Verbosity, Package, "erlang:Depends", Dep) + end + end, get_packages(NewOptions)). + +% usage/0 -- +% +% Print a short usage info. +% +% Arguments: +% None. +% +% Result: +% None. +% +% Side effects: +% Usage is printed to stdout. + +usage() -> + io:format("Usage: erlang-depends [options]~n" + "Options:~n" + " -h, --help Show this help message~n" + " -v, --verbose Verbose mode~n" + " -a, --arch Act on architecture dependent packages~n" + " -i, --indep Act on architecture independent packages~n" + " -ppackage, --package=package~n" + " Act on package \"package\"~n" + " -Npackage, --no-package=package~n" + " Do not act on package \"package\"~n" + " -Ptmpdir, --tmpdir=tmpdir~n" + " Use \"tmpdir\" for package build directory~n"). + +% get_remote_modules/3 +% +% Return a difference between all modules used in the application and +% the local modules which dependencies are satisfied automagically. +% +% Arguments: +% Verbosity Verbosity level (0 - silence, 1 - print action). +% Dir Directory where the local BEAM files are to be searched. +% Exclude Don't take into account files in this list. +% +% Result: +% The list of remote modules. +% +% Side effects: +% None. + +get_remote_modules(Verbosity, Dir, Exclude) -> + Mods = ordsets:to_list(ordsets:subtract(get_modules(Dir, Exclude), + get_local_modules(Dir, Exclude))), + if Verbosity >= 1 -> + lists:foreach(fun(M) -> + io:format("Remote module: ~s~n", [M]) + end, Mods); + true -> + ok + end, + Mods. + +% get_modules/2 +% +% Return an ordset of all modules found in the application. +% +% Arguments: +% Dir Directory where the app BEAM files are to be searched. +% Exclude Don't take into account files in this list. +% +% Result: +% The ordset of all used modules. +% +% Side effects: +% None. + +get_modules(Dir, Exclude) -> + Modules = lists:map(fun({M, _F, _A}) -> + atom_to_list(M) + end, get_imports(Dir, Exclude)), + ordsets:from_list(Modules). + +% get_local_modules/2 +% +% Return an ordset of local modules found in the application (it is +% constructed from BEAM filenames). +% +% Arguments: +% Dir Directory where the app BEAM files are to be searched. +% Exclude Don't take into account files in this list. +% +% Result: +% The ordset of all local modules. +% +% Side effects: +% None. + +get_local_modules(Dir, Exclude) -> + Files = lists:filter(fun(File) -> + case lists:member(File, Exclude) of + true -> + false; + _ -> + true + end + end, files(Dir, ".*\\.beam$", true)), + Basenames = lists:map(fun(File) -> + filename:basename(File, ".beam") + end, Files), + ordsets:from_list(Basenames). + +% get_imports/2 +% +% Get imports from all BEAM files in the specified directory and below. +% +% Arguments: +% Dir Directory where to search for BEAM files +% Exclude Don't take into account files in this list. +% +% Results: +% A list of imports from all found BEAM files. +% +% Side effects: +% None. + +get_imports(Dir, Exclude) -> + Files = lists:filter(fun(File) -> + case lists:member(File, Exclude) of + true -> + false; + _ -> + true + end + end, files(Dir, ".*\\.beam$", true)), + lists:foldl(fun(File, Acc) -> + case beam_lib:chunks(File, [imports]) of + {ok, {_, [{imports, List}]}} -> + Acc ++ List; + _ -> + Acc + end + end, [], Files). + +% split/2 -- +% +% Split string into a list of tokens using the specified delimiter +% +% Arguments: +% String String to split +% Delimiter Character (delimiter) +% +% Results: +% A list of strings. +% +% Side effects: +% None. + +split(String, Delimiter) -> + split(String, Delimiter, none, []). + +split([], _Delimiter, Current, Res) -> + case Current of + none -> + lists:reverse(Res); + _ -> + lists:reverse([lists:reverse(Current) | Res]) + end; + +split([Delimiter | Tail], Delimiter, Current, Res) -> + case Current of + none -> + split(Tail, Delimiter, [], [[] | Res]); + _ -> + split(Tail, Delimiter, [], [lists:reverse(Current) | Res]) + end; + +split([Char | Tail], Delimiter, Current, Res) -> + case Current of + none -> + split(Tail, Delimiter, [Char], Res); + _ -> + split(Tail, Delimiter, [Char | Current], Res) + end. + +% join/2 -- +% +% Join string list into a single string using the specified delimiter +% +% Arguments: +% List List of strings to join +% Delimiter Character or character list (delimiter) +% +% Results: +% A string. +% +% Side effects: +% None. + +join(List, Delimiter) -> + join(List, Delimiter, []). + +join([], _Delimiter, Res) -> + lists:flatten(lists:reverse(Res)); + +join([String | Tail], Delimiter, []) -> + join(Tail, Delimiter, [String]); + +join([String | Tail], Delimiter, Res) -> + join(Tail, Delimiter, [String, Delimiter | Res]). + +% delsubstvar/3 -- +% +% Removes substitution variable from a substvar file for a given +% package in debian/ directory. +% +% Arguments: +% Verbosity Verbosity level (0 - silence, 1 - print action) +% Package Name of a package (file Package ++ ".substvars" is used). +% Substvar Name of a substitution variable to delete. +% +% Results: +% ok or halt. +% +% Side effects: +% File "debian/" ++ Package ++ ".substvars" is overwritten. The +% specified variable is deleted. Program is halted in case of error. + +delsubstvar(Verbosity, Package, Substvar) -> + SubstvarFile = filename:join("debian", Package ++ ".substvars"), + if Verbosity >= 1 -> + io:format("Deleting substvar ~s from file ~s~n", [Substvar, SubstvarFile]); + true -> + ok + end, + case file:read_file(SubstvarFile) of + {ok, BinData} -> + StrData = binary_to_list(BinData), + + % Remove the trailing newline if any + + Len = string:len(StrData), + StrData2 = case Len - string:rstr(StrData, "\n") of + 0 -> + string:left(StrData, Len - 1); + _ -> + StrData + end, + Tokens = split(StrData2, $\n), + NewTokens = lists:filter( + fun(S) -> + case string:str(S, Substvar ++ "=") of + 1 -> + false; + _ -> + true + end + end, Tokens), + case file:write_file(SubstvarFile, join(NewTokens, $\n) ++ "\n") of + ok -> + ok; + {error, Error} -> + io:format("ERROR: Can't write ~s: ~s~n", [SubstvarFile, Error]), + halt(1) + end; + {error, enoent} -> + ok; + {error, Error} -> + io:format("ERROR: Can't read ~s: ~s~n", [SubstvarFile, Error]), + halt(1) + end. + +% addsubstvar/4 -- +% +% Adds a dependency to a substitution variable in a substvar file +% for a given package in debian/ directory. +% +% Arguments: +% Verbosity Verbosity level (0 - silence, 1 - print action) +% Package Name of a package (file Package ++ ".substvars" is used). +% Substvar Name of a substitution variable to add/change. +% Dependency An added substitution dependency string. +% +% Results: +% ok or halt. +% +% Side effects: +% File "debian/" ++ Package ++ ".substvars" is overwritten. The specified +% depandency string is added to the variable. Program is halted in case +% of error. + +addsubstvar(Verbosity, Package, Substvar, Dependency) -> + SubstvarFile = filename:join("debian", Package ++ ".substvars"), + if Verbosity >= 1 -> + io:format("Adding value ~s to substvar ~s in file ~s~n", + [Substvar, Dependency, SubstvarFile]); + true -> + ok + end, + case file:read_file(SubstvarFile) of + {ok, BinData} -> + StrData = binary_to_list(BinData), + + % Remove the trailing newline if any + + Len = string:len(StrData), + StrData2 = case Len - string:rstr(StrData, "\n") of + 0 -> + string:left(StrData, Len - 1); + _ -> + StrData + end, + Tokens = split(StrData2, $\n), + {NewTokens, Found} = lists:mapfoldl( + fun(S, F) -> + case string:str(S, Substvar ++ "=") of + 1 -> + {S ++ ", " ++ Dependency, true}; + _ -> + {S, F} + end + end, false, Tokens), + NewTokens2 = if Found -> + NewTokens; + true -> + [Substvar ++ "=" ++ Dependency | NewTokens] + end, + case file:write_file(SubstvarFile, join(NewTokens2, $\n) ++ "\n") of + ok -> + ok; + {error, Error} -> + io:format("Can't write ~s: ~s~n", [SubstvarFile, Error]), + halt(1) + end; + {error, enoent} -> + case file:write_file(SubstvarFile, [Substvar, "=", Dependency, "\n"]) of + ok -> + ok; + {error, Error} -> + io:format("Can't write ~s: ~s~n", [SubstvarFile, Error]), + halt(1) + end; + {error, Error} -> + io:format("Can't read ~s: ~s~n", [SubstvarFile, Error]), + halt(1) + end. + +% get_packages/1 -- +% +% Parses debhelper command line options and debian/control file and +% returns packages to act on. +% +% Arguments: +% ArgList Dephelper options (only -a, -i, -p, -N options are +% recognised). +% +% Results: +% {ok, [Package_names]} to work on or error message and halt if +% debian/control is unreadable or unknown option is specified. +% +% Side effects: +% Program is halted in case of error. + +get_packages(ArgList) -> + ControlFile = filename:join("debian", "control"), + case file:read_file(ControlFile) of + {ok, BinData} -> + {Arches, Excluded, Explicit} = + lists:foldl(fun(Arg, {A1, E1, E2}) -> + case Arg of + % Only the last -a or -i option takes + % effect + + "-a" -> + {arch, E1, E2}; + "--arch" -> + {arch, E1, E2}; + "-i" -> + {indep, E1, E2}; + "--indep" -> + {indep, E1, E2}; + "-s" -> + io:format("Options -s and --same-arch aren't supported yet~n"), + halt(1); + "--same-arch" -> + io:format("Options -s and --same-arch aren't supported yet~n"), + halt(1); + "-p" ++ Package -> + {A1, E1, E2 ++ [Package]}; + "--package=" ++ Package -> + {A1, E1, E2 ++ [Package]}; + "-N" ++ Package -> + {A1, E1 ++ [Package], E2}; + "--no-package=" ++ Package -> + {A1, E1 ++ [Package], E2}; + _ -> + io:format("Unknown option ~s~n", [Arg]), + halt(1) + end + end, {all, [], []}, ArgList), + StrData = binary_to_list(BinData), + + % Add an extra empty line for the case if debian/config doesn't have a trailing LF + + Tokens = split(StrData, $\n) ++ [[]], + {_Arch, _Package, Packages, AllPackages} = + lists:foldl(fun(Line, {A, P, Ps, APs}) -> + case Line of + "Package: " ++ Pkg -> + {A, string:strip(Pkg), Ps, APs}; + "Architecture: " ++ Arc -> + {string:strip(Arc), P, Ps, APs}; + "" -> + case P of + "" -> + % Two LF in a row or the end of a source package + + {"", "", Ps, APs}; + _ -> + case lists:member(P, Excluded) of + true -> + % The package is excluded by -Npackage + + {"", "", Ps, APs}; + _ -> + case lists:member(P, Explicit) of + true -> + % The package is explicitly required + + {"", "", Ps ++ [P], APs}; + _ -> + case A of + "all" -> + case Arches of + indep -> + % Arch independent packages + % are requested + + {"", "", Ps ++ [P], APs}; + all -> + {"", "", Ps, APs ++ [P]}; + _ -> + {"", "", Ps, APs} + end; + _ -> + case Arches of + arch -> + % Arch dependent packages + % are requested + + {"", "", Ps ++ [P], APs}; + all -> + {"", "", Ps, APs ++ [P]}; + _ -> + {"", "", Ps, APs} + end + end + end + end + end; + _ -> + {A, P, Ps, APs} + end + end, {"", "", [], []}, Tokens), + case {Arches, Packages} of + {all, []} -> + % There aren't explicitly requested packages + + AllPackages; + _ -> + Packages + end; + {error, Error} -> + io:format("Can't read ~s: ~s~n", [ControlFile, Error]), + halt(1) + end. + +% files/3 -- +% +% Return all files in a directory which names match a given expression. +% (This procedure is borrowed from http://erlang.org/examples/examples-2.0.html +% and a bit modified.) +% +% Arguments: +% Dir Directory from which to serach +% Re Regular expression for filename matching +% Recursive Whether to search for files recursively +% +% Result: +% A list of filenames. +% +% Side effects: +% None. + +files(Dir, Re, Recursive) -> + find_files(Dir, Re, Recursive, []). + +find_files(Dir, Re, Recursive, L) -> + case file:list_dir(Dir) of + {ok, Files} -> + find_files(Files, Dir, Re, Recursive, L); + {error, _} -> + L + end. + +find_files([File | T], Dir, Re, Recursive, L) -> + FullName = filename:join(Dir, File), + case file_type(FullName) of + regular -> + case re:run(FullName, Re) of + {match, _} -> + find_files(T, Dir, Re, Recursive, [FullName | L]); + _ -> + find_files(T, Dir, Re, Recursive, L) + end; + directory -> + case Recursive of + true -> + L1 = find_files(FullName, Re, Recursive, L), + find_files(T, Dir, Re, Recursive, L1); + false -> + find_files(T, Dir, Re, Recursive, L) + end; + error -> + find_files(T, Dir, Re, Recursive, L) + end; + +find_files([], _, _, _, L) -> + L. + +% file_type/1 -- +% +% Return file type (regular, directory, or error) for a given filename. +% (This procedure is borrowed from http://erlang.org/examples/examples-2.0.html +% and a bit modified.) +% +% Arguments: +% File Filename to get type. +% +% Result: +% A file type. +% +% Side effects: +% None. + +file_type(File) -> + case file:read_file_info(File) of + {ok, FileInfo} -> + case FileInfo#file_info.type of + regular -> + regular; + directory -> + directory; + _ -> + error + end; + _ -> + error + end. + +% vim:ft=erlang --- erlang-13.b.3-dfsg.orig/debian/scripts/docb_gen +++ erlang-13.b.3-dfsg/debian/scripts/docb_gen @@ -0,0 +1,34 @@ +#!/usr/bin/env escript +%% -*- erlang -*- + +main(Args) -> + {Func, File, Opts} = parse_args(Args), + case docb_gen:Func(File, Opts) of + ok -> + ok; + {error, Reason} -> + io:format("~p~n", [Reason]), + halt(1) + end. + +parse_args(Args) -> + parse_args(Args, module, "", [], [], false, true). + +parse_args([], Func, File, Defs, Includes, Preprocess, Sort) -> + {Func, File, [{def, lists:reverse(Defs)}, + {includes, lists:reverse(Includes)}, + {preprocess, Preprocess}, + {sort_functions, Sort}]}; +parse_args(["-chapter" | Tail], _Func, File, Defs, Includes, Preprocess, Sort) -> + parse_args(Tail, users_guide, File, Defs, Includes, Preprocess, Sort); +parse_args(["-def", Name, Value | Tail], Func, File, Defs, Includes, Preprocess, Sort) -> + parse_args(Tail, Func, File, [{list_to_atom(Name), Value} | Defs], Includes, Preprocess, Sort); +parse_args(["-includes", Dir | Tail], Func, File, Defs, Includes, Preprocess, Sort) -> + parse_args(Tail, Func, File, Defs, [Dir | Includes], Preprocess, Sort); +parse_args(["-preprocess", P | Tail], Func, File, Defs, Includes, _Preprocess, Sort) -> + parse_args(Tail, Func, File, Defs, Includes, list_to_atom(P), Sort); +parse_args(["-sort_functions", S | Tail], Func, File, Defs, Includes, Preprocess, _Sort) -> + parse_args(Tail, Func, File, Defs, Includes, Preprocess, list_to_atom(S)); +parse_args([F | Tail], Func, _File, Defs, Includes, Preprocess, Sort) -> + parse_args(Tail, Func, F, Defs, Includes, Preprocess, Sort). + --- erlang-13.b.3-dfsg.orig/debian/patches/build-options.patch +++ erlang-13.b.3-dfsg/debian/patches/build-options.patch @@ -0,0 +1,88 @@ +build-options.patch by James Henstridge +and Sergei Golovan + +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. + +Also, add debug info to VM binaries if DEB_BUILD_OPTIONS contains "debug". + +--- erlang-13.b.3-dfsg.orig/Makefile.in ++++ erlang-13.b.3-dfsg/Makefile.in +@@ -16,6 +16,9 @@ + # + # %CopyrightEnd% + ++ifeq ($(TYPE),debug) ++TYPEMARKER = .debug ++endif + # Toplevel makefile for building the Erlang system + # + +--- erlang-13.b.3-dfsg.orig/erts/etc/common/Makefile.in ++++ erlang-13.b.3-dfsg/erts/etc/common/Makefile.in +@@ -494,13 +494,13 @@ + + Install: ../unix/Install.src ../../vsn.mk $(TARGET)/Makefile + sed -e 's;%I_VSN%;$(VSN);' \ +- -e 's;%EMULATOR%;$(EMULATOR);' \ ++ -e 's;%EMULATOR%;$(EMULATOR)$(TYPEMARKER);' \ + -e 's;%EMULATOR_NUMBER%;$(EMULATOR_NUMBER);' \ + -e 's;%I_SYSTEM_VSN%;$(SYSTEM_VSN);' \ + ../unix/Install.src > Install + + erl.src: ../unix/erl.src.src ../../vsn.mk $(TARGET)/Makefile +- sed -e 's;%EMULATOR%;$(EMULATOR);' \ ++ sed -e 's;%EMULATOR%;$(EMULATOR)$(TYPEMARKER);' \ + -e 's;%EMULATOR_NUMBER%;$(EMULATOR_NUMBER);' \ + -e 's;%VSN%;$(VSN);' \ + ../unix/erl.src.src > erl.src +--- erlang-13.b.3-dfsg.orig/erts/emulator/Makefile.in ++++ erlang-13.b.3-dfsg/erts/emulator/Makefile.in +@@ -258,7 +258,7 @@ + CS_CFLAGS = $(CS_CFLAGS_) + endif + CS_LDFLAGS = $(LDFLAGS) +-CS_LIBS = -L../lib/internal/$(TARGET) -lerts_internal @ERTS_INTERNAL_X_LIBS@ ++CS_LIBS = -L../lib/internal/$(TARGET) -lerts_internal$(TYPEMARKER) @ERTS_INTERNAL_X_LIBS@ + + LIBS += @TERMCAP_LIB@ -L../lib/internal/$(TARGET) @ERTS_INTERNAL_X_LIBS@ + +@@ -284,7 +284,7 @@ + LIBS += $(ERL_TOP)/erts/emulator/pcre/obj/$(TARGET)/$(TYPE)/libepcre.a + DEPLIBS += \ + $(ERL_TOP)/erts/emulator/pcre/obj/$(TARGET)/$(TYPE)/libepcre.a \ +- $(ERL_TOP)/erts/lib/internal/$(TARGET)/liberts_internal.a ++ $(ERL_TOP)/erts/lib/internal/$(TARGET)/liberts_internal$(TYPEMARKER).a + # rem liberts_internal.a + endif + +--- erlang-13.b.3-dfsg.orig/make/otp.mk.in ++++ erlang-13.b.3-dfsg/make/otp.mk.in +@@ -71,18 +71,17 @@ + # 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 ++ ERL_COMPILE_FLAGS += +compressed ++ ifeq ($(findstring debug,$(DEB_BUILD_OPTIONS)),debug) ++ ERL_COMPILE_FLAGS += +debug_info + else +- ifdef BOOTSTRAP +- ERL_COMPILE_FLAGS += +slim +- else ++ ifeq ($(findstring nostrip,$(DEB_BUILD_OPTIONS)),nostrip) + ERL_COMPILE_FLAGS += +debug_info ++ else ++ ERL_COMPILE_FLAGS += +slim + endif + endif + endif --- erlang-13.b.3-dfsg.orig/debian/patches/m68k.patch +++ erlang-13.b.3-dfsg/debian/patches/m68k.patch @@ -0,0 +1,33 @@ +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.3-dfsg.orig/erts/emulator/beam/binary.c ++++ erlang-13.b.3-dfsg/erts/emulator/beam/binary.c +@@ -31,6 +31,10 @@ + #include "erl_binary.h" + #include "erl_bits.h" + ++#ifdef __m68k__ ++erts_atomic_t erts_allocated_binaries __attribute__ ((aligned (4))); ++#endif ++ + #ifdef DEBUG + static int list_to_bitstr_buf(Eterm obj, char* buf, int len); + #else +--- erlang-13.b.3-dfsg.orig/erts/emulator/beam/erl_driver.h ++++ erlang-13.b.3-dfsg/erts/emulator/beam/erl_driver.h +@@ -570,7 +570,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.3-dfsg.orig/debian/patches/sparc.patch +++ erlang-13.b.3-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.3-dfsg.orig/erts/configure.in ++++ erlang-13.b.3-dfsg/erts/configure.in +@@ -497,7 +497,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.3-dfsg.orig/erts/emulator/beam/beam_emu.c ++++ erlang-13.b.3-dfsg/erts/emulator/beam/beam_emu.c +@@ -997,16 +997,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 +@@ -1015,7 +1005,6 @@ + # define REG_fcalls + # define REG_tmp_arg1 + # define REG_tmp_arg2 +-#endif + + /* + * process_main() is called twice: --- erlang-13.b.3-dfsg.orig/debian/patches/native.patch +++ erlang-13.b.3-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.3-dfsg.orig/make/otp.mk.in ++++ erlang-13.b.3-dfsg/make/otp.mk.in +@@ -83,6 +83,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.3-dfsg.orig/debian/patches/pcre-crash.patch +++ erlang-13.b.3-dfsg/debian/patches/pcre-crash.patch @@ -0,0 +1,68 @@ +Origin: upstream http://github.com/erlang/otp/commit/bb6370a20be07e6bd0c9f6e89a3cd9719dccbfd3 +Bug-Ubuntu: https://bugs.launchpad.net/bugs/535090 +Author: Michael Santos +Date: Wed Feb 10 15:19:48 2010 -0500 + + Fix CVE-2008-2371 (outer level option with alternatives caused crash). + + The patch is from: + http://vcs.pcre.org/viewvc?revision=360&view=revision + + Test case: + re:compile(<<"(?i)[\xc3\xa9\xc3\xbd]|[\xc3\xa9\xc3\xbdA]">>, [unicode]). + + An option change at the start of a pattern that had top-level + alternatives could cause overwriting and/or a crash. + + This potential security problem was recorded as CVE-2008-2371. + +diff --git a/erts/emulator/pcre/pcre_compile.c b/erts/emulator/pcre/pcre_compile.c +index 235617f..2974336 100644 +--- a/erts/emulator/pcre/pcre_compile.c ++++ b/erts/emulator/pcre/pcre_compile.c +@@ -4820,10 +4820,8 @@ we set the flag only if there is a literal "\r" or "\n" in the class. */ + both phases. + + If we are not at the pattern start, compile code to change the ims +- options if this setting actually changes any of them. We also pass the +- new setting back so that it can be put at the start of any following +- branches, and when this group ends (if we are in a group), a resetting +- item can be compiled. */ ++ options if this setting actually changes any of them, and reset the ++ greedy defaults and the case value for firstbyte and reqbyte. */ + + if (*ptr == ')') + { +@@ -4831,7 +4829,6 @@ we set the flag only if there is a literal "\r" or "\n" in the class. */ + (lengthptr == NULL || *lengthptr == 2 + 2*LINK_SIZE)) + { + cd->external_options = newoptions; +- options = newoptions; + } + else + { +@@ -4840,17 +4837,17 @@ we set the flag only if there is a literal "\r" or "\n" in the class. */ + *code++ = OP_OPT; + *code++ = newoptions & PCRE_IMS; + } +- +- /* Change options at this level, and pass them back for use +- in subsequent branches. Reset the greedy defaults and the case +- value for firstbyte and reqbyte. */ +- +- *optionsptr = options = newoptions; + greedy_default = ((newoptions & PCRE_UNGREEDY) != 0); + greedy_non_default = greedy_default ^ 1; +- req_caseopt = ((options & PCRE_CASELESS) != 0)? REQ_CASELESS : 0; ++ req_caseopt = ((newoptions & PCRE_CASELESS) != 0)? REQ_CASELESS : 0; + } + ++ /* Change options at this level, and pass them back for use ++ in subsequent branches. When not at the start of the pattern, this ++ information is also necessary so that a resetting item can be ++ compiled at the end of a group (if we are in a group). */ ++ ++ *optionsptr = options = newoptions; + previous = NULL; /* This item can't be repeated */ + continue; /* It is complete */ + } --- erlang-13.b.3-dfsg.orig/debian/patches/ssl.patch +++ erlang-13.b.3-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.3-dfsg.orig/erts/configure.in ++++ erlang-13.b.3-dfsg/erts/configure.in +@@ -1577,6 +1577,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.3-dfsg.orig/erts/config.h.in ++++ erlang-13.b.3-dfsg/erts/config.h.in +@@ -253,6 +253,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 + +@@ -424,6 +427,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.3-dfsg.orig/lib/ssl/c_src/esock.c ++++ erlang-13.b.3-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.3-dfsg.orig/lib/ssl/src/ssl_broker.erl ++++ erlang-13.b.3-dfsg/lib/ssl/src/ssl_broker.erl +@@ -471,7 +471,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 +@@ -527,7 +527,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 +@@ -684,7 +684,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()}, +@@ -707,10 +708,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, +@@ -997,8 +999,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). +@@ -1006,6 +1013,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 + %% +@@ -1054,6 +1064,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]. + +@@ -1061,10 +1073,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). +@@ -1120,6 +1132,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; +@@ -1130,11 +1146,20 @@ + + is_ip_address(Addr) when tuple_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.3-dfsg.orig/lib/ssl/src/ssl_prim.erl ++++ erlang-13.b.3-dfsg/lib/ssl/src/ssl_prim.erl +@@ -118,7 +118,7 @@ + peername(#st{fd = Fd, status = open}) -> + case ssl_server:peername_prim(ssl_server_prim, Fd) of + {ok, {Address, Port}} -> +- {ok, At} = inet_parse:ipv4_address(Address), ++ {ok, At} = inet_parse:address(Address), + {ok, {At, Port}}; + Error -> + Error +@@ -129,7 +129,7 @@ + sockname(#st{fd = Fd, status = open}) -> + case ssl_server:sockname_prim(ssl_server_prim, 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.3-dfsg.orig/lib/ssl/src/ssl_server.erl ++++ erlang-13.b.3-dfsg/lib/ssl/src/ssl_server.erl +@@ -1363,7 +1363,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.3-dfsg.orig/debian/patches/docs.patch +++ erlang-13.b.3-dfsg/debian/patches/docs.patch @@ -0,0 +1,126 @@ +Patch by sergei Golovan fixes several bugs with . and ' at the +beginning of a line in Erlang manpages. It simply escapes all dots +and apostrophes by adding \& before them. Also, it fixes whatis entries +for module and application definitions. + +--- erlang-13.b.3-dfsg.orig/lib/erl_docgen/priv/xsl/db_man.xsl ++++ erlang-13.b.3-dfsg/lib/erl_docgen/priv/xsl/db_man.xsl +@@ -192,7 +192,7 @@ + + + .TH 3 " " "Ericsson AB" "Erlang Module Definition" +- .SH MODULE ++ .SH NAME + \- + + +@@ -225,7 +225,7 @@ + + .TH 6 " " "Ericsson AB" "Erlang Application Definition" + .SH NAME +- \- ++ \- + + + +@@ -268,7 +268,7 @@ + .TP + Types + +- .RE ++ .RE + + + +@@ -288,7 +288,7 @@ + + .RS + +- .RE ++ .RE + + + +@@ -305,4 +305,60 @@ + + + ++ ++ ++ .SH AUTHORS ++ ++ ++ ++ ++ ++ .LP ++ ++ ++ ++ ++ ++ .I < ++ ++ > ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ + +--- erlang-13.b.3-dfsg.orig/lib/stdlib/doc/src/re.xml ++++ erlang-13.b.3-dfsg/lib/stdlib/doc/src/re.xml +@@ -349,7 +349,7 @@ + metacharacter should not match before it. Setting this without + multiline (at compile time) causes circumflex never to + match. This option affects only the behavior of the circumflex +- metacharacter. It does not affect \A. ++ metacharacter. It does not affect \\A. + + noteol + +@@ -358,8 +358,8 @@ + match it nor (except in multiline mode) a newline immediately + before it. Setting this without multiline (at compile time) + causes dollar never to match. This option affects only the +- behavior of the dollar metacharacter. It does not affect \Z or +- \z. ++ behavior of the dollar metacharacter. It does not affect \\Z or ++ \\z. + + {offset, int()} + --- erlang-13.b.3-dfsg.orig/debian/patches/series +++ erlang-13.b.3-dfsg/debian/patches/series @@ -0,0 +1,12 @@ +clean.patch +gnu.patch +sparc.patch +man.patch +emacs.patch +ssl.patch +m68k.patch +docs.patch +#native.patch +build-options.patch +pcre-crash.patch + --- erlang-13.b.3-dfsg.orig/debian/patches/clean.patch +++ erlang-13.b.3-dfsg/debian/patches/clean.patch @@ -0,0 +1,187 @@ +clean.patch by Sergei Golovan + +Erlang leaves many files after make clean. This patch contains +a hack to remove them. + +--- erlang-13.b.3-dfsg.orig/Makefile.in ++++ erlang-13.b.3-dfsg/Makefile.in +@@ -777,6 +777,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 +@@ -811,3 +812,171 @@ + || $(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/eunit/doc/src/eunit_surefire.xml ++ rm -rf $(ERL_TOP)/lib/eunit/doc/src/eunit.xml ++ 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/kernel/src/inet_dns_record_adts.hrl ++ 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/doc/man6/os_mon.6 ++ 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/doc/man6/ssl.6 ++ 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.3-dfsg.orig/debian/patches/man.patch +++ erlang-13.b.3-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.3-dfsg.orig/erts/etc/common/erlexec.c ++++ erlang-13.b.3-dfsg/erts/etc/common/erlexec.c +@@ -699,8 +699,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:7")); + execvp("man", argv+i); + error("Could not execute the 'man' command."); + #endif --- erlang-13.b.3-dfsg.orig/debian/patches/emacs.patch +++ erlang-13.b.3-dfsg/debian/patches/emacs.patch @@ -0,0 +1,33 @@ +Patch by Balint Reczey fixes backquote +syntax (see http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=494823). + +--- erlang-13.b.3-dfsg.orig/lib/tools/emacs/erlang.el ++++ erlang-13.b.3-dfsg/lib/tools/emacs/erlang.el +@@ -2367,23 +2367,22 @@ + (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)))))) + + ;; defvar some obsolete variables, which we still support for + ;; backwardscompatibility reasons. --- erlang-13.b.3-dfsg.orig/debian/patches/gnu.patch +++ erlang-13.b.3-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.3-dfsg.orig/erts/configure.in ++++ erlang-13.b.3-dfsg/erts/configure.in +@@ -339,7 +339,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. +@@ -996,7 +996,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.3-dfsg.orig/lib/common_test/Makefile ++++ erlang-13.b.3-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.3-dfsg.orig/lib/common_test/priv/Makefile.in ++++ erlang-13.b.3-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.3-dfsg.orig/lib/os_mon/c_src/memsup.c ++++ erlang-13.b.3-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.3-dfsg.orig/lib/ssl/Makefile ++++ erlang-13.b.3-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.3-dfsg.orig/debian/lintian/erlang-tv.lintian-override +++ erlang-13.b.3-dfsg/debian/lintian/erlang-tv.lintian-override @@ -0,0 +1 @@ +erlang-tv: image-file-in-usr-lib --- erlang-13.b.3-dfsg.orig/debian/lintian/erlang-base.lintian-override +++ erlang-13.b.3-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.3-dfsg.orig/debian/lintian/erlang-gs.lintian-override +++ erlang-13.b.3-dfsg/debian/lintian/erlang-gs.lintian-override @@ -0,0 +1 @@ +erlang-gs: image-file-in-usr-lib --- erlang-13.b.3-dfsg.orig/debian/lintian/erlang-examples.lintian-override +++ erlang-13.b.3-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.3-dfsg.orig/debian/lintian/erlang-wx.lintian-override +++ erlang-13.b.3-dfsg/debian/lintian/erlang-wx.lintian-override @@ -0,0 +1 @@ +erlang-wx: image-file-in-usr-lib --- erlang-13.b.3-dfsg.orig/debian/lintian/erlang-percept.lintian-override +++ erlang-13.b.3-dfsg/debian/lintian/erlang-percept.lintian-override @@ -0,0 +1 @@ +erlang-percept: image-file-in-usr-lib --- erlang-13.b.3-dfsg.orig/debian/lintian/erlang-observer.lintian-override +++ erlang-13.b.3-dfsg/debian/lintian/erlang-observer.lintian-override @@ -0,0 +1 @@ +erlang-observer: image-file-in-usr-lib --- erlang-13.b.3-dfsg.orig/debian/lintian/erlang-docbuilder.lintian-override +++ erlang-13.b.3-dfsg/debian/lintian/erlang-docbuilder.lintian-override @@ -0,0 +1 @@ +erlang-docbuilder: image-file-in-usr-lib --- erlang-13.b.3-dfsg.orig/debian/lintian/erlang-appmon.lintian-override +++ erlang-13.b.3-dfsg/debian/lintian/erlang-appmon.lintian-override @@ -0,0 +1 @@ +erlang-appmon: image-file-in-usr-lib --- erlang-13.b.3-dfsg.orig/debian/lintian/erlang-edoc.lintian-override +++ erlang-13.b.3-dfsg/debian/lintian/erlang-edoc.lintian-override @@ -0,0 +1 @@ +erlang-edoc: image-file-in-usr-lib --- erlang-13.b.3-dfsg.orig/debian/lintian/erlang-debugger.lintian-override +++ erlang-13.b.3-dfsg/debian/lintian/erlang-debugger.lintian-override @@ -0,0 +1 @@ +erlang-debugger: image-file-in-usr-lib --- erlang-13.b.3-dfsg.orig/debian/lintian/erlang-base-hipe.lintian-override +++ erlang-13.b.3-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.3-dfsg.orig/debian/lintian/erlang-pman.lintian-override +++ erlang-13.b.3-dfsg/debian/lintian/erlang-pman.lintian-override @@ -0,0 +1 @@ +erlang-pman: image-file-in-usr-lib --- erlang-13.b.3-dfsg.orig/debian/lintian/erlang-erl-docgen.lintian-override +++ erlang-13.b.3-dfsg/debian/lintian/erlang-erl-docgen.lintian-override @@ -0,0 +1 @@ +erlang-erl-docgen: image-file-in-usr-lib --- erlang-13.b.3-dfsg.orig/debian/manpages/typer.1 +++ erlang-13.b.3-dfsg/debian/manpages/typer.1 @@ -0,0 +1,81 @@ +.TH typer 1 "typer 0.1.7.3" "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.3-dfsg.orig/debian/manpages/erlang-depends.1 +++ erlang-13.b.3-dfsg/debian/manpages/erlang-depends.1 @@ -0,0 +1,237 @@ +.\" Automatically generated by Pod::Man 2.1801 (Pod::Simple 3.05) +.\" Modified by Sergei Golovan +.\" +.\" Standard preamble: +.\" ======================================================================== +.de Sp \" Vertical space (when we can't use .PP) +.if t .sp .5v +.if n .sp +.. +.de Vb \" Begin verbatim text +.ft CW +.nf +.ne \\$1 +.. +.de Ve \" End verbatim text +.ft R +.fi +.. +.\" Set up some character translations and predefined strings. \*(-- will +.\" give an unbreakable dash, \*(PI will give pi, \*(L" will give a left +.\" double quote, and \*(R" will give a right double quote. \*(C+ will +.\" give a nicer C++. Capital omega is used to do unbreakable dashes and +.\" therefore won't be available. \*(C` and \*(C' expand to `' in nroff, +.\" nothing in troff, for use with C<>. +.tr \(*W- +.ds C+ C\v'-.1v'\h'-1p'\s-2+\h'-1p'+\s0\v'.1v'\h'-1p' +.ie n \{\ +. ds -- \(*W- +. ds PI pi +. if (\n(.H=4u)&(1m=24u) .ds -- \(*W\h'-12u'\(*W\h'-12u'-\" diablo 10 pitch +. if (\n(.H=4u)&(1m=20u) .ds -- \(*W\h'-12u'\(*W\h'-8u'-\" diablo 12 pitch +. ds L" "" +. ds R" "" +. ds C` "" +. ds C' "" +'br\} +.el\{\ +. ds -- \|\(em\| +. ds PI \(*p +. ds L" `` +. ds R" '' +'br\} +.\" +.\" Escape single quotes in literal strings from groff's Unicode transform. +.ie \n(.g .ds Aq \(aq +.el .ds Aq ' +.\" +.\" If the F register is turned on, we'll generate index entries on stderr for +.\" titles (.TH), headers (.SH), subsections (.SS), items (.Ip), and index +.\" entries marked with X<> in POD. Of course, you'll have to process the +.\" output yourself in some meaningful fashion. +.ie \nF \{\ +. de IX +. tm Index:\\$1\t\\n%\t"\\$2" +.. +. nr % 0 +. rr F +.\} +.el \{\ +. de IX +.. +.\} +.\" +.\" Accent mark definitions (@(#)ms.acc 1.5 88/02/08 SMI; from UCB 4.2). +.\" Fear. Run. Save yourself. No user-serviceable parts. +. \" fudge factors for nroff and troff +.if n \{\ +. ds #H 0 +. ds #V .8m +. ds #F .3m +. ds #[ \f1 +. ds #] \fP +.\} +.if t \{\ +. ds #H ((1u-(\\\\n(.fu%2u))*.13m) +. ds #V .6m +. ds #F 0 +. ds #[ \& +. ds #] \& +.\} +. \" simple accents for nroff and troff +.if n \{\ +. ds ' \& +. ds ` \& +. ds ^ \& +. ds , \& +. ds ~ ~ +. ds / +.\} +.if t \{\ +. ds ' \\k:\h'-(\\n(.wu*8/10-\*(#H)'\'\h"|\\n:u" +. ds ` \\k:\h'-(\\n(.wu*8/10-\*(#H)'\`\h'|\\n:u' +. ds ^ \\k:\h'-(\\n(.wu*10/11-\*(#H)'^\h'|\\n:u' +. ds , \\k:\h'-(\\n(.wu*8/10)',\h'|\\n:u' +. ds ~ \\k:\h'-(\\n(.wu-\*(#H-.1m)'~\h'|\\n:u' +. ds / \\k:\h'-(\\n(.wu*8/10-\*(#H)'\z\(sl\h'|\\n:u' +.\} +. \" troff and (daisy-wheel) nroff accents +.ds : \\k:\h'-(\\n(.wu*8/10-\*(#H+.1m+\*(#F)'\v'-\*(#V'\z.\h'.2m+\*(#F'.\h'|\\n:u'\v'\*(#V' +.ds 8 \h'\*(#H'\(*b\h'-\*(#H' +.ds o \\k:\h'-(\\n(.wu+\w'\(de'u-\*(#H)/2u'\v'-.3n'\*(#[\z\(de\v'.3n'\h'|\\n:u'\*(#] +.ds d- \h'\*(#H'\(pd\h'-\w'~'u'\v'-.25m'\f2\(hy\fP\v'.25m'\h'-\*(#H' +.ds D- D\\k:\h'-\w'D'u'\v'-.11m'\z\(hy\v'.11m'\h'|\\n:u' +.ds th \*(#[\v'.3m'\s+1I\s-1\v'-.3m'\h'-(\w'I'u*2/3)'\s-1o\s+1\*(#] +.ds Th \*(#[\s+2I\s-2\h'-\w'I'u*3/5'\v'-.3m'o\v'.3m'\*(#] +.ds ae a\h'-(\w'a'u*4/10)'e +.ds Ae A\h'-(\w'A'u*4/10)'E +. \" corrections for vroff +.if v .ds ~ \\k:\h'-(\\n(.wu*9/10-\*(#H)'\s-2\u~\d\s+2\h'|\\n:u' +.if v .ds ^ \\k:\h'-(\\n(.wu*10/11-\*(#H)'\v'-.4m'^\v'.4m'\h'|\\n:u' +. \" for low resolution devices (crt and lpr) +.if \n(.H>23 .if \n(.V>19 \ +\{\ +. ds : e +. ds 8 ss +. ds o a +. ds d- d\h'-1'\(ga +. ds D- D\h'-1'\(hy +. ds th \o'bp' +. ds Th \o'LP' +. ds ae ae +. ds Ae AE +.\} +.rm #[ #] #H #V #F C +.\" ======================================================================== +.\" +.IX Title "ERLANG-DEPENDS 1" +.TH ERLANG-DEPENDS 1 "2009\-07\-02" "1:13.b.1\-dfsg\-4" "Erlang packages for Debian GNU/Linux" +.\" For nroff, turn off justification. Always turn off hyphenation; it makes +.\" way too many mistakes in technical documents. +.if n .ad l +.nh +.SH "NAME" +erlang\-depends \- calculates Erlang dependencies +.SH "SYNOPSIS" +.IX Header "SYNOPSIS" +\&\fBerlang-depends\fR [\fIdebhelper\ options\fR] +.SH "DESCRIPTION" +.IX Header "DESCRIPTION" +erlang\-depends is a debhelper-like program that is responsible for generating +the substitution variables for Erlang-dependent packages. +.PP +The most useful variable is ${erlang:Depends}. It expands into the list of +Erlang packages which modules are used in the building package. It is +introduced in version 1:13.b.1\-dfsg\-3 of erlang-dev package. +.PP +Also, ${erlang\-abi:Depends} substitution adds current erlang \s-1ABI\s0 virtual +package to substvar files. It is useful if your package uses C-based +extensions which may break in case of \s-1ABI\s0 changes. It is introduced in +version 1:11.b.4\-4 of erlang\-dev package. +.PP +If you want to fine tune your package dependencies then you may want to use +substvars for all Erlang packages you need. Currently they are: +${erlang\-base:Depends}, +${erlang\-dev:Depends}, +${erlang\-appmon:Depends}, +${erlang\-asn1:Depends}, +${erlang\-common-test:Depends}, +${erlang\-corba:Depends}, +${erlang\-crypto:Depends}, +${erlang\-debugger:Depends}, +${erlang\-dialyzer:Depends}, +${erlang\-docbuilder:Depends}, +${erlang\-edoc:Depends}, +${erlang\-et:Depends}, +${erlang\-eunit:Depends}, +${erlang\-gs:Depends}, +${erlang\-ic:Depends}, +${erlang\-inets:Depends}, +${erlang\-inviso:Depends}, +${erlang\-megaco:Depends}, +${erlang\-mnesia:Depends}, +${erlang\-observer:Depends}, +${erlang\-odbc:Depends}, +${erlang\-os-mon:Depends}, +${erlang\-parsetools:Depends}, +${erlang\-percept:Depends}, +${erlang\-pman:Depends}, +${erlang\-public-key:Depends}, +${erlang\-reltool:Depends}, +${erlang\-runtime-tools:Depends}, +${erlang\-snmp:Depends}, +${erlang\-ssh:Depends}, +${erlang\-ssl:Depends}, +${erlang\-syntax-tools:Depends}, +${erlang\-test-server:Depends}, +${erlang\-toolbar:Depends}, +${erlang\-tools:Depends}, +${erlang\-tv:Depends}, +${erlang\-typer:Depends}, +${erlang\-webtool:Depends}, +${erlang\-wx:Depends}, +${erlang\-xmerl:Depends}. +All variables except ${erlang\-base:Depends} and ${erlang\-dev:Depends} were +introduced in version 1:13.b\-dfsg\-2 of erlang\-dev package. +.PP +For compatibility with older versions the variables +${erlang\-nox:Depends} and ${erlang\-x11:Depends} also works (even since the +corresponding packages turned into dummy packages). +.PP +If you use this program, your package must build-depend on erlang\-dev +(>= 1:13.b\-dfsg\-2). If you want your package to use automatic calculation +of dependencies then it must build-depend on erlang\-dev (>= 1:13.b.1\-dfsg\-3). +.SH "OPTIONS" +.IX Header "OPTIONS" +.IP "\fB\-v\fR, \fB\-\-verbose\fR" 4 +.IX Item "-v, --verbose" +Verbose mode. +.IP "\fB\-a\fR, \fB\-\-arch\fR" 4 +.IX Item "-a, --arch" +Act on all architecture dependent packages. +.IP "\fB\-i\fR, \fB\-\-indep\fR" 4 +.IX Item "-i, --indep" +Act on all architecture independent packages. +.IP "\fB\-p\fR\fIpackage\fR, \fB\-\-package=\fR\fIpackage\fR" 4 +.IX Item "-ppackage, --package=package" +Act on the package named \*(L"package\*(R". This option may be specified multiple +times. +.IP "\fB\-N\fR\fIpackage\fR, \fB\-\-no\-package=\fR\fIpackage\fR" 4 +.IX Item "-Npackage, --no-package=package" +Do not act on the specified package even if an \-a, \-i, or \-p option lists +the package as one that should be acted on. +.IP "\fB\-\-ignore=\fR\fIfile\fR" 4 +.IX Item "--ignore=file" +Ignore the specified file. +.IP "\fB\-P\fR\fItmpdir\fR, \fB\-\-tmpdir=\fR\fItmpdir\fR" 4 +.IX Item "-Ptmpdir, --tmpdir=tmpdir" +Use \*(L"tmpdir\*(R" for package build directory. The default is debian/ +.SH "SEE ALSO" +.IX Header "SEE ALSO" +\&\fIdebhelper\fR\|(7) +.PP +This program is not part of debhelper. +.SH "AUTHORS" +.IX Header "AUTHORS" +Torsten Werner initially wrote it in Perl, +Sergei Golovan rewrote in Erlang (started from 1:13.b.1\-dfsg\-3).