BSD Ports

www/SNIP 1.1.2 FreeBSD

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

System
FreeBSD
Repository
FreeBSD ports
Maintainer
[email protected]
License
GPLv3
Categories
www
Package size
8223.5 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

SystemPortVersion
FreeBSDwww/SNIP1.1.2
HardenedBSDwww/SNIP1.1.2
GhostBSDwww/SNIP1.1.2

Install

Binary package:

pkg install SNIP

From the ports tree:

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

To depend on this port in another port's Makefile:

RUN_DEPENDS=	SNIP>0:www/SNIP

Packages

The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latest1.1.21.1.2-1.1.01.1.2
FreeBSD:14:quarterly1.1.21.1.2n/a1.1.01.1.2
FreeBSD:15:latest1.1.21.1.2n/a1.1.01.1.0
FreeBSD:15:quarterly1.1.21.1.2n/an/an/a
FreeBSD:16:latest1.1.21.1.2n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependencies

The Makefile names none itself; they come from USES and USE_*.

The full lists below include those, and their dependencies in turn.

Run dependencies 27

No port depends on this one.

Configuration

Options name: www_SNIP

OptionDefaultDescription
MYSQLIonInstall MySQLi Support for PHP
PGSQLoffPostgreSQL database support
SQLITEoffSQLite database support
USES
php:web
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.

Files

distinfo 1
FileSizeSHA256
MercanoGlobal-SNIP-v1.1.2_GH0.tar.gz1.5309093e+07ca2623f041ba8eee3e210682600cdf1bb9706317a1ac600c0eb7fe8c4b4a4614

Commit history 0

No commits in the history this site was built from.