send-pr is a tool used to submit problem reports (PRs) to a central

GNATS support site.
This commit is contained in:
cheusov 2011-05-29 13:51:30 +00:00
parent 5c6a751b40
commit 1ecea24412
7 changed files with 166 additions and 0 deletions

2
misc/send-pr/DESCR Normal file
View file

@ -0,0 +1,2 @@
send-pr is a tool used to submit problem reports (PRs) to a central
GNATS support site.

67
misc/send-pr/Makefile Normal file
View file

@ -0,0 +1,67 @@
# $NetBSD: Makefile,v 1.1.1.1 2011/05/29 13:51:30 cheusov Exp $
DISTNAME= gnats-3.113.1
PKGNAME= send-pr-${GNATS_VERSION}
CATEGORIES= misc
MASTER_SITES= ${MASTER_SITE_GNU:=gnats/}
MAINTAINER= vle@gmx.net
HOMEPAGE= http://www.gnu.org/software/gnats/
COMMENT= GNATS problem reporting tool
LICENSE= gnu-gpl-v2
WRKSRC= ${WRKDIR}/gnats-${GNATS_VERSION}/send-pr
GNATS_VERSION= ${DISTNAME:S/gnats-//}
CONFLICTS+= gnats-[0-9]* arla-[0-9]*
GNU_CONFIGURE= YES
PKG_DESTDIR_SUPPORT= user-destdir
USE_TOOLS+= makeinfo
INFO_FILES= yes
LISPDIR= ${PREFIX}/share/emacs/site-lisp
CONFIGURE_ARGS= --with-lispdir=${LISPDIR}
CONFIGURE_ENV+= GNATS_ROOT=${PKG_SYSCONFDIR}/gnats
INSTALL_TARGET= install install-info
# this stops the configuration program from pulling installation
# information in from the standard NetBSD send-pr program
CONFIGURE_ENV+= SEND_PR=/dev/null
BUILD_MAKE_FLAGS+= MAKEINFO=makeinfo\ --no-split
INSTALL_MAKE_FLAGS+= INSTALL_SCRIPT=${INSTALL_SCRIPT:Q} \
man1dir=${DESTDIR}${PREFIX}/${PKGMANDIR}/man1 \
bindir=${DESTDIR}${PREFIX}/bin \
datadir=${DESTDIR}${PREFIX}/share \
infodir=${DESTDIR}${PREFIX}/${PKGINFODIR} \
lispdir=${DESTDIR}${LISPDIR}
AUTO_MKDIRS= yes
EGDIR= ${PREFIX}/share/examples/gnats
CONF_FILES= ${EGDIR}/config \
${PKG_SYSCONFDIR}/gnats/gnats-adm/config
MAKE_DIRS+= ${PKG_SYSCONFDIR}/gnats \
${PKG_SYSCONFDIR}/gnats/gnats-adm
SUBST_CLASSES+= fix-paths
SUBST_STAGE.fix-paths= post-patch
SUBST_MESSAGE.fix-paths=Fixing paths
SUBST_FILES.fix-paths= send-pr.sh
SUBST_SED.fix-paths= -e 's,install-sid,${PREFIX}/bin/install-sid,'
SUBST_SED.fix-paths+= -e 's,send-pr --request-id,${PREFIX}/bin/send-pr --request-id,'
post-build:
cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE} ${MAKE_FLAGS} info
post-install:
${INSTALL_DATA} ${WRKSRC}/INSTALL ${DESTDIR}${PREFIX}/share/gnats/dist/INSTALL.send-pr
${INSTALL_DATA} ${FILESDIR}/netbsd-categories ${DESTDIR}${PREFIX}/share/gnats/netbsd
${INSTALL_DATA} ${FILESDIR}/config ${DESTDIR}${EGDIR}
.include "../../mk/bsd.pkg.mk"

10
misc/send-pr/PLIST Normal file
View file

@ -0,0 +1,10 @@
@comment $NetBSD: PLIST,v 1.1.1.1 2011/05/29 13:51:30 cheusov Exp $
bin/install-sid
bin/send-pr
info/send-pr.info
man/man1/send-pr.1
share/emacs/site-lisp/send-pr.el
share/examples/gnats/config
share/gnats/cygnus
share/gnats/dist/INSTALL.send-pr
share/gnats/netbsd

4
misc/send-pr/TODO Normal file
View file

@ -0,0 +1,4 @@
maybe remove send-pr from database/gnats and depend on this instead
(and get rid of any CONFLICTs)
update to latest version

5
misc/send-pr/distinfo Normal file
View file

@ -0,0 +1,5 @@
$NetBSD: distinfo,v 1.1.1.1 2011/05/29 13:51:30 cheusov Exp $
SHA1 (gnats-3.113.1.tar.gz) = ad4dbafae3e643c61dbcacb721a1e11a803c67aa
RMD160 (gnats-3.113.1.tar.gz) = 047f455d91f3bb452435a9ccdc6eb5823d8a8138
Size (gnats-3.113.1.tar.gz) = 1120985 bytes

View file

@ -0,0 +1,8 @@
# The mail address for PR submissions.
GNATS_ADDR=gnats-bugs@gnats.netbsd.org
# The release for this host.
DEFAULT_RELEASE="`uname -s` `uname -r`"
# The site to look for.
GNATS_SITE=netbsd
# The submitter-id for your site.
SUBMITTER=net

View file

@ -0,0 +1,70 @@
bin
install
kern
lib
misc
pkg
port-acorn26
port-acorn32
port-algor
port-alpha
port-amd64
port-amiga
port-amigappc
port-arc
port-arm
port-atari
port-bebox
port-cats
port-cesfic
port-cobalt
port-dreamcast
port-evbarm
port-evbmips
port-evbppc
port-evbsh3
port-evbsh5
port-hp300
port-hp700
port-hpcarm
port-hpcmips
port-hpcsh
port-hppa
port-i386
port-luna68k
port-m68k
port-mac68k
port-macppc
port-mips
port-mipsco
port-mmeye
port-mvme68k
port-mvmeppc
port-netwinder
port-news68k
port-newsmips
port-next68k
port-ofppc
port-pc532
port-playstation2
port-pmax
port-pmppc
port-powerpc
port-prep
port-sandpoint
port-sbmips
port-sgimips
port-sh3
port-sh5
port-shark
port-sparc
port-sparc64
port-sun2
port-sun3
port-vax
port-x68k
security
standards
toolchain
xsrc
y2k