debian/0000755000000000000000000000000012176726334007201 5ustar debian/compat0000644000000000000000000000000212176720033010365 0ustar 9 debian/copyright0000644000000000000000000000236512176721566011144 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: phpwebcounter Source: http://phpwebcounter.sf.net Files: * Copyright: 2006-2007 Andre Bertelli Araujo 2006-2007 Joao Eriberto Mota Filho 2006-2007 Marcos Patricio dos Santos . License: GPL-2.0+ Files: debian/* Copyright: 2007-2013 Joao Eriberto Mota Filho License: GPL-2.0+ License: GPL-2.0+ 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/README.Debian0000644000000000000000000000164212176722537011246 0ustar phpwebcounter for Debian ------------------------ 1. Apache 2 ----------- In Debian, the web applications are put in /usr/share directory. Please, see the /usr/share/doc/phpwebcounter/examples/phpwebcounter.apache2 to understand how to configure PHP Web Counter with Apache Web Server. After install, you must restart the Apache. To test, you can use it: http:///phpwebcounter/phpwebcounter.php Or use the html code included in the examples directory. Other alternative is point to file in /usr/share/phpwebcounter. The PHP5 configuration file prevents, by default, remote requests using "require" or "include" methods. Then you can use it: 2. Extra numbers ---------------- To have new graphical numbers, install the phpwebcounter-extra package. -- Joao Eriberto Mota Filho Sun, 11 Nov 2007 15:03:30 -0200 debian/docs0000644000000000000000000000001412176716263010047 0ustar README TODO debian/patches/0000755000000000000000000000000012176725157010632 5ustar debian/patches/series0000644000000000000000000000001712176723402012034 0ustar Makefile.patch debian/patches/Makefile.patch0000644000000000000000000000207712176725157013376 0ustar Description: Makes Makefile compliant with Debian. Author: Joao Eriberto Mota Filho Last-Update: 20130702 --- a/Makefile +++ b/Makefile @@ -4,11 +4,11 @@ # # Possible targets: install and uninstall -WEB_STUFF_PATH = /var/www +WEB_STUFF_PATH = $(DESTDIR)/usr/share PROGRAM_PATH = $(WEB_STUFF_PATH)/phpwebcounter IMAGES_PATH = $(PROGRAM_PATH)/images -CONFIG_PATH = /etc/phpwebcounter -HITS_PATH = /var/lib/phpwebcounter +CONFIG_PATH = $(DESTDIR)/etc/phpwebcounter +HITS_PATH = $(DESTDIR)/var/lib/phpwebcounter HTTP_USER = www-data HTTP_GROUP = www-data @@ -27,7 +27,7 @@ @echo Installing config file...; cp phpwebcounter.config.php $(CONFIG_PATH) @if [ ! -d $(IMAGES_PATH) ]; then echo Creating $(IMAGES_PATH)...; mkdir -p $(IMAGES_PATH); fi @echo Copying images...; cp -a images/* $(IMAGES_PATH) - @if [ ! -d $(HITS_PATH) ]; then echo Creating $(HITS_PATH)...; mkdir $(HITS_PATH); echo; fi + @if [ ! -d $(HITS_PATH) ]; then echo Creating $(HITS_PATH)...; mkdir -p $(HITS_PATH); echo; fi @chown $(HTTP_USER).$(HTTP_GROUP) $(HITS_PATH) # # -------------------------- debian/source/0000755000000000000000000000000012176724666010507 5ustar debian/source/format0000644000000000000000000000001412176724674011714 0ustar 3.0 (quilt) debian/control0000644000000000000000000000143412176721142010576 0ustar Source: phpwebcounter Section: web Priority: optional Maintainer: Joao Eriberto Mota Filho Build-Depends: debhelper (>= 9) Standards-Version: 3.9.4 Vcs-Browser: http://anonscm.debian.org/git/collab-maint/phpwebcounter.git Vcs-Git: git://anonscm.debian.org/collab-maint/phpwebcounter.git Homepage: http://phpwebcounter.sf.net Package: phpwebcounter Architecture: all Depends: ${misc:Depends}, php5 Recommends: phpwebcounter-extra Description: simple and light web hit counter PHP script to show the number of hits in web pages using ASCII text or PNG images. You can use your custom PNG images. PHP Web Counter is a very easy-to-configure application. . It isn't a CGI program and doesn't require special things to work. . Demo site: http://phpwebcounter.sf.net debian/changelog0000644000000000000000000000222512176726172011054 0ustar phpwebcounter (1.0-2) unstable; urgency=low * Migrations: - debian format from 1.0 to 3.0. - debhelper level from 5 to 9. - patch system from dpatch to quilt. - VCS: svn to git. * debian/control: - added ${misc:Depends} to Depends field. - fixed a little mistake in long description. - updated Standards-Version from 3.8.0 to 3.9.4. * debian/copyright: - updated format to 1.0. - updated packaging copyright years. * debian/dirs: removed because it is useless now. * debian/examples: added to install examples files. * debian/gbp.conf: added to allow git-buildpackage use. * debian/README.Debian: fixed a little mistake. * debian/rules: updated to new (reduced) format. -- Joao Eriberto Mota Filho Fri, 02 Aug 2013 08:58:44 -0300 phpwebcounter (1.0-1) unstable; urgency=low * New upstream release (Closes: #449212) -- Joao Eriberto Mota Filho Sun, 11 Nov 2007 14:47:22 -0200 phpwebcounter (0.2-1) UNRELEASED; urgency=low * Initial release -- Joao Eriberto Mota Filho Sun, 04 Nov 2007 10:18:30 -0200 debian/watch0000644000000000000000000000010712176716263010230 0ustar version=3 http://sf.net/phpwebcounter/phpwebcounter-([0-9.]*)\.tar\.gz debian/examples0000644000000000000000000000007112176722724010737 0ustar debian/phpwebcounter.apache2 test/phpwebcounter_test.php debian/phpwebcounter.apache20000644000000000000000000000050212176716263013310 0ustar # This is an example how to associate PHP Web Counter shared folder to Apache2. # You can put this file in /etc/apache2/conf.d. The file name can be # phpwebcounter or anything else. Alias /phpwebcounter /usr/share/phpwebcounter Order allow,deny Allow from all debian/rules0000755000000000000000000000023712176726334010263 0ustar #!/usr/bin/make -f # export DH_VERBOSE=1 %: dh $@ --parallel override_dh_fixperms: # keep owner and group as www-data dh_fixperms -Xvar/lib/phpwebcounter debian/gbp.conf0000644000000000000000000000006612176724276010625 0ustar [DEFAULT] debian-branch = debian pristine-tar = True