- 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:
parent
727c9670a8
commit
bc891687ad
@ -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"
|
COMMENT= "GNU Problem Report Management System"
|
||||||
|
|
||||||
DISTNAME= gnats-3.113.1
|
DISTNAME= gnats-3.113.1
|
||||||
PKGNAME= ${DISTNAME}p1
|
PKGNAME= ${DISTNAME}p2
|
||||||
CATEGORIES= databases devel
|
CATEGORIES= databases devel
|
||||||
MASTER_SITES= ${MASTER_SITE_GNU:=gnats/}
|
MASTER_SITES= ${MASTER_SITE_GNU:=gnats/}
|
||||||
|
|
||||||
@ -37,6 +37,8 @@ post-install:
|
|||||||
.if ${FLAVOR:L:Mwww}
|
.if ${FLAVOR:L:Mwww}
|
||||||
${INSTALL_PROGRAM} ${WRKDIST}/contrib/gnatsweb/gnatsweb.pl \
|
${INSTALL_PROGRAM} ${WRKDIST}/contrib/gnatsweb/gnatsweb.pl \
|
||||||
${PREFIX}/lib/gnatsweb
|
${PREFIX}/lib/gnatsweb
|
||||||
|
${INSTALL_DATA} ${WRKDIST}/contrib/gnatsweb/gnats.pm \
|
||||||
|
${PREFIX}/libdata/perl5/site_perl
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
.include <bsd.port.mk>
|
.include <bsd.port.mk>
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
#!/bin/sh
|
#!/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
|
# De-installation setup of gnats
|
||||||
|
|
||||||
@ -44,7 +44,6 @@ case $2 in
|
|||||||
DEINSTALL)
|
DEINSTALL)
|
||||||
do_accts
|
do_accts
|
||||||
do_configs
|
do_configs
|
||||||
rm -f /var/www/cgi-bin/gnatsweb
|
|
||||||
;;
|
;;
|
||||||
*)
|
*)
|
||||||
echo "Usage: `basename $0` distname DEINSTALL" >&2
|
echo "Usage: `basename $0` distname DEINSTALL" >&2
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
#!/bin/sh
|
#!/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
|
# Pre/post-installation setup of gnats
|
||||||
|
|
||||||
@ -74,8 +74,6 @@ case $2 in
|
|||||||
POST-INSTALL)
|
POST-INSTALL)
|
||||||
do_configs
|
do_configs
|
||||||
echo "===> See ${PREFIX}/share/doc/gnats/README.OpenBSD for further configuration"
|
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
|
echo "Usage: `basename $0` distname <PRE-INSTALL|POST-INSTALL>" >&2
|
||||||
|
@ -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
|
lib/gnatsweb
|
||||||
|
libdata/perl5/site_perl/gnats.pm
|
||||||
|
Loading…
x
Reference in New Issue
Block a user