pkgsrc-Bugs archive

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

Re: pkg/46744: Addition of package net/wgetpaste



The following reply was made to PR pkg/46744; it has been noted by GNATS.

From: Matthew Mondor <mm_lists%pulsar-zone.net@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc: 
Subject: Re: pkg/46744: Addition of package net/wgetpaste
Date: Wed, 25 Jul 2012 08:05:08 -0400

 --MP_/PsUr=Wb8ERNhBhQIboKSEpL
 Content-Type: text/plain; charset=US-ASCII
 Content-Transfer-Encoding: 7bit
 Content-Disposition: inline
 
 On Wed, 25 Jul 2012 11:25:03 +0000 (UTC)
 "OBATA Akio" <obache%netbsd.org@localhost> wrote:
 
 >  You can use followings for bash.
 >  USE_TOOLS+= bash:run
 >  REPLACE_BASH=       wgetpaste
 
 Thanks, I see that this also makes the DEPENDS line for bash
 unnecessary.
 
 Stub updated at http://ftp.pulsar-zone.net/pkgsrc/net-wgetpaste.tgz and
 in attachment.
 -- 
 Matt
 
 --MP_/PsUr=Wb8ERNhBhQIboKSEpL
 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+=     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
 XUSE_TOOLS+=           bash:run
 XREPLACE_BASH=         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_/PsUr=Wb8ERNhBhQIboKSEpL--
 


Home | Main Index | Thread Index | Old Index