Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
virtuoso: A little clean up here. We don't use init.d anymore so gett…
…ing rid of that. Adding a PRE_BUILD and adjusting the BUILD accordingly.
- Loading branch information
Showing
5 changed files
with
19 additions
and
182 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,4 @@ | ||
|
||
sedit "s:AM_CONFIG_HEADER:AC_CONFIG_HEADER:" configure.in && | ||
autoreconf -i && | ||
|
||
sedit "s:\(test \"\${with_editline+set\}\" = set\):\1 -a \"\${with_editline}\" != no": configure && | ||
|
||
sedit "s:iodbcext.h:libiodbc/iodbcext.h:g" libsrc/Wi/odbcinc.h && | ||
sedit "s:iodbcinst.h:libiodbc/iodbcinst.h:g" libsrc/Wi/odbcinc.h && | ||
|
||
if [ -f /var/lib/virtuoso/db/virtuoso.lck ] ; then | ||
/etc/init.d/virtuosod stop | ||
fi && | ||
|
||
OPTS+=" --without-debug --with-pthreads --program-transform-name='s/isql*/vt-isql/' \ | ||
--with-iodbc" && | ||
OPTS+=" --without-debug --with-pthreads --program-transform-name='s/isql*/vt-isql/'" && | ||
|
||
default_build |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,9 @@ | ||
if [ ! -f /var/lib/virtuoso/db/virtuoso.ini ] | ||
then cp /var/lib/virtuoso/db/virtuoso.ini.sample /var/lib/virtuoso/db/virtuoso.ini | ||
fi | ||
fi && | ||
|
||
if [ -f /var/lib/virtuoso/db/virtuoso.db ] | ||
then | ||
printf "${PROBLEM_COLOR}Point a broswer to http://localhost:8890/index.html and change the default passwords for users: \n | ||
dba (passwd dba) and dav (passwd dav). \n" "${DEFAULT_COLOR}" | ||
message "${PROBLEM_COLOR}Point a broswer to http://localhost:8890/index.html and change the default passwords for users: \n | ||
dba (passwd dba) and dav (passwd dav). \n ${DEFAULT_COLOR}" | ||
fi |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
default_pre_build && | ||
|
||
sedit "s:AM_CONFIG_HEADER:AC_CONFIG_HEADER:" configure.in && | ||
mv configure.in configure.ac && | ||
autoreconf -i && | ||
|
||
sedit "s:\(test \"\${with_editline+set\}\" = set\):\1 -a \"\${with_editline}\" != no": configure && | ||
|
||
sedit "s:iodbcext.h:libiodbc/iodbcext.h:g" libsrc/Wi/odbcinc.h && | ||
sedit "s:iodbcinst.h:libiodbc/iodbcinst.h:g" libsrc/Wi/odbcinc.h && | ||
|
||
if [ -f /var/lib/virtuoso/db/virtuoso.lck ] ; then | ||
systemctl stop virtuoso.service | ||
fi |
This file was deleted.
Oops, something went wrong.