debian/0000755000000000000000000000000012241756123007171 5ustar debian/copyright0000644000000000000000000001075412241755702011135 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: libiberty Source: http://gcc.gnu.org/ Files: config/* include/* Copyright: Copyright (C) 1990-2013 Free Software Foundation License: GPL-3+ This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 of the License, or (at your option) any later version. . This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. Files: include/dwarf2.h Copyright: Copyright (C) 1990-2013 Free Software Foundation License: GPL-3+ This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 of the License, or (at your option) any later version. . This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. . Under Section 7 of GPL version 3, you are granted additional permissions described in the GCC Runtime Library Exception, version 3.1, as published by the Free Software Foundation. Files: libiberty/* include/demangle.h include/leb128.h include/safe-ctype.h include/timeval-utils.h include/xregex2.h Copyright: Copyright (C) 1990-2013 Free Software Foundation License: LGPL-2.1+ Libiberty is free software; you can redistribute it and/or modify it under the terms of the GNU Library General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. . Libiberty 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 Library General Public License for more details. Files: libiberty/libiberty.texi Copyright: Copyright (C) 2001-2010 Free Software Foundation License: GFDL Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.3 or any later version published by the Free Software Foundation; with no Invariant Sections, with no Front-Cover Texts, and with no Back-Cover Texts. A copy of the license is included in the section entitled ``GNU Free Documentation License''. Files: include/vtv-change-permission.h Copyright: Copyright (C) 2013 Free Software Foundation License: LGPL-2+ This file is part of GCC. . modify it under the terms of the GNU Library General Public License as published by the Free Software Foundation; either version 2, or (at your option) any later version. . In addition to the permissions in the GNU Library General Public License, the Free Software Foundation gives you unlimited permission to link the compiled version of this file into combinations with other programs, and to distribute those combinations without any restriction coming from the use of this file. (The Library Public License restrictions do apply in other respects; for example, they cover modification of the file, and distribution when not linked into a combined executable.) . This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Library General Public License for more details. Files: debian/* Copyright: 2013 Matthias Klose License: GPL-2+ This package is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. . This package is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. . You should have received a copy of the GNU General Public License along with this program. If not, see . On Debian systems, the complete text of the GNU General Public License version 2 can be found in "/usr/share/common-licenses/GPL-2". debian/changelog0000644000000000000000000000021212241744734011043 0ustar libiberty (20131116-1) unstable; urgency=low * Initial release. -- Matthias Klose Sat, 16 Nov 2013 19:30:20 +0000 debian/compat0000644000000000000000000000000212241744714010372 0ustar 7 debian/control0000644000000000000000000000131412241747217010577 0ustar Source: libiberty Section: libdevel Priority: optional Maintainer: Debian GCC Maintainers Uploaders: Matthias Klose Build-Depends: debhelper (>= 8.0.0) Standards-Version: 3.9.4 Homepage: http://gcc.gnu.org/ Package: libiberty-dev Architecture: any Multi-Arch: same Depends: ${shlibs:Depends}, ${misc:Depends} Description: library of utility functions used by GNU programs The libib library is a collection of subroutines used by various GNU programs, which are missing or broken on some systems. . This library shouldn't be used by other software, but unfortunately already is. There is no guaranty for a stable library API, and no shared library is provided. debian/rules0000755000000000000000000000401012241754677010260 0ustar #!/usr/bin/make -f # -*- makefile -*- # Uncomment this to turn on verbose mode. #export DH_VERBOSE=1 DEB_BUILD_MULTIARCH ?= $(shell dpkg-architecture -qDEB_BUILD_MULTIARCH) DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH) CPPFLAGS := $(shell dpkg-buildflags --get CPPFLAGS) CFLAGS := -fPIC $(shell dpkg-buildflags --get CFLAGS) LDFLAGS := $(shell dpkg-buildflags --get LDFLAGS) COMMA = , ifneq (,$(filter parallel=%,$(subst $(COMMA), ,$(DEB_BUILD_OPTIONS)))) NJOBS := -j $(subst parallel=,,$(filter parallel=%,$(subst $(COMMA), ,$(DEB_BUILD_OPTIONS)))) endif confargs = \ --prefix=/usr \ --disable-multilib \ --enable-install-libiberty ifneq ($(DEB_BUILD_MULTIARCH),$(DEB_HOST_MULTIARCH)) confargs += \ --build=$(DEB_BUILD_MULTIARCH) \ --host=$(DEB_HOST_MULTIARCH) endif configure: configure-stamp configure-stamp: dh_testdir rm -rf build mkdir -p build cd build && ../libiberty/configure \ $(confargs) \ CPPFLAGS="$(CPPFLAGS)" \ CFLAGS="$(CFLAGS)" \ LDFLAGS="$(LDFLAGS)" touch configure-stamp build-arch: build-stamp build-indep: build: build-stamp build-stamp: configure-stamp dh_testdir $(MAKE) $(NJOBS) -C build touch $@ clean: dh_testdir dh_testroot rm -f build-stamp configure-stamp rm -rf build dh_clean install: build dh_testdir dh_testroot dh_prep dh_installdirs \ /usr/include/libiberty \ /usr/lib/$(DEB_HOST_MULTIARCH) $(MAKE) -C build install \ DESTDIR=$(CURDIR)/debian/libiberty-dev \ target_header_dir=/usr/include/libiberty mv debian/libiberty-dev/usr/lib/*.a \ debian/libiberty-dev/usr/lib/$(DEB_HOST_MULTIARCH)/. # Build architecture-independent files here. binary-indep: install # We have nothing to do by default. # Build architecture-dependent files here. binary-arch: install dh_testdir dh_testroot dh_installchangelogs dh_installdocs dh_strip dh_compress dh_fixperms dh_installdeb dh_shlibdeps dh_gencontrol dh_md5sums dh_builddeb binary: binary-indep binary-arch .PHONY: build clean binary-indep binary-arch binary install configure debian/source/0000755000000000000000000000000012241743716010475 5ustar debian/source/format0000644000000000000000000000001412241743716011703 0ustar 3.0 (quilt) debian/README.source0000644000000000000000000000046512241753361011356 0ustar libiberty for Debian -------------------- The source is a copy from the GCC upstream tree, consisting of the following files and subdirectories config.guess config.sub install-sh mkinstalldirs config/ include/ libiberty/ -- Matthias Klose Sat, 16 Nov 2013 19:30:20 +0000