Name | Date | Size | #Lines | LOC | ||
---|---|---|---|---|---|---|
.. | - | - | ||||
README | H A D | 09-Jul-2024 | 1.1 KiB | 39 | 24 | |
ccformat | H A D | 09-Jul-2024 | 5.9 KiB | 208 | 53 | |
check-double-cc | H A D | 09-Jul-2024 | 244 | 9 | 2 | |
check-double-history | H A D | 09-Jul-2024 | 182 | 8 | 2 | |
check-double-install-proto-text | H A D | 09-Jul-2024 | 270 | 8 | 2 | |
check-double-proto-html | H A D | 09-Jul-2024 | 196 | 8 | 2 | |
check-postfix-files | H A D | 09-Jul-2024 | 896 | 33 | 16 | |
check-postlink | H A D | 09-Jul-2024 | 1.6 KiB | 58 | 34 | |
check-spell-cc | H A D | 09-Jul-2024 | 255 | 9 | 2 | |
check-spell-history | H A D | 09-Jul-2024 | 233 | 10 | 4 | |
check-spell-install-proto-text | H A D | 09-Jul-2024 | 245 | 8 | 2 | |
check-spell-proto-html | H A D | 09-Jul-2024 | 188 | 8 | 2 | |
check-table-proto | H A D | 09-Jul-2024 | 1 KiB | 33 | 17 | |
comment.c | H A D | 09-Jul-2024 | 992 | 69 | 60 | |
dehtml | H A D | 09-Jul-2024 | 135 | 10 | 7 | |
deroff | H A D | 09-Jul-2024 | 61 | 8 | 5 | |
docparam | H A D | 09-Jul-2024 | 20.1 KiB | 379 | 366 | |
docuseparam | H A D | 09-Jul-2024 | 100 | 6 | 3 | |
double | H A D | 09-Jul-2024 | 105 | 11 | 7 | |
enter | H A D | 09-Jul-2024 | 3.8 KiB | 146 | 26 | |
find-double | H A D | 09-Jul-2024 | 215 | 14 | 11 | |
find-fluff | H A D | 09-Jul-2024 | 66 | 8 | 5 | |
fixman | H A D | 09-Jul-2024 | 5.5 KiB | 258 | 176 | |
get_anchors.pl | H A D | 09-Jul-2024 | 803 | 51 | 29 | |
hchangered | H A D | 09-Jul-2024 | 640 | 41 | 30 | |
html2readme | H A D | 09-Jul-2024 | 443 | 32 | 17 | |
make-relnotes | H A D | 09-Jul-2024 | 2.1 KiB | 86 | 59 | |
make_soho_readme | H A D | 09-Jul-2024 | 1.9 KiB | 87 | 55 | |
makemanidx | H A D | 09-Jul-2024 | 2.2 KiB | 99 | 57 | |
makepostconf | H A D | 09-Jul-2024 | 1.6 KiB | 62 | 41 | |
makepostconflinks | H A D | 09-Jul-2024 | 712 | 30 | 19 | |
makereadme | H A D | 09-Jul-2024 | 189 | 14 | 8 | |
man2html | H A D | 09-Jul-2024 | 998 | 50 | 38 | |
mandouble | H A D | 09-Jul-2024 | 79 | 8 | 5 | |
manlint | H A D | 09-Jul-2024 | 2.3 KiB | 166 | 159 | |
manlint.stop | H A D | 09-Jul-2024 | 8.4 KiB | 114 | 113 | |
mansect | H A D | 09-Jul-2024 | 2.8 KiB | 126 | 82 | |
manspell | H A D | 09-Jul-2024 | 103 | 8 | 5 | |
missing-proxy-read-maps | H A D | 09-Jul-2024 | 2.2 KiB | 57 | 35 | |
postconf2html | H A D | 09-Jul-2024 | 2.3 KiB | 100 | 52 | |
postconf2man | H A D | 09-Jul-2024 | 2.8 KiB | 96 | 60 | |
postconffix | H A D | 09-Jul-2024 | 1.3 KiB | 73 | 29 | |
postlink | H A D | 09-Jul-2024 | 108.8 KiB | 1,280 | 1,169 | |
postlink.sed | H A D | 09-Jul-2024 | 47.3 KiB | 604 | 556 | |
readme2html | H A D | 09-Jul-2024 | 599 | 37 | 22 | |
specmiss | H A D | 09-Jul-2024 | 520 | 28 | 16 | |
spell | H A D | 09-Jul-2024 | 140 | 11 | 7 | |
spelldiff | H A D | 09-Jul-2024 | 303 | 24 | 17 | |
srctoman | H A D | 09-Jul-2024 | 4.4 KiB | 215 | 125 | |
useparam | H A D | 09-Jul-2024 | 20 KiB | 369 | 356 | |
user2var | H A D | 09-Jul-2024 | 225 | 14 | 4 | |
var2user | H A D | 09-Jul-2024 | 222 | 14 | 4 | |
xpostconf | H A D | 09-Jul-2024 | 3.2 KiB | 154 | 91 | |
xpostdef | H A D | 09-Jul-2024 | 2.7 KiB | 122 | 82 |
README
1Scripts and tools to format embedded manual pages, or to format C 2source code files. Each has an embedded man page in the source. 3 4ccformat c code formatter 5 usage: ccformat (copy stdin to stdout) 6 usage: ccformat files... (format files in place) 7 8enter set project-specific environment 9 usage: enter project-name 10 11mansect extract manual page section from source file 12 usage: mansect file.suffix 13 usage: mansect -type file 14 15srctoman extract man page from source file 16 usage: srctoman file.suffix 17 usage: srctoman -type file 18 19man2html quick script to htmlize nroff -man output 20 21postlink quick script to hyperlink HTML text 22 23See the proto/README file for the following tools that generate 24HTML and ASCII forms of README documents and of some manual pages. 25 26fixman quick hack to patch postconf.proto text into C sorce 27 28makereadme create README_FILES table of contents (AAAREADME) 29 30html2readme convert HTML to README file 31 32postconf2html postconf.proto -> postconf.5.html 33 34postconf2man postconf.proto -> postconf.5 (nroff input) 35 36xpostconf extract selected sections from postconf.proto 37 38xpostdef re-compute the defaults in postconf.proto 39
html2readme
1#!/bin/sh 2 3HTML2TEXT="html2text -ascii -style pretty -rcfile html2text.rc" 4 5#case $# in 6# 0) $HTML2TEXT;; 7# *) for file 8# do 9# cat <<EOF | fmt 10#[hyperlinked version: www.postfix.org/$file] 11#EOF 12# $HTML2TEXT $file 13# done;; 14#esac | sed ' 15 16$HTML2TEXT "$@" | sed ' 17:top 18/ -$/ { 19 N 20 s/ -\n o/ -o/ 21 b top 22} 23/^ \*$/ { 24 N 25 s/\*\n /* / 26 b top 27} 28' | awk ' 29/^$/ && prev_len == 0 { next } 30 { print; prev_len = length } 31' 32
make_soho_readme
1#!/bin/sh 2 3cat <<'EOF' 4<!doctype html public "-//W3C//DTD HTML 4.01 Transitional//EN" 5 "http://www.w3.org/TR/html4/loose.dtd"> 6 7<html> 8 9<head> 10 11<title>Postfix Small/Home Office Hints and Tips</title> 12 13<meta http-equiv="Content-Type" content="text/html; charset=utf-8"> 14<link rel='stylesheet' type='text/css' href='postfix-doc.css'> 15 16</head> 17 18<body> 19 20<h1><img src="postfix-logo.jpg" width="203" height="98" ALT="">Postfix Small/Home Office Hints and Tips</h1> 21 22<hr> 23 24<h2>Overview</h2> 25 26<p> This document combines hints and tips for "small office/home 27office" applications into one document so that they are easier to 28find. The text describes the mail sending side only. If your machine 29does not receive mail directly (i.e. it does not have its own 30Internet domain name and its own fixed IP address), then you will 31need a solution such as "fetchmail", which is outside the scope of 32the Postfix documentation. </p> 33 34<ul> 35 36<li> <p> Selected topics from the STANDARD_CONFIGURATION_README document: </p> 37 38<ul> 39 40<li><a href="#stand_alone">Postfix on a stand-alone Internet host</a> 41 42<li><a href="#fantasy">Postfix on hosts without a real 43Internet hostname</a> 44 45</ul> 46 47<p> Selected topics from the SASL_README document: </p> 48 49<ul> 50 51<li><a href="#client_sasl_enable">Enabling SASL authentication in the 52Postfix SMTP client</a></li> 53 54<li><a href="#client_sasl_sender">Configuring Sender-Dependent SASL 55authentication </a></li> 56 57</ul> 58 59</ul> 60 61<p> See the SASL_README and STANDARD_CONFIGURATION_README documents for 62further information on these topics. </p> 63 64EOF 65 66sed -n '/^<h2><a name="stand_alone">/,${ 67 /^<h2><a name="null_client">/q 68 p 69}' STANDARD_CONFIGURATION_README.html 70 71sed -n '/^<h2><a name="fantasy">/,${ 72 /^<\/body>/q 73 p 74}' STANDARD_CONFIGURATION_README.html 75 76sed -n '/^<h3><a name="client_sasl_enable"/,${ 77 /^<h3><a name="client_sasl_policy"/q 78 s/h3>/h2>/g 79 p 80}' SASL_README.html 81 82cat <<'EOF' 83</body> 84 85</html> 86EOF 87
makereadme
1#!/bin/sh 2 3sed ' 4 s/<\/*table[^>]*>//g 5 s/<\/th[^>]*>//g 6 s/<\/td[^>]*>//g 7 s/"\([A-Z0-9_]*\)\.html">/&\1:/ 8 s/All main.cf parameters/postconf(5): &/ 9 /All Postfix manual pages/d 10' "$@" 11 12 13 14
readme2html
1#!/bin/sh 2 3# Crude script to convert plain READMEs to HTML 4 5echo '<!doctype html public "-//W3C//DTD HTML 4.01 Transitional//EN" 6 "http://www.w3.org/TR/html4/loose.dtd"> 7 8<html> 9 10<head> 11 12<title>Title Here</title> 13 14<meta http-equiv="Content-Type" content="text/html; charset=utf-8"> 15 16</head> 17 18<body> 19 20<h1>Title Here</h1>' 21 22sed ' 23 s/&/\&/g 24 s/</\</g 25 s/>/\>/g 26' "$@" | awk ' 27/^====+$/ { print "<h2>" line "</h2>"; line = ""; getline; next } 28NF == 0 { print line; print $0; print "<p>"; line = $0; next } 29 { print line; line = $0 } 30END { print line } 31' 32 33echo ' 34</body> 35 36</html>' 37