From bc891687ad4ddcb754b9ab785ed8093d01d254d2 Mon Sep 17 00:00:00 2001 From: fgsch Date: Mon, 1 Sep 2003 05:13:17 +0000 Subject: [PATCH] - install gnats.pm (required by gnatsweb). - don't silently de/install gnatsweb from/to /var/www/cgi-bin/. - bump package version. brad@ and naddy@ ok. --- databases/gnats/Makefile | 6 ++++-- databases/gnats/pkg/DEINSTALL | 3 +-- databases/gnats/pkg/INSTALL | 4 +--- databases/gnats/pkg/PFRAG.www | 3 ++- 4 files changed, 8 insertions(+), 8 deletions(-) diff --git a/databases/gnats/Makefile b/databases/gnats/Makefile index 931719cca78..e732e203f67 100644 --- a/databases/gnats/Makefile +++ b/databases/gnats/Makefile @@ -1,9 +1,9 @@ -# $OpenBSD: Makefile,v 1.14 2003/08/25 23:33:56 brad Exp $ +# $OpenBSD: Makefile,v 1.15 2003/09/01 05:13:17 fgsch Exp $ COMMENT= "GNU Problem Report Management System" DISTNAME= gnats-3.113.1 -PKGNAME= ${DISTNAME}p1 +PKGNAME= ${DISTNAME}p2 CATEGORIES= databases devel MASTER_SITES= ${MASTER_SITE_GNU:=gnats/} @@ -37,6 +37,8 @@ post-install: .if ${FLAVOR:L:Mwww} ${INSTALL_PROGRAM} ${WRKDIST}/contrib/gnatsweb/gnatsweb.pl \ ${PREFIX}/lib/gnatsweb + ${INSTALL_DATA} ${WRKDIST}/contrib/gnatsweb/gnats.pm \ + ${PREFIX}/libdata/perl5/site_perl .endif .include diff --git a/databases/gnats/pkg/DEINSTALL b/databases/gnats/pkg/DEINSTALL index 3980dfa86b4..d7ad6b7046f 100644 --- a/databases/gnats/pkg/DEINSTALL +++ b/databases/gnats/pkg/DEINSTALL @@ -1,5 +1,5 @@ #!/bin/sh -# $OpenBSD: DEINSTALL,v 1.3 2003/06/22 10:05:28 sturm Exp $ +# $OpenBSD: DEINSTALL,v 1.4 2003/09/01 05:13:17 fgsch Exp $ # # De-installation setup of gnats @@ -44,7 +44,6 @@ case $2 in DEINSTALL) do_accts do_configs - rm -f /var/www/cgi-bin/gnatsweb ;; *) echo "Usage: `basename $0` distname DEINSTALL" >&2 diff --git a/databases/gnats/pkg/INSTALL b/databases/gnats/pkg/INSTALL index cf7d1bbfab7..f77a9f458f3 100644 --- a/databases/gnats/pkg/INSTALL +++ b/databases/gnats/pkg/INSTALL @@ -1,5 +1,5 @@ #!/bin/sh -# $OpenBSD: INSTALL,v 1.3 2003/06/22 10:05:28 sturm Exp $ +# $OpenBSD: INSTALL,v 1.4 2003/09/01 05:13:17 fgsch Exp $ # # Pre/post-installation setup of gnats @@ -74,8 +74,6 @@ case $2 in POST-INSTALL) do_configs echo "===> See ${PREFIX}/share/doc/gnats/README.OpenBSD for further configuration" - test -f ${PREFIX}/lib/gnatsweb && \ - install -c -m 555 ${PREFIX}/lib/gnatsweb /var/www/cgi-bin ;; *) echo "Usage: `basename $0` distname " >&2 diff --git a/databases/gnats/pkg/PFRAG.www b/databases/gnats/pkg/PFRAG.www index d6b8fcb02d2..a6b225fec94 100644 --- a/databases/gnats/pkg/PFRAG.www +++ b/databases/gnats/pkg/PFRAG.www @@ -1,2 +1,3 @@ -@comment $OpenBSD: PFRAG.www,v 1.1.1.1 2001/01/12 17:14:51 dugsong Exp $ +@comment $OpenBSD: PFRAG.www,v 1.2 2003/09/01 05:13:17 fgsch Exp $ lib/gnatsweb +libdata/perl5/site_perl/gnats.pm