Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 8 Oct 1998 17:57:18 +0300 (EEST)
From:      Ruslan Ermilov <ru@ucb.crimea.ua>
To:        FreeBSD-gnats-submit@FreeBSD.ORG
Subject:   ports/8207: Portlint for net/bb-1.08a
Message-ID:  <199810081457.RAA09413@relay.ucb.crimea.ua>

next in thread | raw e-mail | index | archive | help

>Number:         8207
>Category:       ports
>Synopsis:       Portlint for net/bb-1.08a
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:
>Keywords:
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Thu Oct  8 08:00:01 PDT 1998
>Last-Modified:
>Originator:     Ruslan Ermilov
>Organization:
United Commercial Bank
>Release:        FreeBSD 2.2.7-STABLE i386
>Environment:

	Fresh 2.2.7-STABLE

>Description:

	There are two problems.
	Firstly, the port doesn't install one file from the distribution.
	Secondly, this port is not deleted properly.
	It hangs on deletion of ${PREFIX}/www/data/bb.
	The actual problem lies in pkg_delete(1), and I
	will post the info to -hackers right now.

>How-To-Repeat:

	Install port, then try to delete it.

>Fix:
	

Index: Makefile
===================================================================
RCS file: /usr/FreeBSD-CVS/ports/net/bb/Makefile,v
retrieving revision 1.29
diff -u -r1.29 Makefile
--- Makefile	1998/09/22 17:22:12	1.29
+++ Makefile	1998/10/08 14:33:38
@@ -67,7 +67,7 @@
 	${INSTALL_DATA} ${WRKSRC}/etc/$(file) \
 		${PREFIX}/bb/etc
 .endfor
-.for file in	mkbb.bkg mkbb.cols mkbb.sh mkbb2.sh
+.for file in	mkbb.bkg mkbb.cols mkbb.comp mkbb.sh mkbb2.sh
 	${INSTALL_SCRIPT} ${WRKSRC}/web/$(file) \
 		${PREFIX}/bb/web
 .endfor
@@ -77,8 +77,6 @@
 .endfor
 	${INSTALL_SCRIPT} ${WRKSRC}/www/bb-pager.sh \
 				${PREFIX}/www/cgi-bin/bb-pager.sh
-	@ln -sf ${PREFIX}/www/cgi-bin/bb-pager.sh \
-				${PREFIX}/bb/www/bb-pager.sh
 .for file in	bb-diag.gif bb.gif bb2.gif bbbut.gif bkg-green.gif \
 		bkg-purple.gif bkg-red.gif bkg-yellow.gif blue.gif \
 		buthelp.gif butinfo.gif butpage.gif butview.gif clear.gif \
@@ -94,9 +92,8 @@
 	${INSTALL_DATA} ${WRKSRC}/www/notes/$(file) \
 		${PREFIX}/bb/www/notes
 .endfor
-	@${RM} -f ${PREFIX}/www/data/bb
-	@ln -sf ${PREFIX}/bb/www ${PREFIX}/www/data/bb
-	@ln -sf bb.html ${PREFIX}/bb/www/index.html
+	@${LN} -fs ${PREFIX}/bb/www ${PREFIX}/www/data/bb
+	@${LN} -fs bb.html ${PREFIX}/bb/www/index.html
 	@echo ""
 	@echo "================================================================"
 	@echo "==== Configuration Notes:                                    ==="
Index: pkg/PLIST
===================================================================
RCS file: /usr/FreeBSD-CVS/ports/net/bb/pkg/PLIST,v
retrieving revision 1.9
diff -u -r1.9 PLIST
--- PLIST	1998/05/18 21:52:06	1.9
+++ PLIST	1998/10/08 14:33:52
@@ -34,13 +34,13 @@
 bb/tmp/.keep_me
 bb/web/mkbb.bkg
 bb/web/mkbb.cols
+bb/web/mkbb.comp
 bb/web/mkbb.sh
 bb/web/mkbb2.sh
 bb/www/bb-faq.html
 bb/www/bb-help.html
 bb/www/bb-info.html
 bb/www/bb-page.html
-bb/www/bb-pager.sh
 bb/www/gifs/bb-diag.gif
 bb/www/gifs/bb.gif
 bb/www/gifs/bb2.gif
@@ -62,7 +62,8 @@
 bb/www/gifs/purple.gif
 bb/www/gifs/red.gif
 bb/www/gifs/yellow.gif
-bb/www/index.html
+@exec ln -fs bb.html %D/bb/www/index.html
+@unexec rm %D/bb/www/index.html
 bb/www/logs/later
 bb/www/notes/README
 bb/www/notes/footer
@@ -78,7 +79,8 @@
 share/doc/bb/bbclient
 share/doc/bb/bbconfig
 www/cgi-bin/bb-pager.sh
-www/data/bb
+@exec ln -fs %D/bb/www %D/www/data/bb
+@unexec rm %D/www/data/bb
 @dirrm bb/bin
 @dirrm bb/etc
 @dirrm bb/web
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199810081457.RAA09413>