aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPav Lucistnik <pav@FreeBSD.org>2004-07-13 00:34:25 +0000
committerPav Lucistnik <pav@FreeBSD.org>2004-07-13 00:34:25 +0000
commit23609dfbcd74102ce1868c5b594482648d7f8fa4 (patch)
treebb883907ab6cdc8600d98c6333b2f46d2478a781
parent7c4f2242c3e4736d84ec24fa1f50bb216602ad75 (diff)
downloadports-23609dfbcd74102ce1868c5b594482648d7f8fa4.tar.gz
ports-23609dfbcd74102ce1868c5b594482648d7f8fa4.zip
Notes
-rw-r--r--japanese/trac/Makefile3
-rw-r--r--japanese/trac/pkg-message21
-rw-r--r--www/trac/Makefile3
-rw-r--r--www/trac/pkg-message21
4 files changed, 48 insertions, 0 deletions
diff --git a/japanese/trac/Makefile b/japanese/trac/Makefile
index 5207e7132a1e..5cd8f1078412 100644
--- a/japanese/trac/Makefile
+++ b/japanese/trac/Makefile
@@ -25,4 +25,7 @@ USE_PYDISTUTILS= yes
x-generate-plist:
(${PORTSDIR}/Tools/scripts/plist -d -m ${MTREE_FILE} ${PREFIX}|sed -E 's,.*share/nls/.+$$,,g;s,${PYTHON_SITELIBDIR:S,^${PYTHONBASE}/,,},%%PYTHON_SITELIBDIR%%,g'|tr -s '\n') > temp-pkg-plist
+post-install:
+ @${CAT} ${PKGMESSAGE}
+
.include <bsd.port.mk>
diff --git a/japanese/trac/pkg-message b/japanese/trac/pkg-message
new file mode 100644
index 000000000000..0682ff5b9ef1
--- /dev/null
+++ b/japanese/trac/pkg-message
@@ -0,0 +1,21 @@
+
+*******************************************************************************
+Trac 0.7 has a new database format, requiring manual upgrade.
+The following steps are needed to upgrade:
+
+1) convert the old-style trac databases to new-style trac environments:
+
+ # tracdb2env /path/to/old/project.db /path/to/new/projectenv
+
+
+2) update your httpd.conf. change the line
+ SetEnv TRAC_DB "/path/to/old/project.db"
+ to
+ SetEnv TRAC_ENV "/path/to/new/projectenv"
+
+
+3) once you verified everything works fine, delete your old database:
+
+ # rm /path/to/old/project.db
+*******************************************************************************
+
diff --git a/www/trac/Makefile b/www/trac/Makefile
index 5207e7132a1e..5cd8f1078412 100644
--- a/www/trac/Makefile
+++ b/www/trac/Makefile
@@ -25,4 +25,7 @@ USE_PYDISTUTILS= yes
x-generate-plist:
(${PORTSDIR}/Tools/scripts/plist -d -m ${MTREE_FILE} ${PREFIX}|sed -E 's,.*share/nls/.+$$,,g;s,${PYTHON_SITELIBDIR:S,^${PYTHONBASE}/,,},%%PYTHON_SITELIBDIR%%,g'|tr -s '\n') > temp-pkg-plist
+post-install:
+ @${CAT} ${PKGMESSAGE}
+
.include <bsd.port.mk>
diff --git a/www/trac/pkg-message b/www/trac/pkg-message
new file mode 100644
index 000000000000..0682ff5b9ef1
--- /dev/null
+++ b/www/trac/pkg-message
@@ -0,0 +1,21 @@
+
+*******************************************************************************
+Trac 0.7 has a new database format, requiring manual upgrade.
+The following steps are needed to upgrade:
+
+1) convert the old-style trac databases to new-style trac environments:
+
+ # tracdb2env /path/to/old/project.db /path/to/new/projectenv
+
+
+2) update your httpd.conf. change the line
+ SetEnv TRAC_DB "/path/to/old/project.db"
+ to
+ SetEnv TRAC_ENV "/path/to/new/projectenv"
+
+
+3) once you verified everything works fine, delete your old database:
+
+ # rm /path/to/old/project.db
+*******************************************************************************
+