diff --git a/LICENSE b/LICENSE index 47dd394..baf9dd0 100644 --- a/LICENSE +++ b/LICENSE @@ -9,22 +9,21 @@ are met: notice, this list of conditions and the following disclaimer. 2. Redistributions in binary form must reproduce the above copyright - notice, this list of conditions and the following disclaimer in - the documentation and/or other materials provided with the - distribution. + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. 3. Neither the name of the copyright holder nor the names of its - contributors may be used to endorse or promote products derived - from this software without specific prior written permission. + contributors may be used to endorse or promote products derived from + this software without specific prior written permission. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, -SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT -LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, -DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY -THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT -(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE -OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED +TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR +PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF +LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING +NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS +SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. diff --git a/README.md b/README.md index d3bb0fa..c010adc 100644 --- a/README.md +++ b/README.md @@ -112,7 +112,7 @@ Put those into your `~/.{ba,z,k}shrc`: ```sh alias pst="nc heimdall.pm 9999" -alias spst="gpg -cao /tmp/paste.pgp && cat /tmp/paste.pgp | nc heimdall.pm 9999 && rm /tmp/paste.pgp" +alias spst="gpg -cao tmp.pgp && cat tmp.pgp | nc heimdall.pm 9999 && rm tmp.pgp" ``` Now, you can use **feuille** like this: @@ -127,6 +127,10 @@ $ echo da sup3r sekr1t | spst https://bin.heimdall.pm/qrst ``` +For a complete list of aliases, see +[here](https://basedwa.re/tmtt/feuille/src/branch/main/misc/aliases) +and either put those in your `~/.{ba,z,k}shrc` or source it. + That sould be it. Have fun! ## Description @@ -145,9 +149,11 @@ That sould be it. Have fun! * Uses OS-specific security measures (like OpenBSD's `pledge`) * Plenty of auxiliary files (see -[cgi/](https://basedwa.re/tmtt/feuille/src/branch/main/cgi), -[cron/](https://basedwa.re/tmtt/feuille/src/branch/main/cron) and +[misc/](https://basedwa.re/tmtt/feuille/src/branch/main/misc), +[cgi/](https://basedwa.re/tmtt/feuille/src/branch/main/cgi) and +[cron/](https://basedwa.re/tmtt/feuille/src/branch/main/cron)) [service/](https://basedwa.re/tmtt/feuille/src/branch/main/service)) + * A list of aliases for your users' `~/.{ba,z,k}shrc` * A CGI script that lets the user send pastes directly from your website * A sample HTML form for your CGI script diff --git a/config.mk b/config.mk index 62d505f..29863f1 100644 --- a/config.mk +++ b/config.mk @@ -1,5 +1,5 @@ # feuille version -VERSION = 1.19.5 +VERSION = 1.19.4 # paths (customize them to fit your system) PREFIX = /usr/local diff --git a/feuille.1 b/feuille.1 index ed874a1..a2eb8f9 100644 --- a/feuille.1 +++ b/feuille.1 @@ -14,7 +14,7 @@ . ftr VB CB . ftr VBI CBI .\} -.TH "feuille" "1" "November 2022" "feuille 1.19.5" "" +.TH "feuille" "1" "November 2022" "feuille 1.19.4" "" .hy .SH NAME .PP diff --git a/misc/aliases b/misc/aliases new file mode 100644 index 0000000..eddcdcf --- /dev/null +++ b/misc/aliases @@ -0,0 +1,5 @@ +NC="nc" +BIN="heimdall.pm" + +alias pst="$NC $BIN 9999" +alias spst="gpg -cao /tmp/paste.pgp && cat /tmp/paste.pgp | $NC $BIN 9999 && rm /tmp/paste.pgp"