pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/net/wgetpaste Import wgetpaste-2.20 as net/wgetpaste.
details: https://anonhg.NetBSD.org/pkgsrc/rev/3d3137b6b873
branches: trunk
changeset: 607388:3d3137b6b873
user: obache <obache%pkgsrc.org@localhost>
date: Sat Aug 11 08:43:45 2012 +0000
description:
Import wgetpaste-2.20 as net/wgetpaste.
PR 46744 by Matthew Mondor.
A Script that automates pasting to a number of pastebin services
relying only on bash, sed, coreutils (mktemp/sort/tr/wc/whoami/tee)
and wget.
diffstat:
net/wgetpaste/DESCR | 3 +++
net/wgetpaste/Makefile | 34 ++++++++++++++++++++++++++++++++++
net/wgetpaste/PLIST | 3 +++
net/wgetpaste/distinfo | 5 +++++
net/wgetpaste/files/wgetpaste.conf | 9 +++++++++
5 files changed, 54 insertions(+), 0 deletions(-)
diffs (74 lines):
diff -r 36e21c5108b7 -r 3d3137b6b873 net/wgetpaste/DESCR
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/net/wgetpaste/DESCR Sat Aug 11 08:43:45 2012 +0000
@@ -0,0 +1,3 @@
+A Script that automates pasting to a number of pastebin services
+relying only on bash, sed, coreutils (mktemp/sort/tr/wc/whoami/tee)
+and wget.
diff -r 36e21c5108b7 -r 3d3137b6b873 net/wgetpaste/Makefile
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/net/wgetpaste/Makefile Sat Aug 11 08:43:45 2012 +0000
@@ -0,0 +1,34 @@
+# $NetBSD: Makefile,v 1.1 2012/08/11 08:43:45 obache Exp $
+
+DISTNAME= wgetpaste-2.20
+CATEGORIES= net www
+MASTER_SITES= http://wgetpaste.zlin.dk/
+EXTRACT_SUFX= .tar.bz2
+
+MAINTAINER= pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE= http://wgetpaste.zlin.dk/
+COMMENT= Command line utility to upload to pastebin sites
+LICENSE= public-domain
+
+DEPENDS+= wget>=1.13.4:../../net/wget
+
+PKG_DESTDIR_SUPPORT= user-destdir
+INSTALLATION_DIRS= bin share/examples/wgetpaste etc
+NO_BUILD= yes
+
+CONF_FILES= ${PREFIX}/share/examples/wgetpaste/wgetpaste.conf ${PKG_SYSCONFDIR}/wgetpaste.conf
+
+SUBST_CLASSES+= config
+SUBST_SED.config+= -e "s,/etc/,${PKG_SYSCONFDIR}/,g"
+SUBST_FILES.config+= wgetpaste
+SUBST_STAGE.config= pre-install
+SUBST_MESSAGE.config= Fixing path to global config files.
+
+USE_TOOLS+= bash:run
+REPLACE_BASH= wgetpaste
+
+do-install:
+ ${INSTALL_SCRIPT} ${WRKSRC}/wgetpaste ${DESTDIR}${PREFIX}/bin/wgetpaste
+ ${INSTALL_DATA} ${FILESDIR}/wgetpaste.conf ${DESTDIR}${PREFIX}/share/examples/wgetpaste/wgetpaste.conf
+
+.include "../../mk/bsd.pkg.mk"
diff -r 36e21c5108b7 -r 3d3137b6b873 net/wgetpaste/PLIST
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/net/wgetpaste/PLIST Sat Aug 11 08:43:45 2012 +0000
@@ -0,0 +1,3 @@
+@comment $NetBSD: PLIST,v 1.1 2012/08/11 08:43:45 obache Exp $
+bin/wgetpaste
+share/examples/wgetpaste/wgetpaste.conf
diff -r 36e21c5108b7 -r 3d3137b6b873 net/wgetpaste/distinfo
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/net/wgetpaste/distinfo Sat Aug 11 08:43:45 2012 +0000
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1 2012/08/11 08:43:45 obache Exp $
+
+SHA1 (wgetpaste-2.20.tar.bz2) = a50a5ecb236b4f7bbd4188e47a3b892b1dc90595
+RMD160 (wgetpaste-2.20.tar.bz2) = a12a9c468b249b6e59eb155e872363181deada9f
+Size (wgetpaste-2.20.tar.bz2) = 10104 bytes
diff -r 36e21c5108b7 -r 3d3137b6b873 net/wgetpaste/files/wgetpaste.conf
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/net/wgetpaste/files/wgetpaste.conf Sat Aug 11 08:43:45 2012 +0000
@@ -0,0 +1,9 @@
+SERVICES="${SERVICES} lugons bpaste"
+
+ENGINE_lugons=lodgeit
+URL_lugons="https://paste.lugons.org/"
+
+ENGINE_bpaste=lodgeit
+URL_bpaste="http://bpaste.net"
+
+DEFAULT_SERVICE=bpaste
Home |
Main Index |
Thread Index |
Old Index