debian/0000755000000000000000000000000012141630374007167 5ustar debian/libooptools-dev.install0000644000000000000000000000003212141630374013673 0ustar usr/lib/*/*.a usr/include debian/copyright0000644000000000000000000000340112141630374011120 0ustar Format: http://dep.debian.net/deps/dep5 Upstream-Name: LoopTools Source: http://www.feynarts.de/looptools/ Files: * Copyright: Thomas Hahn License: LGPL-3.0+ Files: src/A/A00.F src/C/Cget.F src/D/D0.F src/D/Dget.F src/E/E0.F src/E/Ecoeffa.F src/E/Ecoeffb.F src/E/Eget.F src/util/solve-LU.F Copyright: Michael Rauch License: LGPL-3.0+ Files: src/D/ffRn.F src/D/ffS2.F src/D/ffS3n.F src/D/ffTn.F src/D/ffTn.F src/D/ffd0c.F Copyright: Le Duc Ninh License: LGPL-3.0+ Files: src/A/A0.F src/B/Bcoeffb.F src/B/ffxdb1.F src/C/C0.F src/D/D0.F src/util/auxCD.F Copyright: Ansgar Denner License: LGPL-3.0+ Files: src/A/ffca0.F src/A/ffxa0.F src/D/ffxd0i.F src/include/ff.h src/util/ffinit.F Copyright: Geert Jan van Oldenborgh License: LGPL-3.0+ Files: debian/* Copyright: 2012 Lifeng Sun License: LGPL-3.0+ License: LGPL-3.0+ This package 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 3 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 Lesser 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 Lesser General Public License can be found in "/usr/share/common-licenses/LGPL-3". debian/get-orig-source0000755000000000000000000000070112141630374012126 0ustar #!/bin/bash set -e [ $# == 3 ] url="http://www.feynarts.de/looptools" ver="$2" pkgdir="looptools-$ver.orig" pkg="looptools_$ver.orig.tar.gz" uppkgdir="LoopTools-$ver" uppkg="LoopTools-$ver.tar.gz" [ ! -f "../$uppkg" ] && wget "$url/$uppkg" -O "../$uppkg" [ -d "$uppkgdir" ] && rm -rf "$uppkgdir" tar xf "../$uppkg" [ -d "$pkgdir" ] && rm -rf "$pkgdir" mv "$uppkgdir" "$pkgdir" rm -f "../$pkg" tar -zcf "../$pkg" "$pkgdir" rm -rf "$pkgdir" debian/source/0000755000000000000000000000000012141630374010467 5ustar debian/source/format0000644000000000000000000000001412141630374011675 0ustar 3.0 (quilt) debian/changelog0000644000000000000000000000065612141630374011050 0ustar looptools (2.8-1) unstable; urgency=low * Upload to sid. -- Lifeng Sun Mon, 06 May 2013 12:26:04 +0800 looptools (2.8-1~exp1) experimental; urgency=low * New upstream release. -- Lifeng Sun Tue, 02 Oct 2012 21:32:07 +0800 looptools (2.7-1) unstable; urgency=low * Initial release (Closes: #636987) -- Lifeng Sun Wed, 06 Jun 2012 22:15:48 +0800 debian/patches/0000755000000000000000000000000012141630374010616 5ustar debian/patches/ldflags.patch0000644000000000000000000000036412141630374013256 0ustar Support hardening flags. --- a/src/makefile +++ b/src/makefile @@ -249,7 +249,7 @@ $(FE): lt.F $(LTINC) $(LIB) - $(XFC) -o $(FE) lt.F $(LIB) + $(XFC) $(LDFLAGS) -o $(FE) lt.F $(LIB) -rm -f lt.o clooptools.h: clooptools.h.in ftypes.h debian/patches/series0000644000000000000000000000001612141630374012030 0ustar ldflags.patch debian/compat0000644000000000000000000000000212141630374010365 0ustar 8 debian/watch0000644000000000000000000000016212141630374010217 0ustar version=3 http://www.feynarts.de/looptools/index.html LoopTools-([\d\.]+).tar.gz debian ./debian/get-orig-source debian/lintian-overrides/0000755000000000000000000000000012141630374012625 5ustar debian/lintian-overrides/fcc0000644000000000000000000000005012141630374013276 0ustar fcc: binary-without-manpage usr/bin/fcc debian/lintian-overrides/looptools0000644000000000000000000000005512141630374014602 0ustar looptools: binary-without-manpage usr/bin/lt debian/control0000644000000000000000000000377512141630374010606 0ustar Source: looptools Section: science Priority: optional Maintainer: Debian Science Maintainers Uploaders: Lifeng Sun DM-Upload-Allowed: yes Build-Depends: debhelper (>= 8.0.0), gfortran Standards-Version: 3.9.3 Homepage: http://www.feynarts.de/looptools/ Vcs-Git: git://git.debian.org/git/debian-science/packages/looptools.git Vcs-Browser: http://git.debian.org/?p=debian-science/packages/looptools.git Package: looptools Architecture: any Depends: ${shlibs:Depends}, ${misc:Depends} Description: Integral Evaluator of One-loop Feynman Diagram LoopTools is a package for evaluation of scalar and tensor one-loop integrals based on the FF package by G.J. van Oldenborgh. It features an easy Fortran, C++, and Mathematica interface to the scalar one-loop functions of FF and in addition provides the 2-, 3-, and 4-point tensor coefficient functions. . This package provides program file, lt, of LoopTools. Package: libooptools-dev Section: libdevel Architecture: any Depends: ${misc:Depends} Description: Development files of LoopTools LoopTools is a package for evaluation of scalar and tensor one-loop integrals based on the FF package by G.J. van Oldenborgh. It features an easy Fortran, C++, and Mathematica interface to the scalar one-loop functions of FF and in addition provides the 2-, 3-, and 4-point tensor coefficient functions. . This package provides development files of LoopTools. Package: fcc Architecture: any Depends: gfortran, ${misc:Depends} Description: Script to compile C/C++ programs and link to Fortran libraries LoopTools is a package for evaluation of scalar and tensor one-loop integrals based on the FF package by G.J. van Oldenborgh. It features an easy Fortran, C++, and Mathematica interface to the scalar one-loop functions of FF and in addition provides the 2-, 3-, and 4-point tensor coefficient functions. . This package provides a script, fcc, to compile C and C++ programs and link them with Fortran libraries. debian/looptools.install0000644000000000000000000000006112141630374012606 0ustar usr/bin/lt usr/share/lintian/overrides/looptools debian/fcc.install0000644000000000000000000000005412141630374011311 0ustar usr/bin/fcc usr/share/lintian/overrides/fcc debian/rules0000755000000000000000000000347412141630374010257 0ustar #!/usr/bin/make -f # Uncomment this to turn on verbose mode. #export DH_VERBOSE=1 # This has to be exported to make some magic below work. export DH_OPTIONS DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH) CPPFLAGS :=$(shell dpkg-buildflags --get CPPFLAGS) CFLAGS :=$(shell dpkg-buildflags --get CFLAGS) CXXFLAGS :=$(shell dpkg-buildflags --get CXXFLAGS) LDFLAGS :=$(shell dpkg-buildflags --get LDFLAGS) FFLAGS := -fstack-protector --param=ssp-buffer-size=4 \ -Werror=format-security ifneq (,$(filter parallel=%,$(DEB_BUILD_OPTIONS))) NUMJOBS := $(patsubst parallel=%,%,$(filter parallel=%,$(DEB_BUILD_OPTIONS))) else NUMJOBS := 1 endif export CPPFLAGS CFLAGS CXXFLAGS LDFLAGS MAKEFLAGS FFLAGS # package name PKGNAME=$(strip $(shell head -n1 debian/changelog | cut -d' ' -f1)) # current Debian package version DEBVER=$(strip $(shell head -n1 debian/changelog | cut -d' ' -f2 | tr -d '()')) # current upstream version (remove any epoch and Debian release number) UPVER=$(shell echo $(DEBVER) | sed -e 's/-[^-]*$$//' -e 's/^[^:]*://') LIBPATH := /usr/lib/$(DEB_HOST_MULTIARCH) ../$(PKGNAME)_$(UPVER).orig.tar.gz: ./debian/get-orig-source --upstream-version $(UPVER) $@ get-orig-source: ../$(PKGNAME)_$(UPVER).orig.tar.gz override_dh_auto_configure: dh_testdir dh_auto_configure -- FC=gfortran \ --prefix=$(CURDIR)/debian/tmp/usr override_dh_auto_build: dh_testdir $(MAKE) -j$(NUMJOBS) override_dh_auto_install: dh_testdir dh_prep mkdir -p debian/tmp/usr dh_auto_install -mv debian/tmp/usr/lib* debian/tmp/usr/lib mkdir -p debian/tmp/usr/lib/$(DEB_HOST_MULTIARCH) mv debian/tmp/usr/lib/*.a debian/tmp/usr/lib/$(DEB_HOST_MULTIARCH) mkdir -p debian/tmp/usr/share/lintian/overrides cp -a debian/lintian-overrides/* debian/tmp/usr/share/lintian/overrides %: dh $@ .PHONY: get-orig-source