From b68e4de332c5be00358d01c7c7ab2aa6384a6e16 Mon Sep 17 00:00:00 2001 From: Michał Łyszczek Date: Thu, 22 Aug 2019 22:02:25 +0200 Subject: move embedlog from kurwinet.pl to bofc.pl MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit no_ci Signed-off-by: Michał Łyszczek --- gen-download-page.sh | 12 +++---- man2html.sh | 4 +-- pkg/deb/control.template | 6 ++-- pkg/deb/copyright | 2 +- pkg/deb/create-pkg.sh | 2 +- pkg/rpm/create-pkg.sh | 8 ++--- pkg/rpm/embedlog.spec.template | 4 +-- pkg/tgz/create-pkg.sh | 2 +- readme.md | 76 +++++++++++++++++++++--------------------- test-compilation.sh | 2 +- www/index.in | 2 +- 11 files changed, 60 insertions(+), 60 deletions(-) diff --git a/gen-download-page.sh b/gen-download-page.sh index c5a7c50..f7d252a 100755 --- a/gen-download-page.sh +++ b/gen-download-page.sh @@ -2,9 +2,9 @@ project='embedlog' out='www/downloads.html' -remote="https://distfiles.kurwinet.pl/${project}" -gpg="https://distfiles.kurwinet.pl/bofc-signing.pub.gpg" -asc="https://distfiles.kurwinet.pl/bofc-signing.pub.asc" +remote="https://distfiles.bofc.pl/${project}" +gpg="https://distfiles.bofc.pl/bofc-signing.pub.gpg" +asc="https://distfiles.bofc.pl/bofc-signing.pub.asc" get_files_from_remote() { @@ -40,9 +40,9 @@ echo "be downloaded from: ${remote}
" echo "

" echo "

git

" echo "

" -echo "git clone git@kurwinet.pl:${project}
" -echo "git clone git://kurwinet.pl/${project}
" -echo "git clone http://git.kurwinet.pl/${project}
" +echo "git clone git@bofc.pl:${project}
" +echo "git clone git://bofc.pl/${project}
" +echo "git clone http://git.bofc.pl/${project}
" echo "

" echo "

tarballs (source code)

" diff --git a/man2html.sh b/man2html.sh index 622a1b5..7c08a3a 100755 --- a/man2html.sh +++ b/man2html.sh @@ -1,6 +1,6 @@ #!/bin/sh -hostname="http://embedlog.kurwinet.pl" +hostname="http://embedlog.bofc.pl" out="$(pwd)/www/manuals" root="$(pwd)" ftmp="/tmp/mtest-man2html" @@ -34,7 +34,7 @@ do name="${name%.*}" version_info="$(head -n1 ${ftmp} | cut -f3 -d: | cut -f1 -d\<)" tail -n+2 "${ftmp}" > tmp; mv tmp "${ftmp}" - sed -i "1s/^/

${name}(${n})<\/p>

kurwinet manual pages<\/p>

${name}(${n})<\/p>\n

/" "${ftmp}" + sed -i "1s/^/

${name}(${n})<\/p>

bofc manual pages<\/p>

${name}(${n})<\/p>\n

/" "${ftmp}" # remove uneeded links to non-existing index sed -i 's/Return to Main Contents<\/A>


//' "${ftmp}" diff --git a/pkg/deb/control.template b/pkg/deb/control.template index eca147f..e4a17f9 100644 --- a/pkg/deb/control.template +++ b/pkg/deb/control.template @@ -4,9 +4,9 @@ Priority: optional Maintainer: Michał Łyszczek Build-Depends: debhelper (>=10), autotools-dev, dh-autoreconf Standards-Version: 3.9.8 -Vcs-Git: https://git.kurwinet.pl/embedlog -Vcs-browser: https://git.kurwinet.pl/embedlog -Homepage: https://embedlog.kurwinet.pl +Vcs-Git: https://git.bofc.pl/embedlog +Vcs-browser: https://git.bofc.pl/embedlog +Homepage: https://embedlog.bofc.pl Package: libembedlog@{ABI_VERSION} Section: libs diff --git a/pkg/deb/copyright b/pkg/deb/copyright index 41332aa..3508921 100644 --- a/pkg/deb/copyright +++ b/pkg/deb/copyright @@ -1,6 +1,6 @@ Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: embedlog -Source: https://git.kurwinet.pl/embedlog +Source: https://git.bofc.pl/embedlog Files: * Copyright: 2017, 2018 Michał Łyszczek diff --git a/pkg/deb/create-pkg.sh b/pkg/deb/create-pkg.sh index f8ad20a..9c593b8 100755 --- a/pkg/deb/create-pkg.sh +++ b/pkg/deb/create-pkg.sh @@ -29,7 +29,7 @@ rm -rf "/tmp/${project}-${version}" mkdir "/tmp/${project}-${version}" cd "/tmp/${project}-${version}" -git clone "https://git.kurwinet.pl/${project}" +git clone "https://git.bofc.pl/${project}" cd "${project}" git checkout "${version}" || exit 1 diff --git a/pkg/rpm/create-pkg.sh b/pkg/rpm/create-pkg.sh index fddbf70..1634874 100644 --- a/pkg/rpm/create-pkg.sh +++ b/pkg/rpm/create-pkg.sh @@ -19,13 +19,13 @@ arch="${2}" host_os="${3}" cd "${HOME}/rpmbuild" -pkg_version="$(curl "https://git.kurwinet.pl/${project}/plain/configure.ac?h=${git_version}" | \ +pkg_version="$(curl "https://git.bofc.pl/${project}/plain/configure.ac?h=${git_version}" | \ grep "AC_INIT(" | cut -f3 -d\[ | cut -f1 -d\])" -wget "https://git.kurwinet.pl/${project}/snapshot/${project}-${git_version}.tar.gz" \ +wget "https://git.bofc.pl/${project}/snapshot/${project}-${git_version}.tar.gz" \ -O "SOURCES/${project}-${pkg_version}.tar.gz" -wget "https://git.kurwinet.pl/${project}/plain/pkg/rpm/${project}.spec.template?h=${git_version}" \ +wget "https://git.bofc.pl/${project}/plain/pkg/rpm/${project}.spec.template?h=${git_version}" \ -O "SPECS/${project}-${pkg_version}.spec" -lt_version="$(curl "https://git.kurwinet.pl/${project}/plain/src/Makefile.am?h=${git_version}" | \ +lt_version="$(curl "https://git.bofc.pl/${project}/plain/src/Makefile.am?h=${git_version}" | \ grep "${project}_la_LDFLAGS = -version-info" | cut -f4 -d\ )" current="$(echo ${lt_version} | cut -f1 -d:)" diff --git a/pkg/rpm/embedlog.spec.template b/pkg/rpm/embedlog.spec.template index 15da905..6066bba 100644 --- a/pkg/rpm/embedlog.spec.template +++ b/pkg/rpm/embedlog.spec.template @@ -5,8 +5,8 @@ Summary: highly portable c89 complaint logger Group: System Environment/Libraries License: BSD -URL: https://embedlog.kurwinet.pl -Source0: https://git.kurwinet.pl/embedlog/snapshot/embedlog-%{version}.tar.gz +URL: https://embedlog.bofc.pl +Source0: https://git.bofc.pl/embedlog/snapshot/embedlog-%{version}.tar.gz Vendor: Bits of Code Packager: Michał Łyszczek diff --git a/pkg/tgz/create-pkg.sh b/pkg/tgz/create-pkg.sh index a5ea8a8..c913396 100755 --- a/pkg/tgz/create-pkg.sh +++ b/pkg/tgz/create-pkg.sh @@ -26,7 +26,7 @@ rm -rf "${workdir}" mkdir "${workdir}" cd "${workdir}" -wget "https://git.kurwinet.pl/${project}/snapshot/${project}-${git_version}.tar.gz" +wget "https://git.bofc.pl/${project}/snapshot/${project}-${git_version}.tar.gz" tar xf "${project}-${git_version}.tar.gz" cd "${project}-${git_version}" diff --git a/readme.md b/readme.md index 19953c3..8acffcb 100644 --- a/readme.md +++ b/readme.md @@ -40,12 +40,12 @@ Functions description ===================== For detailed description of every function check out -[man pages](http://embedlog.kurwinet.pl/manuals.html) +[man pages](https://embedlog.bofc.pl/manuals.html) Examples ======== -Check [examples](http://git.kurwinet.pl/embedlog/tree/examples) directory to get +Check [examples](https://git.bofc.pl/embedlog/tree/examples) directory to get the idea of how to use **embedlog**. Examples can also be compiled to see how they work. @@ -55,7 +55,7 @@ Dependencies Library is written in **C89** but some features require implemented **POSIX** to work. Also there are some additional features for users with **C99** compiler. -To run unit tests, you also need [librb](http://librb.kurwinet.pl) +To run unit tests, you also need [librb](https://librb.bofc.pl) Test results ============ @@ -176,7 +176,7 @@ needs. When enabled, logger will be able to add timestamp to every message. Timestamp can be in short or long format and timer source can be configured. Check out -[man page](http://embedlog.kurwinet.pl/manuals/el_option.3.html) to read more +[man page](https://embedlog.bofc.pl/manuals/el_option.3.html) to read more about it. --enable-fractions (default: enable) @@ -273,46 +273,46 @@ License ======= Library is licensed under BSD 2-clause license. See -[LICENSE](http://git.kurwinet.pl/embedlog/tree/LICENSE) file for details +[LICENSE](https://git.bofc.pl/embedlog/tree/LICENSE) file for details See also ======== * [c89 snprintf function family](https://www.ijs.si/software/snprintf) by Mark Martinec -* [mtest](http://mtest.kurwinet.pl) unit test framework **embedlog** uses -* [librb](http://librb.kurwinet.pl) ring buffer used in unit tests -* [git repository](http://git.kurwinet.pl/embedlog) to browse code online -* [continous integration](http://ci.embedlog.kurwinet.pl) for project +* [mtest](https://mtest.bofc.pl) unit test framework **embedlog** uses +* [librb](https://librb.bofc.pl) ring buffer used in unit tests +* [git repository](http://git.bofc.pl/embedlog) to browse code online +* [continous integration](http://ci.embedlog.bofc.pl) for project * [polarhome](http://www.polarhome.com) nearly free shell accounts for virtually any unix there is. -[a64lg]: http://ci.embedlog.kurwinet.pl/badges/aarch64-builder-linux-gnu-tests.svg -[armv5]: http://ci.embedlog.kurwinet.pl/badges/armv5te926-builder-linux-gnueabihf-tests.svg -[armv6]: http://ci.embedlog.kurwinet.pl/badges/armv6j1136-builder-linux-gnueabihf-tests.svg -[armv7a15]: http://ci.embedlog.kurwinet.pl/badges/armv7a15-builder-linux-gnueabihf-tests.svg -[armv7a9]: http://ci.embedlog.kurwinet.pl/badges/armv7a9-builder-linux-gnueabihf-tests.svg -[x32fb]: http://ci.embedlog.kurwinet.pl/badges/i686-builder-freebsd-tests.svg -[x32lg]: http://ci.embedlog.kurwinet.pl/badges/i686-builder-linux-gnu-tests.svg -[x32lm]: http://ci.embedlog.kurwinet.pl/badges/i686-builder-linux-musl-tests.svg -[x32lu]: http://ci.embedlog.kurwinet.pl/badges/i686-builder-linux-uclibc-tests.svg -[x32nb]: http://ci.embedlog.kurwinet.pl/badges/i686-builder-netbsd-tests.svg -[x32ob]: http://ci.embedlog.kurwinet.pl/badges/i686-builder-openbsd-tests.svg -[m32lg]: http://ci.embedlog.kurwinet.pl/badges/mips-builder-linux-gnu-tests.svg -[x64lg]: http://ci.embedlog.kurwinet.pl/badges/x86_64-builder-linux-gnu-tests.svg -[x64lm]: http://ci.embedlog.kurwinet.pl/badges/x86_64-builder-linux-musl-tests.svg -[x64lu]: http://ci.embedlog.kurwinet.pl/badges/x86_64-builder-linux-uclibc-tests.svg -[x64ss]: http://ci.embedlog.kurwinet.pl/badges/x86_64-builder-solaris-tests.svg -[prhpux]: http://ci.embedlog.kurwinet.pl/badges/parisc-polarhome-hpux-tests.svg -[p4aix]: http://ci.embedlog.kurwinet.pl/badges/power4-polarhome-aix-tests.svg -[x64debian9]: http://ci.embedlog.kurwinet.pl/badges/x86_64-debian-9-tests.svg -[x64centos7]: http://ci.embedlog.kurwinet.pl/badges/x86_64-centos-7-tests.svg -[x64fedora28]: http://ci.embedlog.kurwinet.pl/badges/x86_64-fedora-28-tests.svg -[x64suse15]: http://ci.embedlog.kurwinet.pl/badges/x86_64-opensuse-15-tests.svg -[x64rhel7]: http://ci.embedlog.kurwinet.pl/badges/x86_64-rhel-7-tests.svg -[x64slackware142]: http://ci.embedlog.kurwinet.pl/badges/x86_64-slackware-142-tests.svg -[x64ubuntu1804]: http://ci.embedlog.kurwinet.pl/badges/x86_64-ubuntu-1804-tests.svg - -[fsan]: http://ci.embedlog.kurwinet.pl/badges/fsanitize-address.svg -[fsleak]: http://ci.embedlog.kurwinet.pl/badges/fsanitize-leak.svg -[fsun]: http://ci.embedlog.kurwinet.pl/badges/fsanitize-undefined.svg +[a64lg]: http://ci.embedlog.bofc.pl/badges/aarch64-builder-linux-gnu-tests.svg +[armv5]: http://ci.embedlog.bofc.pl/badges/armv5te926-builder-linux-gnueabihf-tests.svg +[armv6]: http://ci.embedlog.bofc.pl/badges/armv6j1136-builder-linux-gnueabihf-tests.svg +[armv7a15]: http://ci.embedlog.bofc.pl/badges/armv7a15-builder-linux-gnueabihf-tests.svg +[armv7a9]: http://ci.embedlog.bofc.pl/badges/armv7a9-builder-linux-gnueabihf-tests.svg +[x32fb]: http://ci.embedlog.bofc.pl/badges/i686-builder-freebsd-tests.svg +[x32lg]: http://ci.embedlog.bofc.pl/badges/i686-builder-linux-gnu-tests.svg +[x32lm]: http://ci.embedlog.bofc.pl/badges/i686-builder-linux-musl-tests.svg +[x32lu]: http://ci.embedlog.bofc.pl/badges/i686-builder-linux-uclibc-tests.svg +[x32nb]: http://ci.embedlog.bofc.pl/badges/i686-builder-netbsd-tests.svg +[x32ob]: http://ci.embedlog.bofc.pl/badges/i686-builder-openbsd-tests.svg +[m32lg]: http://ci.embedlog.bofc.pl/badges/mips-builder-linux-gnu-tests.svg +[x64lg]: http://ci.embedlog.bofc.pl/badges/x86_64-builder-linux-gnu-tests.svg +[x64lm]: http://ci.embedlog.bofc.pl/badges/x86_64-builder-linux-musl-tests.svg +[x64lu]: http://ci.embedlog.bofc.pl/badges/x86_64-builder-linux-uclibc-tests.svg +[x64ss]: http://ci.embedlog.bofc.pl/badges/x86_64-builder-solaris-tests.svg +[prhpux]: http://ci.embedlog.bofc.pl/badges/parisc-polarhome-hpux-tests.svg +[p4aix]: http://ci.embedlog.bofc.pl/badges/power4-polarhome-aix-tests.svg +[x64debian9]: http://ci.embedlog.bofc.pl/badges/x86_64-debian-9-tests.svg +[x64centos7]: http://ci.embedlog.bofc.pl/badges/x86_64-centos-7-tests.svg +[x64fedora28]: http://ci.embedlog.bofc.pl/badges/x86_64-fedora-28-tests.svg +[x64suse15]: http://ci.embedlog.bofc.pl/badges/x86_64-opensuse-15-tests.svg +[x64rhel7]: http://ci.embedlog.bofc.pl/badges/x86_64-rhel-7-tests.svg +[x64slackware142]: http://ci.embedlog.bofc.pl/badges/x86_64-slackware-142-tests.svg +[x64ubuntu1804]: http://ci.embedlog.bofc.pl/badges/x86_64-ubuntu-1804-tests.svg + +[fsan]: http://ci.embedlog.bofc.pl/badges/fsanitize-address.svg +[fsleak]: http://ci.embedlog.bofc.pl/badges/fsanitize-leak.svg +[fsun]: http://ci.embedlog.bofc.pl/badges/fsanitize-undefined.svg diff --git a/test-compilation.sh b/test-compilation.sh index 83d45b3..73a60cf 100755 --- a/test-compilation.sh +++ b/test-compilation.sh @@ -17,7 +17,7 @@ prepare() project_dir="${3}" # clone - if ! git clone "${project_dir}" "${project}-${slot}" + if ! git clone git://bofc.pl/"${project}" "${project}-${slot}" then echo "couldn't clone, sorry" exit 1 diff --git a/www/index.in b/www/index.in index f20f16a..f738bae 100644 --- a/www/index.in +++ b/www/index.in @@ -1,4 +1,4 @@ -in_title="embedlog.kurwinet.pl - c/c++ logger with embedded devices in mind" +in_title="embedlog.bofc.pl - c/c++ logger with embedded devices in mind" in_description="Logger written in C89 targeting embedded systems. It's main goals are to be small and fast. Many features can be disabled during compilation to generate smaller binary." in_keywords="c, embedded, logger, file, rotate, network" in_author="Michał Łyszczek" -- cgit v1.2.3-8-gadcc