BSD Ports

www/SNIP 1.1.2 DragonFly

SNIP is a powerful, simple, and easy to use Open-Source PHP Pastebin

System
DragonFly
Repository
DPorts
Maintainer
[email protected] (as in FreeBSD)
License
GPLv3
Categories
www
Package size
7965.2 KiB, 66604.6 KiB installed

Description

SNIP is a powerful Open-Source PHP Pastebin, with the aim of keeping a simple and easy to use user interface. SNIP allows you to easily share code and files with anyone you wish. Based on the original Stikked with lots of bug fixes and improvements.

Prerequisites: * A web server: Apache, LiteSpeed, Nginx, Lighttpd, Cherokee. * A database: MySQL / MariaDB, Postgres. OR a writable folder for SQLite. * PHP version 7.0 or newer is required. * PHP-GD for the creation of QR-codes.

Here are some features: * Syntax highlighting including live highlighting with CodeMirror * Paste replies * Diff view between the original paste and the reply * An API * Trending pastes * Encrypted pastes * Burn on reading * File upload and preview * Anti-Spam features * Multilanguage support * SNIP client with support for client side encryption/decryption: gostikkit * Another CLI tool requiring only curl program: pbin

In the other systems

The newest version among them is 1.1.2, as upstream numbers it.

SystemPortVersionVulnerabilitiesStatusMaintainerLast update
DragonFlywww/SNIP1.1.2 newestnone known-[email protected]-
FreeBSDwww/SNIP1.1.2 newestnone known-[email protected]-
HardenedBSDwww/SNIP1.1.2 newestno data-[email protected]-
GhostBSDwww/SNIP1.1.2 newestno data-[email protected]-

Version history 1

  1. 1.1.2

Upstream's version as each commit to the port's Makefile set it, or as this site first saw it in the system's packages; the tree's own revisions are not versions here.

Install

Binary package:

pkg install SNIP

From DPorts:

cd /usr/dports/www/SNIP && make install clean

Dependency graph

Ports that need it on the left, what it needs to run on the right; at most 8 of each. "Dependencies" below lists them all.

Dependencies

Run dependencies 6

No port depends on this one.

Configuration

No options to configure.

Service scripts
none

Message after installing

The configuration file is in /usr/local/etc/SNIP/snip.php

This package contains a true_paste feature which has been sent
upstream but has not yet been included.

There are the minimal configuration items:

Set driver to one of:

* 'postgres'
* 'mysqli'
* 'sqlite'

Set appropriate values in the 'Database connection' section.