https://github.com/utmapp/libslirp
Mirror of https://gitlab.freedesktop.org/slirp/libslirp
https://github.com/utmapp/libslirp
Last synced: about 1 year ago
JSON representation
Mirror of https://gitlab.freedesktop.org/slirp/libslirp
- Host: GitHub
- URL: https://github.com/utmapp/libslirp
- Owner: utmapp
- License: other
- Created: 2020-03-31T22:56:53.000Z (about 6 years ago)
- Default Branch: ios-support
- Last Pushed: 2020-07-29T21:34:28.000Z (almost 6 years ago)
- Last Synced: 2025-04-14T19:13:46.950Z (about 1 year ago)
- Language: C
- Size: 704 KB
- Stars: 8
- Watchers: 1
- Forks: 8
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 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
You may build and install the shared library with meson:
``` sh
meson build
ninja -C build install
```
And configure QEMU with --enable-slirp=system to link against it.
(QEMU may build with the submodule static library using --enable-slirp=git)
### 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.