FreeBSD Bugzilla – Attachment 61611 Details for
Bug 92280
maintainer-update deskutils/plans
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
plans.diff
plans.diff (text/plain), 4.42 KB, created by
Andrew Pantyukhin
on 2006-01-24 18:30:06 UTC
(
hide
)
Description:
plans.diff
Filename:
MIME Type:
Creator:
Andrew Pantyukhin
Created:
2006-01-24 18:30:06 UTC
Size:
4.42 KB
patch
obsolete
>diff -urN /usr/ports/deskutils/plans/Makefile plans/Makefile >--- /usr/ports/deskutils/plans/Makefile Fri Jan 13 13:12:44 2006 >+++ plans/Makefile Tue Jan 24 20:53:24 2006 >@@ -8,6 +8,7 @@ > > PORTNAME= plans > PORTVERSION= 7.5.4 >+PORTREVISION= 1 > CATEGORIES= deskutils www > MASTER_SITES= http://www.planscalendar.com/release/:plans \ > http://www.planscalendar.com/addons/:addons \ >@@ -31,7 +32,7 @@ > > WRKSRC= ${WRKDIR}/${PORTNAME}_${PORTVERSION} > >-WWWDOCROOT?= www/data >+WWWDOCROOT?= www > PLANSSUBDIR?= plans > PLANSDIR?= ${WWWDOCROOT}/${PLANSSUBDIR} > PLIST_SUB+= DIR=${PLANSDIR} >@@ -43,6 +44,10 @@ > post-extract: > ${CP} ${_DISTDIR}/powerani.gif ${WRKSRC}/theme/graphics/freebsd.gif > ${CP} ${_DISTDIR}/*.pl ${WRKSRC}/ >+ for i in ${WRKSRC}/data/*xml ${WRKSRC}/*config.pl; \ >+ do ${MV} $$i $$i.default; done >+ cd ${WRKSRC} && \ >+ ${SED} -e 's/iso-8859-1/utf-8/' us_english.pl > us_english_utf8.pl > > post-patch: > @${RM} -f ${WRKSRC}/theme/plans.template.orig >@@ -56,6 +61,8 @@ > @${FIND} ${DIR} -name '*.xml' -exec ${CHMOD} 664 {} \; > > post-install: >+ for i in ${DIR}/data/*default ${DIR}/*default; \ >+ do cp -np $$i $${i%.default}; done; > @${CAT} ${PKGMESSAGE} > > .include <bsd.port.mk> >diff -urN /usr/ports/deskutils/plans/files/pkg-message.in plans/files/pkg-message.in >--- /usr/ports/deskutils/plans/files/pkg-message.in Fri Jan 13 13:12:44 2006 >+++ plans/files/pkg-message.in Tue Jan 24 17:11:55 2006 >@@ -1,4 +1,6 @@ >-Plans is now available via http://localhost/plans/ >-Please make sure that your webserver is configured to accept >-CGI scripts in %%DIR%% >-Plans can be configured by editing %%DIR%%/plans_config.pl >+=========================================================== >+Plans is now installed at %%DIR%% >+You'll need to configure your server to accept CGI scripts >+in the directory. Plans can be configured by editing >+%%DIR%%/plans_config.pl >+=========================================================== >diff -urN /usr/ports/deskutils/plans/pkg-plist plans/pkg-plist >--- /usr/ports/deskutils/plans/pkg-plist Sun Jan 22 04:29:44 2006 >+++ plans/pkg-plist Tue Jan 24 20:45:10 2006 >@@ -1,13 +1,27 @@ >-%%DIR%%/data/calendars.xml >-%%DIR%%/data/email_reminders.xml >-%%DIR%%/data/events.xml >-%%DIR%%/data/new_calendars.xml >-%%DIR%%/data/pending_actions.xml >-%%DIR%%/data/users.xml >+@unexec if cmp -s %D/%%DIR%%/data/calendars.xml.default %D/%%DIR%%/data/calendars.xml; then rm -f %D/%%DIR%%/data/calendars.xml; fi >+%%DIR%%/data/calendars.xml.default >+@exec if [ ! -f %D/%%DIR%%/data/calendars.xml ] ; then cp -p %D/%F %B/calendars.xml; fi >+@unexec if cmp -s %D/%%DIR%%/data/email_reminders.xml.default %D/%%DIR%%/data/email_reminders.xml; then rm -f %D/%%DIR%%/data/email_reminders.xml; fi >+%%DIR%%/data/email_reminders.xml.default >+@exec if [ ! -f %D/%%DIR%%/data/email_reminders.xml ] ; then cp -p %D/%F %B/email_reminders.xml; fi >+@unexec if cmp -s %D/%%DIR%%/data/events.xml.default %D/%%DIR%%/data/events.xml; then rm -f %D/%%DIR%%/data/events.xml; fi >+%%DIR%%/data/events.xml.default >+@exec if [ ! -f %D/%%DIR%%/data/events.xml ] ; then cp -p %D/%F %B/events.xml; fi >+@unexec if cmp -s %D/%%DIR%%/data/new_calendars.xml.default %D/%%DIR%%/data/new_calendars.xml; then rm -f %D/%%DIR%%/data/new_calendars.xml; fi >+%%DIR%%/data/new_calendars.xml.default >+@exec if [ ! -f %D/%%DIR%%/data/new_calendars.xml ] ; then cp -p %D/%F %B/new_calendars.xml; fi >+@unexec if cmp -s %D/%%DIR%%/data/pending_actions.xml.default %D/%%DIR%%/data/pending_actions.xml; then rm -f %D/%%DIR%%/data/pending_actions.xml; fi >+%%DIR%%/data/pending_actions.xml.default >+@exec if [ ! -f %D/%%DIR%%/data/pending_actions.xml ] ; then cp -p %D/%F %B/pending_actions.xml; fi >+@unexec if cmp -s %D/%%DIR%%/data/users.xml.default %D/%%DIR%%/data/users.xml; then rm -f %D/%%DIR%%/data/users.xml; fi >+%%DIR%%/data/users.xml.default >+@exec if [ ! -f %D/%%DIR%%/data/users.xml ] ; then cp -p %D/%F %B/users.xml; fi >+@unexec if cmp -s %D/%%DIR%%/plans_config.pl.default %D/%%DIR%%/plans_config.pl; then rm -f %D/%%DIR%%/plans_config.pl; fi >+%%DIR%%/plans_config.pl.default >+@exec if [ ! -f %D/%%DIR%%/plans_config.pl ] ; then cp -p %D/%F %B/plans_config.pl; fi > %%DIR%%/email_reminders.cgi > %%DIR%%/gpl.txt > %%DIR%%/plans.cgi >-%%DIR%%/plans_config.pl > %%DIR%%/plans_lib.pl > %%DIR%%/theme/color_select.css > %%DIR%%/theme/color_select.js >@@ -323,6 +337,7 @@ > %%DIR%%/theme/upcoming_events.css > %%DIR%%/theme/upcoming_events.js > %%DIR%%/us_english.pl >+%%DIR%%/us_english_utf8.pl > %%DIR%%/danish.pl > %%DIR%%/de_german.pl > %%DIR%%/fr_french.pl
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 92280
: 61611