aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile16
-rw-r--r--README.md4
-rw-r--r--bldit.lua20
-rw-r--r--config/init.lua20
-rw-r--r--include/add_repo.h20
-rw-r--r--include/build.h20
-rw-r--r--include/cla_parse.h20
-rw-r--r--include/cmd_out.h20
-rw-r--r--include/copy_install.h20
-rw-r--r--include/create_pkg.h20
-rw-r--r--include/declare.h20
-rw-r--r--include/fetch_git.h20
-rw-r--r--include/fetch_pwd.h20
-rw-r--r--include/fetch_src.h20
-rw-r--r--include/files.h20
-rw-r--r--include/help.h20
-rw-r--r--include/install_pkg.h20
-rw-r--r--include/is_updated.h20
-rw-r--r--include/link_install.h20
-rw-r--r--include/list_pkgs.h20
-rw-r--r--include/lua_build.h20
-rw-r--r--include/lua_state.h20
-rw-r--r--include/name_from_url.h20
-rw-r--r--include/remove_pkg.h20
-rw-r--r--include/resolve_deps.h20
-rw-r--r--include/search.h20
-rw-r--r--include/set_install_directories.h21
-rw-r--r--include/setup_dirs.h21
-rw-r--r--include/setup_pkgit.h21
-rw-r--r--include/update_all.h21
-rw-r--r--include/update_pkg.h21
-rw-r--r--include/vars.h21
-rw-r--r--src/add_repo.c21
-rw-r--r--src/build.c21
-rw-r--r--src/cla_parse.c21
-rw-r--r--src/cmd_out.c21
-rw-r--r--src/create_pkg.c21
-rw-r--r--src/declare.c21
-rw-r--r--src/fetch_git.c21
-rw-r--r--src/fetch_pwd.c21
-rw-r--r--src/fetch_src.c21
-rw-r--r--src/files.c21
-rw-r--r--src/help.c21
-rw-r--r--src/install_pkg.c21
-rw-r--r--src/is_updated.c21
-rw-r--r--src/list_pkgs.c21
-rw-r--r--src/lua_build.c21
-rw-r--r--src/lua_state.c21
-rw-r--r--src/main.c21
-rw-r--r--src/name_from_url.c21
-rw-r--r--src/remove_pkg.c21
-rw-r--r--src/resolve_deps.c21
-rw-r--r--src/search.c21
-rw-r--r--src/set_install_directories.c21
-rw-r--r--src/setup_dirs.c21
-rw-r--r--src/setup_pkgit.c21
-rw-r--r--src/update_all.c21
-rw-r--r--src/update_pkg.c21
-rw-r--r--src/vars.c20
59 files changed, 1192 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 5f1348d..021491e 100644
--- a/Makefile
+++ b/Makefile
@@ -1,3 +1,19 @@
+# pkgit - package it!
+
+# Copyright (C) 2026 dacctal
+# 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 2 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/>.
+
.PHONY: default debug install defconfig clean
CC ?= clang
diff --git a/README.md b/README.md
index 7a9765f..3f92aba 100644
--- a/README.md
+++ b/README.md
@@ -6,6 +6,10 @@
# What is this?
pkgit is an unconventional package manager designed to compile & install packages directly from their git repository.
+# License
+pkgit is licenced under the GNU-GPL-2.0-or-later.
+if you did not get a copy, please see <https://www.gnu.org/licenses/>.
+
> ***[DISCLAIMER]***
>
> Due to the nature of pkgit, you are solely responsible for vetting the repos that you add to your system.
diff --git a/bldit.lua b/bldit.lua
index 1770c79..c8cb5cb 100644
--- a/bldit.lua
+++ b/bldit.lua
@@ -1,3 +1,23 @@
+--[[
+
+ pkgit - package it!
+
+ Copyright (C) 2026 dacctal
+ 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 2 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/>.
+
+]]
+
bldit_version = "1.1.3"
package_version = "1.1.3"
diff --git a/config/init.lua b/config/init.lua
index 0557a89..80099ad 100644
--- a/config/init.lua
+++ b/config/init.lua
@@ -1,3 +1,23 @@
+--[[ license
+
+ pkgit - package it!
+
+ Copyright (C) 2026 dacctal
+ 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 2 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/>.
+
+]]
+
--[[ introduction
this is the pkgit configuration template.
diff --git a/include/add_repo.h b/include/add_repo.h
index 1f41e4b..a838151 100644
--- a/include/add_repo.h
+++ b/include/add_repo.h
@@ -1,3 +1,23 @@
+/*
+
+ pkgit - package it!
+
+ Copyright (C) 2026 dacctal
+ 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 2 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/>.
+
+*/
+
#ifndef ADD_REPO_H
#define ADD_REPO_H
diff --git a/include/build.h b/include/build.h
index 18b92e2..5cbf192 100644
--- a/include/build.h
+++ b/include/build.h
@@ -1,3 +1,23 @@
+/*
+
+ pkgit - package it!
+
+ Copyright (C) 2026 dacctal
+ 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 2 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/>.
+
+*/
+
#ifndef BUILD_H
#define BUILD_H
diff --git a/include/cla_parse.h b/include/cla_parse.h
index 68f1c49..c4a2641 100644
--- a/include/cla_parse.h
+++ b/include/cla_parse.h
@@ -1,3 +1,23 @@
+/*
+
+ pkgit - package it!
+
+ Copyright (C) 2026 dacctal
+ 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 2 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/>.
+
+*/
+
#ifndef CLA_PARSE_H
#define CLA_PARSE_H
diff --git a/include/cmd_out.h b/include/cmd_out.h
index ff4e882..d8beb24 100644
--- a/include/cmd_out.h
+++ b/include/cmd_out.h
@@ -1,3 +1,23 @@
+/*
+
+ pkgit - package it!
+
+ Copyright (C) 2026 dacctal
+ 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 2 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/>.
+
+*/
+
#ifndef CMD_OUT_H
#define CMD_OUT_H
diff --git a/include/copy_install.h b/include/copy_install.h
index d0750b6..7184406 100644
--- a/include/copy_install.h
+++ b/include/copy_install.h
@@ -1,3 +1,23 @@
+/*
+
+ pkgit - package it!
+
+ Copyright (C) 2026 dacctal
+ 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 2 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/>.
+
+*/
+
#ifndef COPY_INSTALL_H
#define COPY_INSTALL_H
diff --git a/include/create_pkg.h b/include/create_pkg.h
index ed6da14..00282af 100644
--- a/include/create_pkg.h
+++ b/include/create_pkg.h
@@ -1,3 +1,23 @@
+/*
+
+ pkgit - package it!
+
+ Copyright (C) 2026 dacctal
+ 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 2 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/>.
+
+*/
+
#ifndef CREATE_PKG_H
#define CREATE_PKG_H
diff --git a/include/declare.h b/include/declare.h
index daf2b5b..95dbcf7 100644
--- a/include/declare.h
+++ b/include/declare.h
@@ -1,3 +1,23 @@
+/*
+
+ pkgit - package it!
+
+ Copyright (C) 2026 dacctal
+ 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 2 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/>.
+
+*/
+
#ifndef DECLARE
#define DECLARE
void declare();
diff --git a/include/fetch_git.h b/include/fetch_git.h
index 9b9af46..e813023 100644
--- a/include/fetch_git.h
+++ b/include/fetch_git.h
@@ -1,3 +1,23 @@
+/*
+
+ pkgit - package it!
+
+ Copyright (C) 2026 dacctal
+ 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 2 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/>.
+
+*/
+
#ifndef FETCH_GIT_H
#define FETCH_GIT_H
diff --git a/include/fetch_pwd.h b/include/fetch_pwd.h
index 242d520..8d255bb 100644
--- a/include/fetch_pwd.h
+++ b/include/fetch_pwd.h
@@ -1,3 +1,23 @@
+/*
+
+ pkgit - package it!
+
+ Copyright (C) 2026 dacctal
+ 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 2 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/>.
+
+*/
+
#ifndef FETCH_PWD_H
#define FETCH_PWD_H
diff --git a/include/fetch_src.h b/include/fetch_src.h
index 089776c..ac7f963 100644
--- a/include/fetch_src.h
+++ b/include/fetch_src.h
@@ -1,3 +1,23 @@
+/*
+
+ pkgit - package it!
+
+ Copyright (C) 2026 dacctal
+ 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 2 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/>.
+
+*/
+
#ifndef FETCH_SRC_H
#define FETCH_SRC_H
diff --git a/include/files.h b/include/files.h
index fac3a1e..08ffcdc 100644
--- a/include/files.h
+++ b/include/files.h
@@ -1,3 +1,23 @@
+/*
+
+ pkgit - package it!
+
+ Copyright (C) 2026 dacctal
+ 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 2 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/>.
+
+*/
+
#ifndef FILES
#define FILES
const char *get_filename_ext(const char *filename);
diff --git a/include/help.h b/include/help.h
index dc2c7a3..56395b2 100644
--- a/include/help.h
+++ b/include/help.h
@@ -1,3 +1,23 @@
+/*
+
+ pkgit - package it!
+
+ Copyright (C) 2026 dacctal
+ 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 2 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/>.
+
+*/
+
#ifndef HELP_H
#define HELP_H
diff --git a/include/install_pkg.h b/include/install_pkg.h
index 52ce9c0..5be79d0 100644
--- a/include/install_pkg.h
+++ b/include/install_pkg.h
@@ -1,3 +1,23 @@
+/*
+
+ pkgit - package it!
+
+ Copyright (C) 2026 dacctal
+ 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 2 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/>.
+
+*/
+
#ifndef INSTALL_PKG_H
#define INSTALL_PKG_H
diff --git a/include/is_updated.h b/include/is_updated.h
index a5ba31f..a4583e8 100644
--- a/include/is_updated.h
+++ b/include/is_updated.h
@@ -1,3 +1,23 @@
+/*
+
+ pkgit - package it!
+
+ Copyright (C) 2026 dacctal
+ 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 2 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/>.
+
+*/
+
#ifndef IS_UPDATED_H
#define IS_UPDATED_H
diff --git a/include/link_install.h b/include/link_install.h
index a9528bb..34a830e 100644
--- a/include/link_install.h
+++ b/include/link_install.h
@@ -1,3 +1,23 @@
+/*
+
+ pkgit - package it!
+
+ Copyright (C) 2026 dacctal
+ 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 2 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/>.
+
+*/
+
#ifndef LINK_INSTALL_H
#define LINK_INSTALL_H
diff --git a/include/list_pkgs.h b/include/list_pkgs.h
index 6a00ad6..cca148f 100644
--- a/include/list_pkgs.h
+++ b/include/list_pkgs.h
@@ -1,3 +1,23 @@
+/*
+
+ pkgit - package it!
+
+ Copyright (C) 2026 dacctal
+ 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 2 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/>.
+
+*/
+
#ifndef LIST_PKGS_H
#define LIST_PKGS_H
diff --git a/include/lua_build.h b/include/lua_build.h
index 401a591..3a407c3 100644
--- a/include/lua_build.h
+++ b/include/lua_build.h
@@ -1,3 +1,23 @@
+/*
+
+ pkgit - package it!
+
+ Copyright (C) 2026 dacctal
+ 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 2 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/>.
+
+*/
+
#ifndef LUA_BUILD_H
#define LUA_BUILD_H
diff --git a/include/lua_state.h b/include/lua_state.h
index cfd0d5e..4de6453 100644
--- a/include/lua_state.h
+++ b/include/lua_state.h
@@ -1,3 +1,23 @@
+/*
+
+ pkgit - package it!
+
+ Copyright (C) 2026 dacctal
+ 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 2 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/>.
+
+*/
+
#ifndef LUA_STATE_H
#define LUA_STATE_H
diff --git a/include/name_from_url.h b/include/name_from_url.h
index fc80b45..a3660d6 100644
--- a/include/name_from_url.h
+++ b/include/name_from_url.h
@@ -1,3 +1,23 @@
+/*
+
+ pkgit - package it!
+
+ Copyright (C) 2026 dacctal
+ 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 2 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/>.
+
+*/
+
#ifndef NAME_FROM_URL_H
#define NAME_FROM_URL_H
diff --git a/include/remove_pkg.h b/include/remove_pkg.h
index 66ee5aa..01dd907 100644
--- a/include/remove_pkg.h
+++ b/include/remove_pkg.h
@@ -1,3 +1,23 @@
+/*
+
+ pkgit - package it!
+
+ Copyright (C) 2026 dacctal
+ 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 2 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/>.
+
+*/
+
#ifndef REMOVE_PKG_H
#define REMOVE_PKG_H
diff --git a/include/resolve_deps.h b/include/resolve_deps.h
index 3874932..becfdc1 100644
--- a/include/resolve_deps.h
+++ b/include/resolve_deps.h
@@ -1,3 +1,23 @@
+/*
+
+ pkgit - package it!
+
+ Copyright (C) 2026 dacctal
+ 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 2 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/>.
+
+*/
+
#ifndef RESOLVE_DEPS_H
#define RESOLVE_DEPS_H
void resolve_deps(void);
diff --git a/include/search.h b/include/search.h
index 991a885..000f96a 100644
--- a/include/search.h
+++ b/include/search.h
@@ -1,3 +1,23 @@
+/*
+
+ pkgit - package it!
+
+ Copyright (C) 2026 dacctal
+ 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 2 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/>.
+
+*/
+
#ifndef FIND
#define FIND
void search(const char* arg);
diff --git a/include/set_install_directories.h b/include/set_install_directories.h
index b89330b..0f11e51 100644
--- a/include/set_install_directories.h
+++ b/include/set_install_directories.h
@@ -1,3 +1,24 @@
+
+/*
+
+ pkgit - package it!
+
+ Copyright (C) 2026 dacctal
+ 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 2 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/>.
+
+*/
+
#ifndef SET_INSTALL_DIRECTORIES_H
#define SET_INSTALL_DIRECTORIES_H
diff --git a/include/setup_dirs.h b/include/setup_dirs.h
index 8d07748..10f2393 100644
--- a/include/setup_dirs.h
+++ b/include/setup_dirs.h
@@ -1,3 +1,24 @@
+
+/*
+
+ pkgit - package it!
+
+ Copyright (C) 2026 dacctal
+ 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 2 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/>.
+
+*/
+
#ifndef SETUP_DIRS_H
#define SETUP_DIRS_H
diff --git a/include/setup_pkgit.h b/include/setup_pkgit.h
index 3c32fd1..1dd6575 100644
--- a/include/setup_pkgit.h
+++ b/include/setup_pkgit.h
@@ -1,3 +1,24 @@
+
+/*
+
+ pkgit - package it!
+
+ Copyright (C) 2026 dacctal
+ 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 2 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/>.
+
+*/
+
#ifndef SETUP_PKGIT_H
#define SETUP_PKGIT_H
diff --git a/include/update_all.h b/include/update_all.h
index 3d40e75..f2e0e97 100644
--- a/include/update_all.h
+++ b/include/update_all.h
@@ -1,3 +1,24 @@
+
+/*
+
+ pkgit - package it!
+
+ Copyright (C) 2026 dacctal
+ 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 2 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/>.
+
+*/
+
#ifndef UPDATE_ALL_H
#define UPDATE_ALL_H
diff --git a/include/update_pkg.h b/include/update_pkg.h
index 95d9aa8..d2a873c 100644
--- a/include/update_pkg.h
+++ b/include/update_pkg.h
@@ -1,3 +1,24 @@
+
+/*
+
+ pkgit - package it!
+
+ Copyright (C) 2026 dacctal
+ 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 2 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/>.
+
+*/
+
#ifndef UPDATE_PKG_H
#define UPDATE_PKG_H
diff --git a/include/vars.h b/include/vars.h
index 58cf634..1dd3907 100644
--- a/include/vars.h
+++ b/include/vars.h
@@ -1,3 +1,24 @@
+
+/*
+
+ pkgit - package it!
+
+ Copyright (C) 2026 dacctal
+ 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 2 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/>.
+
+*/
+
#ifndef VARS_H
#define VARS_H
diff --git a/src/add_repo.c b/src/add_repo.c
index 71c3dda..8312469 100644
--- a/src/add_repo.c
+++ b/src/add_repo.c
@@ -1,3 +1,24 @@
+
+/*
+
+ pkgit - package it!
+
+ Copyright (C) 2026 dacctal
+ 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 2 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/>.
+
+*/
+
#include <stdio.h>
#include <string.h>
#include <stdbool.h>
diff --git a/src/build.c b/src/build.c
index 5e96f52..ff10588 100644
--- a/src/build.c
+++ b/src/build.c
@@ -1,3 +1,24 @@
+
+/*
+
+ pkgit - package it!
+
+ Copyright (C) 2026 dacctal
+ 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 2 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/>.
+
+*/
+
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
diff --git a/src/cla_parse.c b/src/cla_parse.c
index 20f7c44..8680ea7 100644
--- a/src/cla_parse.c
+++ b/src/cla_parse.c
@@ -1,3 +1,24 @@
+
+/*
+
+ pkgit - package it!
+
+ Copyright (C) 2026 dacctal
+ 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 2 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/>.
+
+*/
+
#include <stdio.h>
#include <string.h>
diff --git a/src/cmd_out.c b/src/cmd_out.c
index b800149..13deccd 100644
--- a/src/cmd_out.c
+++ b/src/cmd_out.c
@@ -1,3 +1,24 @@
+
+/*
+
+ pkgit - package it!
+
+ Copyright (C) 2026 dacctal
+ 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 2 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/>.
+
+*/
+
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
diff --git a/src/create_pkg.c b/src/create_pkg.c
index b65b49c..504cf5a 100644
--- a/src/create_pkg.c
+++ b/src/create_pkg.c
@@ -1,3 +1,24 @@
+
+/*
+
+ pkgit - package it!
+
+ Copyright (C) 2026 dacctal
+ 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 2 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/>.
+
+*/
+
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
diff --git a/src/declare.c b/src/declare.c
index d01468a..db4b814 100644
--- a/src/declare.c
+++ b/src/declare.c
@@ -1,3 +1,24 @@
+
+/*
+
+ pkgit - package it!
+
+ Copyright (C) 2026 dacctal
+ 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 2 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/>.
+
+*/
+
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
diff --git a/src/fetch_git.c b/src/fetch_git.c
index d7d1741..b3e4314 100644
--- a/src/fetch_git.c
+++ b/src/fetch_git.c
@@ -1,3 +1,24 @@
+
+/*
+
+ pkgit - package it!
+
+ Copyright (C) 2026 dacctal
+ 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 2 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/>.
+
+*/
+
#include <fcntl.h>
#include <stdio.h>
#include <string.h>
diff --git a/src/fetch_pwd.c b/src/fetch_pwd.c
index 7e2f2e4..bc51d07 100644
--- a/src/fetch_pwd.c
+++ b/src/fetch_pwd.c
@@ -1,3 +1,24 @@
+
+/*
+
+ pkgit - package it!
+
+ Copyright (C) 2026 dacctal
+ 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 2 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/>.
+
+*/
+
#include <stdio.h>
#include <sys/stat.h>
#include <fcntl.h>
diff --git a/src/fetch_src.c b/src/fetch_src.c
index 55ce135..8b2b843 100644
--- a/src/fetch_src.c
+++ b/src/fetch_src.c
@@ -1,3 +1,24 @@
+
+/*
+
+ pkgit - package it!
+
+ Copyright (C) 2026 dacctal
+ 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 2 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/>.
+
+*/
+
#include <ftw.h>
#include <stdio.h>
#include <stdlib.h>
diff --git a/src/files.c b/src/files.c
index 988b329..e938723 100644
--- a/src/files.c
+++ b/src/files.c
@@ -1,3 +1,24 @@
+
+/*
+
+ pkgit - package it!
+
+ Copyright (C) 2026 dacctal
+ 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 2 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/>.
+
+*/
+
#include <dirent.h>
#include <errno.h>
#include <fcntl.h>
diff --git a/src/help.c b/src/help.c
index 659caad..8d4eee3 100644
--- a/src/help.c
+++ b/src/help.c
@@ -1,3 +1,24 @@
+
+/*
+
+ pkgit - package it!
+
+ Copyright (C) 2026 dacctal
+ 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 2 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/>.
+
+*/
+
#include <stdio.h>
#include "help.h"
diff --git a/src/install_pkg.c b/src/install_pkg.c
index 32a84cd..98dc52f 100644
--- a/src/install_pkg.c
+++ b/src/install_pkg.c
@@ -1,3 +1,24 @@
+
+/*
+
+ pkgit - package it!
+
+ Copyright (C) 2026 dacctal
+ 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 2 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/>.
+
+*/
+
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
diff --git a/src/is_updated.c b/src/is_updated.c
index 66d7fb1..d5f374d 100644
--- a/src/is_updated.c
+++ b/src/is_updated.c
@@ -1,3 +1,24 @@
+
+/*
+
+ pkgit - package it!
+
+ Copyright (C) 2026 dacctal
+ 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 2 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/>.
+
+*/
+
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
diff --git a/src/list_pkgs.c b/src/list_pkgs.c
index 6d4ba3f..d4be5a0 100644
--- a/src/list_pkgs.c
+++ b/src/list_pkgs.c
@@ -1,3 +1,24 @@
+
+/*
+
+ pkgit - package it!
+
+ Copyright (C) 2026 dacctal
+ 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 2 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/>.
+
+*/
+
#include <dirent.h>
#include <stdio.h>
#include <string.h>
diff --git a/src/lua_build.c b/src/lua_build.c
index 7a289fd..8591b99 100644
--- a/src/lua_build.c
+++ b/src/lua_build.c
@@ -1,3 +1,24 @@
+
+/*
+
+ pkgit - package it!
+
+ Copyright (C) 2026 dacctal
+ 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 2 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/>.
+
+*/
+
#include <stdio.h>
#include <stdbool.h>
diff --git a/src/lua_state.c b/src/lua_state.c
index d6524fc..92cb3a5 100644
--- a/src/lua_state.c
+++ b/src/lua_state.c
@@ -1,3 +1,24 @@
+
+/*
+
+ pkgit - package it!
+
+ Copyright (C) 2026 dacctal
+ 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 2 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/>.
+
+*/
+
#include <limits.h>
#include <stdio.h>
#include <stdlib.h>
diff --git a/src/main.c b/src/main.c
index 9010d3e..628d6bf 100644
--- a/src/main.c
+++ b/src/main.c
@@ -1,3 +1,24 @@
+
+/*
+
+ pkgit - package it!
+
+ Copyright (C) 2026 dacctal
+ 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 2 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/>.
+
+*/
+
#include <stdio.h>
#include "cla_parse.h"
diff --git a/src/name_from_url.c b/src/name_from_url.c
index 0140e1a..67995fe 100644
--- a/src/name_from_url.c
+++ b/src/name_from_url.c
@@ -1,3 +1,24 @@
+
+/*
+
+ pkgit - package it!
+
+ Copyright (C) 2026 dacctal
+ 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 2 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/>.
+
+*/
+
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
diff --git a/src/remove_pkg.c b/src/remove_pkg.c
index ac723b3..ca93d91 100644
--- a/src/remove_pkg.c
+++ b/src/remove_pkg.c
@@ -1,3 +1,24 @@
+
+/*
+
+ pkgit - package it!
+
+ Copyright (C) 2026 dacctal
+ 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 2 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/>.
+
+*/
+
#include <ftw.h>
#include <stdio.h>
#include <stdlib.h>
diff --git a/src/resolve_deps.c b/src/resolve_deps.c
index ed728d4..623befa 100644
--- a/src/resolve_deps.c
+++ b/src/resolve_deps.c
@@ -1,3 +1,24 @@
+
+/*
+
+ pkgit - package it!
+
+ Copyright (C) 2026 dacctal
+ 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 2 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/>.
+
+*/
+
#include <stdio.h>
#include <unistd.h>
diff --git a/src/search.c b/src/search.c
index 72fe350..713112e 100644
--- a/src/search.c
+++ b/src/search.c
@@ -1,3 +1,24 @@
+
+/*
+
+ pkgit - package it!
+
+ Copyright (C) 2026 dacctal
+ 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 2 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/>.
+
+*/
+
#include <stdio.h>
#include <string.h>
diff --git a/src/set_install_directories.c b/src/set_install_directories.c
index b99e227..fd26726 100644
--- a/src/set_install_directories.c
+++ b/src/set_install_directories.c
@@ -1,3 +1,24 @@
+
+/*
+
+ pkgit - package it!
+
+ Copyright (C) 2026 dacctal
+ 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 2 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/>.
+
+*/
+
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
diff --git a/src/setup_dirs.c b/src/setup_dirs.c
index ee2196d..0b2b570 100644
--- a/src/setup_dirs.c
+++ b/src/setup_dirs.c
@@ -1,3 +1,24 @@
+
+/*
+
+ pkgit - package it!
+
+ Copyright (C) 2026 dacctal
+ 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 2 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/>.
+
+*/
+
#include <stdio.h>
#include <string.h>
#include <sys/stat.h>
diff --git a/src/setup_pkgit.c b/src/setup_pkgit.c
index fdcdb56..1dfb20d 100644
--- a/src/setup_pkgit.c
+++ b/src/setup_pkgit.c
@@ -1,3 +1,24 @@
+
+/*
+
+ pkgit - package it!
+
+ Copyright (C) 2026 dacctal
+ 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 2 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/>.
+
+*/
+
#include <stdio.h>
#include <unistd.h>
diff --git a/src/update_all.c b/src/update_all.c
index 16b8636..f71cb76 100644
--- a/src/update_all.c
+++ b/src/update_all.c
@@ -1,3 +1,24 @@
+
+/*
+
+ pkgit - package it!
+
+ Copyright (C) 2026 dacctal
+ 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 2 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/>.
+
+*/
+
#include <dirent.h>
#include <stdio.h>
#include <stdlib.h>
diff --git a/src/update_pkg.c b/src/update_pkg.c
index 52c4c9e..3ccefbb 100644
--- a/src/update_pkg.c
+++ b/src/update_pkg.c
@@ -1,3 +1,24 @@
+
+/*
+
+ pkgit - package it!
+
+ Copyright (C) 2026 dacctal
+ 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 2 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/>.
+
+*/
+
#include <stdio.h>
#include <string.h>
diff --git a/src/vars.c b/src/vars.c
index 45c018c..35ecf01 100644
--- a/src/vars.c
+++ b/src/vars.c
@@ -1,3 +1,23 @@
+/*
+
+ pkgit - package it!
+
+ Copyright (C) 2026 dacctal
+ 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 2 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/>.
+
+*/
+
#include <errno.h>
#include <stdbool.h>
#include <stdio.h>