diff options
author | Igor Sysoev <igor@sysoev.ru> | 2017-08-31 00:42:16 +0300 |
---|---|---|
committer | Igor Sysoev <igor@sysoev.ru> | 2017-08-31 00:42:16 +0300 |
commit | f0e9e3ace94c82fab78ab1d4ee8c3042f3e94fdf (patch) | |
tree | 74fab38d3799598febc98aaabb0f5902d7dc5a0e /auto | |
parent | 61606835448554a7ee9a4431d732e1f2a9318376 (diff) | |
download | unit-f0e9e3ace94c82fab78ab1d4ee8c3042f3e94fdf.tar.gz unit-f0e9e3ace94c82fab78ab1d4ee8c3042f3e94fdf.tar.bz2 |
nginext has been renamed to unit.
Diffstat (limited to 'auto')
-rw-r--r-- | auto/make | 4 | ||||
-rw-r--r-- | auto/modules/go | 15 | ||||
-rw-r--r-- | auto/modules/php | 8 | ||||
-rw-r--r-- | auto/modules/python | 8 | ||||
-rw-r--r-- | auto/shmem | 4 | ||||
-rw-r--r-- | auto/summary | 8 |
6 files changed, 23 insertions, 24 deletions
@@ -180,7 +180,7 @@ done $echo >> $NXT_MAKEFILE -# nginext executable. +# unit executable. cat << END >> $NXT_MAKEFILE @@ -193,7 +193,7 @@ $NXT_BUILD_DIR/$NXT_BIN: $NXT_BUILD_DIR/$NXT_LIB_STATIC \\ END -# nginext object files. +# unit object files. for nxt_src in $NXT_MAKE_SRCS do diff --git a/auto/modules/go b/auto/modules/go index 748b8c8d..f8a3ea6c 100644 --- a/auto/modules/go +++ b/auto/modules/go @@ -97,24 +97,23 @@ GOARCH = `${NXT_GO} env GOARCH` ${NXT_GO}: $NXT_BUILD_DIR/nxt_go_gen.h -$NXT_BUILD_DIR/nxt_go_gen.h: +$NXT_BUILD_DIR/nxt_go_gen.h: src/go/unit/*.go GOPATH=`pwd` \\ CGO_CPPFLAGS='-DNXT_CONFIGURE \\ -I`pwd`/src' \\ ${NXT_GO} build -o $NXT_BUILD_DIR/nxt_go_gen.a \\ - --buildmode=c-archive nginext + --buildmode=c-archive go/unit ${NXT_GO}-install: ${NXT_GO} - install -d \$(GOPATH)/src/nginext - install -p ./src/nginext/*.c ./src/nginext/*.h \\ - ./src/nginext/*.go \$(GOPATH)/src/nginext/ + install -d \$(GOPATH)/src/unit + install -p ./src/go/unit/* \$(GOPATH)/src/unit/ CGO_CFLAGS="-I\$(NXT_ROOT)/$NXT_BUILD_DIR -I\$(NXT_ROOT)/src" \\ CGO_LDFLAGS="-L\$(NXT_ROOT)/$NXT_BUILD_DIR ${NXT_LIBRT}" \\ GOPATH=$NXT_GO_PATH \\ - ${NXT_GO} install -v nginext + ${NXT_GO} install -v unit ${NXT_GO}-uninstall: - rm -rf \$(GOPATH)/src/nginext - rm -f \$(GOPATH)/pkg/\$(GOOS)_\$(GOARCH)/nginext.a + rm -rf \$(GOPATH)/src/unit + rm -f \$(GOPATH)/pkg/\$(GOOS)_\$(GOARCH)/unit.a END diff --git a/auto/modules/php b/auto/modules/php index bb9fa848..a941b658 100644 --- a/auto/modules/php +++ b/auto/modules/php @@ -118,7 +118,7 @@ if grep ^$NXT_PHP_MODULE: $NXT_MAKEFILE 2>&1 > /dev/null; then exit 1; fi -$echo " + PHP module: nginext.${NXT_PHP_MODULE}" +$echo " + PHP module: unit.${NXT_PHP_MODULE}" $echo >> $NXT_MAKEFILE @@ -152,10 +152,10 @@ cat << END >> $NXT_MAKEFILE all: ${NXT_PHP_MODULE} -${NXT_PHP_MODULE}: $NXT_BUILD_DIR/nginext.${NXT_PHP_MODULE} +${NXT_PHP_MODULE}: $NXT_BUILD_DIR/unit.${NXT_PHP_MODULE} -$NXT_BUILD_DIR/nginext.${NXT_PHP_MODULE}: $nxt_objs - $NXT_MODULE_LINK -o $NXT_BUILD_DIR/nginext.${NXT_PHP_MODULE} \\ +$NXT_BUILD_DIR/unit.${NXT_PHP_MODULE}: $nxt_objs + $NXT_MODULE_LINK -o $NXT_BUILD_DIR/unit.${NXT_PHP_MODULE} \\ $nxt_objs ${NXT_PHP_LIB} ${NXT_PHP_LDFLAGS} END diff --git a/auto/modules/python b/auto/modules/python index 91d0ed79..1034be82 100644 --- a/auto/modules/python +++ b/auto/modules/python @@ -115,7 +115,7 @@ if grep ^$NXT_PYTHON_MODULE: $NXT_MAKEFILE 2>&1 > /dev/null; then exit 1; fi -$echo " + Python module: nginext.${NXT_PYTHON_MODULE}" +$echo " + Python module: unit.${NXT_PYTHON_MODULE}" $echo >> $NXT_MAKEFILE @@ -149,10 +149,10 @@ cat << END >> $NXT_MAKEFILE all: ${NXT_PYTHON_MODULE} -${NXT_PYTHON_MODULE}: $NXT_BUILD_DIR/nginext.${NXT_PYTHON_MODULE} +${NXT_PYTHON_MODULE}: $NXT_BUILD_DIR/unit.${NXT_PYTHON_MODULE} -$NXT_BUILD_DIR/nginext.${NXT_PYTHON_MODULE}: $nxt_objs - $NXT_MODULE_LINK -o $NXT_BUILD_DIR/nginext.${NXT_PYTHON_MODULE} \\ +$NXT_BUILD_DIR/unit.${NXT_PYTHON_MODULE}: $nxt_objs + $NXT_MODULE_LINK -o $NXT_BUILD_DIR/unit.${NXT_PYTHON_MODULE} \\ $nxt_objs $NXT_PYTHON_LIBS END @@ -22,7 +22,7 @@ nxt_feature_test="#include <sys/mman.h> #include <sys/types.h> int main() { - static char name[] = \"/nginext.configure\"; + static char name[] = \"/unit.configure\"; shm_unlink(name); @@ -49,7 +49,7 @@ nxt_feature_test="#include <linux/memfd.h> #include <sys/syscall.h> int main() { - static char name[] = \"/nginext.configure\"; + static char name[] = \"/unit.configure\"; int fd = syscall(SYS_memfd_create, name, MFD_CLOEXEC); if (fd == -1) diff --git a/auto/summary b/auto/summary index cb50ae31..93324869 100644 --- a/auto/summary +++ b/auto/summary @@ -7,11 +7,11 @@ cat << END Configuration summary: - nginext pid file: "$NXT_PID" - nginext log file: "$NXT_LOG" - nginext modules path: "$NXT_MODULES" + unit pid file: "$NXT_PID" + unit log file: "$NXT_LOG" + unit modules path: "$NXT_MODULES" - nginext control API socket: "$NXT_CONTROL" + unit control API socket: "$NXT_CONTROL" non-privileged user: "$NXT_USER" non-privileged group: "$NXT_GROUP" |