Peter Powell
5c88e3df25
Replace module_installed with eval.
2017-03-25 00:54:25 +00:00
Peter Powell
baee503407
Amend modulemanager to use {read,write}_config_file.
2017-03-25 00:54:25 +00:00
Attila Molnar
8f5efbc7aa
Merge insp20
2015-04-20 17:40:12 +02:00
Peter Powell
7404ba8b66
Move common code to make::common from make::utilities.
...
The other code in that file will be removed very soon so it has
been left alone to avoid merge conflicts.
This will help prevent insp20 merge conflicts in the future.
2014-12-07 22:36:43 +00:00
Peter Powell
fbe1743e5e
Fix modulemanager not being able to download modules (again!).
2014-10-29 12:50:46 +00:00
Attila Molnar
e244cb2c63
Merge insp20
2014-01-21 18:44:08 +01:00
Peter Powell
cc6f98c91b
Fix various problems with ModuleManager.
...
- Fix downloading the module list on very new versions of Perl.
- Fix an off by one error caused by array sizing starting at -1
instead of 0 like in every single other language (!!).
- Fix vague error messages when LWP encounters an error.
- Fix LWP::Simple being used before we have checked whether it is
available.
2013-11-29 21:03:33 +00:00
Peter Powell
3070548cee
Clean up and move various subroutines.
...
- Fix indentation of get_compiler_info and clean up slightly.
- Move module_installed to make::utilities.
- Remove promptnumeric (unused).
- Rename clean to cmd_clean and rewrite.
- Rename dir_check to prompt_bool and rewrite.
- Rename dumphash to dump_hash.
- Rename getcache to read_configure_cache and rewrite.
- Rename getrevision to get_revision.
- Rename makecache to write_configure_cache and rewrite.
- Rename promptstring_s to prompt_string and rewrite.
- Rename showhelp to cmd_help and rewrite.
- Rename update to cmd_update and rewrite.
- Rename yesno to prompt_bool and rewrite.
- Replace getmodules with a <src/modules/m_*.cpp> glob.
2013-08-18 11:41:43 +01:00
Peter Powell
ac8a394a5c
Fix ModuleManager error caused by a lack of arguments.
2013-04-10 20:25:32 +01:00
Peter Powell
999ba802d6
Fix ModuleManager failing when:
...
- LWP::Simple is not installed.
- Crypt::SSLeay or IO::Socket::SSL are not installed.
This fixes #154 .
2012-11-08 01:07:38 +01:00
Robby-
5e8f135c6a
Headers: update remaining scripts too
2012-04-20 18:33:52 +02:00
Daniel De Graaf
e24ff3ffc6
Fix version comparisons in modulemanager so that "core 2.0" will match 2.0.1
2010-04-03 10:10:11 -05:00
danieldg
a115cb04b7
Filter out modules not applicable to the installed inspircd version
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12625 e03df62e-2008-0410-955e-edbf42e46eb7
2010-03-12 00:12:51 +00:00
danieldg
bd64961912
Improve support for NetBSD
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12438 e03df62e-2008-0410-955e-edbf42e46eb7
2010-02-12 00:03:44 +00:00
danieldg
4d91c60d55
modulemanger: check dependencies correctly
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11740 e03df62e-2008-0410-955e-edbf42e46eb7
2009-09-17 17:45:40 +00:00
w00t
a9f3a0a0d4
Regenerate modules makefile if installing or uninstalling extras modules.
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11513 e03df62e-2008-0410-955e-edbf42e46eb7
2009-08-14 19:45:30 +00:00
w00t
b33f836f1b
Extra bracket on regex go away
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11503 e03df62e-2008-0410-955e-edbf42e46eb7
2009-08-11 21:01:53 +00:00
w00t
690690ecdc
Write .modulemanager after everything has finished, not in a loop.
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11492 e03df62e-2008-0410-955e-edbf42e46eb7
2009-08-04 22:10:21 +00:00
w00t
a8f599ab2d
Dependancies need string version support too.
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11491 e03df62e-2008-0410-955e-edbf42e46eb7
2009-08-04 22:10:18 +00:00
w00t
ce262fcaaf
Provide some kind of output so it doesn't look like it's doing nothing
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11490 e03df62e-2008-0410-955e-edbf42e46eb7
2009-08-04 21:49:39 +00:00
w00t
818a53e13a
Track installed module versions, so we can do upgrades properly.
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11489 e03df62e-2008-0410-955e-edbf42e46eb7
2009-08-04 21:49:35 +00:00
w00t
eb0fb52418
Allow for string comparison of git IDs.
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11488 e03df62e-2008-0410-955e-edbf42e46eb7
2009-08-04 19:55:26 +00:00
w00t
f2f4bf26ce
Use string versions in "module" line instead of numerical versions.
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11487 e03df62e-2008-0410-955e-edbf42e46eb7
2009-08-04 19:55:23 +00:00
w00t
28fbe77831
Allow for silencing getmodules() output (is annoying when using modulemanager)
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10466 e03df62e-2008-0410-955e-edbf42e46eb7
2008-09-07 23:40:00 +00:00
w00t
76d8c58f09
Add "list" and usage to modulemanager [danieldg]
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10465 e03df62e-2008-0410-955e-edbf42e46eb7
2008-09-07 23:19:55 +00:00
w00t
468d5c6d71
Updates
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10453 e03df62e-2008-0410-955e-edbf42e46eb7
2008-09-07 19:34:03 +00:00
w00t
c27e620cc7
Upgrade the upgrade command to ..upgrade better. Thanks danieldg.
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10430 e03df62e-2008-0410-955e-edbf42e46eb7
2008-09-07 03:49:21 +00:00
w00t
5217069a0e
Implement masking and descriptions for module manager, thanks danieldg
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10429 e03df62e-2008-0410-955e-edbf42e46eb7
2008-09-07 03:27:54 +00:00
w00t
3e72c8cb7e
Allow comments in sources.list and list files (thanks danieldg)
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10428 e03df62e-2008-0410-955e-edbf42e46eb7
2008-09-07 02:27:43 +00:00
w00t
8424e1367b
Add basic module manager, patch courtesy of danieldg.. still needs some work/review, but looks good
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10426 e03df62e-2008-0410-955e-edbf42e46eb7
2008-09-07 01:51:21 +00:00