From 63f6adddc8b2098daf223be85e79f74c07db3ad4 Mon Sep 17 00:00:00 2001 From: forever2k38 Date: Sat, 10 Oct 2026 21:16:45 +0200 Subject: back to MIT baby! --- src/args.c | 20 -------------------- src/args.h | 20 -------------------- src/build.c | 20 -------------------- src/build.h | 20 -------------------- src/config.c | 21 --------------------- src/config.h | 21 --------------------- src/download.c | 21 --------------------- src/download.h | 21 --------------------- src/hash.c | 21 --------------------- src/hash.h | 21 --------------------- src/log.c | 21 --------------------- src/log.h | 21 --------------------- src/main.c | 21 --------------------- src/package.c | 21 --------------------- src/package.h | 21 --------------------- src/package_list.c | 21 --------------------- src/package_list.h | 21 --------------------- src/paths.c | 21 --------------------- src/paths.h | 21 --------------------- src/pow_lua.c | 21 --------------------- src/pow_lua.h | 21 --------------------- src/repo.c | 21 --------------------- src/repo.h | 21 --------------------- src/source.c | 21 --------------------- src/source.h | 21 --------------------- src/utils.c | 21 --------------------- src/utils.h | 21 --------------------- 27 files changed, 563 deletions(-) (limited to 'src') diff --git a/src/args.c b/src/args.c index b2904fd..67ecf9f 100644 --- a/src/args.c +++ b/src/args.c @@ -1,23 +1,3 @@ -/* - pow! - the pow!erful package manager - - Copyright (C) 2026 forever2k38 - - 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 . - -*/ - #include "args.h" #include "log.h" diff --git a/src/args.h b/src/args.h index 3311c45..f9c7aae 100644 --- a/src/args.h +++ b/src/args.h @@ -1,23 +1,3 @@ -/* - pow! - the pow!erful package manager - - Copyright (C) 2026 forever2k38 - - 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 . - -*/ - #include "stddef.h" #define DEFAULT_CONFIG_PATH "/etc/pow/opts.lua" diff --git a/src/build.c b/src/build.c index 3df8148..c572242 100644 --- a/src/build.c +++ b/src/build.c @@ -1,23 +1,3 @@ -/* - pow! - the pow!erful package manager - - Copyright (C) 2026 forever2k38 - - 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 . - -*/ - #include "build.h" #include "package.h" #include "log.h" diff --git a/src/build.h b/src/build.h index e8c46d3..eea6c75 100644 --- a/src/build.h +++ b/src/build.h @@ -1,23 +1,3 @@ -/* - pow! - the pow!erful package manager - - Copyright (C) 2026 forever2k38 - - 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 . - -*/ - #include "package.h" int pow_package_build(pow_package *pkg); diff --git a/src/config.c b/src/config.c index 0f0c166..7cfde0c 100644 --- a/src/config.c +++ b/src/config.c @@ -1,24 +1,3 @@ -/* - - pow! - the pow!erful package manager - - Copyright (C) 2026 forever2k38 - - 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 . - -*/ - #include "config.h" #include "log.h" diff --git a/src/config.h b/src/config.h index 3eb5dde..a5371f7 100644 --- a/src/config.h +++ b/src/config.h @@ -1,24 +1,3 @@ -/* - - pow! - the pow!erful package manager - - Copyright (C) 2026 forever2k38 - - 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 . - -*/ - #ifndef POW_CONFIG_H #define POW_CONFIG_H diff --git a/src/download.c b/src/download.c index 814fe36..28df43a 100644 --- a/src/download.c +++ b/src/download.c @@ -1,24 +1,3 @@ -/* - - pow! - the pow!erful package manager - - Copyright (C) 2026 forever2k38 - - 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 . - -*/ - #include "hash.h" #include "log.h" #include "package.h" diff --git a/src/download.h b/src/download.h index a5e963a..53b991e 100644 --- a/src/download.h +++ b/src/download.h @@ -1,24 +1,3 @@ -/* - - pow! - the pow!erful package manager - - Copyright (C) 2026 forever2k38 - - 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 . - -*/ - #include "package.h" int pow_download_file(char *path, char *url); diff --git a/src/hash.c b/src/hash.c index b302cb7..dfa2932 100644 --- a/src/hash.c +++ b/src/hash.c @@ -1,24 +1,3 @@ -/* - - pow! - the pow!erful package manager - - Copyright (C) 2026 forever2k38 - - 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 . - -*/ - #include "hash.h" #include "log.h" diff --git a/src/hash.h b/src/hash.h index 7d583ec..88e3df0 100644 --- a/src/hash.h +++ b/src/hash.h @@ -1,22 +1 @@ -/* - - pow! - the pow!erful package manager - - Copyright (C) 2026 forever2k38 - - 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 . - -*/ - int pow_check_blake2b_hash(char *path, char *target_hash); diff --git a/src/log.c b/src/log.c index ed91161..f127b5d 100644 --- a/src/log.c +++ b/src/log.c @@ -1,24 +1,3 @@ -/* - - pow! - the pow!erful package manager - - Copyright (C) 2026 forever2k38 - - 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 . - -*/ - #include "stdio.h" #include "stdarg.h" diff --git a/src/log.h b/src/log.h index c15d112..03840bc 100644 --- a/src/log.h +++ b/src/log.h @@ -1,23 +1,2 @@ -/* - - pow! - the pow!erful package manager - - Copyright (C) 2026 forever2k38 - - 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 . - -*/ - void pow_log_info(char* fmt, ...); void pow_log_error(char* fmt, ...); diff --git a/src/main.c b/src/main.c index 299b70d..9f9d676 100644 --- a/src/main.c +++ b/src/main.c @@ -1,24 +1,3 @@ -/* - - pow! - the pow!erful package manager - - Copyright (C) 2026 forever2k38 - - 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 . - -*/ - #include "args.h" #include "build.h" #include "config.h" diff --git a/src/package.c b/src/package.c index 9c538f7..76216c7 100644 --- a/src/package.c +++ b/src/package.c @@ -1,24 +1,3 @@ -/* - - pow! - the pow!erful package manager - - Copyright (C) 2026 forever2k38 - - 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 . - -*/ - #include "package.h" #include "lauxlib.h" diff --git a/src/package.h b/src/package.h index fa592df..008a9fc 100644 --- a/src/package.h +++ b/src/package.h @@ -1,24 +1,3 @@ -/* - - pow! - the pow!erful package manager - - Copyright (C) 2026 forever2k38 - - 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 . - -*/ - #ifndef POW_PACKAGE_H #define POW_PACKAGE_H diff --git a/src/package_list.c b/src/package_list.c index 54cc9e6..14958e1 100644 --- a/src/package_list.c +++ b/src/package_list.c @@ -1,24 +1,3 @@ -/* - - pow! - the pow!erful package manager - - Copyright (C) 2026 forever2k38 - - 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 . - -*/ - #include "package_list.h" #include "paths.h" #include "log.h" diff --git a/src/package_list.h b/src/package_list.h index c7da692..8803037 100644 --- a/src/package_list.h +++ b/src/package_list.h @@ -1,24 +1,3 @@ -/* - - pow! - the pow!erful package manager - - Copyright (C) 2026 forever2k38 - - 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 . - -*/ - #include "package.h" int pow_get_package_list(pow_package **pkgs); diff --git a/src/paths.c b/src/paths.c index d3108b8..59f601f 100644 --- a/src/paths.c +++ b/src/paths.c @@ -1,24 +1,3 @@ -/* - - pow! - the pow!erful package manager - - Copyright (C) 2026 forever2k38 - - 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 . - -*/ - #include "paths.h" #include "log.h" diff --git a/src/paths.h b/src/paths.h index 0c7c295..9ba13d0 100644 --- a/src/paths.h +++ b/src/paths.h @@ -1,24 +1,3 @@ -/* - - pow! - the pow!erful package manager - - Copyright (C) 2026 forever2k38 - - 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 . - -*/ - #define POW_PREFIX "/etc/pow" #define POW_WORLD_PATH POW_PREFIX/world diff --git a/src/pow_lua.c b/src/pow_lua.c index 122c62a..642077f 100644 --- a/src/pow_lua.c +++ b/src/pow_lua.c @@ -1,24 +1,3 @@ -/* - - pow! - the pow!erful package manager - - Copyright (C) 2026 forever2k38 - - 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 . - -*/ - #include "pow_lua.h" #include "config.h" #include "log.h" diff --git a/src/pow_lua.h b/src/pow_lua.h index af3f987..3af17af 100644 --- a/src/pow_lua.h +++ b/src/pow_lua.h @@ -1,24 +1,3 @@ -/* - - pow! - the pow!erful package manager - - Copyright (C) 2026 forever2k38 - - 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 . - -*/ - #include "lua.h" typedef struct pow_config pow_config; diff --git a/src/repo.c b/src/repo.c index 9399579..51aa121 100644 --- a/src/repo.c +++ b/src/repo.c @@ -1,24 +1,3 @@ -/* - - pow! - the pow!erful package manager - - Copyright (C) 2026 forever2k38 - - 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 . - -*/ - #include "repo.h" #include "config.h" #include "log.h" diff --git a/src/repo.h b/src/repo.h index 72f33af..a6ed621 100644 --- a/src/repo.h +++ b/src/repo.h @@ -1,24 +1,3 @@ -/* - - pow! - the pow!erful package manager - - Copyright (C) 2026 forever2k38 - - 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 . - -*/ - #ifndef _POW_REPO_H #define _POW_REPO_H diff --git a/src/source.c b/src/source.c index 0a7543d..5b6aa9b 100644 --- a/src/source.c +++ b/src/source.c @@ -1,24 +1,3 @@ -/* - - pow! - the pow!erful package manager - - Copyright (C) 2026 forever2k38 - - 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 . - -*/ - #include "source.h" #include "stdlib.h" diff --git a/src/source.h b/src/source.h index 820c176..84dad4b 100644 --- a/src/source.h +++ b/src/source.h @@ -1,24 +1,3 @@ -/* - - pow! - the pow!erful package manager - - Copyright (C) 2026 forever2k38 - - 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 . - -*/ - #ifndef POW_SOURCE_H #define POW_SOURCE_H diff --git a/src/utils.c b/src/utils.c index aba4b14..19dc193 100644 --- a/src/utils.c +++ b/src/utils.c @@ -1,24 +1,3 @@ -/* - - pow! - the pow!erful package manager - - Copyright (C) 2026 forever2k38 - - 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 . - -*/ - #include "utils.h" #include "string.h" diff --git a/src/utils.h b/src/utils.h index dcee5db..1c5163b 100644 --- a/src/utils.h +++ b/src/utils.h @@ -1,24 +1,3 @@ -/* - - pow! - the pow!erful package manager - - Copyright (C) 2026 forever2k38 - - 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 . - -*/ - #include "stdbool.h" bool string_has_prefix(const char *pre, const char *str); -- cgit v1.3