[Pkg-awstats-commits] r33 - in awstats/trunk/debian: . cdbs/1/rules

Jonas Smedegaard js at costa.debian.org
Sun Jan 15 20:11:27 UTC 2006


Author: js
Date: 2006-01-15 20:11:26 +0000 (Sun, 15 Jan 2006)
New Revision: 33

Added:
   awstats/trunk/debian/cdbs/1/rules/auto-update.mk
   awstats/trunk/debian/control.in
Modified:
   awstats/trunk/debian/rules
Log:
Add and enable cdbs snippet auto-update.

Added: awstats/trunk/debian/cdbs/1/rules/auto-update.mk
===================================================================
--- awstats/trunk/debian/cdbs/1/rules/auto-update.mk	2006-01-15 20:04:13 UTC (rev 32)
+++ awstats/trunk/debian/cdbs/1/rules/auto-update.mk	2006-01-15 20:11:26 UTC (rev 33)
@@ -0,0 +1,44 @@
+# -*- mode: makefile; coding: utf-8 -*-
+# Copyright © 2005-2006 Jonas Smedegaard <dr at jones.dk>
+# Description: Auto-update debian/control from debian/control.in
+#  When the environment variable DEB_BUILD_OPTIONS contains the magic
+#  string "update" the clean target is extended to auto-update
+#  debian/control from debian/control.in where build-depends can contain
+#  the magic string @cdbs@ expanded to build-dependencies known to cdbs,
+#  and more...
+#
+#  In other words, with this in use don't edit debian/control directly,
+#  but instead edit debian/control.in and invoke the following:
+#    DEB_BUILD_OPTIONS=update fakeroot debian/rules clean
+#
+# 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, 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., 59 Temple Place, Suite 330, Boston, MA
+# 02111-1307 USA.
+
+ifndef _cdbs_bootstrap
+_cdbs_scripts_path ?= /usr/lib/cdbs
+_cdbs_rules_path ?= /usr/share/cdbs/1/rules
+_cdbs_class_path ?= /usr/share/cdbs/1/class
+endif
+
+ifndef _cdbs_rules_auto-update
+_cdbs_rules_auto-update := 1
+
+ifneq (,$(findstring update,$(DEB_BUILD_OPTIONS)))
+DEB_AUTO_UPDATE_DEBIAN_CONTROL := yes
+endif
+
+# Avoid build-dependency on build-essential (to please ftpmasters)
+CDBS_BUILD_DEPENDS :=
+endif

Added: awstats/trunk/debian/control.in
===================================================================
--- awstats/trunk/debian/control.in	2006-01-15 20:04:13 UTC (rev 32)
+++ awstats/trunk/debian/control.in	2006-01-15 20:11:26 UTC (rev 33)
@@ -0,0 +1,23 @@
+Source: awstats
+Section: web
+Priority: optional
+Maintainer: Jonas Smedegaard <dr at jones.dk>
+Uploaders: Charles Fry <debian at frogcircus.org>
+Build-Depends-Indep: @cdbs@
+Standards-Version: 3.6.2
+
+Package: awstats
+Architecture: all
+Depends: ${perl:Depends}, perl (>= 5.8.0-7) | libstorable-perl, perl (>= 5.8.0-7) | libtime-hires-perl
+Recommends: libnet-xwhois-perl
+Suggests: apache | httpd, libnet-dns-perl, libnet-ip-perl, libgeo-ipfree-perl
+Description: powerful and featureful web server log analyzer
+ Advanced Web Statistics (AWStats) is a powerful web server logfile
+ analyzer written in perl that shows you all your web statistics including
+ visits, unique visitors, pages, hits, rush hours, search engines, keywords
+ used to find your site, robots, broken links and more. Gives more detailed
+ information and better graphical charts than webalizer, and is easier to use.
+ Works with several web server log format as a CGI and/or from command line.
+ Supports more than 30 languages.
+ .
+ Homepage: http://awstats.sourceforge.net/

Modified: awstats/trunk/debian/rules
===================================================================
--- awstats/trunk/debian/rules	2006-01-15 20:04:13 UTC (rev 32)
+++ awstats/trunk/debian/rules	2006-01-15 20:11:26 UTC (rev 33)
@@ -2,6 +2,7 @@
 # -*- mode: makefile; coding: utf-8 -*-
 # Copyright © 2003 Jonas Smedegaard <dr at jones.dk>
 
+include debian/cdbs/1/rules/auto-update.mk
 include /usr/share/cdbs/1/rules/debhelper.mk
 include /usr/share/cdbs/1/rules/simple-patchsys.mk
 include debian/cdbs/1/rules/buildinfo.mk




More information about the Pkg-awstats-commits mailing list