diff options
| author | forever2k38 <forever2k38@forever2k38.net> | 2026-10-10 21:16:45 +0200 |
|---|---|---|
| committer | forever2k38 <forever2k38@forever2k38.net> | 2026-10-10 21:16:45 +0200 |
| commit | 63f6adddc8b2098daf223be85e79f74c07db3ad4 (patch) | |
| tree | 188fc60c0fb43060a9a5d1ec846ee0412f4af47c /src | |
| parent | e28b0347a1977975e5a921e8c3d56239cd48cd40 (diff) | |
back to MIT baby!
Diffstat (limited to 'src')
| -rw-r--r-- | src/args.c | 20 | ||||
| -rw-r--r-- | src/args.h | 20 | ||||
| -rw-r--r-- | src/build.c | 20 | ||||
| -rw-r--r-- | src/build.h | 20 | ||||
| -rw-r--r-- | src/config.c | 21 | ||||
| -rw-r--r-- | src/config.h | 21 | ||||
| -rw-r--r-- | src/download.c | 21 | ||||
| -rw-r--r-- | src/download.h | 21 | ||||
| -rw-r--r-- | src/hash.c | 21 | ||||
| -rw-r--r-- | src/hash.h | 21 | ||||
| -rw-r--r-- | src/log.c | 21 | ||||
| -rw-r--r-- | src/log.h | 21 | ||||
| -rw-r--r-- | src/main.c | 21 | ||||
| -rw-r--r-- | src/package.c | 21 | ||||
| -rw-r--r-- | src/package.h | 21 | ||||
| -rw-r--r-- | src/package_list.c | 21 | ||||
| -rw-r--r-- | src/package_list.h | 21 | ||||
| -rw-r--r-- | src/paths.c | 21 | ||||
| -rw-r--r-- | src/paths.h | 21 | ||||
| -rw-r--r-- | src/pow_lua.c | 21 | ||||
| -rw-r--r-- | src/pow_lua.h | 21 | ||||
| -rw-r--r-- | src/repo.c | 21 | ||||
| -rw-r--r-- | src/repo.h | 21 | ||||
| -rw-r--r-- | src/source.c | 21 | ||||
| -rw-r--r-- | src/source.h | 21 | ||||
| -rw-r--r-- | src/utils.c | 21 | ||||
| -rw-r--r-- | src/utils.h | 21 |
27 files changed, 0 insertions, 563 deletions
@@ -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 <https://www.gnu.org/licenses/>. - -*/ - #include "args.h" #include "log.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 <https://www.gnu.org/licenses/>. - -*/ - #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 <https://www.gnu.org/licenses/>. - -*/ - #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 <https://www.gnu.org/licenses/>. - -*/ - #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 <https://www.gnu.org/licenses/>. - -*/ - #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 <https://www.gnu.org/licenses/>. - -*/ - #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 <https://www.gnu.org/licenses/>. - -*/ - #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 <https://www.gnu.org/licenses/>. - -*/ - #include "package.h" int pow_download_file(char *path, char *url); @@ -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 <https://www.gnu.org/licenses/>. - -*/ - #include "hash.h" #include "log.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 <https://www.gnu.org/licenses/>. - -*/ - int pow_check_blake2b_hash(char *path, char *target_hash); @@ -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 <https://www.gnu.org/licenses/>. - -*/ - #include "stdio.h" #include "stdarg.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 <https://www.gnu.org/licenses/>. - -*/ - void pow_log_info(char* fmt, ...); void pow_log_error(char* fmt, ...); @@ -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 <https://www.gnu.org/licenses/>. - -*/ - #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 <https://www.gnu.org/licenses/>. - -*/ - #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 <https://www.gnu.org/licenses/>. - -*/ - #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 <https://www.gnu.org/licenses/>. - -*/ - #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 <https://www.gnu.org/licenses/>. - -*/ - #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 <https://www.gnu.org/licenses/>. - -*/ - #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 <https://www.gnu.org/licenses/>. - -*/ - #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 <https://www.gnu.org/licenses/>. - -*/ - #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 <https://www.gnu.org/licenses/>. - -*/ - #include "lua.h" typedef struct pow_config pow_config; @@ -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 <https://www.gnu.org/licenses/>. - -*/ - #include "repo.h" #include "config.h" #include "log.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 <https://www.gnu.org/licenses/>. - -*/ - #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 <https://www.gnu.org/licenses/>. - -*/ - #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 <https://www.gnu.org/licenses/>. - -*/ - #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 <https://www.gnu.org/licenses/>. - -*/ - #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 <https://www.gnu.org/licenses/>. - -*/ - #include "stdbool.h" bool string_has_prefix(const char *pre, const char *str); |
