ports/60782: fix port: www/slash

Yen-Ming Lee leeym at utopia.leeym.com
Thu Jan 1 15:21:11 UTC 2004


>Number:         60782
>Category:       ports
>Synopsis:       fix port: www/slash
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Jan 01 07:20:22 PST 2004
>Closed-Date:
>Last-Modified:
>Originator:     Yen-Ming Lee
>Release:        FreeBSD 5.2-RC i386
>Organization:
>Environment:
System: FreeBSD utopia.leeym.com 5.2-RC FreeBSD 5.2-RC #7: Thu Dec 18 09:21:26 CST 2003 root at utopia.leeym.com:/mnt3/obj/usr/src/sys/UTOPIA i386


	
>Description:

add missing MAN3 and update PLIST

>How-To-Repeat:

http://bento.freebsd.org/errorlogs/i386-5-latest-logs/extras.html#slash-2.2.6.log

>Fix:

	

--- slash.diff begins here ---
Index: Makefile
===================================================================
RCS file: /home/pcvs/ports/www/slash/Makefile,v
retrieving revision 1.6
diff -u -r1.6 Makefile
--- Makefile	19 Oct 2003 08:33:38 -0000	1.6
+++ Makefile	1 Jan 2004 15:11:43 -0000
@@ -8,21 +8,37 @@
 PORTNAME=	slash
 PORTVERSION=	2.2.6
 CATEGORIES=	www
-MASTER_SITES=   ${MASTER_SITE_SOURCEFORGE}
+MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
 MASTER_SITE_SUBDIR=	slashcode
 DISTNAME=	slash-${PORTVERSION}
 
 MAINTAINER=	autrijus at autrijus.org
 COMMENT=	Slash-Like Automatic Storytelling Homepage system
 
-BUILD_DEPENDS=  ${LOCALBASE}/bin/safe_mysqld:${PORTSDIR}/databases/mysql323-server \
+BUILD_DEPENDS=	${LOCALBASE}/bin/mysqld_safe:${PORTSDIR}/databases/mysql40-server \
 		${SITE_PERL}/Bundle/Slash.pm:${PORTSDIR}/www/p5-Bundle-Slash
-RUN_DEPENDS=    ${BUILD_DEPENDS} \
+RUN_DEPENDS=	${BUILD_DEPENDS} \
 		${LOCALBASE}/libexec/apache/libperl.so:${PORTSDIR}/www/mod_perl
 
 DOCS=		README INSTALL
+MAN3PREFIX=	${PREFIX}/lib/perl5/${PERL_VERSION}
+MAN3=		FZ.3 Slash.3 Slash::Apache.3 Slash::Apache::Banlist.3 \
+		Slash::Apache::Log.3 Slash::Apache::User.3 \
+		Slash::Custom::Bulkmail.3 Slash::DB.3 Slash::DB::MySQL.3 \
+		Slash::DB::Oracle.3 Slash::DB::PostgreSQL.3 \
+		Slash::DB::Static::MySQL.3 Slash::DB::Static::Oracle.3 \
+		Slash::DB::Static::PostgreSQL.3 Slash::DB::Utility.3 \
+		Slash::Display.3 Slash::Display::Plugin.3 \
+		Slash::Display::Provider.3 Slash::Install.3 Slash::Journal.3 \
+		Slash::Messages.3 Slash::Messages::DB::MySQL.3 \
+		Slash::Search.3 Slash::Test.3 Slash::Utility.3 \
+		Slash::Utility::Access.3 Slash::Utility::Anchor.3 \
+		Slash::Utility::Data.3 Slash::Utility::Display.3 \
+		Slash::Utility::Environment.3 Slash::Utility::System.3 \
+		Slash::XML.3 Slash::XML::RSS.3
 
 post-install:
+	@${FIND} ${PREFIX}/slash -name "*.orig" -delete
 	@${SED} s!%%LOCALBASE%%!${LOCALBASE}!g ${PKGMESSAGE}
 
 .include <bsd.port.pre.mk>
Index: pkg-plist
===================================================================
RCS file: /home/pcvs/ports/www/slash/pkg-plist,v
retrieving revision 1.4
diff -u -r1.4 pkg-plist
--- pkg-plist	23 Oct 2003 11:41:17 -0000	1.4
+++ pkg-plist	1 Jan 2004 15:11:44 -0000
@@ -1,3 +1,47 @@
+%%SITE_PERL%%/mach/auto/Slash/Apache/Apache.so
+%%SITE_PERL%%/mach/auto/Slash/Apache/Apache.bs
+%%SITE_PERL%%/mach/auto/Slash/Apache/User/User.so
+%%SITE_PERL%%/mach/auto/Slash/Apache/User/User.bs
+%%SITE_PERL%%/mach/auto/Slash/Apache/User/autosplit.ix
+%%SITE_PERL%%/mach/auto/Slash/Apache/autosplit.ix
+%%SITE_PERL%%/mach/auto/Slash/.packlist
+%%SITE_PERL%%/mach/auto/Slash/Journal/.packlist
+%%SITE_PERL%%/mach/auto/Slash/Search/.packlist
+%%SITE_PERL%%/mach/auto/Slash/Messages/.packlist
+%%SITE_PERL%%/mach/auto/Slash/XML/FZ.pm/.packlist
+%%SITE_PERL%%/mach/Slash/Apache.pm
+%%SITE_PERL%%/mach/Slash/DB.pm
+%%SITE_PERL%%/mach/Slash/Display.pm
+%%SITE_PERL%%/mach/Slash/Install.pm
+%%SITE_PERL%%/mach/Slash/Test.pm
+%%SITE_PERL%%/mach/Slash/Utility.pm
+%%SITE_PERL%%/mach/Slash/XML.pm
+%%SITE_PERL%%/mach/Slash/XML/RSS.pm
+%%SITE_PERL%%/mach/Slash/Utility/Access.pm
+%%SITE_PERL%%/mach/Slash/Utility/Anchor.pm
+%%SITE_PERL%%/mach/Slash/Utility/Data.pm
+%%SITE_PERL%%/mach/Slash/Utility/Display.pm
+%%SITE_PERL%%/mach/Slash/Utility/Environment.pm
+%%SITE_PERL%%/mach/Slash/Utility/System.pm
+%%SITE_PERL%%/mach/Slash/Display/Plugin.pm
+%%SITE_PERL%%/mach/Slash/Display/Provider.pm
+%%SITE_PERL%%/mach/Slash/DB/MySQL.pm
+%%SITE_PERL%%/mach/Slash/DB/Oracle.pm
+%%SITE_PERL%%/mach/Slash/DB/PostgreSQL.pm
+%%SITE_PERL%%/mach/Slash/DB/Utility.pm
+%%SITE_PERL%%/mach/Slash/DB/Static/MySQL.pm
+%%SITE_PERL%%/mach/Slash/DB/Static/Oracle.pm
+%%SITE_PERL%%/mach/Slash/DB/Static/PostgreSQL.pm
+%%SITE_PERL%%/mach/Slash/Custom/Bulkmail.pm
+%%SITE_PERL%%/mach/Slash/Apache/Banlist.pm
+%%SITE_PERL%%/mach/Slash/Apache/Log.pm
+%%SITE_PERL%%/mach/Slash/Apache/User.pm
+%%SITE_PERL%%/mach/Slash.pm
+%%SITE_PERL%%/Slash/Journal.pm
+%%SITE_PERL%%/Slash/Search.pm
+%%SITE_PERL%%/Slash/Messages.pm
+%%SITE_PERL%%/Slash/Messages/DB/MySQL.pm
+%%SITE_PERL%%/Slash/XML/FZ.pm
 slash/bin/install-theme
 slash/bin/install-plugin
 slash/bin/backup-blocks
@@ -353,48 +397,67 @@
 slash/httpd/slash.conf
 slash/httpd/slash.conf.def
 slash/slash.sites
- at dirrm slash/bin
- at dirrm slash/bin/templates
- at dirrm slash/sbin
- at dirrm slash/sql
- at dirrm slash/sql/mysql
- at dirrm slash/sql/oracle
- at dirrm slash/sql/postgresql
- at dirrm slash/themes
- at dirrm slash/themes/slashcode
- at dirrm slash/themes/slashcode/htdocs
- at dirrm slash/themes/slashcode/htdocs/images
- at dirrm slash/themes/slashcode/htdocs/images/topics
- at dirrm slash/themes/slashcode/sql
- at dirrm slash/themes/slashcode/sql/mysql
- at dirrm slash/themes/slashcode/sql/oracle
- at dirrm slash/themes/slashcode/sql/postgresql
- at dirrm slash/themes/slashcode/backup
- at dirrm slash/themes/slashcode/logs
+ at dirrm %%SITE_PERL%%/mach/auto/Slash/XML/FZ.pm
+ at dirrm %%SITE_PERL%%/mach/auto/Slash/XML/
+ at dirrm %%SITE_PERL%%/mach/auto/Slash/Search
+ at dirrm %%SITE_PERL%%/mach/auto/Slash/Messages
+ at dirrm %%SITE_PERL%%/mach/auto/Slash/Journal
+ at dirrm %%SITE_PERL%%/mach/auto/Slash/Apache/User
+ at dirrm %%SITE_PERL%%/mach/auto/Slash/Apache
+ at dirrm %%SITE_PERL%%/mach/auto/Slash
+ at dirrm %%SITE_PERL%%/mach/Slash/XML
+ at dirrm %%SITE_PERL%%/mach/Slash/Utility
+ at dirrm %%SITE_PERL%%/mach/Slash/Display
+ at dirrm %%SITE_PERL%%/mach/Slash/DB/Static
+ at dirrm %%SITE_PERL%%/mach/Slash/DB
+ at dirrm %%SITE_PERL%%/mach/Slash/Custom
+ at dirrm %%SITE_PERL%%/mach/Slash/Apache
+ at dirrm %%SITE_PERL%%/mach/Slash
+ at unexec rmdir %%SITE_PERL%%/mach 2>/dev/null || true
+ at dirrm %%SITE_PERL%%/Slash/XML
+ at dirrm %%SITE_PERL%%/Slash/Messages/DB
+ at dirrm %%SITE_PERL%%/Slash/Messages
+ at dirrm %%SITE_PERL%%/Slash
 @dirrm slash/themes/slashcode/templates
 @dirrm slash/themes/slashcode/tasks
+ at dirrm slash/themes/slashcode/sql/postgresql
+ at dirrm slash/themes/slashcode/sql/oracle
+ at dirrm slash/themes/slashcode/sql/mysql
+ at dirrm slash/themes/slashcode/sql
 @dirrm slash/themes/slashcode/misc
- at dirrm slash/plugins
- at dirrm slash/plugins/Admin
- at dirrm slash/plugins/Admin/templates
- at dirrm slash/plugins/Search
+ at dirrm slash/themes/slashcode/logs
+ at dirrm slash/themes/slashcode/htdocs/images/topics
+ at dirrm slash/themes/slashcode/htdocs/images
+ at dirrm slash/themes/slashcode/htdocs
+ at dirrm slash/themes/slashcode/backup
+ at dirrm slash/themes/slashcode
+ at dirrm slash/themes
+ at dirrm slash/sql/postgresql
+ at dirrm slash/sql/oracle
+ at dirrm slash/sql/mysql
+ at dirrm slash/sql
+ at dirrm slash/sbin
 @dirrm slash/plugins/Search/templates
- at dirrm slash/plugins/PubKey
+ at dirrm slash/plugins/Search
 @dirrm slash/plugins/PubKey/templates
- at dirrm slash/plugins/Messages
+ at dirrm slash/plugins/PubKey
 @dirrm slash/plugins/Messages/templates
- at dirrm slash/plugins/Messages/DB
 @dirrm slash/plugins/Messages/DB/MySQL
- at dirrm slash/plugins/BunchaBlocks
- at dirrm slash/plugins/Hof
+ at dirrm slash/plugins/Messages/DB
+ at dirrm slash/plugins/Messages
+ at dirrm slash/plugins/Journal/templates
+ at dirrm slash/plugins/Journal
 @dirrm slash/plugins/Hof/templates
- at dirrm slash/plugins/ForumZilla
+ at dirrm slash/plugins/Hof
 @dirrm slash/plugins/ForumZilla/templates
- at dirrm slash/plugins/CheesyPortal
+ at dirrm slash/plugins/ForumZilla
 @dirrm slash/plugins/CheesyPortal/templates
 @dirrm slash/plugins/CheesyPortal/tasks
- at dirrm slash/plugins/Journal
- at dirrm slash/plugins/Journal/templates
+ at dirrm slash/plugins/CheesyPortal
+ at dirrm slash/plugins/BunchaBlocks
+ at dirrm slash/plugins/Admin/templates
+ at dirrm slash/plugins/Admin
+ at dirrm slash/plugins
 @dirrm slash/httpd
- at dirrm slash/site
+ at dirrm slash/bin
 @unexec rmdir %D/slash 2>/dev/null || true
--- slash.diff ends here ---


>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list