sudo(8) -> su(1)
This commit is contained in:
parent
0cfe5a2805
commit
085d0e4d05
@ -1,10 +1,11 @@
|
||||
# $OpenBSD: Makefile,v 1.46 2015/05/10 11:41:12 sebastia Exp $
|
||||
# $OpenBSD: Makefile,v 1.47 2015/07/17 21:23:08 ajacoutot Exp $
|
||||
|
||||
COMMENT = web based groupware server
|
||||
|
||||
VERSION = 2.2.17
|
||||
DISTNAME = SOGo-${VERSION}a
|
||||
PKGNAME = sogo-${VERSION}.0
|
||||
REVISION = 0
|
||||
|
||||
SHARED_LIBS += GDLContentStore 2.0
|
||||
SHARED_LIBS += NGCards 2.0
|
||||
|
@ -1,4 +1,4 @@
|
||||
# $OpenBSD: README,v 1.17 2015/04/29 09:15:28 giovanni Exp $
|
||||
# $OpenBSD: README,v 1.18 2015/07/17 21:23:08 ajacoutot Exp $
|
||||
|
||||
+-----------------------------------------------------------------------
|
||||
| Running ${FULLPKGNAME} on OpenBSD
|
||||
@ -60,8 +60,8 @@ and SOGo is listening on its default port 20000.
|
||||
Nginx runs in a chroot environment on OpenBSD, therefore you have to
|
||||
copy some files into the server's chroot environment:
|
||||
|
||||
$ sudo mkdir -p ${VARBASE}/www/lib/sogo
|
||||
$ sudo cp -R ${TRUEPREFIX}/lib/GNUstep/SOGo/WebServerResources ${VARBASE}/www/lib/sogo/www
|
||||
# mkdir -p ${VARBASE}/www/lib/sogo
|
||||
# cp -R ${TRUEPREFIX}/lib/GNUstep/SOGo/WebServerResources ${VARBASE}/www/lib/sogo/www
|
||||
|
||||
Edit /etc/nginx/nginx.conf
|
||||
|
||||
@ -283,9 +283,9 @@ Upgrading from older SOGo versions
|
||||
==================================
|
||||
Update the files in the chroot environment of apache as root:
|
||||
|
||||
$ sudo rm -rf ${VARBASE}/www/lib/sogo
|
||||
$ sudo mkdir -p ${VARBASE}/www/lib/sogo
|
||||
$ sudo cp -R ${TRUEPREFIX}/lib/GNUstep/SOGo/WebServerResources ${VARBASE}/www/lib/sogo/www
|
||||
# rm -rf ${VARBASE}/www/lib/sogo
|
||||
# mkdir -p ${VARBASE}/www/lib/sogo
|
||||
# cp -R ${TRUEPREFIX}/lib/GNUstep/SOGo/WebServerResources ${VARBASE}/www/lib/sogo/www
|
||||
|
||||
Upgrade SOGo from < 1.3.5
|
||||
=========================
|
||||
@ -304,15 +304,15 @@ Run one of the following scripts as the SOGo system user _sogo. Depending on
|
||||
the database you use, choose the postgres or mysql variant. The scripts
|
||||
will ask you for the database credentials.
|
||||
|
||||
$ sudo -u _sogo ${TRUEPREFIX}/share/doc/sogo/sql-update-1.3.11_to_1.3.12-postgres.sh
|
||||
$ sudo -u _sogo ${TRUEPREFIX}/share/doc/sogo/sql-update-1.3.11_to_1.3.12-mysql.sh
|
||||
# su _sogo -c "${TRUEPREFIX}/share/doc/sogo/sql-update-1.3.11_to_1.3.12-postgres.sh"
|
||||
# su _sogo -c "${TRUEPREFIX}/share/doc/sogo/sql-update-1.3.11_to_1.3.12-mysql.sh"
|
||||
|
||||
Upgrade SOGo from < 1.3.16
|
||||
==========================
|
||||
New password schemes were introduced. You may want to set the
|
||||
userPasswordAlgorithm default, i.e.:
|
||||
|
||||
$ sudo -u _sogo defaults write sogod userPasswordAlgorithm ssha
|
||||
# su _sogo "defaults write sogod userPasswordAlgorithm ssha"
|
||||
|
||||
Upgrade SOGo from < 1.3.17
|
||||
==========================
|
||||
@ -323,8 +323,8 @@ Run one of the following scripts as the SOGo system user _sogo. Depending on
|
||||
the database you use, choose the postgres or mysql variant. The scripts
|
||||
will ask you for the database credentials.
|
||||
|
||||
$ sudo -u _sogo ${TRUEPREFIX}/share/doc/sogo/sql-update-1.3.16_to_1.3.17-postgres.sh
|
||||
$ sudo -u _sogo ${TRUEPREFIX}/share/doc/sogo/sql-update-1.3.16_to_1.3.17-mysql.sh
|
||||
# su _sogo "${TRUEPREFIX}/share/doc/sogo/sql-update-1.3.16_to_1.3.17-postgres.sh"
|
||||
# su _sogo "${TRUEPREFIX}/share/doc/sogo/sql-update-1.3.16_to_1.3.17-mysql.sh"
|
||||
|
||||
Upgrade SOGo from < 2.1.1
|
||||
=========================
|
||||
@ -332,4 +332,4 @@ With version 2.1.0, the WOPort default changed from listening on *:20000
|
||||
to 127.0.0.1:20000. To get back the old behaviour, run the following
|
||||
command:
|
||||
|
||||
$ sudo -u _sogo defaults write sogod WOPort *:20000
|
||||
# su _sogo "defaults write sogod WOPort *:20000"
|
||||
|
Loading…
x
Reference in New Issue
Block a user