--- erlang-15.b.1-dfsg.orig/debian/rules +++ erlang-15.b.1-dfsg/debian/rules @@ -0,0 +1,539 @@ +#!/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) +MAN_DIR = $(ROOT_DIR)/debian/erlang-docs/usr/lib/erlang/man + +export HOME := $(ROOT_DIR)/debian + +-include ${ROOT_DIR}/erts/vsn.mk +-include ${ROOT_DIR}/lib/diameter/vsn.mk +-include ${ROOT_DIR}/lib/erl_interface/vsn.mk +-include ${ROOT_DIR}/lib/jinterface/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 +-include ${ROOT_DIR}/lib/snmp/vsn.mk +-include ${ROOT_DIR}/lib/hipe/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 (= $${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 (= $${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 +THREAD_OPTS=--enable-threads --enable-smp-support +endif + +LIBSCTP=$(shell grep-status -s Depends -PX libsctp-dev |sed -e 's!.*\(libsctp[0-9]*\).*!\1!') +LIBSCTPDEP=$(shell grep-status -s Version -PX $(LIBSCTP) | sed -e's!^Version: \(.*\)-[^-]*!$(LIBSCTP) (>= \1)!') + +ifeq ($(findstring debug,$(DEB_BUILD_OPTIONS)),debug) +CFLAGS=-g -O2 -fno-strict-aliasing +GEN_OPT_FLGS=-O2 -fno-strict-aliasing +TYPE=debug +ERL_COMPILE_FLAGS="+debug_info" +else +CFLAGS=-g -O2 -fno-strict-aliasing +GEN_OPT_FLGS=-O2 -fno-strict-aliasing +TYPE= +ERL_COMPILE_FLAGS="" +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/erlang-docs + 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/erlang-doc.links + rm -f debian/erlang-doc.doc-base.erlang-erts + # + 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 + # + ERL_COMPILE_FLAGS="$(ERL_COMPILE_FLAGS)" \ + 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 \ + --enable-ethread-pre-pentium4-compatibility \ + --enable-shared-zlib \ + --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 + # + ERL_COMPILE_FLAGS="$(ERL_COMPILE_FLAGS)" \ + 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 \ + --enable-ethread-pre-pentium4-compatibility \ + --enable-shared-zlib \ + --without-ssl-zlib + # + touch configure-stnd-stamp + +define do-install + echo "*** do-install called for $(INSTALL_DIR)." + + # Calls make install. + ${MAKE} DESTDIR=$(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 -v {} \; + + # 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 crypto object files + rm -rv $(INSTALL_DIR)/usr/lib/erlang/lib/crypto-*/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 -v {} \; + rm -rv $(INSTALL_DIR)/usr/lib/erlang/erts-$(VSN)/doc + + # Remove useless Install and manpage formatting scripts + rm -v $(INSTALL_DIR)/usr/lib/erlang/Install + rm -rv $(INSTALL_DIR)/usr/lib/erlang/misc + + # Copy forgotten HiPE sources to make sute they'll end up in the + # erlang-src package + for file in lib/hipe/*/*.erl lib/hipe/*/*.hrl lib/hipe/*/*.inc ; do \ + fname=$$(basename $${file}) ; \ + subdir=$$(basename $$(dirname $${file})) ; \ + if [ ! -f $(INSTALL_DIR)/usr/lib/erlang/lib/hipe-$(HIPE_VSN)/$${subdir}/$${fname} ] ; then \ + install -m 755 -d $(INSTALL_DIR)/usr/lib/erlang/lib/hipe-$(HIPE_VSN)/$${subdir} ; \ + install -m 644 $${file} \ + $(INSTALL_DIR)/usr/lib/erlang/lib/hipe-$(HIPE_VSN)/$${subdir} ; \ + fi ; \ + done +endef + +# manpages builds section 1 manual pages +manpages: manpages-stamp +manpages-stamp: $(INSTALL_RULE) + dh_testdir + target=$$(basename $$(find make -type d |grep /)) ; \ + PATH=$(ROOT_DIR)/bin:$$PATH ; \ + for m in lib/diameter lib/snmp lib/dialyzer lib/erl_interface lib/common_test lib/webtool erts ; do \ + make -C $$m/doc/src man ERL_TOP=$(ROOT_DIR) TARGET=$$target ; \ + done + # + install -d $(MAN_DIR)/man1 $(MAN_DIR)/man3 ; \ + install lib/dialyzer/doc/man3/*.3 $(MAN_DIR)/man3 ; \ + for m in lib/diameter lib/snmp lib/erl_interface lib/common_test lib/webtool erts ; do \ + install $$m/doc/man1/*.1 $(MAN_DIR)/man1 ; \ + done + # + sh debian/scripts/fixmanpages $(MAN_DIR) 1 + # + touch manpages-stamp + +# 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)" + +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)" + touch build-stnd-stamp + +docs: docs-stamp +docs-stamp: $(INSTALL_RULE) + dh_testdir + PATH=$(ROOT_DIR)/bin:$$PATH $(MAKE) docs + $(MAKE) DESTDIR=$(ROOT_DIR)/debian/erlang-docs install-docs + # + sh debian/scripts/fixmanpages $(MAN_DIR) 2 + # + (cd $(ROOT_DIR)/debian/erlang-docs/usr/lib/erlang/lib ; \ + perl $(ROOT_DIR)/debian/scripts/genindex >index.html ; \ + perl $(ROOT_DIR)/debian/scripts/genlinks $(VSN) >$(ROOT_DIR)/debian/erlang-doc.links) + touch docs-stamp + +install-hipe: install-hipe-stamp +install-hipe-stamp: INSTALL_DIR=$(ROOT_DIR)/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=$(ROOT_DIR)/debian/erlang-stnd +install-stnd-stamp: build-stnd-stamp + dh_testdir + $(do-install) + touch install-stnd-stamp + +build: build-arch build-indep +build-arch: build-stamp manpages-stamp +build-indep: 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/@JINTERFACE_VSN@/$(JINTERFACE_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/@SNMP_VSN@/$(SNMP_VSN)/g' \ + -e's/@DIAMETER_VSN@/$(DIAMETER_VSN)/g' \ + -e's/@TOOLS_VSN@/$(TOOLS_VSN)/g' <$$i >$${i%%.in} ; \ + done + sed -e's/@VERSION@/$(VSN)/g' debian/erlang-doc.doc-base.erlang-erts + # + # Place each installed file into the proper package. + # See this script and the debian/patterns/* files for more informations. + 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 docs-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-overrides \ + $(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 -X.txt -X.erl -X.hrl -X.c -X.js -X.kwc -X.pdf -X.eix -X.src -X.beam + dh_fixperms -i + dh_makeshlibs -i + dh_installdeb -i + dh_shlibdeps -i + dh_gencontrol -i + dh_md5sums -i + dh_builddeb -i -- -Z xz + +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 common-test debugger edoc erl-docgen gs observer percept pman tv wx ; do \ + install -D -m 644 debian/lintian/erlang-$$pkg.lintian-overrides \ + $(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 + dh_shlibdeps -a -Nerlang-base-hipe + dh_gencontrol -perlang-base -- \ + -Vlibsctp:Version='$(LIBSCTPDEP)' + dh_gencontrol -a -Nerlang-base -Nerlang-base-hipe -- \ + -Verlang-base='$(ERLANGBASE)' + dh_md5sums -a -Nerlang-base-hipe + dh_builddeb -a -Nerlang-base-hipe -- -Z xz + +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-overrides \ + $(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 + dh_shlibdeps -perlang-base-hipe + dh_gencontrol -perlang-base-hipe -- \ + -Vlibsctp:Version='$(LIBSCTPDEP)' + dh_md5sums -perlang-base-hipe + dh_builddeb -perlang-base-hipe -- -Z xz + +binary: binary-indep binary-arch + +REL=R15B01 +DEB_REL=15.b.1-dfsg + +get-orig-source: + CURDIR=`pwd` && TMPDIR=`mktemp -d /tmp/erlang.XXXXXX` && \ + cd $$TMPDIR && \ + wget -O - http://www.erlang.org/download/otp_src_$(REL).tar.gz | tar -zx && \ + (cd otp_src_$(REL) && \ + ./otp_build save_bootstrap && \ + for f in `cat prebuilt.files` ; do rm -f $$f ; done) && \ + rm -rvf otp_src_$(REL)/lib/*/doc/standard/ && \ + rm -rvf otp_src_$(REL)/lib/*/doc/archive/ && \ + tar -zcf $$CURDIR/erlang_$(DEB_REL).orig.tar.gz otp_src_$(REL) && \ + rm -rf $$TMPDIR + +.PHONY: patch unpatch clean-patched clean automake install build build-arch build-indep +.PHONY: binary binary-arch binary-indep get-orig-source +.PHONY: configure-stnd build-stnd install-stnd docs manpages +.PHONY: configure-hipe build-hipe install-hipe +.PHONY: binary-erlang-base binary-erlang-base-hipe --- erlang-15.b.1-dfsg.orig/debian/erlang-base.postinst +++ erlang-15.b.1-dfsg/debian/erlang-base.postinst @@ -0,0 +1,93 @@ +#! /bin/sh +# postinst script for erlang-base +# +# see: dh_installdeb(1) + +set -e + +# summary of how this script can be called: +# * configure +# * abort-upgrade +# * abort-remove in-favour +# * abort-remove +# * abort-deconfigure in-favour \ +# removing +# for details, see /usr/doc/packaging-manual/ +# +# quoting from the policy: +# Any necessary prompting should almost always be confined to the +# post-installation script, and should be protected with a conditional +# so that unnecessary prompting doesn't happen if a package's +# installation fails and the is called with abort-upgrade, +# abort-remove or abort-deconfigure. + +case "$1" in + abort-upgrade|abort-remove|abort-deconfigure) + ;; + + configure) + if [ -z "$2" ] || dpkg --compare-versions "$2" ge-nl "1:10.b.10-3" ; then + echo -n "Searching for services which depend on erlang and should be started..." + # find all init scripts and packages they belong + inits=$(dpkg -S '/etc/init.d/*' 2>/dev/null | sed -e's:/etc/init.d/::') + # filter the list of the packages + packs=$(echo $inits | sed -e's/:[[:space:]]\+[^[:space:]]*//g' | sed -e's/ /\n/g' | sort -u) + # find packages, which depend on erlang + packs=$(dpkg -s $packs 2>/dev/null | egrep '^Package:|^Status:|^Depends' | awk '{if ($1 ~ /^Package:/) {package=$2;inst=0} else if ($0 ~ /^Status:.* installed$/) {inst=1} else if ((inst==1) && ($0 ~ /^Depends:.* erlang/)) {print package}}') + # construct services list from the packages + services="" + for p in $packs ; do + service=$(echo $inits | sed -e's/\([^:]\) /\1\n/g' | awk "/^$p:/ {print \$2}") + services="$services $service" + done + services=$(echo $services | tr '\n' ' ' | sed -e's/\(^[[:space:]]*\|[[:space:]]*$\)//g') + + if [ -z "$services" ] ; then + echo "none found." + else + echo "found: $services." + echo "Starting services which depend on erlang" + rl=$(runlevel | awk '{print $2}') + failed="" + for service in $services ; do + if [ -f /usr/share/file-rc/rc -o -f /usr/lib/file-rc/rc ] && [ -f /etc/runlevel.conf ] ; then + idl=$(filerc $rl $service) + else + idl=$(ls /etc/rc${rl}.d/S??${service} 2> /dev/null | head -1) + fi + if [ -n "$idl" ] ; then + echo -n " $service: starting..." + if $idl start > /dev/null 2>&1 ; then + echo "done." + else + echo "failed. ($?)" + failed="$failed $service" + fi + fi + done + if [ -n "$failed" ] ; then + echo "The following services failed to start: $failed." + echo + echo "You will need to start them manually by running \`/etc/init.d/ start'" + echo "If the service still fails to start, you may need to file a bug on" + echo "\`erlang' package or the service involved." + else + echo "Services started successfully." + fi + fi + fi + ;; + + *) + echo "postinst called with unknown argument \`$1'" >&2 + exit 0 + ;; +esac + +# dh_installdeb will replace this with shell code automatically +# generated by other debhelper scripts. + +#DEBHELPER# + +exit 0 + --- erlang-15.b.1-dfsg.orig/debian/erlang-common-test.manpages +++ erlang-15.b.1-dfsg/debian/erlang-common-test.manpages @@ -0,0 +1 @@ +debian/erlang-docs/usr/lib/erlang/man/man1/ct_run.1 --- erlang-15.b.1-dfsg.orig/debian/erlang-manpages.manpages +++ erlang-15.b.1-dfsg/debian/erlang-manpages.manpages @@ -0,0 +1,4 @@ +debian/erlang-docs/usr/lib/erlang/man/man3/* +debian/erlang-docs/usr/lib/erlang/man/man4/* +debian/erlang-docs/usr/lib/erlang/man/man6/* +debian/erlang-docs/usr/lib/erlang/man/man7/* --- erlang-15.b.1-dfsg.orig/debian/erlang-mode.emacsen-startup +++ erlang-15.b.1-dfsg/debian/erlang-mode.emacsen-startup @@ -0,0 +1,12 @@ +;; installed in a subdirectory of the respective site-lisp directory. +;; We have to add this to the load-path: +(debian-pkg-add-load-path-item (concat "/usr/share/" + (symbol-name debian-emacs-flavor) + "/site-lisp/erlang")) +(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-15.b.1-dfsg.orig/debian/erlang-base.desktop +++ erlang-15.b.1-dfsg/debian/erlang-base.desktop @@ -0,0 +1,6 @@ +[Desktop Entry] +Type=KonsoleApplication +Name=Erlang +Comment=New Erlang Shell +Exec=/usr/bin/erl +Icon=/usr/share/pixmaps/erlang.xpm --- erlang-15.b.1-dfsg.orig/debian/README.source +++ erlang-15.b.1-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-15.b.1-dfsg.orig/debian/erlang-mode.links +++ erlang-15.b.1-dfsg/debian/erlang-mode.links @@ -0,0 +1 @@ +usr/share/man /usr/lib/erlang/man --- erlang-15.b.1-dfsg.orig/debian/erlang-ic-java.links.in +++ erlang-15.b.1-dfsg/debian/erlang-ic-java.links.in @@ -0,0 +1,2 @@ +usr/lib/erlang/lib/ic-@IC_VSN@/priv/ic.jar usr/share/java/ic-@IC_VSN@.jar +usr/lib/erlang/lib/ic-@IC_VSN@/priv/ic.jar usr/share/java/ic.jar --- erlang-15.b.1-dfsg.orig/debian/erlang-typer.links +++ erlang-15.b.1-dfsg/debian/erlang-typer.links @@ -0,0 +1 @@ +usr/lib/erlang/bin/typer usr/bin/typer --- erlang-15.b.1-dfsg.orig/debian/erlang-mode.emacsen-install +++ erlang-15.b.1-dfsg/debian/erlang-mode.emacsen-install @@ -0,0 +1,47 @@ +#! /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 ${ELCDIR} +ln -sf ${ELDIR}/*.el . +if [ ${FLAVOR} = emacs21 -o ${FLAVORTEST} = xemacs ]; then + rm -f erlang-flymake.el +fi + +FILES=`echo *.el` +cat << EOF > path.el +(setq load-path (cons "." load-path) byte-compile-warnings nil) +EOF +${FLAVOR} ${FLAGS} ${FILES} +rm -f path.el + +exit 0 --- erlang-15.b.1-dfsg.orig/debian/erlang.xpm +++ erlang-15.b.1-dfsg/debian/erlang.xpm @@ -0,0 +1,41 @@ +/* XPM */ +static char * erlang_xpm[] = { +"32 32 6 1", +" c None", +". c #FFFFFF", +"+ c #800000", +"@ c #808080", +"# c #FF0000", +"$ c #000000", +"................................", +".++++...........+...........+++.", +".+++..........+++++.........+++.", +".+++.........+++++++........@++.", +".++.........++++++++.........++.", +".++.........++++++++.........++.", +".+............................+.", +".+............................+.", +".+............................+.", +".+............................+.", +".+............................+.", +".+..........+++++++++++++++++++.", +".+..........+++++++++++++++++++.", +".+..........+++++++++++++++++++.", +".+..........+++++++++++++++++++.", +".+..........+++++++++++++++++++.", +".+..........+++++++++++++..++++.", +".++..........++++++++++++...@++.", +".++..........@++++++++++......+.", +".+++..........+++++++++.......+.", +".+++...........+++++++.......++.", +".+++#............+++........@++.", +".++++.......................+++.", +"................................", +"................................", +"................................", +".$$..$$$...$....$$...$..$...$$$.", +".$...$..$..$....$$...$$.$..$....", +".$$..$$$...$....$$...$.$$..$.$$.", +".$...$.$...$...$$$$..$..$..$..$.", +".$$..$..$..$$$.$..$..$..$...$$..", +"................................"}; --- erlang-15.b.1-dfsg.orig/debian/erlang-base-hipe.desktop +++ erlang-15.b.1-dfsg/debian/erlang-base-hipe.desktop @@ -0,0 +1,6 @@ +[Desktop Entry] +Type=KonsoleApplication +Name=Erlang +Comment=New Erlang Shell +Exec=/usr/bin/erl +Icon=/usr/share/pixmaps/erlang.xpm --- erlang-15.b.1-dfsg.orig/debian/erlang-webtool.manpages +++ erlang-15.b.1-dfsg/debian/erlang-webtool.manpages @@ -0,0 +1 @@ +debian/erlang-docs/usr/lib/erlang/man/man1/start_webtool.1 --- erlang-15.b.1-dfsg.orig/debian/control +++ erlang-15.b.1-dfsg/debian/control @@ -0,0 +1,676 @@ +Source: erlang +Maintainer: Ubuntu Developers +XSBC-Original-Maintainer: Debian Erlang Packagers +Uploaders: Sergei Golovan +Section: interpreters +Priority: optional +Standards-Version: 3.9.3 +Build-Depends: debhelper (>= 5.0.0), autoconf (>= 2.50), openssl, libssl-dev, m4, + libncurses5-dev, quilt, autotools-dev, unixodbc-dev, bison, flex, ed, + 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-Depends-Indep: fop, default-jdk | sun-java6-jdk +Build-Conflicts: autoconf2.13, libwxgtk2.4-dev, libwxgtk2.6-dev +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, ${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 +Conflicts: erlang (<< ${source:Version}), erlang-base-hipe, erlang-doc (<< ${source:Upstream-Version}), erlang-doc (>> ${source:Upstream-Version}-999), erlang-manpages (<= 1:11.b.1-2), erlang-doc-html (<< 1:13.b.4) +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 (<< ${source:Upstream-Version}), erlang-doc (>> ${source:Upstream-Version}-999), erlang-manpages (<= 1:11.b.1-2), erlang-doc-html (<< 1:13.b.4) +Provides: erlang-abi-15.b +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, ${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 +Conflicts: erlang (<< ${source:Version}), erlang-base, erlang-doc (<< ${source:Upstream-Version}), erlang-doc (>> ${source:Upstream-Version}-999), erlang-manpages (<= 1:11.b.1-2), erlang-doc-html (<< 1:13.b.4) +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 (<< ${source:Upstream-Version}), erlang-doc (>> ${source:Upstream-Version}-999), erlang-manpages (<= 1:11.b.1-2), erlang-doc-html (<< 1:13.b.4) +Provides: erlang-abi-15.b +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}), ${misc:Depends} +Suggests: erlang, erlang-manpages, erlang-doc +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 (<< ${source:Upstream-Version}), erlang-doc (>> ${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 +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 (<< ${source:Upstream-Version}), erlang-doc (>> ${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}), erlang-xmerl (= ${binary:Version}), ${shlibs:Depends}, ${misc:Depends} +Suggests: erlang, erlang-manpages, erlang-doc +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 (<< ${source:Upstream-Version}), erlang-doc (>> ${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}), ${misc:Depends} +Suggests: erlang, erlang-manpages, erlang-doc +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 (<< ${source:Upstream-Version}), erlang-doc (>> ${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 +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 (<< ${source:Upstream-Version}), erlang-doc (>> ${source:Upstream-Version}-999), erlang-manpages (<= 1:11.b.1-2) +Description: Erlang/OTP cryptographic 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}), ${misc:Depends} +Suggests: erlang, erlang-manpages, erlang-doc +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 (<< ${source:Upstream-Version}), erlang-doc (>> ${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 +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 (<< ${source:Upstream-Version}), erlang-doc (>> ${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-diameter +Architecture: any +Depends: ${erlang-base}, erlang-runtime-tools (= ${binary:Version}), erlang-ssl (= ${binary:Version}), erlang-syntax-tools (=${binary:Version}), ${misc:Depends} +Suggests: erlang, erlang-manpages, erlang-doc +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 (<< ${source:Upstream-Version}), erlang-doc (>> ${source:Upstream-Version}-999), erlang-manpages (<= 1:11.b.1-2) +Description: Erlang/OTP implementation of RFC 3588 protocol + Interface with which a user creates a service that sends and receives + messages using the Diameter protocol as defined in RFC 3588. + + +Package: erlang-doc +Section: doc +Architecture: all +Depends: ${misc:Depends} +Suggests: erlang +Conflicts: erlang-doc-html, erlang-base (<< 1:13.b.4), erlang-base-hipe (<< 1:13.b.4) +Replaces: erlang-doc-html +Provides: erlang-doc-html +Description: Erlang/OTP HTML/PDF documentation + Documentation for the Erlang programming language and OTP + library in HTML and PDF formats. + + +Package: erlang-edoc +Architecture: any +Depends: ${erlang-base}, erlang-inets (= ${binary:Version}), erlang-syntax-tools (=${binary:Version}), erlang-xmerl (= ${binary:Version}), ${misc:Depends} +Suggests: erlang, erlang-manpages, erlang-doc +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 (<< ${source:Upstream-Version}), erlang-doc (>> ${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-eldap +Architecture: any +Depends: ${erlang-base}, erlang-asn1 (= ${binary:Version}), erlang-ssl (=${binary:Version}), ${misc:Depends} +Suggests: erlang, erlang-manpages, erlang-doc +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 (<< ${source:Upstream-Version}), erlang-doc (>> ${source:Upstream-Version}-999), erlang-manpages (<= 1:11.b.1-2) +Description: Erlang/OTP LDAP library + Eldap is a module which provides a client API to the Lightweight + Directory Access Protocol (LDAP). + + +Package: erlang-erl-docgen +Architecture: any +Depends: ${erlang-base}, erlang-edoc (= ${binary:Version}), erlang-xmerl (= ${binary:Version}), ${misc:Depends} +Suggests: xsltproc, fop, erlang, erlang-manpages, erlang-doc +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 (<< ${source:Upstream-Version}), erlang-doc (>> ${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}), ${misc:Depends} +Suggests: erlang, erlang-manpages, erlang-doc +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 (<< ${source:Upstream-Version}), erlang-doc (>> ${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 examining trace data using GUI. + + +Package: erlang-eunit +Architecture: any +Depends: ${erlang-base}, ${misc:Depends} +Suggests: erlang, erlang-manpages, erlang-doc +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 (<< ${source:Upstream-Version}), erlang-doc (>> ${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}, ${misc:Depends}, tk | wish +Suggests: erlang, erlang-manpages, erlang-doc +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 (<< ${source:Upstream-Version}), erlang-doc (>> ${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}, ${misc:Depends} +Suggests: erlang-ic-java, erlang, erlang-manpages, erlang-doc +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 (<< ${source:Upstream-Version}), erlang-doc (>> ${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-ic-java +Architecture: all +Depends: erlang-jinterface, erlang-ic (>= ${binary:Version}), erlang-ic (<< ${binary:Version}.0), ${misc:Depends} +Suggests: erlang, erlang-manpages, erlang-doc +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 (<< ${source:Upstream-Version}), erlang-doc (>> ${source:Upstream-Version}-999), erlang-manpages (<= 1:11.b.1-2) +Description: Erlang/OTP IDL compiler (Java classes) + 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. + . + This package includes classes for Java-Erlang communication. + + +Package: erlang-inets +Architecture: any +Depends: ${erlang-base}, erlang-mnesia (= ${binary:Version}), erlang-runtime-tools (= ${binary:Version}), erlang-ssl (= ${binary:Version}), ${misc:Depends} +Suggests: erlang, erlang-manpages, erlang-doc +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 (<< ${source:Upstream-Version}), erlang-doc (>> ${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}), ${misc:Depends} +Suggests: erlang, erlang-manpages, erlang-doc +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 (<< ${source:Upstream-Version}), erlang-doc (>> ${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 +Section: doc +Architecture: all +Depends: ${misc:Depends} +Suggests: erlang, erlang-doc +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 +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 (<< ${source:Upstream-Version}), erlang-doc (>> ${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}, ${misc:Depends} +Suggests: erlang, erlang-manpages, erlang-doc +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 (<< ${source:Upstream-Version}), erlang-doc (>> ${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-appmon (= ${binary:Version}), erlang-et (= ${binary:Version}), erlang-gs (= ${binary:Version}), erlang-inets (= ${binary:Version}), erlang-runtime-tools (= ${binary:Version}), erlang-webtool (= ${binary:Version}), ${misc:Depends} +Suggests: erlang, erlang-manpages, erlang-doc +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 (<< ${source:Upstream-Version}), erlang-doc (>> ${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 +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 (<< ${source:Upstream-Version}), erlang-doc (>> ${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 +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 (<< ${source:Upstream-Version}), erlang-doc (>> ${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}, ${misc:Depends} +Suggests: erlang, erlang-manpages, erlang-doc +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 (<< ${source:Upstream-Version}), erlang-doc (>> ${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}), ${misc:Depends} +Suggests: erlang, erlang-manpages, erlang-doc +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 (<< ${source:Upstream-Version}), erlang-doc (>> ${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 identify concurrency bottlenecks. + + +Package: erlang-pman +Architecture: any +Depends: ${erlang-base}, erlang-gs (= ${binary:Version}), ${misc:Depends} +Suggests: erlang, erlang-manpages, erlang-doc +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 (<< ${source:Upstream-Version}), erlang-doc (>> ${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 one to trace events in the individual processes. + + +Package: erlang-public-key +Architecture: any +Depends: ${erlang-base}, erlang-asn1 (= ${binary:Version}), erlang-crypto (= ${binary:Version}), ${misc:Depends} +Suggests: erlang, erlang-manpages, erlang-doc +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 (<< ${source:Upstream-Version}), erlang-doc (>> ${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}), ${misc:Depends} +Suggests: erlang, erlang-manpages, erlang-doc +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 (<< ${source:Upstream-Version}), erlang-doc (>> ${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}, erlang-mnesia (= ${binary:Version}), ${shlibs:Depends}, ${misc:Depends} +Suggests: erlang, erlang-manpages, erlang-doc +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 (<< ${source:Upstream-Version}), erlang-doc (>> ${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}), ${misc:Depends} +Suggests: erlang, erlang-manpages, erlang-doc +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 (<< ${source:Upstream-Version}), erlang-doc (>> ${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}), ${misc:Depends} +Suggests: erlang, erlang-manpages, erlang-doc +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 (<< ${source:Upstream-Version}), erlang-doc (>> ${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}), ${misc:Depends} +Suggests: erlang, erlang-manpages, erlang-doc +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 (<< ${source:Upstream-Version}), erlang-doc (>> ${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}, ${misc:Depends} +Suggests: erlang, erlang-manpages, erlang-doc +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 (<< ${source:Upstream-Version}), erlang-doc (>> ${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}), ${misc:Depends} +Suggests: erlang, erlang-manpages, erlang-doc +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 (<< ${source:Upstream-Version}), erlang-doc (>> ${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}), ${misc:Depends} +Suggests: erlang, erlang-manpages, erlang-doc +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 (<< ${source:Upstream-Version}), erlang-doc (>> ${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 +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 (<< ${source:Upstream-Version}), erlang-doc (>> ${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 analyzing 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}), ${misc:Depends} +Suggests: erlang, erlang-manpages, erlang-doc +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 (<< ${source:Upstream-Version}), erlang-doc (>> ${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 +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 (<< ${source:Upstream-Version}), erlang-doc (>> ${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}), ${misc:Depends} +Suggests: erlang-observer (= ${binary:Version}), erlang, erlang-manpages, erlang-doc +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 (<< ${source:Upstream-Version}), erlang-doc (>> ${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 web server as well as all available tools. + + +Package: erlang-xmerl +Architecture: any +Depends: ${erlang-base}, ${misc:Depends} +Suggests: erlang, erlang-manpages, erlang-doc +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 (<< ${source:Upstream-Version}), erlang-doc (>> ${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}, ${misc:Depends} +Suggests: erlang, erlang-manpages, erlang-doc +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 into Erlang/OTP distribution and C interface + libraries. + + +Package: erlang-src +Architecture: all +Depends: erlang-base (>= ${binary:Version}) | erlang-base-hipe (>= ${binary:Version}), erlang-base (<< ${binary:Version}.0) | erlang-base-hipe (<< ${binary:Version}.0), ${misc:Depends} +Suggests: erlang, erlang-manpages, erlang-doc +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-erl-docgen (<< ${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 (>= ${binary:Version}) | erlang-base-hipe (>= ${binary:Version}), erlang-base (<< ${binary:Version}.0) | erlang-base-hipe (<< ${binary:Version}.0), ${misc:Depends} +Recommends: erlang-asn1, erlang-crypto, erlang-gs, erlang-inets, erlang-megaco, erlang-snmp, erlang-ssh, erlang-ssl, erlang-syntax-tools +Suggests: erlang, erlang-manpages, erlang-doc +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-jinterface +Architecture: all +Depends: default-jre-headless | java2-runtime-headless | java1-runtime-headless | java2-runtime | java1-runtime, + ${misc:Depends} +Suggests: erlang, erlang-manpages, erlang-doc +Description: Java communication tool to Erlang + Jinterface Java package contains java classes, which help you + integrate programs written in Java with Erlang. + +Package: erlang-mode +Architecture: all +Depends: emacsen-common (>= 1.4.14), ${misc:Depends} +Suggests: erlang, erlang-manpages, erlang-doc +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: all +Depends: erlang-base | erlang-base-hipe, erlang-asn1, erlang-corba, erlang-crypto, + erlang-diameter, erlang-edoc, erlang-eldap, erlang-erl-docgen, 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, ${misc:Depends} +Suggests: erlang, erlang-manpages, erlang-doc +Description: Erlang/OTP applications that don't require X Window System + This package is a dummy package which will install all Erlang/OTP + applications which do not require X Window System to run. + + +Package: erlang-x11 +Architecture: all +Depends: erlang-base | erlang-base-hipe, 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, + ${misc:Depends} +Suggests: erlang, erlang-manpages, erlang-doc +Description: Erlang/OTP applications that require X Window System + This package is a dummy package which will install all Erlang/OTP + applications which use graphical interface and therefore require + X Window System to run. + + +Package: erlang +Architecture: all +Depends: erlang-base | erlang-base-hipe, erlang-dev, erlang-appmon, erlang-asn1, + erlang-common-test, erlang-corba, erlang-crypto, erlang-debugger, + erlang-dialyzer, erlang-diameter, erlang-edoc, erlang-eldap, + 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, ${misc:Depends} +Recommends: erlang-jinterface, erlang-ic-java, erlang-mode, erlang-src, + erlang-examples +Suggests: erlang-manpages, erlang-doc +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; + * Built-in support for real-time, concurrent and distributed programming; + * Designed for development of robust and continuously operated programs; + * Dynamic code replacement at runtime. + . + The Erlang distribution also includes OTP (Open Telecom Platform) which + provides a rich 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-15.b.1-dfsg.orig/debian/in.erlang-doc.doc-base.erlang-erts +++ erlang-15.b.1-dfsg/debian/in.erlang-doc.doc-base.erlang-erts @@ -0,0 +1,9 @@ +Document: erlang-erts +Title: Erlang Runtime Documentation +Author: Ericsson +Abstract: Documentation for the Erlang Runtime System +Section: Programming + +Format: HTML +Index: /usr/share/doc/erlang-doc/erts-@VERSION@/doc/html/index.html +Files: /usr/share/doc/erlang-doc/erts-@VERSION@/doc/html/* --- erlang-15.b.1-dfsg.orig/debian/erlang-snmp.links.in +++ erlang-15.b.1-dfsg/debian/erlang-snmp.links.in @@ -0,0 +1 @@ +usr/lib/erlang/lib/snmp-@SNMP_VSN@/bin/snmpc usr/bin/snmpc --- erlang-15.b.1-dfsg.orig/debian/copyright +++ erlang-15.b.1-dfsg/debian/copyright @@ -0,0 +1,447 @@ +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 licence applies to lib/eldap + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE. + +============================================================================ +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-15.b.1-dfsg.orig/debian/erlang-common-test.links.in +++ erlang-15.b.1-dfsg/debian/erlang-common-test.links.in @@ -0,0 +1 @@ +usr/lib/erlang/bin/ct_run usr/bin/ct_run --- erlang-15.b.1-dfsg.orig/debian/erlang-base-hipe.menu +++ erlang-15.b.1-dfsg/debian/erlang-base-hipe.menu @@ -0,0 +1,8 @@ +?package(erlang-base-hipe):\ + needs="text" \ + section="Applications/Programming" \ + title="Erlang Shell" \ + longtitle="Erlang shell in a terminal session" \ + hints="Erlang" \ + command="/usr/bin/erl" \ + icon="/usr/share/pixmaps/erlang.xpm" --- erlang-15.b.1-dfsg.orig/debian/README.Debian +++ erlang-15.b.1-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 Alioth: + +https://alioth.debian.org/projects/pkg-erlang/ (project page) +svn://svn.debian.org/svn/pkg-erlang/erlang/trunk/ (SVN) +http://svn.debian.org/wsvn/pkg-erlang/erlang/trunk/ (browse SVN) +mailto:pkg-erlang-devel@lists.alioth.debian.org (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 +(for docs in HTML and PDF). + + -- Sergei Golovan Tue, 12 Oct 2010 11:02:27 +0400 --- erlang-15.b.1-dfsg.orig/debian/erlang-base.files +++ erlang-15.b.1-dfsg/debian/erlang-base.files @@ -0,0 +1,34 @@ +usr/lib/erlang/bin/erlc +usr/lib/erlang/bin/run_erl +usr/lib/erlang/bin/to_erl +usr/lib/erlang/erts-*/bin/beam +usr/lib/erlang/erts-*/bin/beam.elib +usr/lib/erlang/erts-*/bin/beam.elib.shared +usr/lib/erlang/erts-*/bin/beam.shared +usr/lib/erlang/erts-*/bin/child_setup +usr/lib/erlang/erts-*/bin/child_setup.shared +usr/lib/erlang/erts-*/bin/epmd +usr/lib/erlang/erts-*/bin/erlc +usr/lib/erlang/erts-*/bin/erlexec +usr/lib/erlang/erts-*/bin/heart +usr/lib/erlang/erts-*/bin/inet_gethost +usr/lib/erlang/erts-*/bin/run_erl +usr/lib/erlang/erts-*/bin/to_erl +usr/lib/erlang/erts-*/lib/internal/*.a +usr/lib/erlang/erts-*/bin/beam.hybrid +usr/lib/erlang/erts-*/bin/child_setup.hybrid +usr/lib/erlang/lib/odbc-*/priv/bin/odbcserver +usr/lib/erlang/lib/asn1-*/priv/lib/*.so +usr/lib/erlang/lib/crypto-*/priv/lib/*.o +usr/lib/erlang/lib/crypto-*/priv/lib/*.so +usr/lib/erlang/lib/crypto-*/priv/obj/*.o +usr/lib/erlang/lib/erl_interface-*/bin/erl_call +usr/lib/erlang/lib/erl_interface-*/lib/*.a +usr/lib/erlang/lib/ic-*/priv/lib/*.a +usr/lib/erlang/lib/megaco-*/priv/lib/*.so +usr/lib/erlang/lib/orber-*/priv/bin/obj_init_port +usr/lib/erlang/lib/os_mon-*/priv/bin/memsup +usr/lib/erlang/lib/runtime_tools-*/priv/lib/*.so +usr/lib/erlang/lib/ssl-*/priv/bin/ssl_esock +usr/lib/erlang/lib/ssl-*/priv/obj/*.o + --- erlang-15.b.1-dfsg.orig/debian/erlang-doc.docs.in +++ erlang-15.b.1-dfsg/debian/erlang-doc.docs.in @@ -0,0 +1,3 @@ +debian/erlang-docs/usr/lib/erlang/doc +debian/erlang-docs/usr/lib/erlang/erts-@VERSION@ +debian/erlang-docs/usr/lib/erlang/lib --- erlang-15.b.1-dfsg.orig/debian/erlang-jinterface.links.in +++ erlang-15.b.1-dfsg/debian/erlang-jinterface.links.in @@ -0,0 +1,2 @@ +usr/lib/erlang/lib/jinterface-@JINTERFACE_VSN@/priv/OtpErlang.jar usr/share/java/OtpErlang-@JINTERFACE_VSN@.jar +usr/lib/erlang/lib/jinterface-@JINTERFACE_VSN@/priv/OtpErlang.jar usr/share/java/OtpErlang.jar --- erlang-15.b.1-dfsg.orig/debian/erlang-mode.emacsen-remove +++ erlang-15.b.1-dfsg/debian/erlang-mode.emacsen-remove @@ -0,0 +1,15 @@ +#!/bin/sh -e +# /usr/lib/emacsen-common/packages/remove/#PACKAGE# + +FLAVOR=$1 +PACKAGE=erlang + +if [ ${FLAVOR} != emacs ]; then + if test -x /usr/sbin/install-info-altdir; then + echo remove/${PACKAGE}: removing Info links for ${FLAVOR} + install-info-altdir --quiet --remove --dirname=${FLAVOR} /usr/info/#PACKAGE#.info.gz + fi + + echo remove/${PACKAGE}: purging byte-compiled files for ${FLAVOR} + rm -rf /usr/share/${FLAVOR}/site-lisp/${PACKAGE} +fi --- erlang-15.b.1-dfsg.orig/debian/erlang-base.links.in +++ erlang-15.b.1-dfsg/debian/erlang-base.links.in @@ -0,0 +1,8 @@ +usr/lib/erlang/bin/erl usr/bin/erl +usr/lib/erlang/bin/erlc usr/bin/erlc +usr/lib/erlang/bin/escript usr/bin/escript +usr/lib/erlang/bin/run_erl usr/bin/run_erl +usr/lib/erlang/bin/start usr/bin/start_embedded +usr/lib/erlang/erts-@VERSION@/bin/epmd usr/lib/erlang/bin/epmd +usr/lib/erlang/bin/epmd usr/bin/epmd +usr/lib/erlang/lib/erl_interface-@EI_VSN@/bin/erl_call usr/bin/erl_call --- erlang-15.b.1-dfsg.orig/debian/erlang-dev.links.in +++ erlang-15.b.1-dfsg/debian/erlang-dev.links.in @@ -0,0 +1,20 @@ +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_drv_nif.h usr/include/erl_drv_nif.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/include/erl_nif_api_funcs.h usr/include/erl_nif_api_funcs.h +usr/lib/erlang/usr/include/erl_nif.h usr/include/erl_nif.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-15.b.1-dfsg.orig/debian/erlang-base-hipe.postinst +++ erlang-15.b.1-dfsg/debian/erlang-base-hipe.postinst @@ -0,0 +1,93 @@ +#! /bin/sh +# postinst script for erlang-base-hipe +# +# see: dh_installdeb(1) + +set -e + +# summary of how this script can be called: +# * configure +# * abort-upgrade +# * abort-remove in-favour +# * abort-remove +# * abort-deconfigure in-favour \ +# removing +# for details, see /usr/doc/packaging-manual/ +# +# quoting from the policy: +# Any necessary prompting should almost always be confined to the +# post-installation script, and should be protected with a conditional +# so that unnecessary prompting doesn't happen if a package's +# installation fails and the is called with abort-upgrade, +# abort-remove or abort-deconfigure. + +case "$1" in + abort-upgrade|abort-remove|abort-deconfigure) + ;; + + configure) + if [ -z "$2" ] || dpkg --compare-versions "$2" ge-nl "1:10.b.10-3" ; then + echo -n "Searching for services which depend on erlang and should be started..." + # find all init scripts and packages they belong + inits=$(dpkg -S '/etc/init.d/*' 2>/dev/null | sed -e's:/etc/init.d/::') + # filter the list of the packages + packs=$(echo $inits | sed -e's/:[[:space:]]\+[^[:space:]]*//g' | sed -e's/ /\n/g' | sort -u) + # find packages, which depend on erlang + packs=$(dpkg -s $packs 2>/dev/null | egrep '^Package:|^Status:|^Depends' | awk '{if ($1 ~ /^Package:/) {package=$2;inst=0} else if ($0 ~ /^Status:.* installed$/) {inst=1} else if ((inst==1) && ($0 ~ /^Depends:.* erlang/)) {print package}}') + # construct services list from the packages + services="" + for p in $packs ; do + service=$(echo $inits | sed -e's/\([^:]\) /\1\n/g' | awk "/^$p:/ {print \$2}") + services="$services $service" + done + services=$(echo $services | tr '\n' ' ' | sed -e's/\(^[[:space:]]*\|[[:space:]]*$\)//g') + + if [ -z "$services" ] ; then + echo "none found." + else + echo "found: $services." + echo "Starting services which depend on erlang" + rl=$(runlevel | awk '{print $2}') + failed="" + for service in $services ; do + if [ -f /usr/share/file-rc/rc -o -f /usr/lib/file-rc/rc ] && [ -f /etc/runlevel.conf ] ; then + idl=$(filerc $rl $service) + else + idl=$(ls /etc/rc${rl}.d/S??${service} 2> /dev/null | head -1) + fi + if [ -n "$idl" ] ; then + echo -n " $service: starting..." + if $idl start > /dev/null 2>&1 ; then + echo "done." + else + echo "failed. ($?)" + failed="$failed $service" + fi + fi + done + if [ -n "$failed" ] ; then + echo "The following services failed to start: $failed." + echo + echo "You will need to start them manually by running \`/etc/init.d/ start'" + echo "If the service still fails to start, you may need to file a bug on" + echo "\`erlang' package or the service involved." + else + echo "Services started successfully." + fi + fi + fi + ;; + + *) + echo "postinst called with unknown argument \`$1'" >&2 + exit 0 + ;; +esac + +# dh_installdeb will replace this with shell code automatically +# generated by other debhelper scripts. + +#DEBHELPER# + +exit 0 + --- erlang-15.b.1-dfsg.orig/debian/erlang-doc.doc-base.erlang-lib +++ erlang-15.b.1-dfsg/debian/erlang-doc.doc-base.erlang-lib @@ -0,0 +1,9 @@ +Document: erlang-lib +Title: Erlang Library Documentation +Author: Ericsson +Abstract: Library Documentation for the Erlang programming language +Section: Programming + +Format: HTML +Index: /usr/share/doc/erlang-doc/lib/index.html +Files: /usr/share/doc/erlang-doc/lib/* --- erlang-15.b.1-dfsg.orig/debian/erlang-mode.install.in +++ erlang-15.b.1-dfsg/debian/erlang-mode.install.in @@ -0,0 +1,2 @@ +usr/lib/erlang/lib/tools-@TOOLS_VSN@/emacs/*.el usr/share/emacs/site-lisp/erlang/ +usr/lib/erlang/lib/tools-@TOOLS_VSN@/emacs/README usr/share/doc/erlang-mode/ --- erlang-15.b.1-dfsg.orig/debian/watch +++ erlang-15.b.1-dfsg/debian/watch @@ -0,0 +1,7 @@ +# Watch control file for uscan + +# Compulsory line, this is a version 3 file +version=3 + +opts=dversionmangle=s/-dfsg\d*$//,uversionmangle=tr/[A-Z]/[a-z]/;s/\.$// \ + http://www.erlang.org/download/otp_src_R(\d*)([A-Z]*)(?:-?(\d*))?.tar.gz --- erlang-15.b.1-dfsg.orig/debian/erlang-dialyzer.links +++ erlang-15.b.1-dfsg/debian/erlang-dialyzer.links @@ -0,0 +1 @@ +usr/lib/erlang/bin/dialyzer usr/bin/dialyzer --- erlang-15.b.1-dfsg.orig/debian/erlang-typer.manpages +++ erlang-15.b.1-dfsg/debian/erlang-typer.manpages @@ -0,0 +1 @@ +debian/manpages/typer.1 --- erlang-15.b.1-dfsg.orig/debian/erlang-base-hipe.manpages +++ erlang-15.b.1-dfsg/debian/erlang-base-hipe.manpages @@ -0,0 +1,7 @@ +debian/erlang-docs/usr/lib/erlang/man/man1/epmd.1 +debian/erlang-docs/usr/lib/erlang/man/man1/erl_call.1 +debian/erlang-docs/usr/lib/erlang/man/man1/erlc.1 +debian/erlang-docs/usr/lib/erlang/man/man1/erl.1 +debian/erlang-docs/usr/lib/erlang/man/man1/escript.1 +debian/erlang-docs/usr/lib/erlang/man/man1/run_erl.1 +debian/erlang-docs/usr/lib/erlang/man/man1/start_embedded.1 --- erlang-15.b.1-dfsg.orig/debian/changelog +++ erlang-15.b.1-dfsg/debian/changelog @@ -0,0 +1,1752 @@ +erlang (1:15.b.1-dfsg-3ubuntu2) quantal; urgency=low + + * Ensure backwards comaptible Java bytecode is built (LP: #1049769): + - d/p/bytecode-compat.patch: Specify source/target = 1.5 when compiling + Java source code. + + -- James Page Thu, 20 Sep 2012 13:51:11 +0100 + +erlang (1:15.b.1-dfsg-3ubuntu1) quantal; urgency=low + + * Merge from Debian unstable. Remaining changes: + - d/patches/fix-pointer-conversion.patch: Remove implicit integer to + pointer conversion. + - d/control: Drop libwxgtk2.8-dev build dependency. Wx isn't in main, + and not supposed to. + - d/control: Drop erlang-wx binary and associated dependencies from + other erlang-* packages. + - d/rules: Add "+debug_info" to ERL_COMPILE_FLAGS for debug builds. + + -- James Page Mon, 02 Jul 2012 14:31:28 +0100 + +erlang (1:15.b.1-dfsg-3) unstable; urgency=low + + * Moved kernel and stdlib include files from erlang-dev to the erlang-base + and erlang-base-hipe packages, and snmp include to erlang-snmp because + they are needed to run escripts. This makes two recommended dependencies + on erlang-dev unnecesary. + * Moved sources of the erl_docgen application to the erlang-src package. + * Switched to xz compression of binary packages to save mirror disk space + and network bandwidth. + + -- Sergei Golovan Sat, 02 Jun 2012 01:02:17 +0400 + +erlang (1:15.b.1-dfsg-2ubuntu1) quantal; urgency=low + + * Merge from Debian unstable. Remaining changes: + - d/patches/fix-pointer-conversion.patch: Remove implicit integer to + pointer conversion. + - d/control: Drop libwxgtk2.8-dev build dependency. Wx isn't in main, + and not supposed to. + - d/control: Drop erlang-wx binary and associated dependencies from + other erlang-* packages. + - d/rules: Add "+debug_info" to ERL_COMPILE_FLAGS for debug builds. + * Tidied obsolete patches from d/patches. + + -- James Page Fri, 01 Jun 2012 10:07:21 +0100 + +erlang (1:15.b.1-dfsg-2) unstable; urgency=low + + * Depend on procps unconditionally since it works for all architectures now. + * Create symlinks to erlang-mode sources when installing it to any Emacs + flavor. This helps to use M-x describe-function for erlang mode in Emacs + (closes: #670345). + * Removed stale symlink to /usr/lib/erlang/usr/include/driver.h. + * Fixed a few errors in manpages and added missing whatis entries. + + -- Sergei Golovan Thu, 31 May 2012 16:13:21 +0400 + +erlang (1:15.b.1-dfsg-1) unstable; urgency=low + + * New upstream release. + * Added new package erlang-eldap with Erlang LDAP library. + * Added eldap application license to debian/copyright. + * Use (debian-pkg-add-load-path-item ) instead of manipulating + load-path directly in 50erlang-mode.el Emacs startup file as required + by Debian Emacd policy (closes: #663408). + * Bumped standards version to 3.9.3. + + -- Sergei Golovan Wed, 04 Apr 2012 11:09:17 +0400 + +erlang (1:15.b-dfsg-2) unstable; urgency=low + + * Upload to unstable. + * Remove a bunch of additional files on clean. + * Verified that R15B builds fine on GNU/Hurd (closes: #636510). + * Build SMP-aware Erlang emulator for GNU/Hurd. + * Included all HiPE application sources into erlang-src package + (closes: #653417). + + -- Sergei Golovan Wed, 11 Jan 2012 17:10:17 +0400 + +erlang (1:15.b-dfsg-1) experimental; urgency=low + + * New upstream release. + * Upload to experimental because this release breaks external drivers + API along with ABI, so several applications are to be fixed. + * Removed SSL patch because the old SSL implementation is removed from + the upstream distribution. + * Removed never used patch which added native code to erlang beam files. + * Removed the erlang-docbuilder binary package because the docbuilder + application was dropped by upstream. + * Documented dropping ${erlang-docbuilder:Depends} substvar in + erlang-depends(1) manpage. + * Made erlang-base and erlang-base-hipe provide virtual package + erlang-abi-15.b (the number means the first erlang version, which + provides current ABI). + + -- Sergei Golovan Thu, 15 Dec 2011 19:20:10 +0400 + +erlang (1:14.b.4-dfsg-1ubuntu1) precise; urgency=low + + * Merge from Debian testing. Remaining changes: + - debian/patches/fix-pointer-conversion.patch: Remove implicit + integer to pointer conversion (patch refreshed) + - Drop libwxgtk2.8-dev build dependency. Wx isn't in main, and not + supposed to. + - 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. + * Dropped changes: + debian/patches/tcp.patch: applied upstream + + -- Clint Byrum Thu, 15 Dec 2011 16:41:11 -0800 + +erlang (1:14.b.4-dfsg-1) unstable; urgency=low + + * New upstream release (closes: #636678). + * Added versionless symlinks to jinterface and ic Java packages in + /usr/share/java directory. + + -- Sergei Golovan Tue, 25 Oct 2011 17:30:40 +0400 + +erlang (1:14.b.3-dfsg-2) unstable; urgency=low + + * Added ed to the build-dependencies. + + -- Sergei Golovan Wed, 08 Jun 2011 14:53:15 +0400 + +erlang (1:14.b.3-dfsg-1) unstable; urgency=low + + * New upstream release (closes: #628456). + * New Erlang/OTP application 'diameter'. + * Bumped standards version to 3.9.2. + + -- Sergei Golovan Wed, 08 Jun 2011 08:39:43 +0400 + +erlang (1:14.b.2-dfsg-3ubuntu2) oneiric; urgency=low + + * debian/patches/fix-pointer-conversion.patch: Remove implicit + integer to pointer conversion (LP: #778474) + + -- Clint Byrum Fri, 06 May 2011 06:10:07 -0700 + +erlang (1:14.b.2-dfsg-3ubuntu1) oneiric; urgency=low + + * Merge from debian unstable. Remaining changes: + - Drop libwxgtk2.8-dev build dependency. Wx isn't in main, and not + supposed to. + - 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. + - debian/patches/series: Do what I meant, and enable build-options.patch + instead. + * Additional changes: + - Drop erlang-wx from -et + * Dropped Changes: + - patches/pcre-crash.patch: CVE-2008-2371: outer level option with + alternatives caused crash. (Applied Upstream) + - fix for ssl certificate verification in newSSL: + ssl_cacertfile_fix.patch (Applied Upstream) + - debian/patches/series: Enable native.patch again, to get stripped beam + files and reduce the package size again. (build-options is what + actually accomplished this) + - Remove build-options.patch on advice from upstream and because it caused + odd build failures. + + -- Clint Byrum Thu, 05 May 2011 15:48:43 -0700 + +erlang (1:14.b.2-dfsg-3) unstable; urgency=low + + * Enabled pre-Pentium-4 compatibility in the ethread library + (closes: #621862). + * Linked Erlang VM to the external Zlib. + + -- Sergei Golovan Mon, 11 Apr 2011 07:42:46 +0400 + +erlang (1:14.b.2-dfsg-2) unstable; urgency=low + + * Fixed FTBFS because of missing snmpc.1 manpage when building architecture + dependent packages only. + + -- Sergei Golovan Fri, 01 Apr 2011 15:12:10 +0400 + +erlang (1:14.b.2-dfsg-1) unstable; urgency=low + + * New upstream release (closes: #607233, #619857). + * Removed patches which are no longer needed. + * Created symlink to snmpc escript from /usr/bin directory. Added erlang-dev + to the snmps recommended dependencies because snmpc uses some include + files. + * Added patch by upstream which fixes send_timeout option for TCP sockets. + + -- Sergei Golovan Fri, 01 Apr 2011 08:08:10 +0400 + +erlang (1:14.b.1-dfsg-1) experimental; urgency=low + + * New upstream release. + * Renamed /usr/bin/run_test link to /usr/bin/ct_run following upstream. + + -- Sergei Golovan Fri, 10 Dec 2010 19:50:02 +0300 + +erlang (1:14.a-dfsg-3) unstable; urgency=low + + * Fixed a few spelling errors in packages descriptions and Debian changelog + entries (closes: #592995, #597464). + * Applised patch by upstream which fixes wx application crash + (closes: #592821). + * Switched to the old OpenSSL-based SSL implementation by default (it is + still less buggy then the new one written in Erlang). + * Enabled IPv6 for odbcserver and prefer IPv4 in odbc.erl to make odbc + application working in IPv6-only environment (closes: #598525). + * Overridden lintian error mesage about embedded pcre3 library because it + is patched and cannot be replaced by a system one. + + -- Sergei Golovan Sun, 14 Nov 2010 12:25:50 +0300 + +erlang (1:14.b-dfsg-1) experimental; urgency=low + + * New upstream release. + * Overridden lintian error mesage about embedded pcre3 library because it + is patched and cannot be replaced by a system one. + + -- Sergei Golovan Sun, 31 Oct 2010 01:47:08 +0400 + +erlang (1:14.a-dfsg-2) unstable; urgency=low + + * Don't bytecompile erlang-flymake.el for Emacs flavors emacs21 and for + all versions of XEmacs because they don't contain flymake + (closes: #588474). + * Bumped standards version to 3.9.1. + + -- Sergei Golovan Sun, 01 Aug 2010 15:08:02 +0400 + +erlang (1:14.a-dfsg-1) unstable; urgency=low + + * New upstream release. + * Refreshed patches. + * Removed fix for re:compile/2 crash for a long regular expression because + it is already included into the upstream source. + * Since run_test is now a binary change the way it's put into the + erlang-common-test package. + * Split out architecture-independent erlang-ic-java package with Java + classes. This also moves Java build-dependencies to build-depends-indep. + + -- Sergei Golovan Sun, 27 Jun 2010 17:39:38 +0400 + +erlang (1:13.b.4-dfsg-6) unstable; urgency=low + + * Fixed bashism in debian/rules (closes: #581450). + * Added conflict of erlang-doc package with older erlang-base and + erlang-base-hipe packages to prevent broken situation with erlang-base + from stable (1:12.b.5) and erlang-doc from testing (1:13.b.4). + * Added sun-java6-jdk as an alternative build dependency to make backporting + to lenny and building on a headless machine possible. + + -- Sergei Golovan Wed, 09 Jun 2010 16:28:42 +0400 + +erlang (1:13.b.4-dfsg-5) unstable; urgency=low + + * Added missing symlinks to /usr/include for a few new header files. + + -- Sergei Golovan Thu, 22 Apr 2010 21:33:51 +0400 + +erlang (1:13.b.4-dfsg-4) unstable; urgency=medium + + * Fixed generation of ${erlang-base:Depends} and ${erlang-x11:Depends} + substitution variables. + * Added a fix for a re:compile/2 crash on a long regular expression. + * Changed urgency to medium as the change fixes a security bug. + + -- Sergei Golovan Sat, 20 Mar 2010 09:02:05 +0300 + +erlang (1:13.b.4-dfsg-3) unstable; urgency=low + + * Manpages in section 1 are needed even if only arch-dependent packages are + built. So, re-enabled them. + + -- Sergei Golovan Tue, 09 Mar 2010 17:34:57 +0300 + +erlang (1:13.b.4-dfsg-2) unstable; urgency=low + + * Fixed HiPE architecture recognition for powerpc Debian architecture. + * Moved xsltproc and fop to build-depends-indep and do not build + documentation if only architecture-specific packages are built. + * Refreshed all patches. + * Made Emacs look in man5 and man7 for Erlang manpages and added code + skeleton files to erlang-mode package. + + -- Sergei Golovan Mon, 08 Mar 2010 21:15:39 +0300 + +erlang (1:13.b.4-dfsg-1) unstable; urgency=low + + * New upstream release. + * Moved manpages from incorrect sections 4 and 6 to correct 5 and 7 + (closes: #498492). + * Made manpages regexp in Emacs mode match only 3erl pages in section 3. + * Removed docb_gen script which is no longer needed to build manpages. + * Added erlang-doc package which contains documentation in HTML and PDF + formats. This package replaces erlang-doc-html package and it's easier + to synchronize it with the main Erlang packages as it's built from + a single source package (closes: #558451). + * Removed RPATH from ssl and crypto application binaries as required by + Debian policy. + * Added libwxgtk2.4-dev and libwxgtk2.6-dev to build conflicts. + * Added a few dependencies for erlang-dialyzer, erlang-et, erlang-observer + and erlang-examples packages which now call functions from more modules + than in 1:13.b.3. + + -- Sergei Golovan Fri, 05 Mar 2010 09:37:11 +0300 + +erlang (1:13.b.3-dfsg-5) unstable; urgency=low + + * Added a workaround which disables vfork() for hppa architecture + (closes: #562218). + + -- Sergei Golovan Mon, 22 Feb 2010 10:49:00 +0300 + +erlang (1:13.b.3-dfsg-4) unstable; urgency=low + + * Strictened check for JDK 1.5 adding a call to String(int[], int, int) + because GCJ 4.4 doesn't implement it and OpenJDK isn't available for all + architectures. + + -- Sergei Golovan Sat, 13 Feb 2010 10:28:44 +0300 + +erlang (1:13.b.3-dfsg-3) unstable; urgency=low + + * Fixed erlang-manpages package section. + * Made erlang-depends add only substvars which are requested in + debian/control file. This minimizes number of warnings from dh_gencontrol. + Also, improved descriptions of the functions in erlang-depends escript. + * Added erlang-erl-docgen package to erlang-nox dependencies. + * Made dummy packages erlang-nox and erlang-x11 architecture all. + * Cleaned up working with custom substitution variables in debian/rules. + * Reorganized debian/rules to ensure that manpages aren't built twice, and + aren't built at all if only architecture-dependent packages are requested. + * Fixed project links in README.Debian. + * Added a new package erlang-jinterface which provides tools for + communication of Java programs with Erlang processes. This adds build + dependency on default-jdk and as a result enables Java module for IDL + compiler. + * Bumped standards version to 3.8.4. + + -- Sergei Golovan Sun, 07 Feb 2010 15:01:16 +0300 + +erlang (1:13.b.3-dfsg-2ubuntu3) maverick; urgency=low + + * fix for ssl certificate verification in newSSL: ssl_cacertfile_fix.patch + (LP: #643787) + + -- Samuele Pedroni (Canonical Services Ltd.) Fri, 24 Sep 2010 09:35:12 +0200 + +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 of 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 consequences. + * 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 re-enable 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 compiles + 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 non-free 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 non-source 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 fixes FTBFS on those platforms. + * Closes: #358410. erlang-src and erlang-mode are now Architecture: + all. + * erlang-nox and erlang-x11 are now built as arch-dependent 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 FTBFS 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 split 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 platforms although 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-targeted 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 depend 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 epmd 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 independent packages. + * New upstream 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-15.b.1-dfsg.orig/debian/erlang-base-hipe.prerm +++ erlang-15.b.1-dfsg/debian/erlang-base-hipe.prerm @@ -0,0 +1,100 @@ +#! /bin/sh +# prerm script for erlang-base-hipe +# +# see: dh_installdeb(1) + +set -e + +# summary of how this script can be called: +# * remove +# * upgrade +# * failed-upgrade +# * remove in-favour +# * deconfigure in-favour \ +# removing +# for details, see /usr/share/doc/debian-policy/ + +case "$1" in + remove|upgrade) + echo -n "Searching for services which depend on erlang and should be stopped..." + # find all init scripts and packages they belong + inits=$(dpkg -S '/etc/init.d/*' 2>/dev/null | sed -e's:/etc/init.d/::') + # filter the list of the packages + packs=$(echo $inits | sed -e's/:[[:space:]]\+[^[:space:]]*//g' | sed -e's/ /\n/g' | sort -u) + # find packages, which depend on erlang + packs=$(dpkg -s $packs 2>/dev/null | egrep '^Package:|^Status:|^Depends' | awk '{if ($1 ~ /^Package:/) {package=$2;inst=0} else if ($0 ~ /^Status:.* installed$/) {inst=1} else if ((inst==1) && ($0 ~ /^Depends:.* erlang/)) {print package}}') + # construct services list from the packages + services="" + for p in $packs ; do + service=$(echo $inits | sed -e's/\([^:]\) /\1\n/g' | awk "/^$p:/ {print \$2}") + services="$services $service" + done + services=$(echo $services | tr '\n' ' ' | sed -e's/\(^[[:space:]]*\|[[:space:]]*$\)//g') + + if [ -z "$services" ] ; then + echo "none found." + else + echo "found: $services." + echo "Stopping services which depend on erlang" + rl=$(runlevel | awk '{print $2}') + failed="" + for service in $services ; do + if [ -f /usr/share/file-rc/rc -o -f /usr/lib/file-rc/rc ] && [ -f /etc/runlevel.conf ] ; then + idl=$(filerc $rl $service) + else + idl=$(ls /etc/rc${rl}.d/S??${service} 2> /dev/null | head -1) + fi + if [ -n "$idl" ] ; then + echo -n " $service: stopping..." + if $idl stop > /dev/null 2>&1 ; then + echo "done." + else + echo "failed. ($?)" + failed="$failed $service" + fi + fi + done + if [ -n "$failed" ]; then + echo "The following services failed to stop: $failed." + else + echo "Services stopped successfully." + fi + fi + + echo -n "Killing epmd..." + if which pgrep >/dev/null ; then + pid=$(pgrep epmd | head -1) + if [ -z "$pid" ] ; then + echo "it is not running." + else + if 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-15.b.1-dfsg.orig/debian/erlang-dialyzer.manpages +++ erlang-15.b.1-dfsg/debian/erlang-dialyzer.manpages @@ -0,0 +1 @@ +debian/erlang-docs/usr/lib/erlang/man/man1/dialyzer.1 --- erlang-15.b.1-dfsg.orig/debian/erlang-base-hipe.links.in +++ erlang-15.b.1-dfsg/debian/erlang-base-hipe.links.in @@ -0,0 +1,8 @@ +usr/lib/erlang/bin/erl usr/bin/erl +usr/lib/erlang/bin/erlc usr/bin/erlc +usr/lib/erlang/bin/escript usr/bin/escript +usr/lib/erlang/bin/run_erl usr/bin/run_erl +usr/lib/erlang/bin/start usr/bin/start_embedded +usr/lib/erlang/erts-@VERSION@/bin/epmd usr/lib/erlang/bin/epmd +usr/lib/erlang/bin/epmd usr/bin/epmd +usr/lib/erlang/lib/erl_interface-@EI_VSN@/bin/erl_call usr/bin/erl_call --- erlang-15.b.1-dfsg.orig/debian/erlang-diameter.links.in +++ erlang-15.b.1-dfsg/debian/erlang-diameter.links.in @@ -0,0 +1,2 @@ +usr/lib/erlang/lib/diameter-@DIAMETER_VSN@/bin/diameterc usr/bin/diameterc +usr/share/man/man1/diameter_compile.1.gz usr/share/man/man1/diameterc.1.gz --- erlang-15.b.1-dfsg.orig/debian/erlang-diameter.manpages +++ erlang-15.b.1-dfsg/debian/erlang-diameter.manpages @@ -0,0 +1 @@ +debian/erlang-docs/usr/lib/erlang/man/man1/diameter_compile.1 --- erlang-15.b.1-dfsg.orig/debian/erlang-manpages.postinst +++ erlang-15.b.1-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-15.b.1-dfsg.orig/debian/compat +++ erlang-15.b.1-dfsg/debian/compat @@ -0,0 +1 @@ +5 --- erlang-15.b.1-dfsg.orig/debian/erlang-doc.doc-base.erlang-html +++ erlang-15.b.1-dfsg/debian/erlang-doc.doc-base.erlang-html @@ -0,0 +1,9 @@ +Document: erlang-html +Title: Erlang Documentation +Author: Ericsson +Abstract: Documentation for the Erlang programming language +Section: Programming + +Format: HTML +Index: /usr/share/doc/erlang-doc/doc/index.html +Files: /usr/share/doc/erlang-doc/doc/* --- erlang-15.b.1-dfsg.orig/debian/erlang-snmp.manpages +++ erlang-15.b.1-dfsg/debian/erlang-snmp.manpages @@ -0,0 +1 @@ +debian/erlang-docs/usr/lib/erlang/man/man1/snmpc.1 --- erlang-15.b.1-dfsg.orig/debian/erlang-mode.dirs +++ erlang-15.b.1-dfsg/debian/erlang-mode.dirs @@ -0,0 +1 @@ +usr/share/emacs/site-lisp/erlang --- erlang-15.b.1-dfsg.orig/debian/erlang-webtool.links.in +++ erlang-15.b.1-dfsg/debian/erlang-webtool.links.in @@ -0,0 +1 @@ +usr/lib/erlang/lib/webtool-@WEBTOOL_VSN@/priv/bin/start_webtool usr/bin/start_webtool --- erlang-15.b.1-dfsg.orig/debian/erlang-base.prerm +++ erlang-15.b.1-dfsg/debian/erlang-base.prerm @@ -0,0 +1,100 @@ +#! /bin/sh +# prerm script for erlang-base +# +# see: dh_installdeb(1) + +set -e + +# summary of how this script can be called: +# * remove +# * upgrade +# * failed-upgrade +# * remove in-favour +# * deconfigure in-favour \ +# removing +# for details, see /usr/share/doc/debian-policy/ + +case "$1" in + remove|upgrade) + echo -n "Searching for services which depend on erlang and should be stopped..." + # find all init scripts and packages they belong + inits=$(dpkg -S '/etc/init.d/*' 2>/dev/null | sed -e's:/etc/init.d/::') + # filter the list of the packages + packs=$(echo $inits | sed -e's/:[[:space:]]\+[^[:space:]]*//g' | sed -e's/ /\n/g' | sort -u) + # find packages, which depend on erlang + packs=$(dpkg -s $packs 2>/dev/null | egrep '^Package:|^Status:|^Depends' | awk '{if ($1 ~ /^Package:/) {package=$2;inst=0} else if ($0 ~ /^Status:.* installed$/) {inst=1} else if ((inst==1) && ($0 ~ /^Depends:.* erlang/)) {print package}}') + # construct services list from the packages + services="" + for p in $packs ; do + service=$(echo $inits | sed -e's/\([^:]\) /\1\n/g' | awk "/^$p:/ {print \$2}") + services="$services $service" + done + services=$(echo $services | tr '\n' ' ' | sed -e's/\(^[[:space:]]*\|[[:space:]]*$\)//g') + + if [ -z "$services" ] ; then + echo "none found." + else + echo "found: $services." + echo "Stopping services which depend on erlang" + rl=$(runlevel | awk '{print $2}') + failed="" + for service in $services ; do + if [ -f /usr/share/file-rc/rc -o -f /usr/lib/file-rc/rc ] && [ -f /etc/runlevel.conf ] ; then + idl=$(filerc $rl $service) + else + idl=$(ls /etc/rc${rl}.d/S??${service} 2> /dev/null | head -1) + fi + if [ -n "$idl" ] ; then + echo -n " $service: stopping..." + if $idl stop > /dev/null 2>&1 ; then + echo "done." + else + echo "failed. ($?)" + failed="$failed $service" + fi + fi + done + if [ -n "$failed" ] ; then + echo "The following services failed to stop: $failed." + else + echo "Services stopped successfully." + fi + fi + + echo -n "Killing epmd..." + if which pgrep >/dev/null ; then + pid=$(pgrep epmd | head -1) + if [ -z "$pid" ] ; then + echo "it is not running." + else + if 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-15.b.1-dfsg.orig/debian/erlang-base.manpages +++ erlang-15.b.1-dfsg/debian/erlang-base.manpages @@ -0,0 +1,7 @@ +debian/erlang-docs/usr/lib/erlang/man/man1/epmd.1 +debian/erlang-docs/usr/lib/erlang/man/man1/erl_call.1 +debian/erlang-docs/usr/lib/erlang/man/man1/erlc.1 +debian/erlang-docs/usr/lib/erlang/man/man1/erl.1 +debian/erlang-docs/usr/lib/erlang/man/man1/escript.1 +debian/erlang-docs/usr/lib/erlang/man/man1/run_erl.1 +debian/erlang-docs/usr/lib/erlang/man/man1/start_embedded.1 --- erlang-15.b.1-dfsg.orig/debian/erlang-dev.manpages +++ erlang-15.b.1-dfsg/debian/erlang-dev.manpages @@ -0,0 +1 @@ +debian/manpages/erlang-depends.1 --- erlang-15.b.1-dfsg.orig/debian/TODO.Debian +++ erlang-15.b.1-dfsg/debian/TODO.Debian @@ -0,0 +1,8 @@ +Things we hope in the next versions of this package: + +* Build and package erl_jinterface. JInterface is not built +in the main package since it doesn't not depend on Java. + +* Add kernel-poll support and HiPE to kfreebsd-i386 and kfreebsd-amd64 +architecture (It seems to be possible). + --- erlang-15.b.1-dfsg.orig/debian/erlang-base.menu +++ erlang-15.b.1-dfsg/debian/erlang-base.menu @@ -0,0 +1,8 @@ +?package(erlang-base):\ + needs="text" \ + section="Applications/Programming" \ + title="Erlang Shell" \ + longtitle="Erlang shell in a terminal session" \ + hints="Erlang" \ + command="/usr/bin/erl" \ + icon="/usr/share/pixmaps/erlang.xpm" --- erlang-15.b.1-dfsg.orig/debian/lintian/erlang-percept.lintian-overrides +++ erlang-15.b.1-dfsg/debian/lintian/erlang-percept.lintian-overrides @@ -0,0 +1 @@ +erlang-percept: image-file-in-usr-lib --- erlang-15.b.1-dfsg.orig/debian/lintian/erlang-debugger.lintian-overrides +++ erlang-15.b.1-dfsg/debian/lintian/erlang-debugger.lintian-overrides @@ -0,0 +1 @@ +erlang-debugger: image-file-in-usr-lib --- erlang-15.b.1-dfsg.orig/debian/lintian/erlang-common-test.lintian-overrides +++ erlang-15.b.1-dfsg/debian/lintian/erlang-common-test.lintian-overrides @@ -0,0 +1 @@ +erlang-common-test: image-file-in-usr-lib --- erlang-15.b.1-dfsg.orig/debian/lintian/erlang-observer.lintian-overrides +++ erlang-15.b.1-dfsg/debian/lintian/erlang-observer.lintian-overrides @@ -0,0 +1 @@ +erlang-observer: image-file-in-usr-lib --- erlang-15.b.1-dfsg.orig/debian/lintian/erlang-appmon.lintian-overrides +++ erlang-15.b.1-dfsg/debian/lintian/erlang-appmon.lintian-overrides @@ -0,0 +1 @@ +erlang-appmon: image-file-in-usr-lib --- erlang-15.b.1-dfsg.orig/debian/lintian/erlang-gs.lintian-overrides +++ erlang-15.b.1-dfsg/debian/lintian/erlang-gs.lintian-overrides @@ -0,0 +1 @@ +erlang-gs: image-file-in-usr-lib --- erlang-15.b.1-dfsg.orig/debian/lintian/erlang-base-hipe.lintian-overrides +++ erlang-15.b.1-dfsg/debian/lintian/erlang-base-hipe.lintian-overrides @@ -0,0 +1,3 @@ +# PCRE3 which is embedded into Erlang VM is patched, so +# it's not possible to link it to an external pcre3. +erlang-base-hipe: embedded-library --- erlang-15.b.1-dfsg.orig/debian/lintian/erlang-tv.lintian-overrides +++ erlang-15.b.1-dfsg/debian/lintian/erlang-tv.lintian-overrides @@ -0,0 +1 @@ +erlang-tv: image-file-in-usr-lib --- erlang-15.b.1-dfsg.orig/debian/lintian/erlang-wx.lintian-overrides +++ erlang-15.b.1-dfsg/debian/lintian/erlang-wx.lintian-overrides @@ -0,0 +1 @@ +erlang-wx: image-file-in-usr-lib --- erlang-15.b.1-dfsg.orig/debian/lintian/erlang-base.lintian-overrides +++ erlang-15.b.1-dfsg/debian/lintian/erlang-base.lintian-overrides @@ -0,0 +1,3 @@ +# PCRE3 which is embedded into Erlang VM is patched, so +# it's not possible to link it to an external pcre3. +erlang-base: embedded-library --- erlang-15.b.1-dfsg.orig/debian/lintian/erlang-examples.lintian-overrides +++ erlang-15.b.1-dfsg/debian/lintian/erlang-examples.lintian-overrides @@ -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-15.b.1-dfsg.orig/debian/lintian/erlang-erl-docgen.lintian-overrides +++ erlang-15.b.1-dfsg/debian/lintian/erlang-erl-docgen.lintian-overrides @@ -0,0 +1 @@ +erlang-erl-docgen: image-file-in-usr-lib --- erlang-15.b.1-dfsg.orig/debian/lintian/erlang-edoc.lintian-overrides +++ erlang-15.b.1-dfsg/debian/lintian/erlang-edoc.lintian-overrides @@ -0,0 +1 @@ +erlang-edoc: image-file-in-usr-lib --- erlang-15.b.1-dfsg.orig/debian/lintian/erlang-pman.lintian-overrides +++ erlang-15.b.1-dfsg/debian/lintian/erlang-pman.lintian-overrides @@ -0,0 +1 @@ +erlang-pman: image-file-in-usr-lib --- erlang-15.b.1-dfsg.orig/debian/patterns/erlang-typer.patterns +++ erlang-15.b.1-dfsg/debian/patterns/erlang-typer.patterns @@ -0,0 +1,3 @@ +./usr/lib/erlang/bin/typer +./usr/lib/erlang/erts-.*/bin/typer +./usr/lib/erlang/lib/typer-.*/ --- erlang-15.b.1-dfsg.orig/debian/patterns/erlang-wx.patterns +++ erlang-15.b.1-dfsg/debian/patterns/erlang-wx.patterns @@ -0,0 +1 @@ +./usr/lib/erlang/lib/wx-.*/ --- erlang-15.b.1-dfsg.orig/debian/patterns/erlang-parsetools.patterns +++ erlang-15.b.1-dfsg/debian/patterns/erlang-parsetools.patterns @@ -0,0 +1 @@ +./usr/lib/erlang/lib/parsetools-.*/ --- erlang-15.b.1-dfsg.orig/debian/patterns/erlang-odbc.patterns +++ erlang-15.b.1-dfsg/debian/patterns/erlang-odbc.patterns @@ -0,0 +1 @@ +./usr/lib/erlang/lib/odbc-.*/ --- erlang-15.b.1-dfsg.orig/debian/patterns/erlang-percept.patterns +++ erlang-15.b.1-dfsg/debian/patterns/erlang-percept.patterns @@ -0,0 +1 @@ +./usr/lib/erlang/lib/percept-.*/ --- erlang-15.b.1-dfsg.orig/debian/patterns/erlang-eldap.patterns +++ erlang-15.b.1-dfsg/debian/patterns/erlang-eldap.patterns @@ -0,0 +1 @@ +./usr/lib/erlang/lib/eldap-.*/ --- erlang-15.b.1-dfsg.orig/debian/patterns/erlang-debugger.patterns +++ erlang-15.b.1-dfsg/debian/patterns/erlang-debugger.patterns @@ -0,0 +1 @@ +./usr/lib/erlang/lib/debugger-.*/ --- erlang-15.b.1-dfsg.orig/debian/patterns/erlang-ssh.patterns +++ erlang-15.b.1-dfsg/debian/patterns/erlang-ssh.patterns @@ -0,0 +1 @@ +./usr/lib/erlang/lib/ssh-.*/ --- erlang-15.b.1-dfsg.orig/debian/patterns/erlang-mnesia.patterns +++ erlang-15.b.1-dfsg/debian/patterns/erlang-mnesia.patterns @@ -0,0 +1 @@ +./usr/lib/erlang/lib/mnesia-.*/ --- erlang-15.b.1-dfsg.orig/debian/patterns/erlang-jinterface.patterns +++ erlang-15.b.1-dfsg/debian/patterns/erlang-jinterface.patterns @@ -0,0 +1 @@ +./usr/lib/erlang/lib/jinterface-.*/ --- erlang-15.b.1-dfsg.orig/debian/patterns/erlang-public-key.patterns +++ erlang-15.b.1-dfsg/debian/patterns/erlang-public-key.patterns @@ -0,0 +1 @@ +./usr/lib/erlang/lib/public_key-.*/ --- erlang-15.b.1-dfsg.orig/debian/patterns/erlang-syntax-tools.patterns +++ erlang-15.b.1-dfsg/debian/patterns/erlang-syntax-tools.patterns @@ -0,0 +1 @@ +./usr/lib/erlang/lib/syntax_tools-.*/ --- erlang-15.b.1-dfsg.orig/debian/patterns/erlang-dev.patterns +++ erlang-15.b.1-dfsg/debian/patterns/erlang-dev.patterns @@ -0,0 +1,37 @@ +\.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/diameter-.*/include/ +./usr/lib/erlang/lib/edoc-.*/include/ +./usr/lib/erlang/lib/eldap-.*/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/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/ssh-.*/include/ +./usr/lib/erlang/lib/ssl-.*/include/ +./usr/lib/erlang/lib/test_server-.*/include/ +./usr/lib/erlang/lib/wx-.*/include/ +./usr/lib/erlang/lib/xmerl-.*/include/ --- erlang-15.b.1-dfsg.orig/debian/patterns/erlang-megaco.patterns +++ erlang-15.b.1-dfsg/debian/patterns/erlang-megaco.patterns @@ -0,0 +1 @@ +./usr/lib/erlang/lib/megaco-.*/ --- erlang-15.b.1-dfsg.orig/debian/patterns/erlang-inviso.patterns +++ erlang-15.b.1-dfsg/debian/patterns/erlang-inviso.patterns @@ -0,0 +1 @@ +./usr/lib/erlang/lib/inviso-.*/ --- erlang-15.b.1-dfsg.orig/debian/patterns/erlang-ic-java.patterns +++ erlang-15.b.1-dfsg/debian/patterns/erlang-ic-java.patterns @@ -0,0 +1 @@ +./usr/lib/erlang/lib/ic-.*/priv/ --- erlang-15.b.1-dfsg.orig/debian/patterns/erlang-asn1.patterns +++ erlang-15.b.1-dfsg/debian/patterns/erlang-asn1.patterns @@ -0,0 +1 @@ +./usr/lib/erlang/lib/asn1-.*/ --- erlang-15.b.1-dfsg.orig/debian/patterns/erlang-tools.patterns +++ erlang-15.b.1-dfsg/debian/patterns/erlang-tools.patterns @@ -0,0 +1 @@ +./usr/lib/erlang/lib/tools-.*/ --- erlang-15.b.1-dfsg.orig/debian/patterns/erlang-src.patterns +++ erlang-15.b.1-dfsg/debian/patterns/erlang-src.patterns @@ -0,0 +1,73 @@ +./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/diameter-.*/src/ +./usr/lib/erlang/lib/edoc-.*/src/ +./usr/lib/erlang/lib/eldap-.*/asn1/ +./usr/lib/erlang/lib/eldap-.*/src/ +./usr/lib/erlang/lib/erl_docgen-.*/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-15.b.1-dfsg.orig/debian/patterns/erlang-common-test.patterns +++ erlang-15.b.1-dfsg/debian/patterns/erlang-common-test.patterns @@ -0,0 +1,3 @@ +./usr/lib/erlang/bin/ct_run +./usr/lib/erlang/erts-.*/bin/ct_run +./usr/lib/erlang/lib/common_test-.*/ --- erlang-15.b.1-dfsg.orig/debian/patterns/erlang-xmerl.patterns +++ erlang-15.b.1-dfsg/debian/patterns/erlang-xmerl.patterns @@ -0,0 +1 @@ +./usr/lib/erlang/lib/xmerl-.*/ --- erlang-15.b.1-dfsg.orig/debian/patterns/erlang-appmon.patterns +++ erlang-15.b.1-dfsg/debian/patterns/erlang-appmon.patterns @@ -0,0 +1 @@ +./usr/lib/erlang/lib/appmon-.*/ --- erlang-15.b.1-dfsg.orig/debian/patterns/erlang-eunit.patterns +++ erlang-15.b.1-dfsg/debian/patterns/erlang-eunit.patterns @@ -0,0 +1 @@ +./usr/lib/erlang/lib/eunit-.*/ --- erlang-15.b.1-dfsg.orig/debian/patterns/erlang-observer.patterns +++ erlang-15.b.1-dfsg/debian/patterns/erlang-observer.patterns @@ -0,0 +1 @@ +./usr/lib/erlang/lib/observer-.*/ --- erlang-15.b.1-dfsg.orig/debian/patterns/erlang-base.patterns +++ erlang-15.b.1-dfsg/debian/patterns/erlang-base.patterns @@ -0,0 +1,16 @@ +./usr/lib/erlang/Install +./usr/lib/erlang/misc/ +./usr/lib/erlang/releases/[^.]*(\.[^s]|\.s[^r]|\.sr[^c]|\.src.)?[^.]*$ +./usr/lib/erlang/bin/[^cd][^y].*([^t]|[^s]t)$ +./usr/lib/erlang/erts-.*/bin/[^cd][^y][^.]*(\.debug)?(\.[^s]|\.s[^r]|\.sr[^c]|\.src.)?[^.]*([^t]|[^s]t|[^e]st)$ +./usr/lib/erlang/erts-.*/bin/child_setup$ +./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/kernel-.*/include/ +./usr/lib/erlang/lib/sasl-.*/ebin/ +./usr/lib/erlang/lib/stdlib-.*/ebin/ +./usr/lib/erlang/lib/stdlib-.*/include/ --- erlang-15.b.1-dfsg.orig/debian/patterns/erlang-test-server.patterns +++ erlang-15.b.1-dfsg/debian/patterns/erlang-test-server.patterns @@ -0,0 +1 @@ +./usr/lib/erlang/lib/test_server-.*/ --- erlang-15.b.1-dfsg.orig/debian/patterns/erlang-toolbar.patterns +++ erlang-15.b.1-dfsg/debian/patterns/erlang-toolbar.patterns @@ -0,0 +1 @@ +./usr/lib/erlang/lib/toolbar-.*/ --- erlang-15.b.1-dfsg.orig/debian/patterns/erlang-diameter.patterns +++ erlang-15.b.1-dfsg/debian/patterns/erlang-diameter.patterns @@ -0,0 +1 @@ +./usr/lib/erlang/lib/diameter-.*/ --- erlang-15.b.1-dfsg.orig/debian/patterns/erlang-ssl.patterns +++ erlang-15.b.1-dfsg/debian/patterns/erlang-ssl.patterns @@ -0,0 +1 @@ +./usr/lib/erlang/lib/ssl-.*/ --- erlang-15.b.1-dfsg.orig/debian/patterns/erlang-runtime-tools.patterns +++ erlang-15.b.1-dfsg/debian/patterns/erlang-runtime-tools.patterns @@ -0,0 +1 @@ +./usr/lib/erlang/lib/runtime_tools-.*/ --- erlang-15.b.1-dfsg.orig/debian/patterns/erlang-erl-docgen.patterns +++ erlang-15.b.1-dfsg/debian/patterns/erlang-erl-docgen.patterns @@ -0,0 +1 @@ +./usr/lib/erlang/lib/erl_docgen-.*/ --- erlang-15.b.1-dfsg.orig/debian/patterns/erlang-corba.patterns +++ erlang-15.b.1-dfsg/debian/patterns/erlang-corba.patterns @@ -0,0 +1,8 @@ +./usr/lib/erlang/lib/cosEvent-.*/ +./usr/lib/erlang/lib/cosEventDomain-.*/ +./usr/lib/erlang/lib/cosFileTransfer-.*/ +./usr/lib/erlang/lib/cosNotification-.*/ +./usr/lib/erlang/lib/cosProperty-.*/ +./usr/lib/erlang/lib/cosTime-.*/ +./usr/lib/erlang/lib/cosTransactions-.*/ +./usr/lib/erlang/lib/orber-.*/ --- erlang-15.b.1-dfsg.orig/debian/patterns/erlang-ic.patterns +++ erlang-15.b.1-dfsg/debian/patterns/erlang-ic.patterns @@ -0,0 +1 @@ +./usr/lib/erlang/lib/ic-.*/ebin/ --- erlang-15.b.1-dfsg.orig/debian/patterns/erlang-os-mon.patterns +++ erlang-15.b.1-dfsg/debian/patterns/erlang-os-mon.patterns @@ -0,0 +1 @@ +./usr/lib/erlang/lib/os_mon-.*/ --- erlang-15.b.1-dfsg.orig/debian/patterns/erlang-examples.patterns +++ erlang-15.b.1-dfsg/debian/patterns/erlang-examples.patterns @@ -0,0 +1,19 @@ +./usr/lib/erlang/lib/asn1-.*/examples/ +./usr/lib/erlang/lib/diameter-.*/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-15.b.1-dfsg.orig/debian/patterns/erlang-base-hipe.patterns +++ erlang-15.b.1-dfsg/debian/patterns/erlang-base-hipe.patterns @@ -0,0 +1,16 @@ +./usr/lib/erlang/Install +./usr/lib/erlang/misc/ +./usr/lib/erlang/releases/[^.]*(\.[^s]|\.s[^r]|\.sr[^c]|\.src.)?[^.]*$ +./usr/lib/erlang/bin/[^cd][^y].*([^t]|[^s]t)$ +./usr/lib/erlang/erts-.*/bin/[^cd][^y][^.]*(\.debug)?(\.[^s]|\.s[^r]|\.sr[^c]|\.src.)?[^.]*([^t]|[^s]t|[^e]st)$ +./usr/lib/erlang/erts-.*/bin/child_setup$ +./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/kernel-.*/include/ +./usr/lib/erlang/lib/sasl-.*/ebin/ +./usr/lib/erlang/lib/stdlib-.*/ebin/ +./usr/lib/erlang/lib/stdlib-.*/include/ --- erlang-15.b.1-dfsg.orig/debian/patterns/erlang-reltool.patterns +++ erlang-15.b.1-dfsg/debian/patterns/erlang-reltool.patterns @@ -0,0 +1 @@ +./usr/lib/erlang/lib/reltool-.*/ --- erlang-15.b.1-dfsg.orig/debian/patterns/erlang-inets.patterns +++ erlang-15.b.1-dfsg/debian/patterns/erlang-inets.patterns @@ -0,0 +1 @@ +./usr/lib/erlang/lib/inets-.*/ --- erlang-15.b.1-dfsg.orig/debian/patterns/erlang-dialyzer.patterns +++ erlang-15.b.1-dfsg/debian/patterns/erlang-dialyzer.patterns @@ -0,0 +1,3 @@ +./usr/lib/erlang/bin/dialyzer +./usr/lib/erlang/erts-.*/bin/dialyzer +./usr/lib/erlang/lib/dialyzer-.*/ --- erlang-15.b.1-dfsg.orig/debian/patterns/erlang-et.patterns +++ erlang-15.b.1-dfsg/debian/patterns/erlang-et.patterns @@ -0,0 +1 @@ +./usr/lib/erlang/lib/et-.*/ --- erlang-15.b.1-dfsg.orig/debian/patterns/erlang-tv.patterns +++ erlang-15.b.1-dfsg/debian/patterns/erlang-tv.patterns @@ -0,0 +1 @@ +./usr/lib/erlang/lib/tv-.*/ --- erlang-15.b.1-dfsg.orig/debian/patterns/erlang-snmp.patterns +++ erlang-15.b.1-dfsg/debian/patterns/erlang-snmp.patterns @@ -0,0 +1,2 @@ +./usr/lib/erlang/lib/otp_mibs-.*/ +./usr/lib/erlang/lib/snmp-.*/ --- erlang-15.b.1-dfsg.orig/debian/patterns/erlang-pman.patterns +++ erlang-15.b.1-dfsg/debian/patterns/erlang-pman.patterns @@ -0,0 +1 @@ +./usr/lib/erlang/lib/pman-.*/ --- erlang-15.b.1-dfsg.orig/debian/patterns/erlang-gs.patterns +++ erlang-15.b.1-dfsg/debian/patterns/erlang-gs.patterns @@ -0,0 +1 @@ +./usr/lib/erlang/lib/gs-.*/ --- erlang-15.b.1-dfsg.orig/debian/patterns/erlang-crypto.patterns +++ erlang-15.b.1-dfsg/debian/patterns/erlang-crypto.patterns @@ -0,0 +1 @@ +./usr/lib/erlang/lib/crypto-.*/ --- erlang-15.b.1-dfsg.orig/debian/patterns/erlang-edoc.patterns +++ erlang-15.b.1-dfsg/debian/patterns/erlang-edoc.patterns @@ -0,0 +1 @@ +./usr/lib/erlang/lib/edoc-.*/ --- erlang-15.b.1-dfsg.orig/debian/patterns/erlang-webtool.patterns +++ erlang-15.b.1-dfsg/debian/patterns/erlang-webtool.patterns @@ -0,0 +1 @@ +./usr/lib/erlang/lib/webtool-.*/ --- erlang-15.b.1-dfsg.orig/debian/manpages/typer.1 +++ erlang-15.b.1-dfsg/debian/manpages/typer.1 @@ -0,0 +1,81 @@ +.TH typer 1 "typer 0.1.7.4" "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-15.b.1-dfsg.orig/debian/manpages/erlang-depends.1 +++ erlang-15.b.1-dfsg/debian/manpages/erlang-depends.1 @@ -0,0 +1,246 @@ +.\" 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 "2011\-12\-14" "1:15.b.1\-dfsg\-1" "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 was +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 was 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\-edoc:Depends}, +${erlang\-eldap: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\-eldap:Depends}, ${erlang\-base:Depends} +and ${erlang\-dev:Depends} were introduced in version 1:13.b\-dfsg\-2 of +erlang\-dev package. +.PP +Variable ${erlang\-eldap:Depends} was added in version 1:15.b.1\-dfsg\-1 +of erlang\-dev package because the new eldap application was included to the +Erlang distribution. +.PP +Variable ${erlang\-docbuilder:Depends} was dropped in version 1:15.b\-dfsg\-1 +of erlang\-dev package because the docbuilder application was removed from the +Erlang distribution. +.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). --- erlang-15.b.1-dfsg.orig/debian/scripts/analyse +++ erlang-15.b.1-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 diameter + edoc eldap erl-docgen et eunit gs ic-java ic inets inviso jinterface 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\", \"x11\"" +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-15.b.1-dfsg.orig/debian/scripts/erlang-depends.in +++ erlang-15.b.1-dfsg/debian/scripts/erlang-depends.in @@ -0,0 +1,780 @@ +#! /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, Variables}) -> + PkgDir = case TmpDir of + [] -> + filename:join("debian", Package); + _ -> + TmpDir + end, + delsubstvar(Verbosity, Package, "erlang:Depends"), + Variables2 = Variables ++ + case lists:member("erlang:Depends", Variables) of + true -> + Deps = ordsets:to_list( + 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))), + Dep = join(lists:map( + fun(D) -> + "${" ++ D ++ ":Depends}" + end, Deps), ", "), + addsubstvar(Verbosity, Package, "erlang:Depends", Dep), + lists:map(fun(D) -> + D ++ ":Depends" + end, Deps); + _ -> + [] + end, + deladdsubstvar(Verbosity, Package, Variables2, "erlang-abi:Depends", + "erlang-abi-" ++ ?ABI_VERSION), + deladdsubstvar(Verbosity, Package, Variables2, "erlang-base:Depends", + "erlang-base (>= " ++ ?VERSION ++ + ") | erlang-base-hipe (>= " ++ ?VERSION ++ ")"), + lists:foreach( + fun(Pkg) -> + deladdsubstvar(Verbosity, Package, Variables2, "erlang-" ++ Pkg ++ ":Depends", + "erlang-" ++ Pkg ++ " (>= " ++ ?VERSION ++ ")") + end, ?PACKAGES) + end, get_packages(NewOptions)). + +% usage/0 -- +% +% Print a short usage info. +% +% Arguments: +% None. +% +% Result: +% ok. +% +% 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: +% Application files are taken from filesystem. + +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: +% Application files are taken from filesystem. + +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: +% Files are taken from filesystem. + +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: +% Files are taken from filesystem. + +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. + +% deladdsubstvar/5 -- +% +% Delete a substitution variable from a substvar file and add a +% dependency to it if this substvar is present in a specified list of +% variables 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). +% Variables List of requested variables for the package. +% 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 +% dependency string is either deleted or replaced. Program is halted in +% case of error. + +deladdsubstvar(Verbosity, Package, Variables, Substvar, Dependency) -> + delsubstvar(Verbosity, Package, Substvar), + case lists:member(Substvar, Variables) of + true -> + addsubstvar(Verbosity, Package, Substvar, Dependency); + _ -> + ok + end. + +% get_packages/1 -- +% +% Parses debhelper command line options and debian/control file and +% returns packages with requested substvars to act on. +% +% Arguments: +% ArgList Dephelper options (only -a, -i, -p, -N options are +% recognised). +% +% Results: +% {ok, [{Package,Vars}]} 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, packages info is taken from +% an external file. + +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), + + % Join up continuation lines + + StrData = re:replace(BinData, "\\n( |\\t)", "\\1", [global, {return, list}]), + + % Add an extra empty line for the case if debian/config doesn't have a trailing LF + + Tokens = split(StrData, $\n) ++ [[]], + {_Arch, _Package, _Vars, Packages, AllPackages} = + lists:foldl(fun(Line, {A, P, Vs, Ps, APs}) -> + case Line of + "Package: " ++ Pkg -> + {A, string:strip(Pkg), Vs, Ps, APs}; + "Architecture: " ++ Arc -> + {string:strip(Arc), P, Vs, Ps, APs}; + "Pre-Depends: " ++ Deps -> + {A, P, Vs ++ find_vars(Deps), Ps, APs}; + "Depends: " ++ Deps -> + {A, P, Vs ++ find_vars(Deps), Ps, APs}; + "Recommends: " ++ Deps -> + {A, P, Vs ++ find_vars(Deps), Ps, APs}; + "Suggests: " ++ Deps -> + {A, P, Vs ++ find_vars(Deps), Ps, APs}; + "Enhances: " ++ Deps -> + {A, P, Vs ++ find_vars(Deps), Ps, APs}; + "Breaks: " ++ Deps -> + {A, P, Vs ++ find_vars(Deps), Ps, APs}; + "Conflicts: " ++ Deps -> + {A, P, Vs ++ find_vars(Deps), Ps, APs}; + "Provides: " ++ Deps -> + {A, P, Vs ++ find_vars(Deps), Ps, APs}; + "Replaces: " ++ Deps -> + {A, P, Vs ++ find_vars(Deps), 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, Vs}], APs}; + _ -> + case A of + "all" -> + case Arches of + indep -> + % Arch independent packages + % are requested + + {"", "", [], Ps ++ [{P, Vs}], APs}; + all -> + {"", "", [], Ps, APs ++ [{P, Vs}]}; + _ -> + {"", "", [], Ps, APs} + end; + _ -> + case Arches of + arch -> + % Arch dependent packages + % are requested + + {"", "", [], Ps ++ [{P, Vs}], APs}; + all -> + {"", "", [], Ps, APs ++ [{P, Vs}]}; + _ -> + {"", "", [], Ps, APs} + end + end + end + end + end; + _ -> + {A, P, Vs, 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. + +% find_vars/1 -- +% +% Find substitution variables in dependencies line and return list of +% their names. +% +% Arguments: +% Dependencies Dependencies line from debian/control +% +% Result: +% List of substvars names (inside ${}). +% +% Side effects: +% None. + +find_vars(Dependencies) -> + case re:run(Dependencies, "\\$\\{(\\S*)\\}", [global, {capture, all_but_first, list}]) of + {match, Captured} -> + lists:foldl(fun(M, Acc) -> + Acc ++ M + end, [], Captured); + _ -> + [] + 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 search +% Re Regular expression for filename matching +% Recursive Whether to search for files recursively +% +% Result: +% A list of filenames. +% +% Side effects: +% File and directory names are taken from filesystem. + +files(Dir, Re, Recursive) -> + find_files(Dir, Re, Recursive, []). + +% find_files/4 -- +% +% Find all files in a directory which names match a given expression, +% prepend them to a given list of files and return the total files list. +% (This procedure is borrowed from http://erlang.org/examples/examples-2.0.html +% and a bit modified.) +% +% Arguments: +% Dir Directory from which to search +% Re Regular expression for filename matching +% Recursive Whether to search for files recursively +% L List of already found files +% +% Result: +% A list of filenames. +% +% Side effects: +% File and directory names are taken from filesystem. + +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/5 -- +% +% Check all specified filenames if they match a given expressions and +% prepend matched ones to a given list of filenames. If the file type is +% directory and search is recursive then descend into it and add found +% filenames to the result too. Return the total files list. +% (This procedure is borrowed from http://erlang.org/examples/examples-2.0.html +% and a bit modified.) +% +% Arguments: +% _FL List of files in directory Dir +% Dir Directory from which to search +% Re Regular expression for filename matching +% Recursive Whether to search for files recursively +% L List of already found files +% +% Result: +% A list of filenames. +% +% Side effects: +% File and directory names are taken from filesystem. + +find_files(_FL = [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: +% File info is taken from the filesystem. + +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-15.b.1-dfsg.orig/debian/scripts/genlinks +++ erlang-15.b.1-dfsg/debian/scripts/genlinks @@ -0,0 +1,33 @@ +#!/usr/bin/perl -w + +my $erts_version=$ARGV[0]; +my @files = `ls -d *\-*`; +chomp(@files); + +my($filename); +foreach $filename (@files) { + my($name) = $filename; + print STDERR "Incorporating $filename:"; + + # + # Add documentation directories + # + my(@info) = `ls $filename`; + foreach $line (@info) { + chomp($line); + print STDERR " $line"; + print "/usr/share/doc/erlang-doc/lib/" . $filename . "/" . $line; + print " /usr/lib/erlang/lib/" . $filename . "/" . $line; + print "\n"; + } + print STDERR "\n"; +} + +# +# Closing boilerplate +# +print "/usr/share/doc/erlang-doc/erts-$erts_version/doc /usr/lib/erlang/erts-$erts_version/doc\n"; +print "/usr/share/doc/erlang-doc/erts-$erts_version/info /usr/lib/erlang/erts-$erts_version/info\n"; +print "/usr/share/doc/erlang-doc/doc /usr/lib/erlang/doc\n"; + +print STDERR "Finished generating erlang-doc.links\n"; --- erlang-15.b.1-dfsg.orig/debian/scripts/genindex +++ erlang-15.b.1-dfsg/debian/scripts/genindex @@ -0,0 +1,51 @@ +#!/usr/bin/perl -w + +my @files = `ls -d *\-*`; +chomp(@files); + +# +# Put in some boilerplate stuff -- Cribbed from the Erlang distribution. +# +print "\n\n"; +print " Erlang Library Modules Index\n"; +print " \n"; +print "\n"; +print "\n"; +print "

Index of Library Functions


\n"; +print "\n"; + +my($filename); +foreach $filename (@files) { + my($name) = $filename; + $name =~ s/[\d\.\-]//g; + print STDERR "Incorporating $filename\n"; + print ''; + + # + # Get short description + # + print "\n"; + +} + +# +# Closing boilerplate +# +print "\n"; + +print STDERR "Finished generating index.\n"; --- erlang-15.b.1-dfsg.orig/debian/scripts/fixmanpages +++ erlang-15.b.1-dfsg/debian/scripts/fixmanpages @@ -0,0 +1,83 @@ +#! /bin/sh + +DIR=$1 +PASS=$2 + +cp $DIR/man3/dialyzer.3 $DIR/man1/dialyzer.1 +mv $DIR/man1/start.1 $DIR/man1/start_embedded.1 + +# Fix manpages +for f in $DIR/*/*.1 ; 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"/' \ + $DIR/man1/dialyzer.1 + +sed -i -e's/^start \\-/start_embedded \\-/' \ + -e's/^\.TH start 1/.TH start_embedded 1/' \ + $DIR/man1/start_embedded.1 + +for f in $DIR/*/*.[1-7] ; do + sed -i -e's/^\(\.TH .*\) 3 /\1 3erl /' \ + -e"s/^'Erlang'/\\\\\&'Erlang'/" \ + -e"s/^'super\./\\\\\&'super./" \ + -e"s/^'renat\./\\\\\&'renat./" \ + -e"s/^'grouse\./\\\\\&'grouse./" \ + -e"s/^'gauffin1\./\\\\\&'gauffin1./" \ + -e's/^\.\./\\\&../' \ + -e"s/^'->/\\\\\&'->/" \ + -e's/\([^[:space:]]\)(3)/\1(3erl)/g' \ + -e's/\([^[:space:]]\)(4)/\1(5)/g' \ + -e's/\([^[:space:]]\)(6)/\1(7)/g' \ + $f +done + +for f in $DIR/*/*.3 ; do \ + mv $f ${f}erl ; \ +done + +if [ $PASS = 1 ] ; then + exit 0 +fi + +N1=INET-ADDRESS-MIB +N2=OTP-SNMPEA-MIB +N3=RFC1213-MIB +N4=SNMP-COMMUNITY-MIB +N5=SNMP-FRAMEWORK-MIB +N6=SNMP-MPD-MIB +N7=SNMP-NOTIFICATION-MIB +N8=SNMP-TARGET-MIB +N9=SNMP-USER-BASED-SM-MIB +N10=SNMP-USM-AES-MIB +N11=SNMPv2-MIB +N12=SNMPv2-TM +N13=SNMP-VIEW-BASED-ACM-MIB +N14=STANDARD-MIB +N15=TRANSPORT-ADDRESS-MIB +MIB='The Erlang/OTP MIB module' +D1="$MIB for textual conventions for representing Internet addresses" +D2="$MIB for the SNMPEA component in OTP" +D3="$MIB for RFC-1213" +D4="$MIB for supporting coexistence between SNMPv1, SNMPv2, and SNMPv3" +D5="$MIB for textual conventions used in the SNMP management architecture" +D6="$MIB for message processing and dispatching" +D7="$MIB for mechanisms to remotely configure the parameters for the generation of notifications" +D8="$MIB for mechanisms to remotely configure the parameters for the generation of SNMP messages" +D9="$MIB for the SNMP user-based security model" +D10="$MIB for the use of AES by SNMP's user-based security model" +D11="$MIB for SNMP entities" +D12="$MIB for SNMPv2 Transport Mappings" +D13="$MIB for the view-based access control model for SNMP" +D14="$MIB for SNMP standard datatypes" +D15="$MIB for commonly used transport address definitions" + +for i in `seq 1 15` ; do + eval sed -i -e\'2i.SH NAME\' \ + -e\"2i\$N$i \\\\\\- \$D$i\" \ + -e\'2i.SH DESCRIPTION\' \ + \$DIR/*/\$N$i.7 +done --- erlang-15.b.1-dfsg.orig/debian/patches/rpath.patch +++ erlang-15.b.1-dfsg/debian/patches/rpath.patch @@ -0,0 +1,21 @@ +Author: Sergei Golovan +Description: A quick hack which removes rpath from crypto and ssl applications binaries to + satisfy Debian policy. +Forwarded: no +Last-modified:Sat, 27 Feb 2010 09:34:43 +0300 + +--- erlang-15.b.1-dfsg.orig/erts/configure.in ++++ erlang-15.b.1-dfsg/erts/configure.in +@@ -4212,9 +4212,9 @@ + SSL_CC_RUNTIME_LIBRARY_PATH= + SSL_LD_RUNTIME_LIBRARY_PATH= + SSL_DED_LD_RUNTIME_LIBRARY_PATH= +-cc_rflg="$CFLAG_RUNTIME_LIBRARY_PATH" +-ld_rflg="$LDFLAG_RUNTIME_LIBRARY_PATH" +-ded_ld_rflg="$DED_LD_FLAG_RUNTIME_LIBRARY_PATH" ++cc_rflg= ++ld_rflg= ++ded_ld_rflg= + + if test "$SSL_APP" != "" && test "$SSL_DYNAMIC_ONLY" = "yes" && \ + { test "$cc_rflg" != "" || test "$ld_rflg" != "" || test "$ded_ld_rflg" != ""; } ; then --- erlang-15.b.1-dfsg.orig/debian/patches/powerpc.patch +++ erlang-15.b.1-dfsg/debian/patches/powerpc.patch @@ -0,0 +1,14 @@ +Author: Sergei Golovan +Description: Patch defines HiPE architecture ppc for powerpc arch. +Last-Modified: Mon, 08 Mar 2010 12:23:16 +0300 + +--- erlang-15.b.1-dfsg.orig/erts/configure.in ++++ erlang-15.b.1-dfsg/erts/configure.in +@@ -620,6 +620,7 @@ + x86_64) ARCH=amd64;; + amd64) ARCH=amd64;; + macppc) ARCH=ppc;; ++ powerpc) ARCH=ppc;; + ppc) ARCH=ppc;; + ppc64) ARCH=ppc64;; + "Power Macintosh") ARCH=ppc;; --- erlang-15.b.1-dfsg.orig/debian/patches/clean.patch +++ erlang-15.b.1-dfsg/debian/patches/clean.patch @@ -0,0 +1,201 @@ +clean.patch by Sergei Golovan + +Erlang leaves many files after make clean. This patch contains +a hack to remove them. + +--- erlang-15.b.1-dfsg.orig/Makefile.in ++++ erlang-15.b.1-dfsg/Makefile.in +@@ -971,6 +971,7 @@ + find . -type f -name SKIP -print | xargs $(RM) + cd erts && ERL_TOP=$(ERL_TOP) $(MAKE) clean + cd lib && ERL_TOP=$(ERL_TOP) $(MAKE) clean BUILD_ALL=true ++ $(MAKE) additional_clean + + # + # Just wipe out emulator, not libraries +@@ -1006,3 +1007,185 @@ + || $(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/bin/escript ++ 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/orber ++ 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/test_server ++ rm -rf $(ERL_TOP)/bootstrap/lib/wx ++ rm -rf $(ERL_TOP)/bootstrap/lib/xmerl ++ rm -rf $(ERL_TOP)/bootstrap/target ++ rm -rf $(ERL_TOP)/erts/config.log ++ rm -rf $(ERL_TOP)/erts/config.status ++ rm -rf $(ERL_TOP)/erts/doc/html/* ++ rm -rf $(ERL_TOP)/erts/doc/man1/* ++ rm -rf $(ERL_TOP)/erts/doc/man3/* ++ rm -rf $(ERL_TOP)/erts/doc/pdf/* ++ rm -rf $(ERL_TOP)/erts/doc/specs/* ++ rm -rf $(ERL_TOP)/erts/emulator/$(TARGET) ++ rm -rf $(ERL_TOP)/erts/emulator/obj ++ 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)/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/info ++ 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/priv/lib/$(TARGET) ++ rm -rf $(ERL_TOP)/lib/asn1/priv/obj/$(TARGET) ++ 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/priv/$(TARGET) ++ rm -rf $(ERL_TOP)/lib/common_test/priv/install.sh ++ 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/diameter/config.log ++ rm -rf $(ERL_TOP)/lib/diameter/config.status ++ rm -rf $(ERL_TOP)/lib/diameter/make/$(TARGET) ++ rm -rf $(ERL_TOP)/lib/diameter/Makefile ++ 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.md/$(TARGET) ++ rm -rf $(ERL_TOP)/lib/erl_interface/obj.mdd/$(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/ebin/eunit_autoexport.beam ++ 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/doc/src/JAVADOC-GENERATED ++ 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/pom.xml ++ rm -rf $(ERL_TOP)/lib/jinterface/priv/com ++ rm -rf $(ERL_TOP)/lib/jinterface/priv/OtpErlang.jar ++ 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/examples/meas/Makefile ++ rm -rf $(ERL_TOP)/lib/megaco/priv/lib/$(TARGET) ++ rm -rf $(ERL_TOP)/lib/megaco/priv/obj/$(TARGET) ++ rm -rf $(ERL_TOP)/lib/megaco/src/flex/$(TARGET) ++ rm -rf $(ERL_TOP)/lib/mnesia/doc/src/Mnesia_App_B.xml ++ rm -rf $(ERL_TOP)/lib/mnesia/doc/src/Mnesia_App_C.xml ++ rm -rf $(ERL_TOP)/lib/mnesia/doc/src/Mnesia_App_D.xml ++ rm -rf $(ERL_TOP)/lib/mnesia/doc/src/Mnesia_chap2.xml ++ rm -rf $(ERL_TOP)/lib/mnesia/doc/src/Mnesia_chap4.xml ++ rm -rf $(ERL_TOP)/lib/mnesia/doc/src/Mnesia_chap5.xml ++ rm -rf $(ERL_TOP)/lib/mnesia/doc/src/Mnesia_chap7.xml ++ 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/obj/$(TARGET) ++ 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/public_key/asn1/PKCS-FRAME.asn1db ++ 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/doc/man6/ssl.6 ++ 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/doc/src/ref_man.xml ++ rm -rf $(ERL_TOP)/lib/wx/$(TARGET) ++ rm -rf $(ERL_TOP)/lib/wx/priv/erl_gl.so ++ rm -rf $(ERL_TOP)/lib/wx/priv/wxe_driver.so ++ rm -rf $(ERL_TOP)/lib/xmerl/doc/src/xmerl_ug.xml ++ rm -rf $(ERL_TOP)/make/emd2exml ++ rm -rf $(ERL_TOP)/make/$(TARGET) ++ rm -rf $(ERL_TOP)/Makefile ++ rm -rf $(ERL_TOP)/system/doc/html/applications.html ++ rm -rf $(ERL_TOP)/system/doc/html/design_principles ++ rm -rf $(ERL_TOP)/system/doc/html/efficiency_guide ++ rm -rf $(ERL_TOP)/system/doc/html/embedded ++ rm -rf $(ERL_TOP)/system/doc/html/getting_started ++ rm -rf $(ERL_TOP)/system/doc/html/highlights.html ++ rm -rf $(ERL_TOP)/system/doc/html/incompatible.html ++ rm -rf $(ERL_TOP)/system/doc/html/index.html ++ rm -rf $(ERL_TOP)/system/doc/html/installation_guide ++ rm -rf $(ERL_TOP)/system/doc/html/js ++ rm -rf $(ERL_TOP)/system/doc/html/man_index.html ++ rm -rf $(ERL_TOP)/system/doc/html/oam ++ rm -rf $(ERL_TOP)/system/doc/html/otp-system-documentation.eix ++ rm -rf $(ERL_TOP)/system/doc/html/programming_examples ++ rm -rf $(ERL_TOP)/system/doc/html/reference_manual ++ rm -rf $(ERL_TOP)/system/doc/html/system_architecture_intro ++ rm -rf $(ERL_TOP)/system/doc/html/system_principles ++ rm -rf $(ERL_TOP)/system/doc/html/tutorial ++ rm -rf $(ERL_TOP)/system/doc/installation_guide/INSTALL-CROSS.xml ++ rm -rf $(ERL_TOP)/system/doc/installation_guide/INSTALL-WIN32.xml ++ rm -rf $(ERL_TOP)/system/doc/installation_guide/INSTALL.xml ++ rm -rf $(ERL_TOP)/system/doc/pdf/otp-system-documentation-*.fo ++ rm -rf $(ERL_TOP)/system/doc/pdf/otp-system-documentation-*.pdf ++ rm -rf $(ERL_TOP)/system/doc/programming_examples/funs.xml ++ rm -rf $(ERL_TOP)/system/doc/system_principles/create_target.xml ++ rm -rf $(ERL_TOP)/system/doc/top/ebin/erl_html_tools.beam ++ rm -rf $(ERL_TOP)/system/doc/top/ebin/erlresolvelinks.beam ++ rm -rf $(ERL_TOP)/system/doc/top/ebin/otp_man_index.beam ++ rm -rf $(ERL_TOP)/system/doc/top/erlresolvelinks.js ++ rm -rf $(ERL_TOP)/system/doc/top/PR.template ++ rm -rf $(ERL_TOP)/system/doc/tutorial/cnode.xml ++ rm -rf $(ERL_TOP)/system/doc/tutorial/c_portdriver.xml ++ rm -rf $(ERL_TOP)/system/doc/tutorial/c_port.xml ++ rm -rf $(ERL_TOP)/system/doc/tutorial/erl_interface.xml ++ rm -rf $(ERL_TOP)/system/doc/tutorial/example.xml ++ rm -rf $(ERL_TOP)/system/doc/tutorial/nif.xml --- erlang-15.b.1-dfsg.orig/debian/patches/bytecode-compat.patch +++ erlang-15.b.1-dfsg/debian/patches/bytecode-compat.patch @@ -0,0 +1,32 @@ +Description: Build backwards compatible bytecode. + By default, javac compiles bytecode which is compatible + with the Java implementation the JDK originates from and + onwards. + . + This patch ensures that bytecode is compatible with Java + 1.5 and up. +Author: James Page +Bug-Ubuntu: https://bugs.launchpad.net/ubuntu/+source/erlang/+bug/1049769 + +--- a/lib/ic/java_src/com/ericsson/otp/ic/Makefile ++++ b/lib/ic/java_src/com/ericsson/otp/ic/Makefile +@@ -87,7 +87,7 @@ JAVADOCFLAGS=-d $(DOCDIR) + JAVAFLAGS=-d $(JAVA_DEST_ROOT) + JARFLAGS= -cvf + +-JAVA_OPTIONS = ++JAVA_OPTIONS = -source 1.5 -target 1.5 + + # ---------------------------------------------------- + # Make Rules +--- a/lib/jinterface/java_src/com/ericsson/otp/erlang/Makefile ++++ b/lib/jinterface/java_src/com/ericsson/otp/erlang/Makefile +@@ -63,7 +63,7 @@ JAVADOCFLAGS=-d $(DOCDIR) + JAVAFLAGS=-d $(JAVA_DEST_ROOT) + JARFLAGS=-cvf + +-JAVA_OPTIONS = ++JAVA_OPTIONS = -source 1.5 -target 1.5 + + ifeq ($(TESTROOT),) + RELEASE_PATH=$(ERL_TOP)/release/$(TARGET) --- erlang-15.b.1-dfsg.orig/debian/patches/gnu.patch +++ erlang-15.b.1-dfsg/debian/patches/gnu.patch @@ -0,0 +1,145 @@ +Author: Aurelien Jarno +Author: Sergei Golovan +Author: Pino Toscano + +(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) Undefines BSD4_4 for os_mon application for GNU/Hurd; + +(3) Undefines AF_LINK for GNU/Hurd; + +(4) Switch some PATH_MAX occurrences to MAXPATHLEN; + +--- erlang-15.b.1-dfsg.orig/erts/configure.in ++++ erlang-15.b.1-dfsg/erts/configure.in +@@ -433,7 +433,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. +@@ -1175,7 +1175,7 @@ + solaris*) + enable_child_waiter_thread=yes + ;; +- linux*) ++ linux*|*gnu*) + AC_MSG_CHECKING([whether dlopen() needs to be called before first call to dlerror()]) + if test "x$ETHR_THR_LIB_BASE_TYPE" != "xposix_nptl"; then + AC_DEFINE(ERTS_NEED_DLOPEN_BEFORE_DLERROR,[1], +--- erlang-15.b.1-dfsg.orig/lib/os_mon/c_src/memsup.c ++++ erlang-15.b.1-dfsg/lib/os_mon/c_src/memsup.c +@@ -110,6 +110,11 @@ + #include + #endif + ++#ifdef __GNU__ ++#warning "Undefined BSD4_4 for GNU/Hurd" ++#undef BSD4_4 ++#endif ++ + #ifdef BSD4_4 + #include + #include +--- erlang-15.b.1-dfsg.orig/erts/emulator/drivers/common/inet_drv.c ++++ erlang-15.b.1-dfsg/erts/emulator/drivers/common/inet_drv.c +@@ -532,6 +532,11 @@ + inet_driver_select((d)->port, (ErlDrvEvent)(long)(d)->event, (flags), (onoff)); \ + } while(0) + ++#ifdef __GNU__ ++#warning "Undefined AF_LINK for GNU/Hurd" ++#undef AF_LINK ++#endif ++ + + #endif /* __WIN32__ */ + +--- erlang-15.b.1-dfsg.orig/erts/etc/common/erlexec.c ++++ erlang-15.b.1-dfsg/erts/etc/common/erlexec.c +@@ -1536,7 +1536,7 @@ + if (!bindir) { + /* Determine bindir from absolute path to executable */ + char *p; +- char buffer[PATH_MAX]; ++ char buffer[MAXPATHLEN]; + strncpy(buffer, argv[0], sizeof(buffer)); + buffer[sizeof(buffer)-1] = '\0'; + +@@ -1550,7 +1550,7 @@ + if (!rootdir) { + /* Determine rootdir from absolute path to bindir */ + char *p; +- char buffer[PATH_MAX]; ++ char buffer[MAXPATHLEN]; + strncpy(buffer, bindir, sizeof(buffer)); + buffer[sizeof(buffer)-1] = '\0'; + +--- erlang-15.b.1-dfsg.orig/erts/etc/common/escript.c ++++ erlang-15.b.1-dfsg/erts/etc/common/escript.c +@@ -53,7 +53,7 @@ + # define IS_DIRSEP(c) ((c) == '/') + # define DIRSEPSTR "/" + # define PATHSEPSTR ":" +-# define PMAX PATH_MAX ++# define PMAX MAXPATHLEN + # define ERL_NAME "erl" + #endif + +--- erlang-15.b.1-dfsg.orig/erts/etc/unix/dyn_erl.c ++++ erlang-15.b.1-dfsg/erts/etc/unix/dyn_erl.c +@@ -149,8 +149,8 @@ + static char * + find_prog(char *origpath) + { +- char relpath[PATH_MAX]; +- char abspath[PATH_MAX]; ++ char relpath[MAXPATHLEN]; ++ char abspath[MAXPATHLEN]; + + strcpy(relpath, origpath); + +@@ -161,7 +161,7 @@ + envpath = get_env("PATH"); + if (envpath) { + /* Try to find the executable in the path */ +- char dir[PATH_MAX]; ++ char dir[MAXPATHLEN]; + char *beg = envpath; + char *end; + int sz; +@@ -275,7 +275,7 @@ + /* List install dir and look for latest erts-vsn */ + DIR *dp; /* Pointer to directory structure. */ + struct dirent* dirp; /* Pointer to directory entry. */ +- char latest_vsn[PATH_MAX]; /* Latest erts-vsn directory name. */ ++ char latest_vsn[MAXPATHLEN];/* Latest erts-vsn directory name. */ + + dp = opendir(erl_top); + if (dp == NULL) { +@@ -315,7 +315,7 @@ + + char *p; + char *p2; +- char buffer[PATH_MAX]; ++ char buffer[MAXPATHLEN]; + + strcpy(buffer, erlpath); + +@@ -358,9 +358,9 @@ + char *p; + char *abspath; + char *bindir; /* Location of executables. */ +- char rootdir[PATH_MAX]; /* Root location of Erlang installation. */ +- char progname[PATH_MAX]; /* Name of this program. */ +- char erlexec[PATH_MAX]; /* Path to erlexec */ ++ char rootdir[MAXPATHLEN];/* Root location of Erlang installation. */ ++ char progname[MAXPATHLEN];/* Name of this program. */ ++ char erlexec[MAXPATHLEN];/* Path to erlexec */ + + /* Determine progname */ + abspath = find_prog(argv[0]); --- erlang-15.b.1-dfsg.orig/debian/patches/m68k.patch +++ erlang-15.b.1-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-15.b.1-dfsg.orig/erts/emulator/beam/binary.c ++++ erlang-15.b.1-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, Uint len); + #else +--- erlang-15.b.1-dfsg.orig/erts/emulator/beam/erl_driver.h ++++ erlang-15.b.1-dfsg/erts/emulator/beam/erl_driver.h +@@ -595,7 +595,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-15.b.1-dfsg.orig/debian/patches/hppa.patch +++ erlang-15.b.1-dfsg/debian/patches/hppa.patch @@ -0,0 +1,25 @@ +Author: Sergei Golovan +Description: The patch adds a temporary workaround for a bug in kernel and + glibc for hppa architecture where vfork()+exec() fail (see thread + http://lists.debian.org/debian-hppa/2009/12/msg00035.html for details) +Bug-Debian: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=562218 +Forwarded: no +Last-updated: Mon, 22 Feb 2010 10:34:34 +0300 + +--- erlang-15.b.1-dfsg.orig/erts/configure.in ++++ erlang-15.b.1-dfsg/erts/configure.in +@@ -1892,6 +1892,14 @@ + AC_CHECK_DECLS([posix2time],,,[#include ]) + + disable_vfork=false ++AC_MSG_CHECKING([if vfork is to be disabled (for HPPA)]) ++case $host_alias in ++ hppa*) ++ AC_MSG_RESULT(yes) ++ disable_vfork=true;; ++ *) ++ AC_MSG_RESULT(no);; ++esac + if test "x$EMU_THR_LIB_NAME" != "x"; then + AC_MSG_CHECKING([if vfork is known to hang multithreaded applications]) + case $host_os in --- erlang-15.b.1-dfsg.orig/debian/patches/fix-pointer-converstion.patch +++ erlang-15.b.1-dfsg/debian/patches/fix-pointer-converstion.patch @@ -0,0 +1,25 @@ +From: Clint Byrum +Subject: resolve buildd failure "Function `erl_malloc' implicitly converted to pointer at legacy/erl_timeout.c:77" +Bug-Ubuntu: https://launchpad.net/bugs/778484 + +Index: erlang-14.b.4-dfsg-1ubuntu1/lib/erl_interface/src/legacy/erl_timeout.c +=================================================================== +--- erlang-14.b.4-dfsg-1ubuntu1.orig/lib/erl_interface/src/legacy/erl_timeout.c 2011-12-15 16:39:50.958344893 -0800 ++++ erlang-14.b.4-dfsg-1ubuntu1/lib/erl_interface/src/legacy/erl_timeout.c 2011-12-15 16:40:45.183171477 -0800 +@@ -45,6 +45,7 @@ + + #include "erl_interface.h" + #include "erl_timeout.h" ++#include "erl_interface.h" + + typedef struct jmp_s { + jmp_buf jmpbuf; +@@ -75,7 +76,7 @@ + t.it_value.tv_usec = (ms % 1000) * 1000; + + /* get a jump buffer and save it */ +- j = erl_malloc(sizeof(*j)); ++ j = (jmp_t)erl_malloc(sizeof(*j)); + j->siginfo = s; + push(j); + --- erlang-15.b.1-dfsg.orig/debian/patches/man.patch +++ erlang-15.b.1-dfsg/debian/patches/man.patch @@ -0,0 +1,21 @@ +man.patch by Francois-Denis Gonthier + +Patch allows to use standard man path with erl -man command. +(Erlang manual pages are placed to /usr/share/man/ hierarchy +as required by Debian policy.) + +--- erlang-15.b.1-dfsg.orig/erts/etc/common/erlexec.c ++++ erlang-15.b.1-dfsg/erts/etc/common/erlexec.c +@@ -728,8 +728,10 @@ + error("-man not supported on Windows"); + #else + argv[i] = "man"; +- erts_snprintf(tmpStr, sizeof(tmpStr), "%s/man", rootdir); +- set_env("MANPATH", tmpStr); ++ /* ++ * Conform to erlang-manpages content. ++ */ ++ putenv(strsave("MANSECT=3erl:1:5:7")); + execvp("man", argv+i); + error("Could not execute the 'man' command."); + #endif --- erlang-15.b.1-dfsg.orig/debian/patches/emacs.patch +++ erlang-15.b.1-dfsg/debian/patches/emacs.patch @@ -0,0 +1,85 @@ +Patch by Balint Reczey fixes backquote +syntax (see http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=494823). +Also, it fixes manpage name regexp matching only 3erl manpages in +section 3. + +--- erlang-15.b.1-dfsg.orig/lib/tools/emacs/erlang.el ++++ erlang-15.b.1-dfsg/lib/tools/emacs/erlang.el +@@ -496,8 +496,8 @@ + (defvar erlang-man-dirs + '(("Man - Commands" "/man/man1" t) + ("Man - Modules" "/man/man3" t) +- ("Man - Files" "/man/man4" t) +- ("Man - Applications" "/man/man6" t)) ++ ("Man - Files" "/man/man5" t) ++ ("Man - Applications" "/man/man7" t)) + "*The man directories displayed in the Erlang menu. + + Each item in the list should be a list with three elements, the first +@@ -1206,23 +1206,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 + ;; backwards compatibility reasons. +@@ -1965,7 +1964,7 @@ + + (defun erlang-man-make-menu-item (file) + "Create a menu item containing the name of the man page." +- (and (string-match ".+/\\([^/]+\\)\\.\\([124-9]\\|3\\(erl\\)?\\)\\(\\.gz\\)?$" file) ++ (and (string-match ".+/\\([^/]+\\)\\.\\([124-9]\\|3\\(erl\\)\\)\\(\\.gz\\)?$" file) + (let ((page (substring file (match-beginning 1) (match-end 1)))) + (list (capitalize page) + (list 'lambda '() +@@ -1976,7 +1975,7 @@ + + (defun erlang-man-get-files (dir) + "Return files in directory DIR." +- (directory-files dir t ".+\\.\\([124-9]\\|3\\(erl\\)?\\)\\(\\.gz\\)?\\'")) ++ (directory-files dir t ".+\\.\\([124-9]\\|3\\(erl\\)\\)\\(\\.gz\\)?\\'")) + + + (defun erlang-man-module (&optional module) +@@ -1996,7 +1995,7 @@ + (if (or (null module) (string= module "")) + (error "No Erlang module name given")) + (let ((dir-list erlang-man-dirs) +- (pat (concat "/" (regexp-quote module) "\\.\\([124-9]\\|3\\(erl\\)?\\)\\(\\.gz\\)?$")) ++ (pat (concat "/" (regexp-quote module) "\\.\\([124-9]\\|3\\(erl\\)\\)\\(\\.gz\\)?$")) + (file nil) + file-list) + (while (and dir-list (null file)) +@@ -2137,9 +2136,9 @@ + (error nil)) + (if file + (let ((process-environment (copy-sequence process-environment))) +- (if (string-match "\\(.*\\)/man[^/]*/\\([^.]+\\)\\.\\([124-9]\\|3\\(erl\\)?\\)\\(\\.gz\\)?$" file) ++ (if (string-match "\\(.*\\)/man[^/]*/\\([^.]+\\)\\.\\([124-9]\\|3\\(erl\\)\\)\\(\\.gz\\)?$" file) + (let ((dir (substring file (match-beginning 1) (match-end 1))) +- (page (substring file (match-beginning 2) (match-end 2)))) ++ (page (concat (substring file (match-beginning 2) (match-end 2)) "(" (substring file (match-beginning 3) (match-end 3)) ")"))) + (if (fboundp 'setenv) + (setenv "MANPATH" dir) + ;; Emacs 18 --- erlang-15.b.1-dfsg.orig/debian/patches/docs.patch +++ erlang-15.b.1-dfsg/debian/patches/docs.patch @@ -0,0 +1,69 @@ +Author: Sergei Golovan +Description: Fixes a bug with .RE macro in the Erlang manpages + and a few bugs with docs installation. +Last-modified: Thu, 09 Dec 2010 10:45:56 +0300 + +--- erlang-15.b.1-dfsg.orig/lib/erl_docgen/priv/xsl/db_man.xsl ++++ erlang-15.b.1-dfsg/lib/erl_docgen/priv/xsl/db_man.xsl +@@ -508,7 +508,7 @@ + .RS 2 + .LP + +- .RE ++ .RE + + + +@@ -794,7 +794,7 @@ + + .RS + +- .RE ++ .RE + + + +--- erlang-15.b.1-dfsg.orig/lib/megaco/doc/src/Makefile ++++ erlang-15.b.1-dfsg/lib/megaco/doc/src/Makefile +@@ -172,8 +172,6 @@ + $(INSTALL_DATA) $(INFO_FILE) $(RELSYSDIR) + $(INSTALL_DIR) $(RELEASE_PATH)/man/man3 + $(INSTALL_DATA) $(MAN3DIR)/* $(RELEASE_PATH)/man/man3 +- $(INSTALL_DIR) $(RELSYSDIR)/doc/standard +- $(INSTALL_DATA) $(STANDARDS) $(RELSYSDIR)/doc/standard + + release_spec: + +--- erlang-15.b.1-dfsg.orig/lib/stdlib/doc/src/re.xml ++++ erlang-15.b.1-dfsg/lib/stdlib/doc/src/re.xml +@@ -344,7 +344,7 @@ + metacharacter should not match before it. Setting this without + multiline (at compile time) causes circumflex never to + match. This option only affects the behavior of the circumflex +- metacharacter. It does not affect \A. ++ metacharacter. It does not affect \\A. + + noteol + +@@ -353,8 +353,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, integer() >= 0} + +--- erlang-15.b.1-dfsg.orig/lib/tools/Makefile ++++ erlang-15.b.1-dfsg/lib/tools/Makefile +@@ -23,7 +233,7 @@ + # Macros + # ---------------------------------------------------- + +-SUB_DIRECTORIES = c_src src doc/src examples priv emacs ++SUB_DIRECTORIES = c_src src examples priv emacs doc/src + + include vsn.mk + VSN = $(TOOLS_VSN) --- erlang-15.b.1-dfsg.orig/debian/patches/sparc.patch +++ erlang-15.b.1-dfsg/debian/patches/sparc.patch @@ -0,0 +1,45 @@ +sparc.patch by Jurij Smakov + +(1) Defines ARCH=ultrasparc for any sparc* architecture. This allows + to build HiPE enabled package for sparc in Debian. + +(2) Fixes FTBFS(see http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=328031). + +--- erlang-15.b.1-dfsg.orig/erts/configure.in ++++ erlang-15.b.1-dfsg/erts/configure.in +@@ -609,7 +609,7 @@ + fi + + case $chk_arch_ in +- sun4u) ARCH=ultrasparc;; ++ sun4u|sparc*) ARCH=ultrasparc;; + sparc64) ARCH=sparc64;; + sun4v) ARCH=ultrasparc;; + i86pc) ARCH=x86;; +--- erlang-15.b.1-dfsg.orig/erts/emulator/beam/beam_emu.c ++++ erlang-15.b.1-dfsg/erts/emulator/beam/beam_emu.c +@@ -1031,16 +1031,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 +@@ -1049,7 +1039,6 @@ + # define REG_fcalls + # define REG_tmp_arg1 + # define REG_tmp_arg2 +-#endif + + #ifdef USE_VM_PROBES + # define USE_VM_CALL_PROBES --- erlang-15.b.1-dfsg.orig/debian/patches/java.patch +++ erlang-15.b.1-dfsg/debian/patches/java.patch @@ -0,0 +1,32 @@ +Author: Sergei Golovan +Description: GCJ 4.4 passes the test for JDK 1.5 but doesn't implement + String#String(int[], int, int) constructor, which breaks jinterface + build. This patch adds a check for the definition of this constructor. + It helps to build Erlang on architectures without openjdk-6 available. +Forwarded: yes +Last-updated: Sat, 13 Feb 2010 10:08:42 +0300 + +--- erlang-15.b.1-dfsg.orig/erts/configure.in ++++ erlang-15.b.1-dfsg/erts/configure.in +@@ -4354,7 +4354,8 @@ + dnl Make sure it's at least JDK 1.5 + AC_CACHE_CHECK(for JDK version 1.5, + ac_cv_prog_javac_ver_1_5, +- [ERL_TRY_LINK_JAVA([], [for (String i : args);], ++ [ERL_TRY_LINK_JAVA([], [for (String i : args); ++ int[] values = {}; String s = new String(values, 0, values.length);], + ac_cv_prog_javac_ver_1_5=yes, ac_cv_prog_javac_ver_1_5=no)]) + if test $ac_cv_prog_javac_ver_1_5 = no; then + unset -v JAVAC +--- erlang-15.b.1-dfsg.orig/lib/test_server/src/configure.in ++++ erlang-15.b.1-dfsg/lib/test_server/src/configure.in +@@ -399,7 +399,8 @@ + dnl Make sure it's at least JDK 1.5 + AC_CACHE_CHECK(for JDK version 1.5, + ac_cv_prog_javac_ver_1_5, +- [ERL_TRY_LINK_JAVA([], [for (String i : args);], ++ [ERL_TRY_LINK_JAVA([], [for (String i : args); ++ int[] values = {}; String s = new String(values, 0, values.length);], + ac_cv_prog_javac_ver_1_5=yes, ac_cv_prog_javac_ver_1_5=no)]) + if test $ac_cv_prog_javac_ver_1_5 = no; then + unset -v JAVAC --- erlang-15.b.1-dfsg.orig/debian/patches/series +++ erlang-15.b.1-dfsg/debian/patches/series @@ -0,0 +1,13 @@ +bytecode-compat.patch +clean.patch +rpath.patch +gnu.patch +sparc.patch +man.patch +emacs.patch +m68k.patch +docs.patch +java.patch +hppa.patch +powerpc.patch +fix-pointer-converstion.patch
' . $name . '"; + my(@info) = `grep "short:" $filename/info`; + foreach $line (@info) { + $line =~ s/^short://; + print $line; + } + print "