Skip to content
forked from HalosGhost/pbpst

A command-line libcurl C client for ptpb.pw

License

Notifications You must be signed in to change notification settings

escondida/ptpst

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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).

Pre-built Packages

If you are a packager and package pbpst for your distribution, contact me and I will gladly put links to the package here:

About

A command-line libcurl C client for ptpb.pw

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C 93.2%
  • Shell 4.8%
  • Makefile 2.0%