helpers/copyright
author František Kučera <franta-hg@frantovo.cz>
Sun, 06 Nov 2011 00:08:05 +0100
changeset 116 4ddc1020a154
parent 1 6fceb66e1ad7
permissions -rwxr-xr-x
Podpora Markdown syntaxe
na začátek odesílané zprávy stačí přidat:
#!markdown
a zpráva se pak prožene Markdown procesorem (spouštěno přes sudo pod jiným uživatelem)
a pak teprve přes standardní XSL transformaci.

1) Vytvořit uživatele a skupinu markdown

2) Do /etc/sudoers přidat:
Cmnd_Alias MARKDOWN = /usr/bin/markdown
%markdown ALL = (%markdown) NOPASSWD : MARKDOWN

3) Uivatele, pod kterým běží NNTP démon, přidat do skupiny markdown
     1 Upstream Author:
     2 
     3     Christian Lins <christian.lins@web.de>
     4 
     5 Copyright:
     6 
     7     Copyright (C) 2009 Christian Lins
     8 
     9 License:
    10 
    11   This program is free software: you can redistribute it and/or modify
    12   it under the terms of the GNU General Public License as published by
    13   the Free Software Foundation, either version 3 of the License, or
    14   (at your option) any later version.
    15   
    16   This program is distributed in the hope that it will be useful,
    17   but WITHOUT ANY WARRANTY; without even the implied warranty of
    18   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    19   GNU General Public License for more details.
    20   
    21   You should have received a copy of the GNU General Public License
    22   along with this program.  If not, see <http://www.gnu.org/licenses/>.
    23