Skip to content

Commit

Permalink
Introduce library skeleton
Browse files Browse the repository at this point in the history
We use the BSD-3 license.

Signed-off-by: Mihai Pogonaru <[email protected]>
Reviewed-by: Costin Lupu <[email protected]>
  • Loading branch information
mihaipogonaru committed Oct 29, 2019
1 parent 5638949 commit e287272
Show file tree
Hide file tree
Showing 7 changed files with 116 additions and 0 deletions.
27 changes: 27 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
*.depend
*.o
*.a
*.d
*.so
*.orig
*.rej
*.bak
*.swp
*~
,*
\#*\#
.\#*
\#_*\#
.\#_*
!.gitignore
.*

# gnu global files
GPATH
GRTAGS
GSYMS
GTAGS

# cscope files
cscope.*
ncscope.*
4 changes: 4 additions & 0 deletions CODING_STYLE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
Coding Style
============

Please refer to the `CODING_STYLE.md` file in the main Unikraft repository.
4 changes: 4 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
Contributing to Unikraft
========================

Please refer to the `CONTRIBUTING.md` file in the main Unikraft repository.
39 changes: 39 additions & 0 deletions COPYING.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
License
=======

Unikraft Nginx wrappers
----------------------------------

This repository contains wrapper code to build $libname with Unikraft.
Each C code file in this repository should declare who is the
copyright owner and under which terms and conditions the code is
licensed. If such a licence note is missing, the following copyright
notice will apply:

Copyright (c) Year, Institution. All rights reserved.

Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions
are met:

1. Redistributions of source code must retain the above copyright
notice, this list of conditions and the following disclaimer.
2. Redistributions in binary form must reproduce the above copyright
notice, this list of conditions and the following disclaimer in the
documentation and/or other materials provided with the distribution.
3. Neither the name of the copyright holder nor the names of its
contributors may be used to endorse or promote products derived from
this software without specific prior written permission.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
POSSIBILITY OF SUCH DAMAGE.

24 changes: 24 additions & 0 deletions Config.uk
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
menuconfig LIBNGINX
bool "libnginx - Nginx"
default n
select LIBUKSCHEDCOOP
select LIBSYSCALL_SHIM
select LIBPOSIX_LIBDL
select LIBPOSIX_PROCESS
select LIBPOSIX_USER
select UKSYSINFO
select LIBUKMMAP
select LIBUKTIME
select LIBNEWLIBC
select LIBLWIP
select LWIP_UKNETDEV
select LWIP_TCP
select LWIP_WND_SCALE
select LWIP_TCP_KEEPALIVE
select LWIP_THREADS
select LWIP_SOCKET
select LWIP_AUTOIFACE
select LWIP_IPV4
select LWIP_DHCP
select LWIP_DNS
select LIBPTHREAD_EMBEDDED
11 changes: 11 additions & 0 deletions MAINTAINERS.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
Maintainers List
================

For notes on how to read this information, please refer to `MAINTAINERS.md` in
the main Unikraft repository.

LIBNGINX-UNIKRAFT
M: Mihai Pogonaru <[email protected]>
M: Costin Lupu <[email protected]>
L: [email protected]
F: *
7 changes: 7 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
Nginx for Unikraft
=============================

This is the port of Nginx for Unikraft as external library.

Please refer to the `README.md` as well as the documentation in the `doc/`
subdirectory of the main unikraft repository.

0 comments on commit e287272

Please sign in to comment.