pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/46744: Addition of package net/wgetpaste



>Number:         46744
>Category:       pkg
>Synopsis:       Addition of package net/wgetpaste
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Wed Jul 25 10:10:00 +0000 2012
>Originator:     Matthew Mondor
>Release:        NetBSD 6.0_BETA2
>Organization:
>Environment:
System: NetBSD ninja.xisop 6.0_BETA2 NetBSD 6.0_BETA2 (GENERIC_MM) #18: Wed Jul 
4 20:43:55 EDT 2012 root@ninja.xisop:/usr/obj/sys/arch/amd64/compile/GENERIC_MM 
amd64
Architecture: x86_64
Machine: amd64
>Description:

The pkgsrc stub can be found at:
http://ftp.pulsar-zone.net/pkgsrc/net-wgetpaste.tgz
A shell archive of the same stub is also attached.

Information for wgetpaste-2.20:

Comment:
Command line utility to upload to pastebin sites

Requires:
bash>=4.2
wget>=1.13.4

Description:
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.

Homepage:
http://wgetpaste.zlin.dk/

>How-To-Repeat:
>Fix:

--MP_/YRHy8Mh1MnNehF20.t.q93d
Content-Type: text/plain
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment; filename=net-wgetpaste.shar

# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#       wgetpaste
#       wgetpaste/files
#       wgetpaste/files/wgetpaste.conf
#       wgetpaste/PLIST
#       wgetpaste/Makefile
#       wgetpaste/DESCR
#       wgetpaste/distinfo
#
echo c - wgetpaste
mkdir -p wgetpaste > /dev/null 2>&1
echo c - wgetpaste/files
mkdir -p wgetpaste/files > /dev/null 2>&1
echo x - wgetpaste/files/wgetpaste.conf
sed 's/^X//' >wgetpaste/files/wgetpaste.conf << 
'END-of-wgetpaste/files/wgetpaste.conf'
XSERVICES="${SERVICES} lugons bpaste"
X
XENGINE_lugons=lodgeit
XURL_lugons="https://paste.lugons.org/";
X
XENGINE_bpaste=lodgeit
XURL_bpaste="http://bpaste.net";
X
XDEFAULT_SERVICE=bpaste
END-of-wgetpaste/files/wgetpaste.conf
echo x - wgetpaste/PLIST
sed 's/^X//' >wgetpaste/PLIST << 'END-of-wgetpaste/PLIST'
X@comment $NetBSD$
Xbin/wgetpaste
Xshare/examples/wgetpaste.d/wgetpaste.conf
END-of-wgetpaste/PLIST
echo x - wgetpaste/Makefile
sed 's/^X//' >wgetpaste/Makefile << 'END-of-wgetpaste/Makefile'
X# $NetBSD$
X
XDISTNAME=      wgetpaste-2.20
XCATEGORIES=    net www
XMASTER_SITES=  http://wgetpaste.zlin.dk/
XEXTRACT_SUFX=  .tar.bz2
X
XMAINTAINER=    pkgsrc-users%NetBSD.org@localhost
XHOMEPAGE=      http://wgetpaste.zlin.dk/
XCOMMENT=       Command line utility to upload to pastebin sites
XLICENSE=       public-domain
X
XDEPENDS+=      bash>=4.2:../../shells/bash
XDEPENDS+=      wget>=1.13.4:../../net/wget
X
XPKG_DESTDIR_SUPPORT=   user-destdir
XINSTALLATION_DIRS=     bin share/examples/wgetpaste.d etc
XNO_BUILD=              yes
X
XCONF_FILES=            ${PREFIX}/share/examples/wgetpaste.d/wgetpaste.conf 
${PKG_SYSCONFDIR}/wgetpaste.conf
X
XSUBST_CLASSES+=                config
XSUBST_SED.config+=     -e "s,/etc/,${PKG_SYSCONFDIR}/,g"
XSUBST_FILES.config+=   wgetpaste
XSUBST_STAGE.config=    pre-install
XSUBST_MESSAGE.config=  Fixing path to global config files.
X
XREPLACE_INTERPRETER+=  bash
XREPLACE.bash.old=      /usr/bin/env\ bash
XREPLACE.bash.new=      ${PREFIX}/bin/bash
XREPLACE_FILES.bash=    ${WRKSRC}/wgetpaste
X
Xdo-install:
X       ${INSTALL_SCRIPT} ${WRKSRC}/wgetpaste ${DESTDIR}${PREFIX}/bin/wgetpaste
X       ${INSTALL_DATA} ${FILESDIR}/wgetpaste.conf 
${DESTDIR}${PREFIX}/share/examples/wgetpaste.d/wgetpaste.conf
X
X.include "../../mk/bsd.pkg.mk"
END-of-wgetpaste/Makefile
echo x - wgetpaste/DESCR
sed 's/^X//' >wgetpaste/DESCR << 'END-of-wgetpaste/DESCR'
XA Script that automates pasting to a number of pastebin services
Xrelying only on bash, sed, coreutils (mktemp/sort/tr/wc/whoami/tee)
Xand wget.
END-of-wgetpaste/DESCR
echo x - wgetpaste/distinfo
sed 's/^X//' >wgetpaste/distinfo << 'END-of-wgetpaste/distinfo'
X$NetBSD$
X
XSHA1 (wgetpaste-2.20.tar.bz2) = a50a5ecb236b4f7bbd4188e47a3b892b1dc90595
XRMD160 (wgetpaste-2.20.tar.bz2) = a12a9c468b249b6e59eb155e872363181deada9f
XSize (wgetpaste-2.20.tar.bz2) = 10104 bytes
END-of-wgetpaste/distinfo
exit


--MP_/YRHy8Mh1MnNehF20.t.q93d--

>Unformatted:
 --MP_/YRHy8Mh1MnNehF20.t.q93d
 Content-Type: text/plain; charset=US-ASCII
 Content-Transfer-Encoding: 7bit
 Content-Disposition: inline
 


Home | Main Index | Thread Index | Old Index