File: 50_debian_fix_example_path_in_manpage.patch

package info (click to toggle)
pal 0.4.3-12
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 1,184 kB
  • sloc: ansic: 5,038; makefile: 247; awk: 23
file content (16 lines) | stat: -rw-r--r-- 2,589 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
pal (0.4.3-2)  * Added a new Debian specific patch which changes the path to
                 example.css in pal.1.  Debian installs this file into a
                 different location than upstream's makefile target
                 install-doc.  (Closes: #497874)

--- pal.orig/pal.1.template
+++ pal/pal.1.template
@@ -73,7 +73,7 @@ Do not use colors, regardless of termina
 Generates output readable by sendmail by adding "From:" and "Subject:" fields and forcing \fB\-\-nocolor\fR.  For example, you could mail yourself a reminder of the upcoming events in the next week with \fBpal \-\-mail \-r 7 | sendmail username\fR.  Note: For the calendar to appear correctly, make sure your email client is using a fixed width font.
 .TP
 .B \-\-html
-Generates a HTML calendar suitable for display on a web page.  It does not generate a complete HTML document so that you can add your website's header and footer around the calendar.  The number of months shown on the calendar can be adjusted with \fB\-c\fR.  You will need to use Cascading Style Sheets (CSS) to change how the calendar appears; if you do not use a style sheet, the calendar will not have any borders.  See \fI/usr/share/doc/pal/example.css\fR for an example style.  SECURITY NOTE: If you set up pal so it is being executed server\(hyside, it is recommended that you do not allow web page visitors to directly change the parameters sent to pal.  Allowing users to pass strange parameters (such as extremely long ones) can be a security risk.
+Generates a HTML calendar suitable for display on a web page.  It does not generate a complete HTML document so that you can add your website's header and footer around the calendar.  The number of months shown on the calendar can be adjusted with \fB\-c\fR.  You will need to use Cascading Style Sheets (CSS) to change how the calendar appears; if you do not use a style sheet, the calendar will not have any borders.  See \fI/usr/share/doc/pal/examples/example.css\fR for an example style.  SECURITY NOTE: If you set up pal so it is being executed server\(hyside, it is recommended that you do not allow web page visitors to directly change the parameters sent to pal.  Allowing users to pass strange parameters (such as extremely long ones) can be a security risk.
 .TP
 .B \-\-latex
 Generates a LaTeX source for a calendar that can be used to generate a printer\(hyfriendly DVI (run "pal \-\-latex > file.tex; latex file.tex"), PostScript or PDF (run "pal \-\-latex > file.tex; pdflatex file.tex").  The number of months shown on the calendar can be adjusted with \fB\-c\fR.