diff options
-rw-r--r-- | misc/send-pr/DESCR | 2 | ||||
-rw-r--r-- | misc/send-pr/Makefile | 67 | ||||
-rw-r--r-- | misc/send-pr/PLIST | 10 | ||||
-rw-r--r-- | misc/send-pr/TODO | 4 | ||||
-rw-r--r-- | misc/send-pr/distinfo | 5 | ||||
-rw-r--r-- | misc/send-pr/files/config | 8 | ||||
-rw-r--r-- | misc/send-pr/files/netbsd-categories | 70 |
7 files changed, 166 insertions, 0 deletions
diff --git a/misc/send-pr/DESCR b/misc/send-pr/DESCR new file mode 100644 index 00000000000..7d60701ceb7 --- /dev/null +++ b/misc/send-pr/DESCR @@ -0,0 +1,2 @@ +send-pr is a tool used to submit problem reports (PRs) to a central +GNATS support site. diff --git a/misc/send-pr/Makefile b/misc/send-pr/Makefile new file mode 100644 index 00000000000..5e64d06fbd0 --- /dev/null +++ b/misc/send-pr/Makefile @@ -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" diff --git a/misc/send-pr/PLIST b/misc/send-pr/PLIST new file mode 100644 index 00000000000..62c53678aaa --- /dev/null +++ b/misc/send-pr/PLIST @@ -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 diff --git a/misc/send-pr/TODO b/misc/send-pr/TODO new file mode 100644 index 00000000000..5fe5e519925 --- /dev/null +++ b/misc/send-pr/TODO @@ -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 diff --git a/misc/send-pr/distinfo b/misc/send-pr/distinfo new file mode 100644 index 00000000000..b6f84972be5 --- /dev/null +++ b/misc/send-pr/distinfo @@ -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 diff --git a/misc/send-pr/files/config b/misc/send-pr/files/config new file mode 100644 index 00000000000..495913295a7 --- /dev/null +++ b/misc/send-pr/files/config @@ -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 diff --git a/misc/send-pr/files/netbsd-categories b/misc/send-pr/files/netbsd-categories new file mode 100644 index 00000000000..3de19d1970f --- /dev/null +++ b/misc/send-pr/files/netbsd-categories @@ -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 |