diff options
author | pav <pav@FreeBSD.org> | 2004-07-13 08:34:25 +0800 |
---|---|---|
committer | pav <pav@FreeBSD.org> | 2004-07-13 08:34:25 +0800 |
commit | e0e77ecf9a18ce2e9842e0f73ca58ff5472511bb (patch) | |
tree | 018f44aac1b29f2864c25ca60d605b66489a8718 /japanese | |
parent | 958f9e4d99117d6edaf3498c202eef7d78766981 (diff) | |
download | freebsd-ports-gnome-e0e77ecf9a18ce2e9842e0f73ca58ff5472511bb.tar.gz freebsd-ports-gnome-e0e77ecf9a18ce2e9842e0f73ca58ff5472511bb.tar.zst freebsd-ports-gnome-e0e77ecf9a18ce2e9842e0f73ca58ff5472511bb.zip |
- Add upgrade instructions
PR: ports/68966
Submitted by: Aho K.F. Li <thinker@branda.to> (maintainer)
Diffstat (limited to 'japanese')
-rw-r--r-- | japanese/trac/Makefile | 3 | ||||
-rw-r--r-- | japanese/trac/pkg-message | 21 |
2 files changed, 24 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 +******************************************************************************* + |