-
Notifications
You must be signed in to change notification settings - Fork 136
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
* adding logrotation ability ... fix for issue #587
- Loading branch information
Showing
16 changed files
with
74 additions
and
154 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,4 +1,4 @@ | ||
name: Build | ||
name: Build Docker | ||
|
||
on: | ||
push: | ||
|
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
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,8 +1,8 @@ | ||
# Author: Tobi Oetiker <[email protected]> | ||
# License: Public Domain | ||
|
||
AC_INIT([znapzend],m4_esyscmd([tr -d '\n' < VERSION]),[[email protected]]) | ||
AC_PREREQ([2.59]) | ||
AC_INIT([znapzend],[m4_esyscmd(tr -d '\n' < VERSION)],[[email protected]]) | ||
AC_PREREQ([2.69]) | ||
AC_CONFIG_AUX_DIR(conftools) | ||
|
||
AC_MSG_CHECKING(in to see how you are doing) | ||
|
@@ -28,10 +28,8 @@ AC_PATH_PROG(POD2MAN, pod2man, no) | |
# TODO: with some respect to legacy, split such settings to be named | ||
# after respective service management framework; code supports several | ||
AC_ARG_ENABLE(svcinstall, | ||
AC_HELP_STRING( | ||
[--enable-svcinstall=DIR], | ||
[install svc manifest into given directory] | ||
), | ||
AS_HELP_STRING([--enable-svcinstall=DIR],[install svc manifest into given directory | ||
]), | ||
[SVCINSTALLDIR=$enableval], | ||
[SVCINSTALLDIR=no] | ||
) | ||
|
@@ -40,10 +38,8 @@ AM_CONDITIONAL(ENABLE_SVCINSTALL,[test $SVCINSTALLDIR != no]) | |
|
||
SVCNAME_SMF="oep/znapzend" | ||
AC_ARG_WITH(svcname-smf, | ||
AC_HELP_STRING( | ||
[--with-svcname-smf=SMF_FMRI], | ||
[use specified SMF FMRI in manifest (defaults to oep/znapzend)] | ||
), | ||
AS_HELP_STRING([--with-svcname-smf=SMF_FMRI],[use specified SMF FMRI in manifest (defaults to oep/znapzend) | ||
]), | ||
[AC_MSG_CHECKING([user-provided SMF service name of '$withval']) | ||
SVCNAME_SMF="`echo "$withval" | sed -e 's,^svc:,,' -e 's,^/*,,' -e 's,:.*$,,'`" | ||
],[AC_MSG_CHECKING([default SMF service name])] | ||
|
@@ -57,10 +53,8 @@ DEFAULT_URL_CAT_CURL="$CURL --location --insecure" | |
DEFAULT_URL_CAT_WGET="$WGET -O -" | ||
|
||
AC_ARG_WITH(url-cat, | ||
AC_HELP_STRING( | ||
[--with-url-cat=(curl|wget)], | ||
[use specified program (with further predefined arguments added as needed) to cat URLs] | ||
), | ||
AS_HELP_STRING([--with-url-cat=(curl|wget)],[use specified program (with further predefined arguments added as needed) to cat URLs | ||
]), | ||
[AS_CASE("$withval", | ||
[curl],[AS_IF([test -n "$CURL" && test -x "$CURL"], | ||
[URL_CAT="$DEFAULT_URL_CAT_CURL"], | ||
|
@@ -70,10 +64,8 @@ AC_ARG_WITH(url-cat, | |
[AC_MSG_ERROR([Asked to preconfigure use of $withval but one is not in PATH])])], | ||
[*],[AC_MSG_ERROR([Asked to preconfigure use of $withval which is not an URL cat-er we support])])], | ||
[AC_ARG_WITH(url-cat-program, | ||
AC_HELP_STRING( | ||
[--with-url-cat-program=(/path/name --args)], | ||
[use specified custom program with arguments to cat URLs] | ||
), | ||
AS_HELP_STRING([--with-url-cat-program=(/path/name --args)],[use specified custom program with arguments to cat URLs | ||
]), | ||
[URL_CAT="$withval"], | ||
[ | ||
AS_IF([test -x "$WGET"],[URL_CAT="$DEFAULT_URL_CAT_WGET"], | ||
|
@@ -98,22 +90,6 @@ if test "x$PERL" != "x"; then | |
if test $? -ne 0; then | ||
AC_MSG_RESULT(no); | ||
AC_MSG_WARN(at least version $ac_perl_version is required to run modern mojolicious) | ||
|
||
# re-check for older distributions minimal support | ||
ac_perl_version="5.10.1" | ||
|
||
AC_MSG_CHECKING(for perl version greater than or equal to $ac_perl_version) | ||
$PERL -e "use $ac_perl_version;" >/dev/null 2>&1 | ||
if test $? -ne 0; then | ||
AC_MSG_RESULT(no); | ||
AC_MSG_ERROR(at least version $ac_perl_version is required to run mojolicious at all) | ||
exit 1 | ||
else | ||
MOJOLICIOUS_VERSION_CONSTRAINT=", '< 8.44'" | ||
fi | ||
else | ||
AC_MSG_RESULT(ok); | ||
MOJOLICIOUS_VERSION_CONSTRAINT=", '>= 8.73'" | ||
fi | ||
else | ||
AC_MSG_ERROR(could not find perl) | ||
|
@@ -160,8 +136,7 @@ else | |
fi | ||
|
||
AC_ARG_ENABLE(pkgonly, | ||
AC_HELP_STRING([--enable-pkgonly], | ||
[Skip all checking])) | ||
AS_HELP_STRING([--enable-pkgonly],[Skip all checking])) | ||
AC_SUBST(enable_pkgonly) | ||
|
||
# TODO: Is this block needed? No code seems to refer this varname... | ||
|
@@ -235,7 +210,6 @@ AC_DEFINE_UNQUOTED(LIBDIR, "${conftemp}", [Default path for system libraries]) | |
AC_SUBST(LIBDIR) | ||
|
||
AC_CONFIG_FILES([ | ||
cpanfile | ||
Makefile | ||
thirdparty/Makefile | ||
lib/Makefile | ||
|
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,5 +1,3 @@ | ||
requires 'Mojolicious' , '>= 8.73, <9.0'; | ||
requires 'Mojolicious'; | ||
requires 'Scalar::Util', '>= 1.45'; | ||
requires 'Test::SharedFork'; | ||
requires 'Test::Exception'; | ||
requires 'Test::More'; | ||
requires 'Mojo::Log::Role::Clearable'; |
This file was deleted.
Oops, something went wrong.
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,6 @@ | ||
requires 'Test::SharedFork'; | ||
requires 'Test::Exception'; | ||
requires 'Test::More'; | ||
requires 'Devel::Cover'; | ||
requires "Devel::Cover::Report::Coveralls"; | ||
requires "Pod::Coverage"; |
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
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
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
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,19 +1,16 @@ | ||
#!/bin/bash | ||
|
||
PERL_CPANM_HOME="`pwd`/thirdparty" \ | ||
PERL_CPANM_OPT='--notest --local-lib '"`pwd`/thirdparty" \ | ||
perl ./thirdparty/bin/cpanm Devel::Cover::Report::Coveralls | ||
#!/bin/sh | ||
|
||
# Fail on a test line that dies so we can notice it | ||
set -e | ||
|
||
perl -I./thirdparty/lib/perl5 \ | ||
-MDevel::Cover=+ignore,thirdparty ./t/znapzend.t ./bin/znapzend || test $? == 1 | ||
-MDevel::Cover=+ignore,thirdparty ./t/znapzend.t | ||
perl -I./thirdparty/lib/perl5 \ | ||
-MDevel::Cover=+ignore,thirdparty ./t/znapzend-daemonize.t ./bin/znapzend || test $? == 1 | ||
-MDevel::Cover=+ignore,thirdparty ./t/znapzend-daemonize.t | ||
perl -I./thirdparty/lib/perl5 \ | ||
-MDevel::Cover=+ignore,thirdparty ./t/znapzendzetup.t ./bin/znapzend || test $? == 1 | ||
-MDevel::Cover=+ignore,thirdparty ./t/znapzendzetup.t | ||
perl -I./thirdparty/lib/perl5 \ | ||
-MDevel::Cover=+ignore,thirdparty ./t/znapzendztatz.t ./bin/znapzend || test $? == 1 | ||
-MDevel::Cover=+ignore,thirdparty ./t/znapzendztatz.t | ||
perl -I./thirdparty/lib/perl5 \ | ||
-MDevel::Cover=+ignore,thirdparty ./t/autoscrub.t ./bin/znapzend || test $? == 1 | ||
-MDevel::Cover=+ignore,thirdparty ./t/autoscrub.t | ||
|
Oops, something went wrong.
78d95e2
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@check-spelling-bot Report
Unrecognized words, please review:
Previously acknowledged words that are now absent
aix CBuilder Cwd cygwin ev Fcntl fh forkcall gh gz Ip JB JBERGER LEONT Mkbootstrap nf nh oi Pipely qq qw RCAPUTO rr rw SZ ve VOS wu wx xargs xf yy ZLSome files were were automatically ignored
These sample patterns would exclude them:
You should consider adding them to:
File matching is via Perl regular expressions.
To check these files, more of their words need to be in the dictionary than not. You can use
patterns.txt
to exclude portions, add items to the dictionary (e.g. by adding them toallow.txt
), or fix typos.To accept these unrecognized words as correct (and remove the previously acknowledged and now absent words), run the following commands
... in a clone of the [email protected]:oetiker/znapzend.git repository
on the
master
branch: