aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2019-05-07 16:52:13 +0000
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2019-05-07 16:52:13 +0000
commitf0da6726207b740f6101028b2992f918477a4b08 (patch)
treefb74ffbd4abb0510aad543f9a7fa34e8ff2df85f
parenteeaff9cf6f3251a5558bb541a043d1db58ff6812 (diff)
parent78d3a36c9fd9679499054384a25e1985968b794e (diff)
downloadslirp-f0da6726207b740f6101028b2992f918477a4b08.zip
slirp-f0da6726207b740f6101028b2992f918477a4b08.tar.gz
slirp-f0da6726207b740f6101028b2992f918477a4b08.tar.bz2
Merge branch 'readme' into 'master'
Add README.md and gitignore See merge request slirp/libslirp!7
-rw-r--r--.gitignore10
-rw-r--r--README.md58
2 files changed, 68 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..09084d8
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,10 @@
+*.[aod]
+*.gcda
+*.gcno
+*.gcov
+*.lib
+*.obj
+/TAGS
+/cscope*
+/src/libslirp-version.h
+/tags
diff --git a/README.md b/README.md
new file mode 100644
index 0000000..28fd9af
--- /dev/null
+++ b/README.md
@@ -0,0 +1,58 @@
+# libslirp
+
+libslirp is a user-mode networking library used by virtual machines,
+containers or various tools.
+
+## Getting Started
+
+### Prerequisites
+
+A C compiler, make/meson and glib2 development libraries.
+
+(see also [.gitlab-ci.yml](.gitlab-ci.yml) DEPS variable for the list
+of dependencies on Fedora)
+
+### Building
+
+QEMU uses a static library built with ``make``. But you may also build
+and install the shared library with meson:
+
+``` sh
+meson build
+ninja -C build install
+```
+
+### Testing
+
+Unfortunately, there are no automated tests available.
+
+You may run QEMU ``-net user`` linked with your development version.
+
+## Contributing
+
+Feel free to open issues on the [project
+issues](https://gitlab.freedesktop.org/slirp/libslirp/issues) page.
+
+You may clone the [gitlab
+project](https://gitlab.freedesktop.org/slirp/libslirp) and create a
+merge request.
+
+Contributing with gitlab allows gitlab workflow, tracking issues,
+running CI etc.
+
+Alternatively, you may send patches to slirp@lists.freedesktop.org
+mailing list.
+
+## Versioning
+
+We intend to use [libtool's
+versioning](https://www.gnu.org/software/libtool/manual/html_node/Updating-version-info.html)
+for the shared libraries and use [SemVer](http://semver.org/) for
+project versions.
+
+For the versions available, see the [tags on this
+repository](https://gitlab.freedesktop.org/slirp/libslirp/releases).
+
+## License
+
+See the [COPYRIGHT](COPYRIGHT) file for details.