Imported Debian patch 0.63-1
Willi Mann
11 years ago
906 | 906 | CXXFLAGS="$ac_save_CXXFLAGS" |
907 | 907 | elif test $ac_cv_prog_cxx_g = yes; then |
908 | 908 | if test "$GXX" = yes; then |
909 | CXXFLAGS="-g -O2" | |
909 | CXXFLAGS="-O2" | |
910 | 910 | else |
911 | 911 | CXXFLAGS="-g" |
912 | 912 | fi |
0 | squidview for Debian | |
1 | -------------------- | |
2 | ||
3 | <possible notes regarding this package - if none, delete this file> | |
4 | ||
5 | -- Willi Mann <willi@wm1.at>, Mon, 16 Feb 2004 17:36:34 +0100 |
0 | squidview (0.63-1) unstable; urgency=low | |
1 | ||
2 | * Initial Release. | |
3 | ||
4 | -- Willi Mann <willi@wm1.at> Mon, 16 Feb 2004 17:36:34 +0100 | |
5 |
0 | # | |
1 | # If you want to use this conffile, remove all comments and put files that | |
2 | # you want dpkg to process here using their absolute pathnames. | |
3 | # See the policy manual | |
4 | # | |
5 | # for example: | |
6 | # /etc/squidview/squidview.conf |
0 | Source: squidview | |
1 | Section: unknown | |
2 | Priority: optional | |
3 | Maintainer: Willi Mann <willi@wm1.at> | |
4 | Build-Depends: debhelper (>> 3.0.0) | |
5 | Standards-Version: 3.5.2 | |
6 | ||
7 | Package: squidview | |
8 | Architecture: any | |
9 | Depends: ${shlibs:Depends} | |
10 | Description: <insert up to 60 chars description> | |
11 | <insert long description, indented with spaces> |
0 | This package was debianized by Willi Mann <willi@wm1.at> on | |
1 | Mon, 16 Feb 2004 17:36:34 +0100. | |
2 | ||
3 | It was downloaded from <fill in ftp site> | |
4 | ||
5 | Upstream Author(s): <put author(s) name and email here> | |
6 | ||
7 | Copyright: | |
8 | ||
9 | This package is free software; you can redistribute it and/or modify | |
10 | it under the terms of the GNU General Public License as published by | |
11 | the Free Software Foundation; version 2 dated June, 1991. | |
12 | ||
13 | This package is distributed in the hope that it will be useful, | |
14 | but WITHOUT ANY WARRANTY; without even the implied warranty of | |
15 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
16 | GNU General Public License for more details. | |
17 | ||
18 | You should have received a copy of the GNU General Public License | |
19 | along with this package; if not, write to the Free Software | |
20 | Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA | |
21 | 02111-1307, USA. | |
22 | ||
23 | On Debian GNU/Linux systems, the complete text of the GNU General | |
24 | Public License can be found in `/usr/share/common-licenses/GPL'. | |
25 |
0 | #! /bin/sh -e | |
1 | # /usr/lib/emacsen-common/packages/install/squidview | |
2 | ||
3 | # Written by Jim Van Zandt <jrv@vanzandt.mv.com>, borrowing heavily | |
4 | # from the install scripts for gettext by Santiago Vila | |
5 | # <sanvila@ctv.es> and octave by Dirk Eddelbuettel <edd@debian.org>. | |
6 | ||
7 | FLAVOR=$1 | |
8 | PACKAGE=squidview | |
9 | ||
10 | if [ ${FLAVOR} = emacs ]; then exit 0; fi | |
11 | ||
12 | echo install/${PACKAGE}: Handling install for emacsen flavor ${FLAVOR} | |
13 | ||
14 | #FLAVORTEST=`echo $FLAVOR | cut -c-6` | |
15 | #if [ ${FLAVORTEST} = xemacs ] ; then | |
16 | # SITEFLAG="-no-site-file" | |
17 | #else | |
18 | # SITEFLAG="--no-site-file" | |
19 | #fi | |
20 | FLAGS="${SITEFLAG} -q -batch -l path.el -f batch-byte-compile" | |
21 | ||
22 | ELDIR=/usr/share/emacs/site-lisp/${PACKAGE} | |
23 | ELCDIR=/usr/share/${FLAVOR}/site-lisp/${PACKAGE} | |
24 | ||
25 | # Install-info-altdir does not actually exist. | |
26 | # Maybe somebody will write it. | |
27 | if test -x /usr/sbin/install-info-altdir; then | |
28 | echo install/${PACKAGE}: install Info links for ${FLAVOR} | |
29 | install-info-altdir --quiet --section "" "" --dirname=${FLAVOR} /usr/info/${PACKAGE}.info.gz | |
30 | fi | |
31 | ||
32 | install -m 755 -d ${ELCDIR} | |
33 | cd ${ELDIR} | |
34 | FILES=`echo *.el` | |
35 | cp ${FILES} ${ELCDIR} | |
36 | cd ${ELCDIR} | |
37 | ||
38 | cat << EOF > path.el | |
39 | (setq load-path (cons "." load-path) byte-compile-warnings nil) | |
40 | EOF | |
41 | ${FLAVOR} ${FLAGS} ${FILES} | |
42 | rm -f *.el path.el | |
43 | ||
44 | exit 0 |
0 | #!/bin/sh -e | |
1 | # /usr/lib/emacsen-common/packages/remove/squidview | |
2 | ||
3 | FLAVOR=$1 | |
4 | PACKAGE=squidview | |
5 | ||
6 | if [ ${FLAVOR} != emacs ]; then | |
7 | if test -x /usr/sbin/install-info-altdir; then | |
8 | echo remove/${PACKAGE}: removing Info links for ${FLAVOR} | |
9 | install-info-altdir --quiet --remove --dirname=${FLAVOR} /usr/info/squidview.info.gz | |
10 | fi | |
11 | ||
12 | echo remove/${PACKAGE}: purging byte-compiled files for ${FLAVOR} | |
13 | rm -rf /usr/share/${FLAVOR}/site-lisp/${PACKAGE} | |
14 | fi |
0 | ;; -*-emacs-lisp-*- | |
1 | ;; | |
2 | ;; Emacs startup file for the Debian GNU/Linux squidview package | |
3 | ;; | |
4 | ;; Originally contributed by Nils Naumann <naumann@unileoben.ac.at> | |
5 | ;; Modified by Dirk Eddelbuettel <edd@debian.org> | |
6 | ;; Adapted for dh-make by Jim Van Zandt <jrv@vanzandt.mv.com> | |
7 | ||
8 | ;; The squidview package follows the Debian/GNU Linux 'emacsen' policy and | |
9 | ;; byte-compiles its elisp files for each 'emacs flavor' (emacs19, | |
10 | ;; xemacs19, emacs20, xemacs20...). The compiled code is then | |
11 | ;; installed in a subdirectory of the respective site-lisp directory. | |
12 | ;; We have to add this to the load-path: | |
13 | (setq load-path (cons (concat "/usr/share/" | |
14 | (symbol-name flavor) | |
15 | "/site-lisp/squidview") load-path)) | |
16 | ||
17 |
0 | Document: squidview | |
1 | Title: Debian squidview Manual | |
2 | Author: <insert document author here> | |
3 | Abstract: This manual describes what squidview is | |
4 | and how it can be used to | |
5 | manage online manuals on Debian systems. | |
6 | Section: unknown | |
7 | ||
8 | Format: debiandoc-sgml | |
9 | Files: /usr/share/doc/squidview/squidview.sgml.gz | |
10 | ||
11 | Format: postscript | |
12 | Files: /usr/share/doc/squidview/squidview.ps.gz | |
13 | ||
14 | Format: text | |
15 | Files: /usr/share/doc/squidview/squidview.text.gz | |
16 | ||
17 | Format: HTML | |
18 | Index: /usr/share/doc/squidview/html/index.html | |
19 | Files: /usr/share/doc/squidview/html/*.html | |
20 | ||
21 |
0 | #! /bin/sh | |
1 | # | |
2 | # skeleton example file to build /etc/init.d/ scripts. | |
3 | # This file should be used to construct scripts for /etc/init.d. | |
4 | # | |
5 | # Written by Miquel van Smoorenburg <miquels@cistron.nl>. | |
6 | # Modified for Debian GNU/Linux | |
7 | # by Ian Murdock <imurdock@gnu.ai.mit.edu>. | |
8 | # | |
9 | # Version: @(#)skeleton 1.8 03-Mar-1998 miquels@cistron.nl | |
10 | # | |
11 | # This file was automatically customized by dh-make on Mon, 16 Feb 2004 17:36:34 +0100 | |
12 | ||
13 | PATH=/sbin:/bin:/usr/sbin:/usr/bin | |
14 | DAEMON=/usr/sbin/squidview | |
15 | NAME=squidview | |
16 | DESC=squidview | |
17 | ||
18 | test -f $DAEMON || exit 0 | |
19 | ||
20 | set -e | |
21 | ||
22 | case "$1" in | |
23 | start) | |
24 | echo -n "Starting $DESC: " | |
25 | start-stop-daemon --start --quiet --pidfile /var/run/$NAME.pid \ | |
26 | --exec $DAEMON | |
27 | echo "$NAME." | |
28 | ;; | |
29 | stop) | |
30 | echo -n "Stopping $DESC: " | |
31 | start-stop-daemon --oknodo --stop --quiet --pidfile /var/run/$NAME.pid \ | |
32 | --exec $DAEMON | |
33 | echo "$NAME." | |
34 | ;; | |
35 | #reload) | |
36 | # | |
37 | # If the daemon can reload its config files on the fly | |
38 | # for example by sending it SIGHUP, do it here. | |
39 | # | |
40 | # If the daemon responds to changes in its config file | |
41 | # directly anyway, make this a do-nothing entry. | |
42 | # | |
43 | # echo "Reloading $DESC configuration files." | |
44 | # start-stop-daemon --stop --signal 1 --quiet --pidfile \ | |
45 | # /var/run/$NAME.pid --exec $DAEMON | |
46 | #;; | |
47 | restart|force-reload) | |
48 | # | |
49 | # If the "reload" option is implemented, move the "force-reload" | |
50 | # option to the "reload" entry above. If not, "force-reload" is | |
51 | # just the same as "restart". | |
52 | # | |
53 | echo -n "Restarting $DESC: " | |
54 | start-stop-daemon --stop --quiet --pidfile \ | |
55 | /var/run/$NAME.pid --exec $DAEMON | |
56 | sleep 1 | |
57 | start-stop-daemon --start --quiet --pidfile \ | |
58 | /var/run/$NAME.pid --exec $DAEMON | |
59 | echo "$NAME." | |
60 | ;; | |
61 | *) | |
62 | N=/etc/init.d/$NAME | |
63 | # echo "Usage: $N {start|stop|restart|reload|force-reload}" >&2 | |
64 | echo "Usage: $N {start|stop|restart|force-reload}" >&2 | |
65 | exit 1 | |
66 | ;; | |
67 | esac | |
68 | ||
69 | exit 0 |
0 | .\" Hey, EMACS: -*- nroff -*- | |
1 | .\" First parameter, NAME, should be all caps | |
2 | .\" Second parameter, SECTION, should be 1-8, maybe w/ subsection | |
3 | .\" other parameters are allowed: see man(7), man(1) | |
4 | .TH SQUIDVIEW SECTION "Feber 16, 2004" | |
5 | .\" Please adjust this date whenever revising the manpage. | |
6 | .\" | |
7 | .\" Some roff macros, for reference: | |
8 | .\" .nh disable hyphenation | |
9 | .\" .hy enable hyphenation | |
10 | .\" .ad l left justify | |
11 | .\" .ad b justify to both left and right margins | |
12 | .\" .nf disable filling | |
13 | .\" .fi enable filling | |
14 | .\" .br insert line break | |
15 | .\" .sp <n> insert n+1 empty lines | |
16 | .\" for manpage-specific macros, see man(7) | |
17 | .SH NAME | |
18 | squidview \- program to do something | |
19 | .SH SYNOPSIS | |
20 | .B squidview | |
21 | .RI [ options ] " files" ... | |
22 | .br | |
23 | .B bar | |
24 | .RI [ options ] " files" ... | |
25 | .SH DESCRIPTION | |
26 | This manual page documents briefly the | |
27 | .B squidview | |
28 | and | |
29 | .B bar | |
30 | commands. | |
31 | This manual page was written for the Debian distribution | |
32 | because the original program does not have a manual page. | |
33 | Instead, it has documentation in the GNU Info format; see below. | |
34 | .PP | |
35 | .\" TeX users may be more comfortable with the \fB<whatever>\fP and | |
36 | .\" \fI<whatever>\fP escape sequences to invode bold face and italics, | |
37 | .\" respectively. | |
38 | \fBsquidview\fP is a program that... | |
39 | .SH OPTIONS | |
40 | These programs follow the usual GNU command line syntax, with long | |
41 | options starting with two dashes (`-'). | |
42 | A summary of options is included below. | |
43 | For a complete description, see the Info files. | |
44 | .TP | |
45 | .B \-h, \-\-help | |
46 | Show summary of options. | |
47 | .TP | |
48 | .B \-v, \-\-version | |
49 | Show version of program. | |
50 | .SH SEE ALSO | |
51 | .BR bar (1), | |
52 | .BR baz (1). | |
53 | .br | |
54 | The programs are documented fully by | |
55 | .IR "The Rise and Fall of a Fooish Bar" , | |
56 | available via the Info system. | |
57 | .SH AUTHOR | |
58 | This manual page was written by Willi Mann <willi@wm1.at>, | |
59 | for the Debian GNU/Linux system (but may be used by others). |
0 | <!doctype refentry PUBLIC "-//OASIS//DTD DocBook V4.1//EN" [ | |
1 | ||
2 | <!-- Process this file with docbook-to-man to generate an nroff manual | |
3 | page: `docbook-to-man manpage.sgml > manpage.1'. You may view | |
4 | the manual page with: `docbook-to-man manpage.sgml | nroff -man | | |
5 | less'. A typical entry in a Makefile or Makefile.am is: | |
6 | ||
7 | manpage.1: manpage.sgml | |
8 | docbook-to-man $< > $@ | |
9 | ||
10 | ||
11 | The docbook-to-man binary is found in the docbook-to-man package. | |
12 | Please remember that if you create the nroff version in one of the | |
13 | debian/rules file targets (such as build), you will need to include | |
14 | docbook-to-man in your Build-Depends control field. | |
15 | ||
16 | --> | |
17 | ||
18 | <!-- Fill in your name for FIRSTNAME and SURNAME. --> | |
19 | <!ENTITY dhfirstname "<firstname>FIRSTNAME</firstname>"> | |
20 | <!ENTITY dhsurname "<surname>SURNAME</surname>"> | |
21 | <!-- Please adjust the date whenever revising the manpage. --> | |
22 | <!ENTITY dhdate "<date>Feber 16, 2004</date>"> | |
23 | <!-- SECTION should be 1-8, maybe w/ subsection other parameters are | |
24 | allowed: see man(7), man(1). --> | |
25 | <!ENTITY dhsection "<manvolnum>SECTION</manvolnum>"> | |
26 | <!ENTITY dhemail "<email>willi@wm1.at</email>"> | |
27 | <!ENTITY dhusername "Willi Mann"> | |
28 | <!ENTITY dhucpackage "<refentrytitle>SQUIDVIEW</refentrytitle>"> | |
29 | <!ENTITY dhpackage "squidview"> | |
30 | ||
31 | <!ENTITY debian "<productname>Debian</productname>"> | |
32 | <!ENTITY gnu "<acronym>GNU</acronym>"> | |
33 | ]> | |
34 | ||
35 | <refentry> | |
36 | <refentryinfo> | |
37 | <address> | |
38 | &dhemail; | |
39 | </address> | |
40 | <author> | |
41 | &dhfirstname; | |
42 | &dhsurname; | |
43 | </author> | |
44 | <copyright> | |
45 | <year>2001</year> | |
46 | <holder>&dhusername;</holder> | |
47 | </copyright> | |
48 | &dhdate; | |
49 | </refentryinfo> | |
50 | <refmeta> | |
51 | &dhucpackage; | |
52 | ||
53 | &dhsection; | |
54 | </refmeta> | |
55 | <refnamediv> | |
56 | <refname>&dhpackage;</refname> | |
57 | ||
58 | <refpurpose>program to do something</refpurpose> | |
59 | </refnamediv> | |
60 | <refsynopsisdiv> | |
61 | <cmdsynopsis> | |
62 | <command>&dhpackage;</command> | |
63 | ||
64 | <arg><option>-e <replaceable>this</replaceable></option></arg> | |
65 | ||
66 | <arg><option>--example <replaceable>that</replaceable></option></arg> | |
67 | </cmdsynopsis> | |
68 | </refsynopsisdiv> | |
69 | <refsect1> | |
70 | <title>DESCRIPTION</title> | |
71 | ||
72 | <para>This manual page documents briefly the | |
73 | <command>&dhpackage;</command> and <command>bar</command> | |
74 | commands.</para> | |
75 | ||
76 | <para>This manual page was written for the &debian; distribution | |
77 | because the original program does not have a manual page. | |
78 | Instead, it has documentation in the &gnu; | |
79 | <application>Info</application> format; see below.</para> | |
80 | ||
81 | <para><command>&dhpackage;</command> is a program that...</para> | |
82 | ||
83 | </refsect1> | |
84 | <refsect1> | |
85 | <title>OPTIONS</title> | |
86 | ||
87 | <para>These programs follow the usual GNU command line syntax, | |
88 | with long options starting with two dashes (`-'). A summary of | |
89 | options is included below. For a complete description, see the | |
90 | <application>Info</application> files.</para> | |
91 | ||
92 | <variablelist> | |
93 | <varlistentry> | |
94 | <term><option>-h</option> | |
95 | <option>--help</option> | |
96 | </term> | |
97 | <listitem> | |
98 | <para>Show summary of options.</para> | |
99 | </listitem> | |
100 | </varlistentry> | |
101 | <varlistentry> | |
102 | <term><option>-v</option> | |
103 | <option>--version</option> | |
104 | </term> | |
105 | <listitem> | |
106 | <para>Show version of program.</para> | |
107 | </listitem> | |
108 | </varlistentry> | |
109 | </variablelist> | |
110 | </refsect1> | |
111 | <refsect1> | |
112 | <title>SEE ALSO</title> | |
113 | ||
114 | <para>bar (1), baz (1).</para> | |
115 | ||
116 | <para>The programs are documented fully by <citetitle>The Rise and | |
117 | Fall of a Fooish Bar</citetitle> available via the | |
118 | <application>Info</application> system.</para> | |
119 | </refsect1> | |
120 | <refsect1> | |
121 | <title>AUTHOR</title> | |
122 | ||
123 | <para>This manual page was written by &dhusername; &dhemail; for | |
124 | the &debian; system (but may be used by others). Permission is | |
125 | granted to copy, distribute and/or modify this document under | |
126 | the terms of the <acronym>GNU</acronym> Free Documentation | |
127 | License, Version 1.1 or any later version published by the Free | |
128 | Software Foundation; with no Invariant Sections, no Front-Cover | |
129 | Texts and no Back-Cover Texts.</para> | |
130 | ||
131 | </refsect1> | |
132 | </refentry> | |
133 | ||
134 | <!-- Keep this comment at the end of the file | |
135 | Local variables: | |
136 | mode: sgml | |
137 | sgml-omittag:t | |
138 | sgml-shorttag:t | |
139 | sgml-minimize-attributes:nil | |
140 | sgml-always-quote-attributes:t | |
141 | sgml-indent-step:2 | |
142 | sgml-indent-data:t | |
143 | sgml-parent-document:nil | |
144 | sgml-default-dtd-file:nil | |
145 | sgml-exposed-tags:nil | |
146 | sgml-local-catalogs:nil | |
147 | sgml-local-ecat-files:nil | |
148 | End: | |
149 | --> | |
150 | ||
151 |
0 | ?package(squidview):needs=X11|text|vc|wm section=Apps/see-menu-manual\ | |
1 | title="squidview" command="/usr/bin/squidview" |
0 | #! /bin/sh | |
1 | # postinst script for squidview | |
2 | # | |
3 | # see: dh_installdeb(1) | |
4 | ||
5 | set -e | |
6 | ||
7 | # summary of how this script can be called: | |
8 | # * <postinst> `configure' <most-recently-configured-version> | |
9 | # * <old-postinst> `abort-upgrade' <new version> | |
10 | # * <conflictor's-postinst> `abort-remove' `in-favour' <package> | |
11 | # <new-version> | |
12 | # * <deconfigured's-postinst> `abort-deconfigure' `in-favour' | |
13 | # <failed-install-package> <version> `removing' | |
14 | # <conflicting-package> <version> | |
15 | # for details, see http://www.debian.org/doc/debian-policy/ or | |
16 | # the debian-policy package | |
17 | # | |
18 | # quoting from the policy: | |
19 | # Any necessary prompting should almost always be confined to the | |
20 | # post-installation script, and should be protected with a conditional | |
21 | # so that unnecessary prompting doesn't happen if a package's | |
22 | # installation fails and the `postinst' is called with `abort-upgrade', | |
23 | # `abort-remove' or `abort-deconfigure'. | |
24 | ||
25 | case "$1" in | |
26 | configure) | |
27 | ||
28 | ;; | |
29 | ||
30 | abort-upgrade|abort-remove|abort-deconfigure) | |
31 | ||
32 | ;; | |
33 | ||
34 | *) | |
35 | echo "postinst called with unknown argument \`$1'" >&2 | |
36 | exit 1 | |
37 | ;; | |
38 | esac | |
39 | ||
40 | # dh_installdeb will replace this with shell code automatically | |
41 | # generated by other debhelper scripts. | |
42 | ||
43 | #DEBHELPER# | |
44 | ||
45 | exit 0 | |
46 | ||
47 |
0 | #! /bin/sh | |
1 | # postrm script for squidview | |
2 | # | |
3 | # see: dh_installdeb(1) | |
4 | ||
5 | set -e | |
6 | ||
7 | # summary of how this script can be called: | |
8 | # * <postrm> `remove' | |
9 | # * <postrm> `purge' | |
10 | # * <old-postrm> `upgrade' <new-version> | |
11 | # * <new-postrm> `failed-upgrade' <old-version> | |
12 | # * <new-postrm> `abort-install' | |
13 | # * <new-postrm> `abort-install' <old-version> | |
14 | # * <new-postrm> `abort-upgrade' <old-version> | |
15 | # * <disappearer's-postrm> `disappear' <r>overwrit>r> <new-version> | |
16 | # for details, see http://www.debian.org/doc/debian-policy/ or | |
17 | # the debian-policy package | |
18 | ||
19 | ||
20 | case "$1" in | |
21 | purge|remove|upgrade|failed-upgrade|abort-install|abort-upgrade|disappear) | |
22 | ||
23 | ||
24 | ;; | |
25 | ||
26 | *) | |
27 | echo "postrm called with unknown argument \`$1'" >&2 | |
28 | exit 1 | |
29 | ||
30 | esac | |
31 | ||
32 | # dh_installdeb will replace this with shell code automatically | |
33 | # generated by other debhelper scripts. | |
34 | ||
35 | #DEBHELPER# | |
36 | ||
37 | exit 0 |
0 | #! /bin/sh | |
1 | # preinst script for squidview | |
2 | # | |
3 | # see: dh_installdeb(1) | |
4 | ||
5 | set -e | |
6 | ||
7 | # summary of how this script can be called: | |
8 | # * <new-preinst> `install' | |
9 | # * <new-preinst> `install' <old-version> | |
10 | # * <new-preinst> `upgrade' <old-version> | |
11 | # * <old-preinst> `abort-upgrade' <new-version> | |
12 | # | |
13 | # for details, see http://www.debian.org/doc/debian-policy/ or | |
14 | # the debian-policy package | |
15 | ||
16 | ||
17 | case "$1" in | |
18 | install|upgrade) | |
19 | # if [ "$1" = "upgrade" ] | |
20 | # then | |
21 | # start-stop-daemon --stop --quiet --oknodo \ | |
22 | # --pidfile /var/run/squidview.pid \ | |
23 | # --exec /usr/sbin/squidview 2>/dev/null || true | |
24 | # fi | |
25 | ;; | |
26 | ||
27 | abort-upgrade) | |
28 | ;; | |
29 | ||
30 | *) | |
31 | echo "preinst called with unknown argument \`$1'" >&2 | |
32 | exit 1 | |
33 | ;; | |
34 | esac | |
35 | ||
36 | # dh_installdeb will replace this with shell code automatically | |
37 | # generated by other debhelper scripts. | |
38 | ||
39 | #DEBHELPER# | |
40 | ||
41 | exit 0 | |
42 | ||
43 |
0 | #! /bin/sh | |
1 | # prerm script for squidview | |
2 | # | |
3 | # see: dh_installdeb(1) | |
4 | ||
5 | set -e | |
6 | ||
7 | # summary of how this script can be called: | |
8 | # * <prerm> `remove' | |
9 | # * <old-prerm> `upgrade' <new-version> | |
10 | # * <new-prerm> `failed-upgrade' <old-version> | |
11 | # * <conflictor's-prerm> `remove' `in-favour' <package> <new-version> | |
12 | # * <deconfigured's-prerm> `deconfigure' `in-favour' | |
13 | # <package-being-installed> <version> `removing' | |
14 | # <conflicting-package> <version> | |
15 | # for details, see http://www.debian.org/doc/debian-policy/ or | |
16 | # the debian-policy package | |
17 | ||
18 | ||
19 | case "$1" in | |
20 | remove|upgrade|deconfigure) | |
21 | # install-info --quiet --remove /usr/info/squidview.info.gz | |
22 | ;; | |
23 | failed-upgrade) | |
24 | ;; | |
25 | *) | |
26 | echo "prerm called with unknown argument \`$1'" >&2 | |
27 | exit 1 | |
28 | ;; | |
29 | esac | |
30 | ||
31 | # dh_installdeb will replace this with shell code automatically | |
32 | # generated by other debhelper scripts. | |
33 | ||
34 | #DEBHELPER# | |
35 | ||
36 | exit 0 | |
37 | ||
38 |
0 | #!/usr/bin/make -f | |
1 | # Sample debian/rules that uses debhelper. | |
2 | # GNU copyright 1997 to 1999 by Joey Hess. | |
3 | ||
4 | # Uncomment this to turn on verbose mode. | |
5 | #export DH_VERBOSE=1 | |
6 | ||
7 | # This is the debhelper compatibility version to use. | |
8 | export DH_COMPAT=3 | |
9 | ||
10 | # These are used for cross-compiling and for saving the configure script | |
11 | # from having to guess our platform (since we know it already) | |
12 | DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE) | |
13 | DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE) | |
14 | ||
15 | ||
16 | ifneq (,$(findstring debug,$(DEB_BUILD_OPTIONS))) | |
17 | CFLAGS += -g | |
18 | endif | |
19 | ifeq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS))) | |
20 | INSTALL_PROGRAM += -s | |
21 | endif | |
22 | ||
23 | config.status: configure | |
24 | dh_testdir | |
25 | # Add here commands to configure the package. | |
26 | ./configure --host=$(DEB_HOST_GNU_TYPE) --build=$(DEB_BUILD_GNU_TYPE) --prefix=/usr --mandir=\$${prefix}/share/man --infodir=\$${prefix}/share/info --datadir=\$${prefix}/share/doc/ | |
27 | ||
28 | ||
29 | build: build-stamp | |
30 | ||
31 | build-stamp: config.status | |
32 | dh_testdir | |
33 | ||
34 | # Add here commands to compile the package. | |
35 | $(MAKE) | |
36 | #/usr/bin/docbook-to-man debian/squidview.sgml > squidview.1 | |
37 | ||
38 | touch build-stamp | |
39 | ||
40 | clean: | |
41 | dh_testdir | |
42 | dh_testroot | |
43 | rm -f build-stamp | |
44 | ||
45 | # Add here commands to clean up after the build process. | |
46 | -$(MAKE) distclean | |
47 | #-test -r /usr/share/misc/config.sub && \ | |
48 | # cp -f /usr/share/misc/config.sub config.sub | |
49 | #-test -r /usr/share/misc/config.guess && \ | |
50 | # cp -f /usr/share/misc/config.guess config.guess | |
51 | ||
52 | ||
53 | dh_clean | |
54 | ||
55 | install: build | |
56 | dh_testdir | |
57 | dh_testroot | |
58 | dh_clean -k | |
59 | dh_installdirs | |
60 | ||
61 | # Add here commands to install the package into debian/squidview. | |
62 | $(MAKE) install prefix=$(CURDIR)/debian/squidview/usr | |
63 | ||
64 | ||
65 | # Build architecture-independent files here. | |
66 | binary-indep: build install | |
67 | # We have nothing to do by default. | |
68 | ||
69 | # Build architecture-dependent files here. | |
70 | binary-arch: build install | |
71 | dh_testdir | |
72 | dh_testroot | |
73 | # dh_installdebconf | |
74 | dh_installdocs | |
75 | dh_installexamples | |
76 | dh_installmenu | |
77 | # dh_installlogrotate | |
78 | # dh_installemacsen | |
79 | # dh_installpam | |
80 | # dh_installmime | |
81 | # dh_installinit | |
82 | dh_installcron | |
83 | dh_installman | |
84 | dh_installinfo | |
85 | # dh_undocumented | |
86 | dh_installchangelogs ChangeLog | |
87 | dh_link | |
88 | dh_strip | |
89 | dh_compress | |
90 | dh_fixperms | |
91 | # dh_makeshlibs | |
92 | dh_installdeb | |
93 | # dh_perl | |
94 | dh_shlibdeps | |
95 | dh_gencontrol | |
96 | dh_md5sums | |
97 | dh_builddeb | |
98 | ||
99 | binary: binary-indep binary-arch | |
100 | .PHONY: build clean binary-indep binary-arch binary install |
0 | # Example watch control file for uscan | |
1 | # Rename this file to "watch" and then you can run the "uscan" command | |
2 | # to check for upstream updates and more. | |
3 | # Site Directory Pattern Version Script | |
4 | sunsite.unc.edu /pub/Linux/Incoming squidview-(.*)\.tar\.gz debian uupdate |
62 | 62 | string sHomeDir; |
63 | 63 | const char szSquidHome[] = ".squidview"; |
64 | 64 | string sPathToFiles; |
65 | const char szMainLog[] = "/usr/local/squid/var/logs/access.log"; | |
65 | const char szMainLog[] = "/var/log/squid/access.log"; //Default path in Debian squid-package | |
66 | 66 | |
67 | 67 | const char szLog1[] = "log1"; |
68 | 68 | const char szLog2[] = "log2"; |