diff --git a/CMakeLists.txt b/CMakeLists.txt index 423232b..2636b37 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -18,10 +18,12 @@ cmake_minimum_required(VERSION 3.28) project(privacyShield - VERSION 1.0.0 + VERSION 2.0.0 DESCRIPTION "A suite of tools for privacy and security" LANGUAGES CXX) +set(CMAKE_PROJECT_HOMEPAGE_URL "https://shield.boujee.tech") + # C++23 support is required for this project set(CMAKE_CXX_STANDARD 23) set(CMAKE_CXX_STANDARD_REQUIRED ON) @@ -76,9 +78,11 @@ target_link_libraries(privacyShield PRIVATE Gcrypt::Gcrypt PRIVATE BLAKE3::blake3) -# Install the binary (optional) +# Install the binary (optional), with 0755 permissions +include(GNUInstallDirs) install(TARGETS privacyShield - DESTINATION bin + DESTINATION ${CMAKE_INSTALL_BINDIR} PERMISSIONS OWNER_READ OWNER_WRITE OWNER_EXECUTE GROUP_READ GROUP_EXECUTE WORLD_READ WORLD_EXECUTE ) + include(Packing) diff --git a/src/encryption/encryption.cppm b/src/encryption/encryption.cppm index 1efdd6b..495c924 100644 --- a/src/encryption/encryption.cppm +++ b/src/encryption/encryption.cppm @@ -1,3 +1,19 @@ +// Privacy Shield: A Suite of Tools Designed to Facilitate Privacy Management. +// Copyright (C) 2024 Ian Duncan +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program. If not, see https://www.gnu.org/licenses. + module; #include diff --git a/src/main.cpp b/src/main.cpp index 592fa55..a8259ba 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -97,7 +97,7 @@ int main(const int argc, const char **argv) { throw std::runtime_error("Failed to initialize libsodium."); // Display information about the program - printColor("\nPrivacy Shield 1.0.0\n", 'c'); + printColor("\nPrivacy Shield 2.0.0\n", 'c'); printColor("Copyright (C) 2024 Ian Duncan.\n", 'b'); printColor("This program comes with ", 'g'); diff --git a/src/passwordManager/passwordManager.cppm b/src/passwordManager/passwordManager.cppm index 3193967..c2b9bb1 100644 --- a/src/passwordManager/passwordManager.cppm +++ b/src/passwordManager/passwordManager.cppm @@ -1,3 +1,19 @@ +// Privacy Shield: A Suite of Tools Designed to Facilitate Privacy Management. +// Copyright (C) 2024 Ian Duncan +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program. If not, see https://www.gnu.org/licenses. + module; #include diff --git a/src/utils/utils.cppm b/src/utils/utils.cppm index ec53502..f7bcff6 100644 --- a/src/utils/utils.cppm +++ b/src/utils/utils.cppm @@ -1,3 +1,19 @@ +// Privacy Shield: A Suite of Tools Designed to Facilitate Privacy Management. +// Copyright (C) 2024 Ian Duncan +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program. If not, see https://www.gnu.org/licenses. + module; #include diff --git a/vcpkg.json b/vcpkg.json index 4f0d741..7215932 100644 --- a/vcpkg.json +++ b/vcpkg.json @@ -1,6 +1,6 @@ { "name": "privacyshield", - "version-string": "1.0.0", + "version-string": "2.0.0", "builtin-baseline": "7b5ca09708ae42dba9517d4e0a0c975d087f1061", "dependencies": [ {