~alpine/devel

This thread contains a patchset. You're looking at the original emails, but you may wish to use the patch review UI. Review patch
3 2

[alpine-devel] [PATCH] testing/pastebinc: new aport

Jeremy Thomerson <jeremy@thomersonfamily.com>
Details
Message ID
<1311896020-6636-1-git-send-email-jeremy@thomersonfamily.com>
Sender timestamp
1311896020
DKIM signature
missing
Download raw message
Patch: +41 -0
a new aport for my new project: pastebinc
see https://github.com/jthomerson/pastebinc for more info
---
 testing/pastebinc/APKBUILD |   41 +++++++++++++++++++++++++++++++++++++++++
 1 files changed, 41 insertions(+), 0 deletions(-)
 create mode 100644 testing/pastebinc/APKBUILD

diff --git a/testing/pastebinc/APKBUILD b/testing/pastebinc/APKBUILD
new file mode 100644
index 0000000..d40962f
--- /dev/null
+++ b/testing/pastebinc/APKBUILD
@@ -0,0 +1,41 @@
# Contributor: Jeremy Thomerson <jeremy@thomersonfamily.com>
# Maintainer: Jeremy Thomerson <jeremy@thomersonfamily.com>
pkgname=pastebinc
pkgver=0.9
pkgrel=0
pkgdesc="utility to pipe data into a paste on pastebin.com or a similar site"
url="https://github.com/jthomerson/pastebinc"
arch="all"
license="ASL 2.0"
depends=
depends_dev=
makedepends="wget glib-dev curl-dev"
install=""
subpackages=""
source="saveas-https://github.com/jthomerson/pastebinc/tarball/RELEASE_0.9-BETA/$pkgname-$pkgver-$pkgrel.tar.gz"
_builddir="$srcdir/jthomerson-pastebinc-8dbb86b"

makeparams="VERSION=$pkgver-$pkgrel CONFDIR=/etc/pastebinc"

prepare() {
	local i
	cd "$_builddir"
	for i in $source; do
		case $i in
		*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
		esac
	done
}

build() {
	cd "$_builddir"
	make $makeparams clean || return 1
	make $makeparams || return 1
}

package() {
	cd "$_builddir"
	make $makeparams DESTDIR="$pkgdir" install || return 1
}

md5sums="a1620a9d04ecb79f42ede3768987567a  pastebinc-0.9-0.tar.gz"
-- 
1.7.4.5



---
Unsubscribe:  alpine-devel+unsubscribe@lists.alpinelinux.org
Help:         alpine-devel+help@lists.alpinelinux.org
---
Jeremy Thomerson <jeremy@thomersonfamily.com>
Details
Message ID
<CADVmKVCvqvE1cRmguuFg+rpJgZjyaKVUA+Bk6zqy93RUM2yu4Q@mail.gmail.com>
In-Reply-To
<20110731124429.0073e753@alpinelinux.org> (view parent)
Sender timestamp
1312120958
DKIM signature
missing
Download raw message
I hadn't seen it.  What makes pastebinc different is that it is configurable
to work on *any* pastebin alternative.  For instance, at a couple places
where I do some work, we have internal pastebin-clones.  A simple config
file should make it possible for those users to use it on their servers and
workstations where they will not want to paste things to external sites.

If anyone is interested in reviewing the C code (
https://github.com/jthomerson/pastebinc), I'd be interested in any feedback
you have.  I have a couple "TODO" items in it that are more like "note to
self - need to research this" since this is my first real C project.

Thanks for pushing the aport!

Jeremy Thomerson

On Sun, Jul 31, 2011 at 6:44 AM, Natanael Copa <ncopa@alpinelinux.org>wrote:

> On Thu, 28 Jul 2011 23:33:40 +0000
> Jeremy Thomerson <jeremy@thomersonfamily.com> wrote:
>
> > a new aport for my new project: pastebinc
> > see https://github.com/jthomerson/pastebinc for more info
>
> btw... did you see sprunge? solves same problem but uses the
> http://sprunge.us/ service instead of pastebin.com. I wrapped a tiny
> shell script and packaged it:
>
> apk add sprunge
> # example:
> git diff | sprunge
>
> -nc
>
Natanael Copa <ncopa@alpinelinux.org>
Details
Message ID
<20110731123753.497c2406@alpinelinux.org>
In-Reply-To
<1311896020-6636-1-git-send-email-jeremy@thomersonfamily.com> (view parent)
Sender timestamp
1312108673
DKIM signature
missing
Download raw message
On Thu, 28 Jul 2011 23:33:40 +0000
Jeremy Thomerson <jeremy@thomersonfamily.com> wrote:

> a new aport for my new project: pastebinc
> see https://github.com/jthomerson/pastebinc for more info

Applied. Thanks!
-nc


---
Unsubscribe:  alpine-devel+unsubscribe@lists.alpinelinux.org
Help:         alpine-devel+help@lists.alpinelinux.org
---
Natanael Copa <ncopa@alpinelinux.org>
Details
Message ID
<20110731124429.0073e753@alpinelinux.org>
In-Reply-To
<1311896020-6636-1-git-send-email-jeremy@thomersonfamily.com> (view parent)
Sender timestamp
1312109069
DKIM signature
missing
Download raw message
On Thu, 28 Jul 2011 23:33:40 +0000
Jeremy Thomerson <jeremy@thomersonfamily.com> wrote:

> a new aport for my new project: pastebinc
> see https://github.com/jthomerson/pastebinc for more info

btw... did you see sprunge? solves same problem but uses the
http://sprunge.us/ service instead of pastebin.com. I wrapped a tiny
shell script and packaged it:

apk add sprunge
# example:
git diff | sprunge

-nc


---
Unsubscribe:  alpine-devel+unsubscribe@lists.alpinelinux.org
Help:         alpine-devel+help@lists.alpinelinux.org
---
Reply to thread Export thread (mbox)