-
Notifications
You must be signed in to change notification settings - Fork 0
Merge upstream unrealircd 6.2.6-rc1 #20
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
f0c0fef
dee26e2
425a9b9
cbc9213
982325f
be08bc2
3571c9e
b19573d
27a086b
74557f2
d5b799d
faecdd6
62f3cda
5850ec9
57ca415
e2ed1ce
4384f11
029675f
3000381
65f918e
7667307
2089aa4
8d78320
1162da4
ce6f078
c100059
4966b59
e7459df
d7962e1
320d2c2
b5f45d0
ecde1b6
f5d59dd
59d4977
37977fc
570c32e
09a732e
8d1df6a
3fafd32
2475f25
cf5703f
5a93480
12d92fc
684f651
9b3919b
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -50,9 +50,12 @@ if [ -z "$BINDIR" -o -z "$DATADIR" -o -z "$CONFDIR" -o -z "$MODULESDIR" -o -z "$ | |
| fi | ||
|
|
||
|
|
||
| mkdir -p $BASEPATH | ||
| mkdir -p $TMPDIR | ||
| mkdir -p $PRIVATELIBDIR | ||
| mkdir -p $CONFDIR | ||
| chmod 0700 $BASEPATH | ||
| chmod 0700 $TMPDIR | ||
| chmod 0700 $CONFDIR | ||
|
|
||
| # Do this even if we're not in advanced mode | ||
| if [ "$ADVANCED" = "1" ] ; then | ||
|
|
@@ -188,7 +191,7 @@ if [ "$QUICK" != "1" ] ; then | |
| echo "*******************************************************************************" | ||
| echo "Press ENTER to continue" | ||
| read cc | ||
| $MAKE pem | ||
| ./unrealircd mkcert | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 🩺 Stability & Availability | 🟠 Major | ⚡ Quick win Stop on certificate generation failure before printing success. Line 194 runs Suggested patch- ./unrealircd mkcert
- echo "Certificate created successfully."
+ if ./unrealircd mkcert; then
+ echo "Certificate created successfully."
+ else
+ echo "Certificate generation failed."
+ exit 1
+ fi🤖 Prompt for AI Agents |
||
| echo "Certificate created successfully." | ||
| sleep 1 | ||
| else | ||
|
|
||
| Original file line number | Diff line number | Diff line change | ||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
@@ -558,6 +558,11 @@ AS_IF([test "x$with_privatelibdir" = "xno"], | |||||||||||||||||||||
| AS_IF([test "x$PRIVATELIBDIR" = "x"], | ||||||||||||||||||||||
| [LDFLAGS_PRIVATELIBS=""], | ||||||||||||||||||||||
| [AC_DEFINE_UNQUOTED([PRIVATELIBDIR], ["$PRIVATELIBDIR"], [Define the location of private libraries]) | ||||||||||||||||||||||
| # Create the private library directory now with restrictive permissions. | ||||||||||||||||||||||
| # This must happen here rather than in the Makefile because the bundled | ||||||||||||||||||||||
| # libraries are installed into it during configure. It must also work when | ||||||||||||||||||||||
| # configure is run directly without ./Config having created it first. | ||||||||||||||||||||||
| mkdir -p "$PRIVATELIBDIR" && chmod 0700 "$PRIVATELIBDIR" | ||||||||||||||||||||||
|
Comment on lines
+561
to
+565
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 🩺 Stability & Availability | 🟠 Major | ⚡ Quick win Make private-libdir creation failure fatal during configure. Line 565 currently continues even if Suggested patch- mkdir -p "$PRIVATELIBDIR" && chmod 0700 "$PRIVATELIBDIR"
+ mkdir -p "$PRIVATELIBDIR" && chmod 0700 "$PRIVATELIBDIR" || AC_MSG_ERROR([Unable to initialize private library directory: $PRIVATELIBDIR])📝 Committable suggestion
Suggested change
🤖 Prompt for AI Agents |
||||||||||||||||||||||
| LDFLAGS_PRIVATELIBS="-Wl,-rpath,$PRIVATELIBDIR" | ||||||||||||||||||||||
| LDFLAGS="$LDFLAGS $LDFLAGS_PRIVATELIBS" | ||||||||||||||||||||||
| export LDFLAGS]) | ||||||||||||||||||||||
|
|
@@ -728,7 +733,7 @@ $ac_cv_prog_MAKER install PREFIX=$cur_dir/extras/argon2 || exit 1 | |||||||||||||||||||||
| # lead to a crash of the currently running IRCd. | ||||||||||||||||||||||
| rm -f "$PRIVATELIBDIR/"libargon2* | ||||||||||||||||||||||
| # Now copy the new library files: | ||||||||||||||||||||||
| cp -av $cur_dir/extras/argon2/lib/* $PRIVATELIBDIR/ | ||||||||||||||||||||||
| cp -av $cur_dir/extras/argon2/lib/* $PRIVATELIBDIR/ || exit 1 | ||||||||||||||||||||||
| CFLAGS="$save_cflags" | ||||||||||||||||||||||
| LDFLAGS="$save_ldflags" | ||||||||||||||||||||||
| ARGON2_CFLAGS="-I$cur_dir/extras/argon2/include" | ||||||||||||||||||||||
|
|
||||||||||||||||||||||
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
|
|
@@ -7,7 +7,7 @@ | |||||
| \___/|_| |_|_| \___|\__,_|_|\___/\_| \_| \____/\__,_| | ||||||
|
|
||||||
| Configuration Program | ||||||
| for UnrealIRCd 6.2.6 | ||||||
| for UnrealIRCd 6.2.6-rc1 | ||||||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 📐 Maintainability & Code Quality | 🟡 Minor | ⚡ Quick win Align the Config banner version with the declared release version. Line 10 says Suggested patch- for UnrealIRCd 6.2.6-rc1
+ for UnrealIRCd 6.2.6📝 Committable suggestion
Suggested change
🤖 Prompt for AI Agents |
||||||
|
|
||||||
| This program will help you to compile your IRC server, and ask you | ||||||
| questions regarding the compile-time settings of it during the process. | ||||||
|
|
||||||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🎯 Functional Correctness | 🟡 Minor | ⚡ Quick win
Quote and fail-check directory path operations.
Line 53-Line 58 use unquoted path variables, so paths with spaces/globs can create or chmod unintended targets.
Suggested patch
📝 Committable suggestion
🤖 Prompt for AI Agents