aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xgen-download-page.sh12
-rwxr-xr-xman2html.sh4
-rw-r--r--pkg/deb/control.template6
-rw-r--r--pkg/deb/copyright2
-rwxr-xr-xpkg/deb/create-pkg.sh2
-rw-r--r--pkg/gentoo/librb-1.0.0.ebuild4
-rw-r--r--pkg/rpm/create-pkg.sh8
-rw-r--r--pkg/rpm/librb.spec.template4
-rwxr-xr-xpkg/tgz/create-pkg.sh2
-rw-r--r--readme.md120
-rwxr-xr-xtest-compilation.sh2
-rw-r--r--www/index.in2
12 files changed, 87 insertions, 81 deletions
diff --git a/gen-download-page.sh b/gen-download-page.sh
index bd50237..b6b6adf 100755
--- a/gen-download-page.sh
+++ b/gen-download-page.sh
@@ -2,9 +2,9 @@
project='librb'
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: <a href=\"${remote}/\">${remote}</a><br>"
echo "</p>"
echo "<h1>git</h1>"
echo "<p>"
-echo "git clone git@kurwinet.pl:${project}<br>"
-echo "git clone git://kurwinet.pl/${project}<br>"
-echo "git clone http://git.kurwinet.pl/${project}<br>"
+echo "git clone git@bofc.pl:${project}<br>"
+echo "git clone git://bofc.pl/${project}<br>"
+echo "git clone http://git.bofc.pl/${project}<br>"
echo "</p>"
echo "<h1>tarballs (source code)</h1>"
diff --git a/man2html.sh b/man2html.sh
index 955f031..185da7c 100755
--- a/man2html.sh
+++ b/man2html.sh
@@ -1,6 +1,6 @@
#!/bin/sh
-hostname="http://librb.kurwinet.pl"
+hostname="http://librb.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/^/<p class=\"info left\">${name}(${n})<\/p><p class=\"info center\">kurwinet manual pages<\/p><p class=\"info right\">${name}(${n})<\/p>\n<br><P> /" "${ftmp}"
+ sed -i "1s/^/<p class=\"info left\">${name}(${n})<\/p><p class=\"info center\">bofc manual pages<\/p><p class=\"info right\">${name}(${n})<\/p>\n<br><P> /" "${ftmp}"
# remove uneeded links to non-existing index
sed -i 's/<A HREF="\.\.\/index.html">Return to Main Contents<\/A><HR>//' "${ftmp}"
diff --git a/pkg/deb/control.template b/pkg/deb/control.template
index 578e27b..ee1d10c 100644
--- a/pkg/deb/control.template
+++ b/pkg/deb/control.template
@@ -4,9 +4,9 @@ Priority: optional
Maintainer: Michał Łyszczek <michal.lyszczek@bofc.pl>
Build-Depends: debhelper (>=10), autotools-dev, dh-autoreconf
Standards-Version: 3.9.8
-Vcs-Git: https://git.kurwinet.pl/librb
-Vcs-browser: https://git.kurwinet.pl/librb
-Homepage: https://librb.kurwinet.pl
+Vcs-Git: https://git.bofc.pl/librb
+Vcs-browser: https://git.bofc.pl/librb
+Homepage: https://librb.bofc.pl
Package: librb${ABI_VERSION}
Section: libs
diff --git a/pkg/deb/copyright b/pkg/deb/copyright
index cfbf3dc..3921efc 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: librb
-Source: https://git.kurwinet.pl/librb
+Source: https://git.bofc.pl/librb
Files: *
Copyright: 2017, 2018 Michał Łyszczek <michal.lyszczek@bofc.pl>
diff --git a/pkg/deb/create-pkg.sh b/pkg/deb/create-pkg.sh
index 8642cb0..d4478f0 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/gentoo/librb-1.0.0.ebuild b/pkg/gentoo/librb-1.0.0.ebuild
index 8d6aae2..dfeeb67 100644
--- a/pkg/gentoo/librb-1.0.0.ebuild
+++ b/pkg/gentoo/librb-1.0.0.ebuild
@@ -5,8 +5,8 @@ EAPI=6
inherit autotools
DESCRIPTION="ring buffer c library with posix-like read/write interface and thread awarness"
-HOMEPAGE="http://librb.kurwinet.pl"
-SRC_URI="http://distfiles.kurwinet.pl/${PN}/${P}.tar.gz"
+HOMEPAGE="http://librb.bofc.pl"
+SRC_URI="http://distfiles.bofc.pl/${PN}/${P}.tar.gz"
LICENSE="BSD-2"
SLOT="0"
diff --git a/pkg/rpm/create-pkg.sh b/pkg/rpm/create-pkg.sh
index c883c31..3b46012 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/librb.spec.template?h=${git_version}" \
+wget "https://git.bofc.pl/${project}/plain/pkg/rpm/librb.spec.template?h=${git_version}" \
-O "SPECS/librb-${pkg_version}.spec"
-lt_version="$(curl "https://git.kurwinet.pl/${project}/plain/Makefile.am?h=${git_version}" | \
+lt_version="$(curl "https://git.bofc.pl/${project}/plain/Makefile.am?h=${git_version}" | \
grep "librb_la_LDFLAGS = -version-info" | cut -f4 -d\ )"
current="$(echo ${lt_version} | cut -f1 -d:)"
diff --git a/pkg/rpm/librb.spec.template b/pkg/rpm/librb.spec.template
index 8ae2eec..dc6e87b 100644
--- a/pkg/rpm/librb.spec.template
+++ b/pkg/rpm/librb.spec.template
@@ -5,8 +5,8 @@ Summary: fast ring buffer library with posix-like interface
Group: System Environment/Libraries
License: BSD
-URL: https://librb.kurwinet.pl
-Source0: https://git.kurwinet.pl/librb/snapshot/librb-%{version}.tar.gz
+URL: https://librb.bofc.pl
+Source0: https://git.bofc.pl/librb/snapshot/librb-%{version}.tar.gz
Vendor: Bits of Code
Packager: Michał Łyszczek <michal.lyszczek@bofc.pl>
diff --git a/pkg/tgz/create-pkg.sh b/pkg/tgz/create-pkg.sh
index 35e5de6..58205f2 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 1b3ad20..e27a1a0 100644
--- a/readme.md
+++ b/readme.md
@@ -10,54 +10,60 @@ there are 0 (zero) syscalls, everything is done in user's process without kernel
interfering and steeling precious cpu cycles. Altough librb provides
some more functions, it can be operated using 4 basic functions
- * [rb_new](http://librb.kurwinet.pl/manuals/rb_clear.3.html) -
+ * [rb_new](https://librb.bofc.pl/manuals/rb_clear.3.html) -
creates new ring buffer
- * [rb_read](http://librb.kurwinet.pl/manuals/rb_read.3.html) -
+ * [rb_read](https://librb.bofc.pl/manuals/rb_read.3.html) -
reads from the ring buffer
- * [rb_write](http://librb.kurwinet.pl/manuals/rb_write.3.html) -
+ * [rb_write](https://librb.bofc.pl/manuals/rb_write.3.html) -
writes to the ring buffer
- * [rb_destroy](http://librb.kurwinet.pl/manuals/rb_destroy.3.html) -
+ * [rb_destroy](https://librb.bofc.pl/manuals/rb_destroy.3.html) -
destroys ring buffer
Additional functions are:
- * [rb_init](http://librb.kurwinet.pl/manuals/rb_init.3.html) -
+ * [rb_init](https://librb.bofc.pl/manuals/rb_init.3.html) -
initializes new ring buffer but does not use dynamic allocation
- * [rb_cleanup](http://librb.kurwinet.pl/manuals/rb_cleanup.3.html) -
+ * [rb_cleanup](https://librb.bofc.pl/manuals/rb_cleanup.3.html) -
cleans up whatever has been initialized with rb_init
- * [rb_recv](http://librb.kurwinet.pl/manuals/rb_recv.3.html) -
+ * [rb_recv](https://librb.bofc.pl/manuals/rb_recv.3.html) -
reads from the ring buffer but also accepts flags
- * [rb_send](http://librb.kurwinet.pl/manuals/rb_send.3.html) -
+ * [rb_send](https://librb.bofc.pl/manuals/rb_send.3.html) -
writes to the ring buffer but also accepts flags
- * [rb_clear](http://librb.kurwinet.pl/manuals/rb_clear.3.html) -
+ * [rb_clear](https://librb.bofc.pl/manuals/rb_clear.3.html) -
removes all elements from the buffer
- * [rb_count](http://librb.kurwinet.pl/manuals/rb_count.3.html) -
+ * [rb_count](https://librb.bofc.pl/manuals/rb_count.3.html) -
returns number of elements in the buffer
- * [rb_space](http://librb.kurwinet.pl/manuals/rb_space.3.html) -
+ * [rb_space](https://librb.bofc.pl/manuals/rb_space.3.html) -
returns number of free space for number of elements
- * [rb_stop](http://librb.kurwinet.pl/manuals/rb_stop.3.html) -
+ * [rb_stop](https://librb.bofc.pl/manuals/rb_stop.3.html) -
forces all threads to exit **rb_write** and **rb_read** functions
- * [rb_discard](http://librb.kurwinet.pl/manuals/rb_discard.3.html) -
+ * [rb_discard](https://librb.bofc.pl/manuals/rb_discard.3.html) -
allows to quickly discard part of buffers data
- * [rb_header_size](http://librb.kurwinet.pl/manuals/rb_header_size.3.html) -
+ * [rb_header_size](https://librb.bofc.pl/manuals/rb_header_size.3.html) -
get size of internal struct with buffer information
- * [rb_version](http://librb.kurwinet.pl/manuals/rb_version.3.html) -
+ * [rb_version](https://librb.bofc.pl/manuals/rb_version.3.html) -
get version of library that is used
Extra functions enabled on POSIX compliant systems. These functions are provided
for convenience, but can also be used to limit copying operations from socket
to **rb**:
- * [rb_posix_read](http://librb.kurwinet.pl/manuals/rb_posix_read.3.html) -
+ * [rb_posix_read](https://librb.bofc.pl/manuals/rb_posix_read.3.html) -
reads from the ring buffer directly to provided socket
- * [rb_posix_write](http://librb.kurwinet.pl/manuals/rb_posix_write.3.html) -
+ * [rb_posix_write](https://librb.bofc.pl/manuals/rb_posix_write.3.html) -
writes to the ring buffer directly from socket
- * [rb_posix_recv](http://librb.kurwinet.pl/manuals/rb_posix_recv.3.html) -
+ * [rb_posix_recv](https://librb.bofc.pl/manuals/rb_posix_recv.3.html) -
reads from the ring buffer directly to provided socket but also accepts
flags
- * [rb_posix_send](http://librb.kurwinet.pl/manuals/rb_posix_send.3.html) -
+ * [rb_posix_send](https://librb.bofc.pl/manuals/rb_posix_send.3.html) -
writes to the ring buffer directly from socket but also accepts flags
+Downloads
+=========
+
+Released binary packages and source tarballs can be downloaded from
+[https://librb.bofc.pl/downloads.html ](https://librb.bofc.pl/downloads.html)
+
Dependencies
============
@@ -152,7 +158,7 @@ Examples
========
Example codes can be found here:
-[http://git.kurwinet.pl/librb/tree/examples][examples]
+[https://git.bofc.pl/librb/tree/examples ][examples]
Build time options
==================
@@ -188,7 +194,7 @@ Functions description
=====================
For detailed functions description please check
-[man pages](http://librb.kurwinet.pl/manuals/man3.html)
+[man pages](https://librb.bofc.pl/manuals/man3.html)
Contact
=======
@@ -198,41 +204,41 @@ Michał Łyszczek <michal.lyszczek@bofc.pl>
See also
========
-* [mtest](http://mtest.kurwinet.pl) unit test framework **librb** uses
-* [git repository](http://git.kurwinet.pl/librb) to browde code online
-* [continous integration](http://ci.librb.kurwinet.pl) for project
-* [polarhome](http://www.polarhome.com) nearly free shell accounts for virtually
+* [mtest](https://mtest.bofc.pl) unit test framework **librb** uses
+* [git repository](https://git.bofc.pl/librb) to browse code online
+* [continous integration](https://ci.librb.bofc.pl) for project
+* [polarhome](https://www.polarhome.com) nearly free shell accounts for virtually
any unix there is.
-[a64lg]: http://ci.librb.kurwinet.pl/badges/aarch64-builder-linux-gnu-tests.svg
-[armv5]: http://ci.librb.kurwinet.pl/badges/armv5te926-builder-linux-gnueabihf-tests.svg
-[armv6]: http://ci.librb.kurwinet.pl/badges/armv6j1136-builder-linux-gnueabihf-tests.svg
-[armv7a15]: http://ci.librb.kurwinet.pl/badges/armv7a15-builder-linux-gnueabihf-tests.svg
-[armv7a9]: http://ci.librb.kurwinet.pl/badges/armv7a9-builder-linux-gnueabihf-tests.svg
-[x32fb]: http://ci.librb.kurwinet.pl/badges/i686-builder-freebsd-tests.svg
-[x32lg]: http://ci.librb.kurwinet.pl/badges/i686-builder-linux-gnu-tests.svg
-[x32lm]: http://ci.librb.kurwinet.pl/badges/i686-builder-linux-musl-tests.svg
-[x32lu]: http://ci.librb.kurwinet.pl/badges/i686-builder-linux-uclibc-tests.svg
-[x32nb]: http://ci.librb.kurwinet.pl/badges/i686-builder-netbsd-tests.svg
-[x32ob]: http://ci.librb.kurwinet.pl/badges/i686-builder-openbsd-tests.svg
-[m32lg]: http://ci.librb.kurwinet.pl/badges/mips-builder-linux-gnu-tests.svg
-[x64lg]: http://ci.librb.kurwinet.pl/badges/x86_64-builder-linux-gnu-tests.svg
-[x64lm]: http://ci.librb.kurwinet.pl/badges/x86_64-builder-linux-musl-tests.svg
-[x64lu]: http://ci.librb.kurwinet.pl/badges/x86_64-builder-linux-uclibc-tests.svg
-[x64ss]: http://ci.librb.kurwinet.pl/badges/x86_64-builder-solaris-tests.svg
-[prhpux]: http://ci.librb.kurwinet.pl/badges/parisc-polarhome-hpux-tests.svg
-[p4aix]: http://ci.librb.kurwinet.pl/badges/power4-polarhome-aix-tests.svg
-[x64debian9]: http://ci.librb.kurwinet.pl/badges/x86_64-debian-9-tests.svg
-[x64centos7]: http://ci.librb.kurwinet.pl/badges/x86_64-centos-7-tests.svg
-[x64fedora28]: http://ci.librb.kurwinet.pl/badges/x86_64-fedora-28-tests.svg
-[x64suse15]: http://ci.librb.kurwinet.pl/badges/x86_64-opensuse-15-tests.svg
-[x64rhel7]: http://ci.librb.kurwinet.pl/badges/x86_64-rhel-7-tests.svg
-[x64slackware142]: http://ci.librb.kurwinet.pl/badges/x86_64-slackware-142-tests.svg
-[x64ubuntu1804]: http://ci.librb.kurwinet.pl/badges/x86_64-ubuntu-1804-tests.svg
-
-[fsan]: http://ci.librb.kurwinet.pl/badges/fsanitize-address.svg
-[fsleak]: http://ci.librb.kurwinet.pl/badges/fsanitize-leak.svg
-[fsthread]: http://ci.librb.kurwinet.pl/badges/fsanitize-thread.svg
-[fsun]: http://ci.librb.kurwinet.pl/badges/fsanitize-undefined.svg
-
-[examples]: http://git.kurwinet.pl/librb/tree/examples
+[a64lg]: https://ci.librb.bofc.pl/badges/aarch64-builder-linux-gnu-tests.svg
+[armv5]: https://ci.librb.bofc.pl/badges/armv5te926-builder-linux-gnueabihf-tests.svg
+[armv6]: https://ci.librb.bofc.pl/badges/armv6j1136-builder-linux-gnueabihf-tests.svg
+[armv7a15]: https://ci.librb.bofc.pl/badges/armv7a15-builder-linux-gnueabihf-tests.svg
+[armv7a9]: https://ci.librb.bofc.pl/badges/armv7a9-builder-linux-gnueabihf-tests.svg
+[x32fb]: https://ci.librb.bofc.pl/badges/i686-builder-freebsd-tests.svg
+[x32lg]: https://ci.librb.bofc.pl/badges/i686-builder-linux-gnu-tests.svg
+[x32lm]: https://ci.librb.bofc.pl/badges/i686-builder-linux-musl-tests.svg
+[x32lu]: https://ci.librb.bofc.pl/badges/i686-builder-linux-uclibc-tests.svg
+[x32nb]: https://ci.librb.bofc.pl/badges/i686-builder-netbsd-tests.svg
+[x32ob]: https://ci.librb.bofc.pl/badges/i686-builder-openbsd-tests.svg
+[m32lg]: https://ci.librb.bofc.pl/badges/mips-builder-linux-gnu-tests.svg
+[x64lg]: https://ci.librb.bofc.pl/badges/x86_64-builder-linux-gnu-tests.svg
+[x64lm]: https://ci.librb.bofc.pl/badges/x86_64-builder-linux-musl-tests.svg
+[x64lu]: https://ci.librb.bofc.pl/badges/x86_64-builder-linux-uclibc-tests.svg
+[x64ss]: https://ci.librb.bofc.pl/badges/x86_64-builder-solaris-tests.svg
+[prhpux]: https://ci.librb.bofc.pl/badges/parisc-polarhome-hpux-tests.svg
+[p4aix]: https://ci.librb.bofc.pl/badges/power4-polarhome-aix-tests.svg
+[x64debian9]: https://ci.librb.bofc.pl/badges/x86_64-debian-9-tests.svg
+[x64centos7]: https://ci.librb.bofc.pl/badges/x86_64-centos-7-tests.svg
+[x64fedora28]: https://ci.librb.bofc.pl/badges/x86_64-fedora-28-tests.svg
+[x64suse15]: https://ci.librb.bofc.pl/badges/x86_64-opensuse-15-tests.svg
+[x64rhel7]: https://ci.librb.bofc.pl/badges/x86_64-rhel-7-tests.svg
+[x64slackware142]: https://ci.librb.bofc.pl/badges/x86_64-slackware-142-tests.svg
+[x64ubuntu1804]: https://ci.librb.bofc.pl/badges/x86_64-ubuntu-1804-tests.svg
+
+[fsan]: https://ci.librb.bofc.pl/badges/fsanitize-address.svg
+[fsleak]: https://ci.librb.bofc.pl/badges/fsanitize-leak.svg
+[fsthread]: https://ci.librb.bofc.pl/badges/fsanitize-thread.svg
+[fsun]: https://ci.librb.bofc.pl/badges/fsanitize-undefined.svg
+
+[examples]: https://git.bofc.pl/librb/tree/examples
diff --git a/test-compilation.sh b/test-compilation.sh
index b061b6f..6105483 100755
--- a/test-compilation.sh
+++ b/test-compilation.sh
@@ -16,7 +16,7 @@ prepare()
slot="${2}"
# clone
- if ! git clone git://kurwinet.pl/"${project}" "${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 9fe6c84..ad0b7bc 100644
--- a/www/index.in
+++ b/www/index.in
@@ -1,4 +1,4 @@
-in_title="librb.kurwinet.pl - ring buffer for c/c++"
+in_title="librb.bofc.pl - ring buffer for c/c++"
in_description="librb is library that provides fast, easy to use ring buffer. It's interface is very similar to read/write interface from POSIX. It also provides optional thread awarness and thread safety for concurrent access."
in_keywords="c, library, ring, buffer, thread, safety, pthread"
in_author="Michał Łyszczek"