Skip to content

Latest commit

 

History

History
43 lines (29 loc) · 2.56 KB

README.rst

File metadata and controls

43 lines (29 loc) · 2.56 KB

pbpst

Coverity Scan Build Status

pbpst is a small tool to make interacting with pb instances as simple as possible. pb is a versatile, free and open source pastebin which has more features, is more robust, and is faster than any other pastebin with which I am familiar. You can find the reference instance (which tracks pb's master branch) at ptpb. Ideally, pbpst will support as many features of pb as possible (hopefully, nearly all) in a simple, unassuming CLI.

Build Requirements and Instructions

pbpst only has two external dependencies:

Note that the versions of these dependencies are not firmly tested, so pbpst may compile and function just fine on older versions of both libraries. However, I test only against the latest stable version of both; it is recommended that pbpst users keep both dependencies up-to-date as well.

In addition to the two external runtime dependencies listed above, pbpst uses the following three tools to perform a complete build:

clang is a special case. I have recently allowed ./configure to modify both the CFLAGS and the CC used in the build (to make packagers' lives simpler), and so you can use gcc if you would like. Note that, while I stay pretty strictly in the realm of ISO C, I only test against clang.

The same caveats about versions apply to these make dependencies as apply to the runtime dependencies; tl;dr: keep up-to-date and everything should be okay.

Once you have all the dependencies installed (and you have run modprobe fuse if you did not already have the fuse filesystem loaded), all you have to do for a complete build of pbpst is to run the following: make (Note that the default make rule just creates the dist directory and then runs tup upd)

Now, you can simply use make DESTDIR=<dest> PREFIX=<pre> install to install (or make DESTDIR=<dest> PREFIX=<pre> uninstall to uninstall).

If you are an Arch Linux user, all the heavy lifting has been done for you, and you can install pbpst from [community].