aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-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
27 files changed, 566 insertions, 0 deletions
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>