- 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.
This commit is contained in:
fgsch 2003-09-01 05:13:17 +00:00
parent 727c9670a8
commit bc891687ad
4 changed files with 8 additions and 8 deletions

View File

@ -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 <bsd.port.mk>

View File

@ -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

View File

@ -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 <PRE-INSTALL|POST-INSTALL>" >&2

View File

@ -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