mirror of
https://bitbucket.org/jsuto/piler.git
synced 2024-11-07 22:41:59 +01:00
make install copies webui to piler localstatedir
Signed-off-by: Janos SUTO <sj@acts.hu>
This commit is contained in:
parent
ac49647fc3
commit
2e2d04914f
29
configure
vendored
29
configure
vendored
@ -700,7 +700,6 @@ enable_static_build
|
||||
enable_compat_layout
|
||||
enable_clamd
|
||||
enable_memcached
|
||||
enable_tcpwrappers
|
||||
enable_tweak_sent_time
|
||||
with_database
|
||||
with_piler_user
|
||||
@ -1336,7 +1335,6 @@ Optional Features:
|
||||
--enable-compat-layout support for older storage layout (default: no)
|
||||
--enable-clamd build clamd antivirus support
|
||||
--enable-memcached build memcached support
|
||||
--enable-tcpwrappers build tcpwrappers support
|
||||
--tweak-sent-time tweak sent time
|
||||
|
||||
Optional Packages:
|
||||
@ -3499,7 +3497,7 @@ fi
|
||||
echo "\"Configure command: ./configure $PARAMS\"" >> $CONFIGURE_PARAMS_FILE
|
||||
|
||||
|
||||
SUBDIRS="src etc util init.d unit_tests"
|
||||
SUBDIRS="src etc util init.d unit_tests webui"
|
||||
|
||||
|
||||
|
||||
@ -3546,17 +3544,8 @@ fi
|
||||
|
||||
|
||||
|
||||
# Check whether --enable-tcpwrappers was given.
|
||||
if test "${enable_tcpwrappers+set}" = set; then :
|
||||
enableval=$enable_tcpwrappers; want_tcpwrappers=$enableval
|
||||
else
|
||||
want_tcpwrappers="no"
|
||||
fi
|
||||
|
||||
|
||||
|
||||
if test "$want_tcpwrappers" = "yes"; then
|
||||
for ac_header in tcpd.h
|
||||
for ac_header in tcpd.h
|
||||
do :
|
||||
ac_fn_c_check_header_mongrel "$LINENO" "tcpd.h" "ac_cv_header_tcpd_h" "$ac_includes_default"
|
||||
if test "x$ac_cv_header_tcpd_h" = xyes; then :
|
||||
@ -3565,12 +3554,12 @@ if test "x$ac_cv_header_tcpd_h" = xyes; then :
|
||||
_ACEOF
|
||||
have_tcpwrappers=yes
|
||||
else
|
||||
have_tcpwrappers=no
|
||||
echo "tcpd.h is not found"
|
||||
fi
|
||||
|
||||
done
|
||||
|
||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for hosts_access in -lwrap" >&5
|
||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for hosts_access in -lwrap" >&5
|
||||
$as_echo_n "checking for hosts_access in -lwrap... " >&6; }
|
||||
if ${ac_cv_lib_wrap_hosts_access+:} false; then :
|
||||
$as_echo_n "(cached) " >&6
|
||||
@ -3652,10 +3641,9 @@ fi
|
||||
fi
|
||||
ac_cv_lib_wrap=ac_cv_lib_wrap_main
|
||||
|
||||
if test "$have_tcpwrappers" = "no"; then
|
||||
echo "can't find either tcpd.h or libwrap";
|
||||
exit 1;
|
||||
fi
|
||||
if test "$have_tcpwrappers" = "no"; then
|
||||
echo "can't find either tcpd.h or libwrap";
|
||||
exit 1
|
||||
fi
|
||||
|
||||
|
||||
@ -4860,7 +4848,7 @@ CFLAGS="$static -O2 -Wall -g"
|
||||
LIBS="$antispam_libs $sunos_libs "
|
||||
OBJS="dirs.o base64.o misc.o counters.o cfg.o sig.o decoder.o hash.o parser.o parser_utils.o rules.o smtp.o session.o bdat.o message.o attachment.o digest.o store.o archive.o tai.o import.o import_maildir.o import_mailbox.o import_pop3.o import_imap.o imap.o pop3.o extract.o mydomains.o $objs"
|
||||
|
||||
ac_config_files="$ac_config_files Makefile src/Makefile etc/Makefile util/Makefile init.d/Makefile unit_tests/Makefile contrib/imap/Makefile"
|
||||
ac_config_files="$ac_config_files Makefile src/Makefile etc/Makefile util/Makefile init.d/Makefile unit_tests/Makefile webui/Makefile contrib/imap/Makefile"
|
||||
|
||||
cat >confcache <<\_ACEOF
|
||||
# This file is a shell script that caches the results of configure
|
||||
@ -5559,6 +5547,7 @@ do
|
||||
"util/Makefile") CONFIG_FILES="$CONFIG_FILES util/Makefile" ;;
|
||||
"init.d/Makefile") CONFIG_FILES="$CONFIG_FILES init.d/Makefile" ;;
|
||||
"unit_tests/Makefile") CONFIG_FILES="$CONFIG_FILES unit_tests/Makefile" ;;
|
||||
"webui/Makefile") CONFIG_FILES="$CONFIG_FILES webui/Makefile" ;;
|
||||
"contrib/imap/Makefile") CONFIG_FILES="$CONFIG_FILES contrib/imap/Makefile" ;;
|
||||
|
||||
*) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
|
||||
|
20
configure.in
20
configure.in
@ -85,7 +85,7 @@ fi
|
||||
echo "\"Configure command: ./configure $PARAMS\"" >> $CONFIGURE_PARAMS_FILE
|
||||
|
||||
|
||||
SUBDIRS="src etc util init.d unit_tests"
|
||||
SUBDIRS="src etc util init.d unit_tests webui"
|
||||
|
||||
|
||||
dnl static build
|
||||
@ -115,18 +115,14 @@ AC_ARG_ENABLE(memcached,
|
||||
[ --enable-memcached build memcached support], want_memcached=$enableval, want_memcached="no")
|
||||
|
||||
|
||||
AC_ARG_ENABLE(tcpwrappers,
|
||||
[ --enable-tcpwrappers build tcpwrappers support], want_tcpwrappers=$enableval, want_tcpwrappers="no")
|
||||
dnl tcpwrappers library
|
||||
|
||||
AC_CHECK_HEADERS(tcpd.h, have_tcpwrappers=yes, echo "tcpd.h is not found")
|
||||
AC_CHECK_LIB([wrap],[hosts_access],[AC_CHECK_LIB(wrap, hosts_access, have_tcpwrappers=yes, echo "libwrap is not found"; have_tcpwrappers=no)],[],[])ac_cv_lib_wrap=ac_cv_lib_wrap_main
|
||||
|
||||
if test "$want_tcpwrappers" = "yes"; then
|
||||
AC_CHECK_HEADERS(tcpd.h, have_tcpwrappers=yes, have_tcpwrappers=no)
|
||||
AC_CHECK_LIB([wrap],[hosts_access],[AC_CHECK_LIB(wrap, hosts_access, have_tcpwrappers=yes, echo "libwrap is not found"; have_tcpwrappers=no)],[],[])ac_cv_lib_wrap=ac_cv_lib_wrap_main
|
||||
|
||||
if test "$have_tcpwrappers" = "no"; then
|
||||
echo "can't find either tcpd.h or libwrap";
|
||||
exit 1;
|
||||
fi
|
||||
if test "$have_tcpwrappers" = "no"; then
|
||||
echo "can't find either tcpd.h or libwrap";
|
||||
exit 1
|
||||
fi
|
||||
|
||||
|
||||
@ -538,7 +534,7 @@ CFLAGS="$static -O2 -Wall -g"
|
||||
LIBS="$antispam_libs $sunos_libs "
|
||||
OBJS="dirs.o base64.o misc.o counters.o cfg.o sig.o decoder.o hash.o parser.o parser_utils.o rules.o smtp.o session.o bdat.o message.o attachment.o digest.o store.o archive.o tai.o import.o import_maildir.o import_mailbox.o import_pop3.o import_imap.o imap.o pop3.o extract.o mydomains.o $objs"
|
||||
|
||||
AC_CONFIG_FILES([Makefile src/Makefile etc/Makefile util/Makefile init.d/Makefile unit_tests/Makefile contrib/imap/Makefile])
|
||||
AC_CONFIG_FILES([Makefile src/Makefile etc/Makefile util/Makefile init.d/Makefile unit_tests/Makefile webui/Makefile contrib/imap/Makefile])
|
||||
AC_OUTPUT
|
||||
|
||||
echo
|
||||
|
65
webui/Makefile.in
Normal file
65
webui/Makefile.in
Normal file
@ -0,0 +1,65 @@
|
||||
SHELL = @SHELL@
|
||||
|
||||
prefix = @prefix@
|
||||
exec_prefix = @exec_prefix@
|
||||
bindir = @bindir@
|
||||
sbindir = @sbindir@
|
||||
includedir = @includedir@
|
||||
libdir = @libdir@
|
||||
libexecdir = @libexecdir@
|
||||
srcdir = @srcdir@
|
||||
sysconfdir = @sysconfdir@
|
||||
mandir = @mandir@
|
||||
datarootdir = @datarootdir@
|
||||
localstatedir = @localstatedir@
|
||||
|
||||
CC = @CC@
|
||||
CFLAGS = @CFLAGS@ @CPPFLAGS@
|
||||
DEFS = @defs@
|
||||
INCDIR = -I. -I.. -I../.. -I../../src -I../src @INCDIR@ @mysql_includes@
|
||||
LIBDIR = -L. @LIBDIR@ @LDFLAGS@ -L../src -L../../src
|
||||
LIBS = @LIBS@ @mysql_libs@
|
||||
RUNNING_USER = @RUNNING_USER@
|
||||
RUNNING_GROUP = `@id_bin@ -gn $(RUNNING_USER)`
|
||||
OBJS =
|
||||
|
||||
INSTALL = @INSTALL@
|
||||
|
||||
all:
|
||||
|
||||
install:
|
||||
$(INSTALL) -d -m 0755 $(DESTDIR)$(localstatedir)/piler
|
||||
$(INSTALL) -d -m 0755 $(DESTDIR)$(localstatedir)/piler/www
|
||||
$(INSTALL) -d -m 0755 $(DESTDIR)$(localstatedir)/piler/www/Zend
|
||||
$(INSTALL) -d -m 0755 $(DESTDIR)$(localstatedir)/piler/www/bootstrap
|
||||
$(INSTALL) -d -m 0755 $(DESTDIR)$(localstatedir)/piler/www/controller
|
||||
$(INSTALL) -d -m 0755 $(DESTDIR)$(localstatedir)/piler/www/google-api
|
||||
$(INSTALL) -d -m 0755 $(DESTDIR)$(localstatedir)/piler/www/images
|
||||
$(INSTALL) -d -m 0755 $(DESTDIR)$(localstatedir)/piler/www/language
|
||||
$(INSTALL) -d -m 0755 $(DESTDIR)$(localstatedir)/piler/www/model
|
||||
$(INSTALL) -d -m 0755 $(DESTDIR)$(localstatedir)/piler/www/securimage
|
||||
$(INSTALL) -d -m 0755 $(DESTDIR)$(localstatedir)/piler/www/system
|
||||
$(INSTALL) -d -m 0755 $(DESTDIR)$(localstatedir)/piler/www/view
|
||||
$(INSTALL) -d -m 0755 $(DESTDIR)$(localstatedir)/piler/www/tmp
|
||||
$(INSTALL) $(srcdir)/.htaccess $(DESTDIR)$(localstatedir)/piler/www
|
||||
$(INSTALL) $(srcdir)/config.php $(DESTDIR)$(localstatedir)/piler/www
|
||||
$(INSTALL) $(srcdir)/index.php $(DESTDIR)$(localstatedir)/piler/www
|
||||
$(INSTALL) $(srcdir)/js.php $(DESTDIR)$(localstatedir)/piler/www
|
||||
$(INSTALL) $(srcdir)/qr.php $(DESTDIR)$(localstatedir)/piler/www
|
||||
$(INSTALL) $(srcdir)/ok.txt $(DESTDIR)$(localstatedir)/piler/www
|
||||
$(INSTALL) $(srcdir)/sso.php $(DESTDIR)$(localstatedir)/piler/www
|
||||
cp -R $(srcdir)/Zend/* $(DESTDIR)$(localstatedir)/piler/www/Zend
|
||||
cp -R $(srcdir)/bootstrap/* $(DESTDIR)$(localstatedir)/piler/www/bootstrap
|
||||
cp -R $(srcdir)/controller/* $(DESTDIR)$(localstatedir)/piler/www/controller
|
||||
cp -R $(srcdir)/google-api/* $(DESTDIR)$(localstatedir)/piler/www/google-api
|
||||
cp -R $(srcdir)/language/* $(DESTDIR)$(localstatedir)/piler/www/language
|
||||
cp -R $(srcdir)/model/* $(DESTDIR)$(localstatedir)/piler/www/model
|
||||
cp -R $(srcdir)/securimage/* $(DESTDIR)$(localstatedir)/piler/www/securimage
|
||||
cp -R $(srcdir)/system/* $(DESTDIR)$(localstatedir)/piler/www/system
|
||||
cp -R $(srcdir)/view/* $(DESTDIR)$(localstatedir)/piler/www/view
|
||||
cp -R $(srcdir)/tmp/* $(DESTDIR)$(localstatedir)/piler/www/tmp
|
||||
|
||||
clean:
|
||||
|
||||
distclean: clean
|
||||
rm -f Makefile
|
Loading…
Reference in New Issue
Block a user