From 1b6cefe91e121c11c3194c724d980b6c8134a13a Mon Sep 17 00:00:00 2001 From: Aaditya Dhruv Date: Sun, 25 May 2025 14:47:52 -0500 Subject: init --- .gitignore | 2 ++ CMakeLists.txt | 10 ++++++++++ LICENSE | 21 +++++++++++++++++++++ README.md | 3 +++ src/CMakeLists.txt | 4 ++++ src/arpee.c | 2 ++ src/arpee.h | 0 7 files changed, 42 insertions(+) create mode 100644 .gitignore create mode 100644 CMakeLists.txt create mode 100644 LICENSE create mode 100644 README.md create mode 100644 src/CMakeLists.txt create mode 100644 src/arpee.c create mode 100644 src/arpee.h diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..7194ea7 --- /dev/null +++ b/.gitignore @@ -0,0 +1,2 @@ +.cache +build diff --git a/CMakeLists.txt b/CMakeLists.txt new file mode 100644 index 0000000..9991ae1 --- /dev/null +++ b/CMakeLists.txt @@ -0,0 +1,10 @@ +cmake_minimum_required(VERSION 3.16...4.0) +set(CMAKE_EXPORT_COMPILE_COMMANDS ON) +project(arpee VERSION 1.0 + DESCRIPTION "Respond to arp packets" + LANGUAGES C) + +message("Building Silph Scope...") +message("Compiler: ${CMAKE_CXX_COMPILER_ID}") + +add_subdirectory(src) diff --git a/LICENSE b/LICENSE new file mode 100644 index 0000000..632a80c --- /dev/null +++ b/LICENSE @@ -0,0 +1,21 @@ +MIT License + +Copyright (c) 2025 Aaditya Dhruv + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. diff --git a/README.md b/README.md new file mode 100644 index 0000000..f51aa14 --- /dev/null +++ b/README.md @@ -0,0 +1,3 @@ +#### Arpee + +A simple daemon to respond to incoming arp packets diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt new file mode 100644 index 0000000..a0d8515 --- /dev/null +++ b/src/CMakeLists.txt @@ -0,0 +1,4 @@ +add_executable(arpee arpee.h arpee.c) +target_link_libraries(arpee PRIVATE junk) +target_link_directories(arpee PRIVATE /home/aaditya/git/libjunk/build) +target_include_directories(arpee PRIVATE /home/aaditya/git/libjunk/include) diff --git a/src/arpee.c b/src/arpee.c new file mode 100644 index 0000000..b2f9976 --- /dev/null +++ b/src/arpee.c @@ -0,0 +1,2 @@ +int main() { +} diff --git a/src/arpee.h b/src/arpee.h new file mode 100644 index 0000000..e69de29 -- cgit