debian/0000755000000000000000000000000012222771057007173 5ustar debian/libapache2-mod-rivet.docs0000644000000000000000000000003112222771057013735 0ustar BUGS README TODO CHANGES debian/libapache2-mod-rivet.dirs0000644000000000000000000000003012222771057013745 0ustar usr/lib/apache2/modules debian/libapache2-mod-rivet.install0000644000000000000000000000000012222771057014447 0ustar debian/watch0000644000000000000000000000010512222771057010220 0ustar version=3 http://www.apache.org/dist/tcl/rivet/rivet-(\d.*)\.tar\.gz debian/control0000644000000000000000000000350612222771057010602 0ustar Source: libapache2-mod-rivet Section: httpd Priority: extra Maintainer: Massimo Manghi Build-Depends: tcl-dev, apache2-dev, libtool, debhelper (>= 9~), dh-autoreconf, automake, docbook-xsl, docbook-xml, xsltproc, dpkg-dev (>= 1.16.1~) Standards-Version: 3.9.4 Homepage: http://tcl.apache.org/rivet/ Package: libapache2-mod-rivet Architecture: any Depends: ${shlibs:Depends}, ${misc:Depends}, itcl3, tcllib Suggests: libapache2-mod-rivet-doc Description: Server-side Tcl programming system combining ease of use and power Apache Rivet is a system for creating dynamic web content via the Tcl programming language integrated with Apache Web Server. It is designed to be fast, powerful and extensible, consume few system resources, be easy to learn, and to provide the user with a platform that can also be used for other programming tasks outside the web (GUI's, system administration tasks, text processing, database manipulation, XML, and so on). In order to meet these goals Tcl programming language was chosen to combine with the Apache HTTP Server. Package: libapache2-mod-rivet-doc Section: doc Architecture: all Depends: ${misc:Depends} Description: Documentation for Rivet, a server-side Tcl programming system Apache Rivet is a system for creating dynamic web content via the Tcl programming language integrated with Apache Web Server. It is designed to be fast, powerful and extensible, consume few system resources, be easy to learn, and to provide the user with a platform that can also be used for other programming tasks outside the web (GUI's, system administration tasks, text processing, database manipulation, XML, and so on). In order to meet these goals Tcl programming language was chosen to combine with the Apache HTTP Server. This package contains the HTML configuration and programming manual. debian/rivet.conf0000644000000000000000000000016412222771057011174 0ustar AddType application/x-httpd-rivet .rvt AddType application/x-rivet-tcl .tcl debian/libapache2-mod-rivet.prerm0000644000000000000000000000217012222771057014140 0ustar #!/bin/sh # prerm script for libapache2-mod-rivet # # see: dh_installdeb(1) set -e # summary of how this script can be called: # * `remove' # * `upgrade' # * `failed-upgrade' # * `remove' `in-favour' # * `deconfigure' `in-favour' # `removing' # # for details, see http://www.debian.org/doc/debian-policy/ or # the debian-policy package # we disable the module if some version Apache2 webserver is # installed on the system. case "$1" in remove) if [ -e /usr/share/apache2/apache2-maintscript-helper ] ; then . /usr/share/apache2/apache2-maintscript-helper apache2_invoke dismod foo fi ;; upgrade|deconfigure) ;; failed-upgrade) ;; *) echo "prerm called with unknown argument \`$1'" >&2 exit 1 ;; esac # dh_installdeb will replace this with shell code automatically # generated by other debhelper scripts. #DEBHELPER# exit 0 debian/rules0000755000000000000000000000540312222771057010255 0ustar #!/usr/bin/make -f # Uncomment this to turn on verbose mode. #export DH_VERBOSE=1 TCL_VERSION=8.5 package=libapache2-mod-rivet RIVETLIB_DIR=/usr/lib/tcltk/rivet2.1 TCLSH_PROG=/usr/bin/tclsh DPKG_EXPORT_BUILDFLAGS = 1 include /usr/share/dpkg/buildflags.mk # Don't let the configure script guess our platform. DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE) DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE) ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS))) CFLAGS += -O0 else CFLAGS += -O2 endif clean: dh_testdir dh_testroot rm -f build-stamp configure-stamp rm -f _configs.sed dh_auto_clean dh_clean build: build-arch build-indep build-arch: build-stamp build-indep: build-stamp build-stamp: configure-stamp dh_testdir $(MAKE) ( cd doc; rm -fr html/; $(MAKE) docs ) touch build-stamp configure-stamp: dh_testdir dh_autoreconf chmod +x ./configure CFLAGS="$(CFLAGS)" LDFLAGS="$(LDFLAGS)" \ ./configure --host=$(DEB_HOST_GNU_TYPE) \ --build=$(DEB_BUILD_GNU_TYPE) \ --with-tcl=/usr/lib/ \ --with-apache=/usr \ --with-apxs=/usr/bin/apxs \ --with-tclsh=$(TCLSH_PROG) \ --with-rivet-target-dir=$(RIVETLIB_DIR) \ --enable-version-display touch configure-stamp binary-indep: build libapache2-mod-rivet-doc binary-arch: build libapache2-mod-rivet binary: build binary-arch binary-indep libapache2-mod-rivet: build dh_testdir -a dh_testroot -a dh_clean dh_installdirs -p$@ dh_installchangelogs ChangeLog dh_installdocs -p$@ dh_install -a dh_apache2 dh_installexamples -a -p$@ dh_auto_install -a -p$@ --destdir=$(CURDIR)/debian/$@ # Remove README* files in bogus places. find $(CURDIR)/debian/$@/usr/lib/tcltk -name 'README*' -exec rm -v {} \; find $(CURDIR)/debian/$@/usr/lib/tcltk -name '*.la' -exec rm -v {} \; dh_install -a -p$@ cp -vr rivet/packages $(CURDIR)/debian/$@$(RIVETLIB_DIR) @echo "creating pkgIndex.tcl files for libapache2-mod-rivet" find $(CURDIR)/debian/$@$(RIVETLIB_DIR) -name 'pkgIndex.tcl' -exec rm -v {} \; -( cd $(CURDIR)/debian/$@$(RIVETLIB_DIR); \ echo 'eval pkg_mkIndex -verbose [pwd] [glob init.tcl [file join packages * *.tcl] [file join *[info sharedlibextension]]]' | $(TCLSH_PROG) ; ) dh_installman -p$@ dh_link -p$@ dh_strip -p$@ dh_compress -p$@ dh_fixperms -p$@ dh_makeshlibs -p$@ dh_installdeb -p$@ dh_shlibdeps -p$@ dh_gencontrol -p$@ dh_md5sums -p$@ dh_builddeb -p$@ libapache2-mod-rivet-doc: build dh_testdir dh_testroot dh_installdirs -p$@ dh_installdocs -p$@ dh_compress -p$@ dh_fixperms -p$@ dh_installdeb -p$@ dh_gencontrol -p$@ dh_md5sums -p$@ dh_builddeb -p$@ .PHONY: build clean binary binary-indep binary-arch debian/libapache2-mod-rivet-doc.docs0000644000000000000000000000002312222771057014501 0ustar doc/html/ contrib/ debian/compat0000644000000000000000000000000212222771057010371 0ustar 9 debian/copyright0000644000000000000000000002053112222771057011127 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: Apache Rivet Source: http://www.apache.org/dyn/closer.cgi/tcl/rivet Upstream-Contact: rivet-dev@tcl.apache.org Copyright: 2002-2011 The Rivet Team License: Apache-2.0 Files: m4/ax_prefix_config_h.m4 Copyright: Copyright (c) 2008 Guido U. Draheim Copyright (c) 2008 Marten Svantesson Copyright (c) 2008 Gerald Point License: GPL-2+ Files: win/* Copyright: Copyright (c) 1995-1996 Sun Microsystems, Inc. Copyright (c) 1998-2000 Ajuba Solutions. Copyright (c) 2001 ActiveState Corporation. Copyright (c) 2001-2002 David Gravereaux. Copyright (c) 2003 Pat Thoyts Copyright (c) 2003 by Patrick Thoyts Copyright (C) 2004 The Apache Software Foundation License: license-terms Files: tclconfig/tcl.m4 Copyright: Copyright (c) 1999-2000 Ajuba Solutions. Copyright (c) 2002-2005 ActiveState Corporation. License: license-terms Files: tclconfig/compile Copyright: Copyright (c) 1999, 2000 Free Software Foundation, Inc. written by Tom Tromey . License: GPL-2+ Files: tclconfig/config.guess tclconfig/config.sub Copyright: Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software Foundation, Inc. License: GPL-2+ Files: tclconfig/depcomp Copyright: Copyright 1999, 2000 Free Software Foundation, Inc. Originally written by Alexandre Oliva . License: GPL-2+ Files: tclconfig/install-sh Copyright: Copyright (C) 1994 X Consortium License: 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 X CONSORTIUM BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNEC- TION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. . Except as contained in this notice, the name of the X Consortium shall not be used in advertising or otherwise to promote the sale, use or other deal- ings in this Software without prior written authorization from the X Consor- tium. . FSF changes to this file are in the public domain. Files: tclconfig/libtool.m4 tclconfig/ltmain.sh Copyright: Copyright 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. Originally by Gordon Matzigkeit , 1996 License: GPL-2+ Files: tclconfig/missing Copyright: Copyright (C) 1996, 1997, 1999, 2000, 2002, 2003 Free Software Foundation, Inc. Originally by Fran,cois Pinard , 1996. License: GPL-2+ Files: debian/* Copyright: 2010,2011 Copyright (C) The Apache Rivet Team License: Apache-2.0 License: Apache-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. Copyright (C) 2002-2010 The Apache Software Foundation . On Debian systems, the complete text of the Apache version 2.0 license can be found in "/usr/share/common-licenses/Apache-2.0". 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, see . . As a special exception, the respective Autoconf Macro's copyright owner gives unlimited permission to copy, distribute and modify the configure scripts that are the output of Autoconf when processing the Macro. You need not follow the terms of the GNU General Public License when using or distributing such scripts, even though portions of the text of the Macro appear in them. The GNU General Public License (GPL) does govern all other use of the material that constitutes the Autoconf Macro. . This special exception to the GPL applies to versions of the Autoconf Macro released by the Autoconf Macro Archive. When you make and distribute a modified version of the Autoconf Macro, you may extend this special exception to the GPL to apply to your modified version as well. . 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'. License: license-terms This software is copyrighted by the Regents of the University of California, Sun Microsystems, Inc., Scriptics Corporation, ActiveState Corporation and other parties. The following terms apply to all files associated with the software unless explicitly disclaimed in individual files. . The authors hereby grant permission to use, copy, modify, distribute, and license this software and its documentation for any purpose, provided that existing copyright notices are retained in all copies and that this notice is included verbatim in any distributions. No written agreement, license, or royalty fee is required for any of the authorized uses. Modifications to this software may be copyrighted by their authors and need not follow the licensing terms described here, provided that the new terms are clearly indicated on the first page of each file where they apply. . IN NO EVENT SHALL THE AUTHORS OR DISTRIBUTORS BE LIABLE TO ANY PARTY FOR DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OF THIS SOFTWARE, ITS DOCUMENTATION, OR ANY DERIVATIVES THEREOF, EVEN IF THE AUTHORS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. . THE AUTHORS AND DISTRIBUTORS SPECIFICALLY DISCLAIM ANY WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, AND NON-INFRINGEMENT. THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, AND THE AUTHORS AND DISTRIBUTORS HAVE NO OBLIGATION TO PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. . GOVERNMENT USE: If you are acquiring this software on behalf of the U.S. government, the Government shall have only "Restricted Rights" in the software and related documentation as defined in the Federal Acquisition Regulations (FARs) in Clause 52.227.19 (c) (2). If you are acquiring the software on behalf of the Department of Defense, the software shall be classified as "Commercial Computer Software" and the Government shall have only "Restricted Rights" as defined in Clause 252.227-7013 (c) (1) of DFARs. Notwithstanding the foregoing, the authors grant the U.S. Government and others acting in its behalf permission to use and distribute the software in accordance with the terms specified in this license. debian/libapache2-mod-rivet.postinst0000644000000000000000000000313312222771057014676 0ustar #!/bin/sh # postinst script for libapache2-mod-rivet # # see: dh_installdeb(1) set -e # summary of how this script can be called: # * `configure' # * `abort-upgrade' # * `abort-remove' `in-favour' # # * `abort-remove' # * `abort-deconfigure' `in-favour' # `removing' # # for details, see http://www.debian.org/doc/debian-policy/ or # the debian-policy package APACHE2CONF="/etc/apache2/" case "$1" in configure) if [ -z "$2" ] ; then # enabling the module. This code was largely taken from # http://wiki.debian.org/Apache/PackagingFor24. if [ -e /usr/share/apache2/apache2-maintscript-helper ] ; then . /usr/share/apache2/apache2-maintscript-helper # mod_rivet requires the prefork MPM if [ $(a2query -M) != 'prefork' ] ; then apache2_msg notice "attempting to enable Apache2 prefork mpm" if apache2_switch_mpm prefork ; then apache2_invoke enmod rivet else apache2_msg err "Could not switch to prefork, not enabling mod_rivet" fi else apache2_invoke enmod rivet fi fi fi ;; abort-upgrade|abort-remove|abort-deconfigure) ;; *) echo "postinst called with unknown argument \`$1'" >&2 exit 1 ;; esac # dh_installdeb will replace this with shell code automatically # generated by other debhelper scripts. #DEBHELPER# exit 0 debian/changelog0000644000000000000000000001243212222771057011047 0ustar libapache2-mod-rivet (2.1.3-1) unstable; urgency=low * New upstream code 2.1.3 * Removed package dh-apache2 from Build-Depends * Undone patch removing distclean target from doc/Makefile.am -- Massimo Manghi Wed, 02 Oct 2013 11:44:17 +0200 libapache2-mod-rivet (2.1.2-1) unstable; urgency=low * New upstream code released 2.1.2 * Undoing patch for src/apache-2/mod_rivet.c fixing unsecure call to ap_log_error -- Massimo Manghi Tue, 18 Jun 2013 23:59:26 +0200 libapache2-mod-rivet (2.1.1-3.1) unstable; urgency=low * Non-maintainer mea culpa upload. * Revert the Build-Depends-Indep split - doesn't work this way currently. (Closes: #711189) -- Sven Hoexter Wed, 05 Jun 2013 20:52:56 +0200 libapache2-mod-rivet (2.1.1-3) unstable; urgency=low [ Massimo Manghi ] * Fix "Apache 2.4 moves to Unstable" repackaging to complete sourceful transition to new packaging for Apache 2.4 (Closes: #709471) [ Sven Hoexter] * Build-Depend on debhelper >= 9 for compat level 9. * Split of Build-Depends-Indep for the -doc package. -- Massimo Manghi Thu, 30 May 2013 15:24:41 +0200 libapache2-mod-rivet (2.1.1-2) unstable; urgency=low * Changing build dependency from tcl8.5-dev to tcl-dev as Tcl 8.5 is the current Debian default. This should also fix a problem with Ubuntu which already is using a multiarch configuration script in /usr/lib/tclConfig.sh -- Massimo Manghi Wed, 24 Apr 2013 23:36:55 +0200 libapache2-mod-rivet (2.1.1-1) unstable; urgency=low * New upstream release 2.1.1 * Unapplied patches now incorporated in the original source code * Standards revised to conform new version 3.9.4 * Package section changed to 'httpd' and priority changed to 'optional' as recommended by Debian's latest changes to policy -- Massimo Manghi Thu, 28 Feb 2013 22:18:57 +0100 libapache2-mod-rivet (2.1.0-1) unstable; urgency=low * New upstream release 2.1.0 * Applied patches to fix minor bugs in version 2.1.0, improve command '::rivet::headers' error reporting. * Manual generation target patched and output generated using utf-8 encoding. * Adding docbook-xml to build depends line in control. * Add command removing .la files generated by the build process for librivet and librivetparser -- Massimo Manghi Mon, 21 Jan 2013 23:59:58 +0100 libapache2-mod-rivet (2.0.5-1) unstable; urgency=low * New upstream release 2.0.5 * postinst and prerm scripts following specifications dictated by sourceful transition to Apache 2.4 undone and old Apache 2.2 style scripts reinstated * copyright file expanded * Drop the CHANGES and TODO file from the package, the content is currently meaningless and outdated. -- Massimo Manghi Fri, 29 Jun 2012 11:24:42 +0200 libapache2-mod-rivet (2.0.4-3) experimental; urgency=low * Fix "sourceful transition towards Apache 2.4" The binary package should not assume apache2 is installed, hence postinst might exit without enabling the module. (Closes: #666828) -- Massimo Manghi Tue, 24 Apr 2012 13:39:28 +0200 libapache2-mod-rivet (2.0.4-2) experimental; urgency=low * Fix "sourceful transition towards Apache 2.4" by adding recommended macro and procedure calls (Closes: #666828) * Removed build depends on docbook toolchain. Manual is not created during package build, the html output shipped with the upstream tarball is copied into libapache2-mod-rivet-doc * Introduced compilation hardening flags to debian/rules and an unused variable has been removed. Created dquilt patch to be applied to src/apache-2/mod_rivet.c (mod_rivet-hardening.patch) * added libtool to BuildDepends since automake doesn't depend on it, still we are using it to produce the mod_rivet.so shared library. * unused definition of DH_OPTIONS removed from 'rules' * compilation flags commented (and therefore unused) removed from debian/rules * in 'rules' build-stamp target removed from list of phony targets -- Massimo Manghi Tue, 10 Apr 2012 17:08:53 +0200 libapache2-mod-rivet (2.0.4-1) unstable; urgency=low * New upstream release 2.0.4 * Remove debian/patches/makefile_am.diff - included upstream. * Package documentation tag set to 'Web Programming' in debian/libapache2-mod-rivet-doc.doc-base -- Massimo Manghi Wed, 21 Sep 2011 22:20:30 +0200 libapache2-mod-rivet (2.0.3-2) unstable; urgency=low * Added installation targets for removing unneeded .la libtool files (Closes: #621613) * Removed redundant lines of code from debian/libapache2-mod-rivet.postist * Debian script examined in order to check compliance with package standard 3.9.2 * Added 'automake' to list of Build-Depends -- Massimo Manghi Thu, 14 Apr 2011 22:40:27 +0200 libapache2-mod-rivet (2.0.3-1) unstable; urgency=low * New release 2.0.3 -- Massimo Manghi Sat, 19 Mar 2011 02:19:17 +0100 libapache2-mod-rivet (2.0.2-1) unstable; urgency=low * Initial package of Rivet for Debian * Closes: #599446, #599447 -- Massimo Manghi Mon, 11 Oct 2010 15:22:19 +0200 debian/source/0000755000000000000000000000000012222771057010473 5ustar debian/source/options0000644000000000000000000000010212222771057012102 0ustar extend-diff-ignore = "(^|/)(config\.sub|config\.guess|Makefile)$" debian/source/format0000644000000000000000000000001412222771057011701 0ustar 3.0 (quilt) debian/libapache2-mod-rivet.apache20000644000000000000000000000006212222771057014314 0ustar mod debian/rivet.load mod debian/rivet.conf debian/rivet.load0000644000000000000000000000007712222771057011171 0ustar LoadModule rivet_module /usr/lib/apache2/modules/mod_rivet.so debian/libapache2-mod-rivet-doc.doc-base0000644000000000000000000000054712222771057015241 0ustar Document: libapache2-mod-rivet Title: The Apache Rivet Programming Manual Author: The Rivet Team Abstract: This manual explains how to script web pages using Rivet and the Tcl programming language Section: Web Development Format: HTML Index: /usr/share/doc/libapache2-mod-rivet-doc/html/index.html Files: /usr/share/doc/libapache2-mod-rivet-doc/html/*.html