debian/0000775000000000000000000000000012301065160007162 5ustar debian/xhprof.ini0000664000000000000000000000007512101214073011170 0ustar extension = xhprof.so #xhprof.output_dir = "/var/tmp/xhprof" debian/copyright0000664000000000000000000000661612227444276011146 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: xhprof Source: https://github.com/facebook/xhprof Files: * Copyright: Copyright (C) 2009- Kannan Muthukkaruppan , Venkat Venkataramani, Changhao Jiang, Haiping Zhao License: Apache License 2.0 Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at . http://www.apache.org/licenses/LICENSE-2.0 . Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. . On Debian systems, the full text of the Apache License 2.0 can be found in the file `/usr/share/common-licenses/Apache-2.0'. Files: xhprof_html/jquery/jquery-1.2.6.js Copyright: Copyright (C) 2008 John Resig License: Expat or GPL-2 Files: xhprof_html/jquery/jquery.autocomplete.css xhprof_html/jquery/jquery.autocomplete.js Copyright: Copyright (C) 2007 Dylan Verheul, Dan G. Switzer, Anjesh Tuladhar, Jörn Zaefferer License: Expat or GPL-2 Files: xhprof_html/jquery/jquery.tooltip.css xhprof_html/jquery/jquery.tooltip.js Copyright: Copyright (C) 2006-2008 Jörn Zaefferer License: Expat or GPL-2 License: Expat 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. Files: debian/* Copyright: Copyright (C) 2013- Laszlo Boszormenyi (GCS) License: GPL-2 License: GPL-2 This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. . This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. . You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. . On Debian systems, the full text of the GNU General Public License version 2 can be found in the file `/usr/share/common-licenses/GPL-2'. debian/rules0000775000000000000000000000337612227544627010274 0ustar #!/usr/bin/make -f # -*- makefile -*- #Uncomment this to turn on verbose mode. #export DH_VERBOSE=1 DESTDIR=$(CURDIR)/debian/php5-xhprof export DEB_BUILD_MAINT_OPTIONS = hardening=+all DPKG_EXPORT_BUILDFLAGS = 1 include /usr/share/dpkg/buildflags.mk DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE) # Enable IEEE-conformant floating point math on alphas (not the default) ifeq (alpha-linux-gnu,$(DEB_HOST_GNU_TYPE)) CFLAGS += -mieee endif ifeq ($(DEB_HOST_GNU_TYPE), $(findstring $(DEB_HOST_GNU_TYPE), ia64-linux-gnu powerpc64-linux-gnu aarch64-linux-gnu)) CFLAGS += -g else CFLAGS += -gstabs endif configure: configure-stamp configure-stamp: cd $(CURDIR)/extension/ && phpize5 && \ ./configure --prefix=/usr --with-php-config=/usr/bin/php-config5 touch $@ build-arch: build-indep: build: build-stamp build-stamp: configure cd $(CURDIR)/extension/ && $(MAKE) DESTDIR=$(DESTDIR) touch $@ clean: dh_testdir dh_testroot cd $(CURDIR)/extension/ && phpize --clean dh_clean install: check dh_testdir dh_testroot dh_prep cd $(CURDIR)/extension/ && $(MAKE) install INSTALL_ROOT=$(DESTDIR) install -D -m 644 debian/xhprof.ini \ $(DESTDIR)/etc/php5/mods-available/xhprof.ini check: build # TODO: check why all tests fail # cd $(CURDIR)/extension/ && $(MAKE) test binary-indep: install binary-arch: install dh_testdir dh_testroot dh_installdirs -a dh_installchangelogs -a dh_installdocs -a dh_installexamples -a dh_install -a dh_link -a dh_strip -a dh_compress -a dh_fixperms -a dh_installdeb -a dh_shlibdeps -a echo "php:Depends=phpapi-`php-config5 --phpapi`" >> debian/php5-xhprof.substvars dh_gencontrol -a dh_md5sums -a dh_builddeb -a binary: binary-indep binary-arch .PHONY: clean binary-indep binary-arch binary install debian/source/0000775000000000000000000000000012101030302010446 5ustar debian/source/format0000664000000000000000000000001412101030302011654 0ustar 3.0 (quilt) debian/changelog0000664000000000000000000000126612301065160011041 0ustar xhprof (0.9.4-1build1) trusty; urgency=medium * No change rebuild for phpapi-20121212+lfs (LFS ABI break on 32-bit arches). -- Robie Basak Wed, 19 Feb 2014 08:25:20 +0000 xhprof (0.9.4-1) unstable; urgency=high * New upstream release, fixing CVE-2013-4433 (closes: #726284). [ Colin Watson ] * Build with -g on aarch64-linux-gnu, not (pre-DWARF) -gstabs (closes: #726496). -- Laszlo Boszormenyi (GCS) Wed, 16 Oct 2013 08:03:30 +0000 xhprof (0.9.2+git20130123-1) unstable; urgency=low * Initial release (closes: #698972). -- Laszlo Boszormenyi (GCS) Sat, 26 Jan 2013 20:50:37 +0100 debian/control0000664000000000000000000000157112227444344010605 0ustar Source: xhprof Section: devel Priority: optional Maintainer: Laszlo Boszormenyi (GCS) Build-Depends: debhelper (>= 8), dpkg-dev (>= 1.16.1~), php5-dev (>= 5.2.0) Standards-Version: 3.9.4 Homepage: http://pecl.php.net/package/xhprof Package: php5-xhprof Architecture: any Depends: ${misc:Depends}, ${shlibs:Depends}, ${php:Depends} Description: Hierarchical Profiler for PHP5 XHProf is a function-level hierarchical profiler for PHP and has a simple HTML based navigational interface. The raw data collection component is implemented in C (as a PHP extension). The reporting/UI layer is all in PHP. It is capable of reporting function-level inclusive and exclusive wall times, memory usage, CPU times and number of calls for each function. Additionally, it supports ability to compare two runs (hierarchical DIFF reports), or aggregate results from multiple runs. debian/compat0000664000000000000000000000000212101030337010354 0ustar 8 debian/php5-xhprof.examples0000664000000000000000000000012612101053061013074 0ustar examples/sample.php xhprof_lib/utils/xhprof_lib.php xhprof_lib/utils/xhprof_runs.php