Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 14 May 2014 22:09:23 GMT
From:      Johan Huldtgren <jhuldtgren@gmail.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/189820: www/blogsum Stage support
Message-ID:  <201405142209.s4EM9N79091661@cgiserv.freebsd.org>
Resent-Message-ID: <201405142210.s4EMA0bw049287@freefall.freebsd.org>

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

>Number:         189820
>Category:       ports
>Synopsis:       www/blogsum Stage support
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Wed May 14 22:10:00 UTC 2014
>Closed-Date:
>Last-Modified:
>Originator:     Johan Huldtgren
>Release:        10.0
>Organization:
>Environment:
FreeBSD fmgla 10.0-RELEASE FreeBSD 10.0-RELEASE #0 r260789: Thu Jan 16 22:34:59 UTC 2014     root@snap.freebsd.org:/usr/obj/usr/src/sys/GENERIC  amd64
>Description:
Stage support for www/blogsum

make stage and make package successful. however make check-plist throws an error (this despite it being seemingly a correct plist, it first complains about files in plist not in stagedir, then turns it around and complains about files not in stagedir but in plist. the list is identical, so I'm not sure how it can be both). I'm assuming a seasoned porter knows how to address this issue.
>How-To-Repeat:

>Fix:


Patch attached with submission follows:

# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	blogsum
#	blogsum/Makefile
#	blogsum/distinfo
#	blogsum/files
#	blogsum/files/pkg-message.in
#	blogsum/pkg-descr
#	blogsum/pkg-plist
#
echo c - blogsum
mkdir -p blogsum > /dev/null 2>&1
echo x - blogsum/Makefile
sed 's/^X//' >blogsum/Makefile << 'ab73e1d34ced0d1c7dff61a56fba8f2c'
X# Created by: jhuldtgren
X# $FreeBSD: head/www/blogsum/Makefile 327776 2013-09-20 23:36:50Z bapt $
X
XPORTNAME=	blogsum
XPORTVERSION=	1.1
XPORTREVISION=	3
XCATEGORIES=	www
XMASTER_SITES=	http://www.dixongroup.net/
X
XMAINTAINER=	jhuldtgren@gmail.com
XCOMMENT=	Simple weblog
X
XRUN_DEPENDS=	p5-DBI>=0:${PORTSDIR}/databases/p5-DBI \
X		p5-DBD-SQLite>=0:${PORTSDIR}/databases/p5-DBD-SQLite \
X		p5-XML-RSS>=0:${PORTSDIR}/textproc/p5-XML-RSS \
X		p5-XML-Simple>=0:${PORTSDIR}/textproc/p5-XML-Simple \
X		p5-HTML-Template>=0:${PORTSDIR}/www/p5-HTML-Template \
X		p5-HTTP-Lite>=0:${PORTSDIR}/www/p5-HTTP-Lite \
X		${APACHE_PKGNAMEPREFIX}mod_perl2>=0:${PORTSDIR}/www/mod_perl2
X
XUSES=		perl5
XNO_BUILD=	yes
XUSE_PERL5=	run
XUSE_APACHE_RUN=	22+
X
X.include <bsd.port.pre.mk>
X
XSUB_FILES=	pkg-message
XSUB_LIST+=	APACHEETCDIR=${APACHEETCDIR} APACHEMODDIR=${APACHEMODDIR} WWWOWN=${WWWOWN}
X
Xpre-everything::
X	@${ECHO_MSG} ""
X	@${ECHO_MSG} "You may set following options:"
X	@${ECHO_MSG} ""
X	@${ECHO_MSG} "WWWDIR=${WWWDIR}	Where do you put httpd's document root?"
X	@${ECHO_MSG} ""
X
Xdo-install:
X	@${MKDIR} ${STAGEDIR}${WWWDIR}/
X	@ cd ${WRKSRC} && ${COPYTREE_SHARE} . ${STAGEDIR}${WWWDIR}/
X
Xpost-install:
X	@${MKDIR} ${STAGEDIR}${WWWDIR}/data
X
X.include <bsd.port.post.mk>
ab73e1d34ced0d1c7dff61a56fba8f2c
echo x - blogsum/distinfo
sed 's/^X//' >blogsum/distinfo << 'e480ebf8196df7e69f7bc34931b53e2c'
XSHA256 (blogsum-1.1.tar.gz) = 99bf35af599215ef22a85dc2d1903309953c9d6b58d000a75949bc1258991494
XSIZE (blogsum-1.1.tar.gz) = 21722
e480ebf8196df7e69f7bc34931b53e2c
echo c - blogsum/files
mkdir -p blogsum/files > /dev/null 2>&1
echo x - blogsum/files/pkg-message.in
sed 's/^X//' >blogsum/files/pkg-message.in << 'f5baae7271b566b55eae148e886a5b4a'
X# To finish installing Blogsum, the following steps must be completed.
X
X1)  Setup the SQLite database:
X
X	$ su -m %%WWWOWN%% -c 'sqlite3 %%WWWDIR%%/data/site.db < \
X		%%WWWDIR%%/examples/create_sqlite.sql'
X
X2)  Create your local configuration and modify as necessary:
X
X	$ cp %%WWWDIR%%/Blogsum/Config.pm.dist \
X		%%WWWDIR%%/Blogsum/Config.pm
X
X################################################################
XNOTE: If you are updating from blogsum 0.9 you should merge the
Xrelevant changes from %%WWWDIR%%/Blogsum/Config.pm.dist 
Xinto your current %%WWWDIR%%/Blogsum/Config.pm
X###############################################################
X
X3)  If comments will be enabled, visit the CAPTCHA (http://www.captcha.net/)
X    project and register your account.  Add your keys to Config.pm.
X
X4)  Edit the example httpd-blogsum.conf (httpd2-blogsum.conf if you are using
X    apache2+) and enable it for your site:
X
X	$ cp %%WWWDIR%%/examples/httpd-blogsum.conf %%PREFIX%%/%%APACHEETCDIR%%/conf
X	or
X	$ cp %%WWWDIR%%/examples/httpd2-blogsum.conf %%PREFIX%%/%%APACHEETCDIR%%/conf
X
X5)  Create your AuthUserFile file as defined in httpd-blogsum.conf:
X
X	$ sudo htpasswd -c %%PREFIX%%/%%APACHEETCDIR%%/conf/blogsum.htpasswd
X
X6)  Enable the following modules in %%APACHEETCDIR%%/httpd.conf:
X
X	LoadModule rewrite_module	%%APACHEMODDIR%%/mod_rewrite.so
X	LoadModule proxy_module		%%APACHEMODDIR%%/libproxy.so
X	LoadModule perl_module		%%APACHEMODDIR%%/mod_perl.so
X
X7)  Stop and start your Apache service.
X
XThe installation should now be complete.  Your blogsum installation can be
Xviewed at http://localhost/blogsum/index.cgi.  Posts can be created and
Xedited at http://localhost/blogsum/admin.cgi.
X
XPlease refer to the online support resources if you have questions.
X
X	http://blogsum.obfuscurity.com/
f5baae7271b566b55eae148e886a5b4a
echo x - blogsum/pkg-descr
sed 's/^X//' >blogsum/pkg-descr << 'c561d52be81ff3c179ba28dbdd783ee2'
XBlogsum is a weblog application with a focus on simplicity and security.
XIt was designed from scratch to be easy to use and easier to maintain.
X
XWWW: http://blogsum.obfuscurity.com/
c561d52be81ff3c179ba28dbdd783ee2
echo x - blogsum/pkg-plist
sed 's/^X//' >blogsum/pkg-plist << 'f84bca5996ae0fcb9b82c64d05cfa399'
X%%WWWDIR%%/Blogsum/Config.pm.dist
X%%WWWDIR%%/admin.cgi
X%%WWWDIR%%/docs/LICENSE
X%%WWWDIR%%/docs/LICENSE.images
X%%WWWDIR%%/docs/README
X%%WWWDIR%%/examples/create_sqlite.sql
X%%WWWDIR%%/examples/httpd-blogsum.conf
X%%WWWDIR%%/examples/httpd2-blogsum.conf
X%%WWWDIR%%/examples/wp2blogsum.pl
X%%WWWDIR%%/index.cgi
X%%WWWDIR%%/startup.pl
X%%WWWDIR%%/themes/default/admin.tmpl
X%%WWWDIR%%/themes/default/images/asterisk-green.gif
X%%WWWDIR%%/themes/default/images/asterisk-red.gif
X%%WWWDIR%%/themes/default/images/check.gif
X%%WWWDIR%%/themes/default/images/delete.gif
X%%WWWDIR%%/themes/default/images/draft-disabled.gif
X%%WWWDIR%%/themes/default/images/draft.gif
X%%WWWDIR%%/themes/default/images/play-disabled.gif
X%%WWWDIR%%/themes/default/images/play.gif
X%%WWWDIR%%/themes/default/images/plus.gif
X%%WWWDIR%%/themes/default/images/xml.gif
X%%WWWDIR%%/themes/default/index.tmpl
X%%WWWDIR%%/themes/default/style.css
X@dirrmtry %%WWWDIR%%/themes/default/images
X@dirrmtry %%WWWDIR%%/themes/default
X@dirrmtry %%WWWDIR%%/themes
X@dirrmtry %%WWWDIR%%/examples
X@dirrmtry %%WWWDIR%%/docs
X@dirrmtry %%WWWDIR%%/data
X@dirrmtry %%WWWDIR%%/Blogsum
f84bca5996ae0fcb9b82c64d05cfa399
exit



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



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