pkgsrc/chat/silc-server/Makefile

84 lines
2.4 KiB
Makefile
Raw Normal View History

# $NetBSD: Makefile,v 1.23 2003/05/02 11:54:06 wiz Exp $
#
DISTNAME= silc-server-0.9.13
PKGREVISION= 1
CATEGORIES= chat security
Update silc-server to 0.8. Patches contributed by Lubomir Sedlacik <salo@Xtrmntr.org> in PR 15779 Changes from 0.7.9 to 0.8: ========================== * Removed 0.6.x backwards support. * Added `prefer_ipv6' argument to the functions silc_net_gethostbyname[_async]. If it is TRUE it will return IPv6 address over IPv4. If FALSE IPv4 address is returned even if IPv6 address was found. * Added support silc_net_create_connection[_async] to fallback to IPv4 address if IPv6 address could not be used (like if it doesn't work on a specific system). Affected file in * Added `user_count' to the SilcChannelEntry which now tells the number of users on the channel. The user count is now saved in normal server of global channels as well. * Added following new config file settings: channel_rekey_secs, key_exchange_rekey, key_exchange_pfs, key_exchange_timeout, conn_auth_timeout, connections_max, links_max. Implemented all the new config settings handling in the server. Optimized the use of SKE Mutual flag usage. Use it only if connection authentication protocol is not based in public key authentication. * Added new configuration options and blocks: keepalive_secs, reconnect_count, reconnect_interval, reconnect_interval_max, reconnect_keep_trying and require_reverser_lookup. Added ConnectionParam block, and implemented the connection parameters when connecting as initiator and when accepting connections as responder. * Splitted the doc/example_silcd.conf.in. Separated the crypto algorithm parts and created new file silcalgs.conf, that is now included from the example_silcd.conf.in. * Optimized the silc_server_connect_to_router_second to take the connection configuration object from the SilcServerConnection object instead of finding it during the connecting phase. Added the configuration object to SilcServerConnection struct. * Fixed the public key authentication to allocate always the destination signature buffer instead of using static buffer. * Added new Passphrase and Publickey authentication methods to config file, allowing both public key and passphrase based authentication to be set at the same time. Added `prefer_passphrase_auth' setting in config file which can be used to set to prefer passwd auth if both passwd and public key is set. If not set, public key is preferred. This has effect only when being initiator (responder will try both anyway). Added support for authentication with passphrase and public key at the same time. The passphrase is tried first always since it is faster to check. * Merged the new SILC Config library, with the server parsing support. Read the header file silcconfig.h or the toolkit documentation for the news.
2002-03-04 00:49:49 +01:00
MASTER_SITES= http://www.silcnet.org/download/server/sources/ \
ftp://ftp.silcnet.org/silc/server/sources/ \
Update silc-server to 0.8. Patches contributed by Lubomir Sedlacik <salo@Xtrmntr.org> in PR 15779 Changes from 0.7.9 to 0.8: ========================== * Removed 0.6.x backwards support. * Added `prefer_ipv6' argument to the functions silc_net_gethostbyname[_async]. If it is TRUE it will return IPv6 address over IPv4. If FALSE IPv4 address is returned even if IPv6 address was found. * Added support silc_net_create_connection[_async] to fallback to IPv4 address if IPv6 address could not be used (like if it doesn't work on a specific system). Affected file in * Added `user_count' to the SilcChannelEntry which now tells the number of users on the channel. The user count is now saved in normal server of global channels as well. * Added following new config file settings: channel_rekey_secs, key_exchange_rekey, key_exchange_pfs, key_exchange_timeout, conn_auth_timeout, connections_max, links_max. Implemented all the new config settings handling in the server. Optimized the use of SKE Mutual flag usage. Use it only if connection authentication protocol is not based in public key authentication. * Added new configuration options and blocks: keepalive_secs, reconnect_count, reconnect_interval, reconnect_interval_max, reconnect_keep_trying and require_reverser_lookup. Added ConnectionParam block, and implemented the connection parameters when connecting as initiator and when accepting connections as responder. * Splitted the doc/example_silcd.conf.in. Separated the crypto algorithm parts and created new file silcalgs.conf, that is now included from the example_silcd.conf.in. * Optimized the silc_server_connect_to_router_second to take the connection configuration object from the SilcServerConnection object instead of finding it during the connecting phase. Added the configuration object to SilcServerConnection struct. * Fixed the public key authentication to allocate always the destination signature buffer instead of using static buffer. * Added new Passphrase and Publickey authentication methods to config file, allowing both public key and passphrase based authentication to be set at the same time. Added `prefer_passphrase_auth' setting in config file which can be used to set to prefer passwd auth if both passwd and public key is set. If not set, public key is preferred. This has effect only when being initiator (responder will try both anyway). Added support for authentication with passphrase and public key at the same time. The passphrase is tried first always since it is faster to check. * Merged the new SILC Config library, with the server parsing support. Read the header file silcconfig.h or the toolkit documentation for the news.
2002-03-04 00:49:49 +01:00
http://www.fi.silcnet.org/download/server/sources/ \
ftp://ftp.au.silcnet.org/pub/silcnet/server/sources/ \
Update silc-server to 0.8. Patches contributed by Lubomir Sedlacik <salo@Xtrmntr.org> in PR 15779 Changes from 0.7.9 to 0.8: ========================== * Removed 0.6.x backwards support. * Added `prefer_ipv6' argument to the functions silc_net_gethostbyname[_async]. If it is TRUE it will return IPv6 address over IPv4. If FALSE IPv4 address is returned even if IPv6 address was found. * Added support silc_net_create_connection[_async] to fallback to IPv4 address if IPv6 address could not be used (like if it doesn't work on a specific system). Affected file in * Added `user_count' to the SilcChannelEntry which now tells the number of users on the channel. The user count is now saved in normal server of global channels as well. * Added following new config file settings: channel_rekey_secs, key_exchange_rekey, key_exchange_pfs, key_exchange_timeout, conn_auth_timeout, connections_max, links_max. Implemented all the new config settings handling in the server. Optimized the use of SKE Mutual flag usage. Use it only if connection authentication protocol is not based in public key authentication. * Added new configuration options and blocks: keepalive_secs, reconnect_count, reconnect_interval, reconnect_interval_max, reconnect_keep_trying and require_reverser_lookup. Added ConnectionParam block, and implemented the connection parameters when connecting as initiator and when accepting connections as responder. * Splitted the doc/example_silcd.conf.in. Separated the crypto algorithm parts and created new file silcalgs.conf, that is now included from the example_silcd.conf.in. * Optimized the silc_server_connect_to_router_second to take the connection configuration object from the SilcServerConnection object instead of finding it during the connecting phase. Added the configuration object to SilcServerConnection struct. * Fixed the public key authentication to allocate always the destination signature buffer instead of using static buffer. * Added new Passphrase and Publickey authentication methods to config file, allowing both public key and passphrase based authentication to be set at the same time. Added `prefer_passphrase_auth' setting in config file which can be used to set to prefer passwd auth if both passwd and public key is set. If not set, public key is preferred. This has effect only when being initiator (responder will try both anyway). Added support for authentication with passphrase and public key at the same time. The passphrase is tried first always since it is faster to check. * Merged the new SILC Config library, with the server parsing support. Read the header file silcconfig.h or the toolkit documentation for the news.
2002-03-04 00:49:49 +01:00
http://www.at.silcnet.org/download/server/sources/
EXTRACT_SUFX= .tar.bz2
update to version 0.9.8 Changes from 0.9.5 to 0.9.8 =========================== * Added support for aborting automatically pending commands that never receives the reply (to avoid memory leaks). * Added support for removing explicitly added client connections in rehash and closing the client connections if they were unconfigured in the rehash. * Rewrote WHOIS, WHOWAS and IDENTIFY commands in the server. * If packet processing fails (like integrity check fails) the connection is closed now. * Normal server now reconnects to backup router automatically if connection is lost to it. * Added support for replying on behalf of the user to the Requested Attributes in WHOIS command in the server. * Failed OPER and SILCOPER authentications are now logged. * Added sort-of "Quality of Service" (QoS) support. Data reception can be controlled with rate limit per second and/or read data length limit. * Added support for encrypted private key files. Now passphrase must be provided when new key pair is created , and prompted when loading the private key. * Resumed client packet handling from server put the resumed client on wrong list on router and caused the client not be present on the network anymore. * Various cleanup in error message output in config parsing code and in server init code. Fixed error log files containing too many newlines in some situations. * Assure that channel key is set before sending it. May crash server otherwise. * Don't swtich to become primary router if we are backup if decryption error has occurred. * Fixed a bug in backup router IP address comparison * Fixed a crashbug in incoming server accepting. * Fixed packet decryption problem when backup router encrypted channel message with wrong key during backup resuming protocol. * Fixed memory leaks in server. * Fixed channel key packet processing bug on backup router during backup resuming protocol.
2002-11-21 16:42:45 +01:00
MAINTAINER= salo@netbsd.org
HOMEPAGE= http://www.silcnet.org/
COMMENT= Server for the Secure Internet Live Conferencing (SILC) protocol
USE_BUILDLINK2= YES
USE_PKGINSTALL= YES
Update to version 0.9.11 IMPORTANT NOTE: This version does not include backwards support for the old style SILC private key so if you skipped 0.9.10 version you won't be able to run this server without generating new key pair. Changes from 0.9.10 to 0.9.11 ============================= * Workaround GCC bug which causes memory exhaustion when compiling sha1 with optimizations on UltraSPARC. from openbsd * Added some sanity checks in server for correctness of the server configuration. * More log printing during backup router protocol. * Removed backwards support for old private key file format. * Removed backwards support for not-so-strict decryption length check, it's strict now. * Fixed error handling of invalid client entry when calling commands in server. Fixes a crash. * Fixed double free in async host lookup code. * On backup router handle now the SERVER_SIGNOFF from router for local connected servers too, and close the connections. Do not process them as normally signing off servers when they really signoff by sending EOF fe, but always assume that router sends the SERVER_SIGNOFF. * Fixed socket unsetting when closing connections. * Fixed close command to use the port correctly when closing server connections. * Check for NULL outbuf in silc_socket_write. It is possible that it is NULL is some odd case. * Do not call final protocol callback for backup router resuming protocol when closing connection. It is closed by timeout in case of error. * Backup reconnect to router if backup resuming protocol failed. * Fixed double free in SKE library error hadling when signature error occurred. * Fixed double free in invite list adding code when adding invite strings.
2003-01-09 00:56:44 +01:00
GNU_CONFIGURE= YES
USE_GMAKE= YES
USE_LIBTOOL= YES
SHLIBTOOL_OVERRIDE= ${WRKSRC}/libtool ${WRKSRC}/lib/silcmath/mpi/libtool
.include "../../mk/bsd.prefs.mk"
Update silc-server to 0.7.6: changes in the package since 0.7.3 to 0.7.6: - rewrite of package's Makefile. big parts of INSTALL and DEINSTALL scripts were moved into Makefile itself - silc-server now creates user silcd:silcd who run silcd by default - INSTALL and DEINSTALL files are smaller and contains only neccessary actions which cannot be executed from Makefile - partial rewrite of rc script, added rcvar support, it is neccessary to have silcd=YES in rc.conf now to start silc server (unless force is used) - changed motd.txt to contain BSD daemon ;) - updated patch-aa and patch-ab files changes in the silc-server software since 0.7.3 to 0.7.6: 0.7.4: This version fixes a crash that can occur mainly on normal server. Upgrading is recommended to avoid instability later. This version also fixes the BAN and INVITE commands that were pretty much broken. This version also disallows a situation where the nickname that server sets initially for the client could be a bad nickname (like nick including whitespaces). It used to be possible but now server checks for this. Johnny also introduces a new logging system to this version with log files being open all the time and not opened every time something is logged, and log rotation support. 0.7.5: Hopefully fixed the most nasty bugs. I found bunch of weird bugs that causes server syncing problems. Upgrading is strongly recommended as soon as possible. 0.7.6: Only a minor bugfix release to fix the CUMODE command that allowed non-founder channel users to remove modes of the founder, and to fix GETKEY always return server's public key if it is requested, and to fix the TOPIC_CHANGE notify to not route it twice to router. Patch submitted by Lubomir Sedlacik <salo@Xtrmntr.org> in PR 15373
2002-01-26 15:43:16 +01:00
SILCD_USER?= silcd
SILCD_GROUP?= silcd
PKG_GROUPS= ${SILCD_GROUP}
PKG_USERS= ${SILCD_USER}:${SILCD_GROUP}::SILC\\ Server\\ user
PKG_SYSCONFSUBDIR?= silcd
Maintainer update of chat/silc-server to version 0.9.5. Changes: buildlink->buildlink2 Main changes from 0.9.2 to 0.9.5 ================================= * Use the primary router as the origin of the locally connected server when it is disconnecting from the backup router since that's where it really is coming from. Now the clients from the disconnecting server are removed correctly and "shadow" clients are not left to the backup router. * If normal server is standalone and found existing but disabled channel, do not re-create the channel since it creates duplicate same channels. * Added anonymous client connections support to server. New "anonymous" configuration option to ConnectionParams section added. If set to true, the username and hostname information of the client will be scrambled and anonymous user mode is set automatically to the user. * In JOIN notify handling, mark that the cache entry of the client cannot be expired. Can cause crashes on normal server (asserts client->channels). * Added silcd configuration option Timestamp in the Logging section. * Fixed fingerprint checking to check for entirely empty fingerprint instead of two first bytes when determining if it is set. * Remove server/router operator privileges in DETACH command, since it's possible to resume to server where these privileges would not be allowed. * Do not re-create channel keys and send them when removing clients in server shutdown. * Completed backup router support for standalone routers. Supports also servers in the cell that do not use the backup at all. Server/router operator now receives notify when network switches to backup router and when it resumes the use of primary router. * Added -D option to server. It can be used to give debug level. The levels are from 0 - 99, and are predefined for smooth server debugging. Patch submitted by Lubomir Sedlacik <salo@Xtrmntr.org> in PR 18278.
2002-09-14 04:59:25 +02:00
MAKE_ENV+= examplesdir=${PREFIX}/share/examples/silcd
Update silc-server to 0.7.6: changes in the package since 0.7.3 to 0.7.6: - rewrite of package's Makefile. big parts of INSTALL and DEINSTALL scripts were moved into Makefile itself - silc-server now creates user silcd:silcd who run silcd by default - INSTALL and DEINSTALL files are smaller and contains only neccessary actions which cannot be executed from Makefile - partial rewrite of rc script, added rcvar support, it is neccessary to have silcd=YES in rc.conf now to start silc server (unless force is used) - changed motd.txt to contain BSD daemon ;) - updated patch-aa and patch-ab files changes in the silc-server software since 0.7.3 to 0.7.6: 0.7.4: This version fixes a crash that can occur mainly on normal server. Upgrading is recommended to avoid instability later. This version also fixes the BAN and INVITE commands that were pretty much broken. This version also disallows a situation where the nickname that server sets initially for the client could be a bad nickname (like nick including whitespaces). It used to be possible but now server checks for this. Johnny also introduces a new logging system to this version with log files being open all the time and not opened every time something is logged, and log rotation support. 0.7.5: Hopefully fixed the most nasty bugs. I found bunch of weird bugs that causes server syncing problems. Upgrading is strongly recommended as soon as possible. 0.7.6: Only a minor bugfix release to fix the CUMODE command that allowed non-founder channel users to remove modes of the founder, and to fix GETKEY always return server's public key if it is requested, and to fix the TOPIC_CHANGE notify to not route it twice to router. Patch submitted by Lubomir Sedlacik <salo@Xtrmntr.org> in PR 15373
2002-01-26 15:43:16 +01:00
CONF_FILES_MODE= 0600
Maintainer update of chat/silc-server to version 0.9.5. Changes: buildlink->buildlink2 Main changes from 0.9.2 to 0.9.5 ================================= * Use the primary router as the origin of the locally connected server when it is disconnecting from the backup router since that's where it really is coming from. Now the clients from the disconnecting server are removed correctly and "shadow" clients are not left to the backup router. * If normal server is standalone and found existing but disabled channel, do not re-create the channel since it creates duplicate same channels. * Added anonymous client connections support to server. New "anonymous" configuration option to ConnectionParams section added. If set to true, the username and hostname information of the client will be scrambled and anonymous user mode is set automatically to the user. * In JOIN notify handling, mark that the cache entry of the client cannot be expired. Can cause crashes on normal server (asserts client->channels). * Added silcd configuration option Timestamp in the Logging section. * Fixed fingerprint checking to check for entirely empty fingerprint instead of two first bytes when determining if it is set. * Remove server/router operator privileges in DETACH command, since it's possible to resume to server where these privileges would not be allowed. * Do not re-create channel keys and send them when removing clients in server shutdown. * Completed backup router support for standalone routers. Supports also servers in the cell that do not use the backup at all. Server/router operator now receives notify when network switches to backup router and when it resumes the use of primary router. * Added -D option to server. It can be used to give debug level. The levels are from 0 - 99, and are predefined for smooth server debugging. Patch submitted by Lubomir Sedlacik <salo@Xtrmntr.org> in PR 18278.
2002-09-14 04:59:25 +02:00
CONF_FILES+= ${PREFIX}/share/examples/silcd/silcd.conf.default \
Update silc-server to 0.7.6: changes in the package since 0.7.3 to 0.7.6: - rewrite of package's Makefile. big parts of INSTALL and DEINSTALL scripts were moved into Makefile itself - silc-server now creates user silcd:silcd who run silcd by default - INSTALL and DEINSTALL files are smaller and contains only neccessary actions which cannot be executed from Makefile - partial rewrite of rc script, added rcvar support, it is neccessary to have silcd=YES in rc.conf now to start silc server (unless force is used) - changed motd.txt to contain BSD daemon ;) - updated patch-aa and patch-ab files changes in the silc-server software since 0.7.3 to 0.7.6: 0.7.4: This version fixes a crash that can occur mainly on normal server. Upgrading is recommended to avoid instability later. This version also fixes the BAN and INVITE commands that were pretty much broken. This version also disallows a situation where the nickname that server sets initially for the client could be a bad nickname (like nick including whitespaces). It used to be possible but now server checks for this. Johnny also introduces a new logging system to this version with log files being open all the time and not opened every time something is logged, and log rotation support. 0.7.5: Hopefully fixed the most nasty bugs. I found bunch of weird bugs that causes server syncing problems. Upgrading is strongly recommended as soon as possible. 0.7.6: Only a minor bugfix release to fix the CUMODE command that allowed non-founder channel users to remove modes of the founder, and to fix GETKEY always return server's public key if it is requested, and to fix the TOPIC_CHANGE notify to not route it twice to router. Patch submitted by Lubomir Sedlacik <salo@Xtrmntr.org> in PR 15373
2002-01-26 15:43:16 +01:00
${PKG_SYSCONFDIR}/silcd.conf
Maintainer update of chat/silc-server to version 0.9.5. Changes: buildlink->buildlink2 Main changes from 0.9.2 to 0.9.5 ================================= * Use the primary router as the origin of the locally connected server when it is disconnecting from the backup router since that's where it really is coming from. Now the clients from the disconnecting server are removed correctly and "shadow" clients are not left to the backup router. * If normal server is standalone and found existing but disabled channel, do not re-create the channel since it creates duplicate same channels. * Added anonymous client connections support to server. New "anonymous" configuration option to ConnectionParams section added. If set to true, the username and hostname information of the client will be scrambled and anonymous user mode is set automatically to the user. * In JOIN notify handling, mark that the cache entry of the client cannot be expired. Can cause crashes on normal server (asserts client->channels). * Added silcd configuration option Timestamp in the Logging section. * Fixed fingerprint checking to check for entirely empty fingerprint instead of two first bytes when determining if it is set. * Remove server/router operator privileges in DETACH command, since it's possible to resume to server where these privileges would not be allowed. * Do not re-create channel keys and send them when removing clients in server shutdown. * Completed backup router support for standalone routers. Supports also servers in the cell that do not use the backup at all. Server/router operator now receives notify when network switches to backup router and when it resumes the use of primary router. * Added -D option to server. It can be used to give debug level. The levels are from 0 - 99, and are predefined for smooth server debugging. Patch submitted by Lubomir Sedlacik <salo@Xtrmntr.org> in PR 18278.
2002-09-14 04:59:25 +02:00
CONF_FILES+= ${PREFIX}/share/examples/silcd/silcalgs.conf.default \
Update silc-server to 0.8. Patches contributed by Lubomir Sedlacik <salo@Xtrmntr.org> in PR 15779 Changes from 0.7.9 to 0.8: ========================== * Removed 0.6.x backwards support. * Added `prefer_ipv6' argument to the functions silc_net_gethostbyname[_async]. If it is TRUE it will return IPv6 address over IPv4. If FALSE IPv4 address is returned even if IPv6 address was found. * Added support silc_net_create_connection[_async] to fallback to IPv4 address if IPv6 address could not be used (like if it doesn't work on a specific system). Affected file in * Added `user_count' to the SilcChannelEntry which now tells the number of users on the channel. The user count is now saved in normal server of global channels as well. * Added following new config file settings: channel_rekey_secs, key_exchange_rekey, key_exchange_pfs, key_exchange_timeout, conn_auth_timeout, connections_max, links_max. Implemented all the new config settings handling in the server. Optimized the use of SKE Mutual flag usage. Use it only if connection authentication protocol is not based in public key authentication. * Added new configuration options and blocks: keepalive_secs, reconnect_count, reconnect_interval, reconnect_interval_max, reconnect_keep_trying and require_reverser_lookup. Added ConnectionParam block, and implemented the connection parameters when connecting as initiator and when accepting connections as responder. * Splitted the doc/example_silcd.conf.in. Separated the crypto algorithm parts and created new file silcalgs.conf, that is now included from the example_silcd.conf.in. * Optimized the silc_server_connect_to_router_second to take the connection configuration object from the SilcServerConnection object instead of finding it during the connecting phase. Added the configuration object to SilcServerConnection struct. * Fixed the public key authentication to allocate always the destination signature buffer instead of using static buffer. * Added new Passphrase and Publickey authentication methods to config file, allowing both public key and passphrase based authentication to be set at the same time. Added `prefer_passphrase_auth' setting in config file which can be used to set to prefer passwd auth if both passwd and public key is set. If not set, public key is preferred. This has effect only when being initiator (responder will try both anyway). Added support for authentication with passphrase and public key at the same time. The passphrase is tried first always since it is faster to check. * Merged the new SILC Config library, with the server parsing support. Read the header file silcconfig.h or the toolkit documentation for the news.
2002-03-04 00:49:49 +01:00
${PKG_SYSCONFDIR}/silcalgs.conf
Maintainer update of chat/silc-server to version 0.9.5. Changes: buildlink->buildlink2 Main changes from 0.9.2 to 0.9.5 ================================= * Use the primary router as the origin of the locally connected server when it is disconnecting from the backup router since that's where it really is coming from. Now the clients from the disconnecting server are removed correctly and "shadow" clients are not left to the backup router. * If normal server is standalone and found existing but disabled channel, do not re-create the channel since it creates duplicate same channels. * Added anonymous client connections support to server. New "anonymous" configuration option to ConnectionParams section added. If set to true, the username and hostname information of the client will be scrambled and anonymous user mode is set automatically to the user. * In JOIN notify handling, mark that the cache entry of the client cannot be expired. Can cause crashes on normal server (asserts client->channels). * Added silcd configuration option Timestamp in the Logging section. * Fixed fingerprint checking to check for entirely empty fingerprint instead of two first bytes when determining if it is set. * Remove server/router operator privileges in DETACH command, since it's possible to resume to server where these privileges would not be allowed. * Do not re-create channel keys and send them when removing clients in server shutdown. * Completed backup router support for standalone routers. Supports also servers in the cell that do not use the backup at all. Server/router operator now receives notify when network switches to backup router and when it resumes the use of primary router. * Added -D option to server. It can be used to give debug level. The levels are from 0 - 99, and are predefined for smooth server debugging. Patch submitted by Lubomir Sedlacik <salo@Xtrmntr.org> in PR 18278.
2002-09-14 04:59:25 +02:00
CONF_FILES_PERMS+= ${PREFIX}/share/examples/silcd/motd.txt.default \
Update silc-server to 0.7.6: changes in the package since 0.7.3 to 0.7.6: - rewrite of package's Makefile. big parts of INSTALL and DEINSTALL scripts were moved into Makefile itself - silc-server now creates user silcd:silcd who run silcd by default - INSTALL and DEINSTALL files are smaller and contains only neccessary actions which cannot be executed from Makefile - partial rewrite of rc script, added rcvar support, it is neccessary to have silcd=YES in rc.conf now to start silc server (unless force is used) - changed motd.txt to contain BSD daemon ;) - updated patch-aa and patch-ab files changes in the silc-server software since 0.7.3 to 0.7.6: 0.7.4: This version fixes a crash that can occur mainly on normal server. Upgrading is recommended to avoid instability later. This version also fixes the BAN and INVITE commands that were pretty much broken. This version also disallows a situation where the nickname that server sets initially for the client could be a bad nickname (like nick including whitespaces). It used to be possible but now server checks for this. Johnny also introduces a new logging system to this version with log files being open all the time and not opened every time something is logged, and log rotation support. 0.7.5: Hopefully fixed the most nasty bugs. I found bunch of weird bugs that causes server syncing problems. Upgrading is strongly recommended as soon as possible. 0.7.6: Only a minor bugfix release to fix the CUMODE command that allowed non-founder channel users to remove modes of the founder, and to fix GETKEY always return server's public key if it is requested, and to fix the TOPIC_CHANGE notify to not route it twice to router. Patch submitted by Lubomir Sedlacik <salo@Xtrmntr.org> in PR 15373
2002-01-26 15:43:16 +01:00
${PKG_SYSCONFDIR}/motd.txt \
${ROOT_USER} ${ROOT_GROUP} 0644
Update silc-server to 0.7.6: changes in the package since 0.7.3 to 0.7.6: - rewrite of package's Makefile. big parts of INSTALL and DEINSTALL scripts were moved into Makefile itself - silc-server now creates user silcd:silcd who run silcd by default - INSTALL and DEINSTALL files are smaller and contains only neccessary actions which cannot be executed from Makefile - partial rewrite of rc script, added rcvar support, it is neccessary to have silcd=YES in rc.conf now to start silc server (unless force is used) - changed motd.txt to contain BSD daemon ;) - updated patch-aa and patch-ab files changes in the silc-server software since 0.7.3 to 0.7.6: 0.7.4: This version fixes a crash that can occur mainly on normal server. Upgrading is recommended to avoid instability later. This version also fixes the BAN and INVITE commands that were pretty much broken. This version also disallows a situation where the nickname that server sets initially for the client could be a bad nickname (like nick including whitespaces). It used to be possible but now server checks for this. Johnny also introduces a new logging system to this version with log files being open all the time and not opened every time something is logged, and log rotation support. 0.7.5: Hopefully fixed the most nasty bugs. I found bunch of weird bugs that causes server syncing problems. Upgrading is strongly recommended as soon as possible. 0.7.6: Only a minor bugfix release to fix the CUMODE command that allowed non-founder channel users to remove modes of the founder, and to fix GETKEY always return server's public key if it is requested, and to fix the TOPIC_CHANGE notify to not route it twice to router. Patch submitted by Lubomir Sedlacik <salo@Xtrmntr.org> in PR 15373
2002-01-26 15:43:16 +01:00
RCD_SCRIPTS= silcd
.if ${OPSYS} == "NetBSD"
RCD_SCRIPT_SRC.silcd= ${FILESDIR}/silcd.sh
.else
RCD_SCRIPT_SRC.silcd= ${FILESDIR}/silcd.generic
.endif
Update silc-server to 0.7.6: changes in the package since 0.7.3 to 0.7.6: - rewrite of package's Makefile. big parts of INSTALL and DEINSTALL scripts were moved into Makefile itself - silc-server now creates user silcd:silcd who run silcd by default - INSTALL and DEINSTALL files are smaller and contains only neccessary actions which cannot be executed from Makefile - partial rewrite of rc script, added rcvar support, it is neccessary to have silcd=YES in rc.conf now to start silc server (unless force is used) - changed motd.txt to contain BSD daemon ;) - updated patch-aa and patch-ab files changes in the silc-server software since 0.7.3 to 0.7.6: 0.7.4: This version fixes a crash that can occur mainly on normal server. Upgrading is recommended to avoid instability later. This version also fixes the BAN and INVITE commands that were pretty much broken. This version also disallows a situation where the nickname that server sets initially for the client could be a bad nickname (like nick including whitespaces). It used to be possible but now server checks for this. Johnny also introduces a new logging system to this version with log files being open all the time and not opened every time something is logged, and log rotation support. 0.7.5: Hopefully fixed the most nasty bugs. I found bunch of weird bugs that causes server syncing problems. Upgrading is strongly recommended as soon as possible. 0.7.6: Only a minor bugfix release to fix the CUMODE command that allowed non-founder channel users to remove modes of the founder, and to fix GETKEY always return server's public key if it is requested, and to fix the TOPIC_CHANGE notify to not route it twice to router. Patch submitted by Lubomir Sedlacik <salo@Xtrmntr.org> in PR 15373
2002-01-26 15:43:16 +01:00
OWN_DIRS_PERMS+= /var/log/silcd ${SILCD_USER} ${SILCD_GROUP} 0700
update to version 0.9.8 Changes from 0.9.5 to 0.9.8 =========================== * Added support for aborting automatically pending commands that never receives the reply (to avoid memory leaks). * Added support for removing explicitly added client connections in rehash and closing the client connections if they were unconfigured in the rehash. * Rewrote WHOIS, WHOWAS and IDENTIFY commands in the server. * If packet processing fails (like integrity check fails) the connection is closed now. * Normal server now reconnects to backup router automatically if connection is lost to it. * Added support for replying on behalf of the user to the Requested Attributes in WHOIS command in the server. * Failed OPER and SILCOPER authentications are now logged. * Added sort-of "Quality of Service" (QoS) support. Data reception can be controlled with rate limit per second and/or read data length limit. * Added support for encrypted private key files. Now passphrase must be provided when new key pair is created , and prompted when loading the private key. * Resumed client packet handling from server put the resumed client on wrong list on router and caused the client not be present on the network anymore. * Various cleanup in error message output in config parsing code and in server init code. Fixed error log files containing too many newlines in some situations. * Assure that channel key is set before sending it. May crash server otherwise. * Don't swtich to become primary router if we are backup if decryption error has occurred. * Fixed a bug in backup router IP address comparison * Fixed a crashbug in incoming server accepting. * Fixed packet decryption problem when backup router encrypted channel message with wrong key during backup resuming protocol. * Fixed memory leaks in server. * Fixed channel key packet processing bug on backup router during backup resuming protocol.
2002-11-21 16:42:45 +01:00
CONFIGURE_ARGS+= --libdir=${PREFIX}/lib/silcd
Update silc-server to 0.7.6: changes in the package since 0.7.3 to 0.7.6: - rewrite of package's Makefile. big parts of INSTALL and DEINSTALL scripts were moved into Makefile itself - silc-server now creates user silcd:silcd who run silcd by default - INSTALL and DEINSTALL files are smaller and contains only neccessary actions which cannot be executed from Makefile - partial rewrite of rc script, added rcvar support, it is neccessary to have silcd=YES in rc.conf now to start silc server (unless force is used) - changed motd.txt to contain BSD daemon ;) - updated patch-aa and patch-ab files changes in the silc-server software since 0.7.3 to 0.7.6: 0.7.4: This version fixes a crash that can occur mainly on normal server. Upgrading is recommended to avoid instability later. This version also fixes the BAN and INVITE commands that were pretty much broken. This version also disallows a situation where the nickname that server sets initially for the client could be a bad nickname (like nick including whitespaces). It used to be possible but now server checks for this. Johnny also introduces a new logging system to this version with log files being open all the time and not opened every time something is logged, and log rotation support. 0.7.5: Hopefully fixed the most nasty bugs. I found bunch of weird bugs that causes server syncing problems. Upgrading is strongly recommended as soon as possible. 0.7.6: Only a minor bugfix release to fix the CUMODE command that allowed non-founder channel users to remove modes of the founder, and to fix GETKEY always return server's public key if it is requested, and to fix the TOPIC_CHANGE notify to not route it twice to router. Patch submitted by Lubomir Sedlacik <salo@Xtrmntr.org> in PR 15373
2002-01-26 15:43:16 +01:00
CONFIGURE_ARGS+= --with-docdir=${PREFIX}/share/doc/silcd
CONFIGURE_ARGS+= --with-etcdir=${PKG_SYSCONFDIR}
CONFIGURE_ARGS+= --with-silcd-config-file=${PKG_SYSCONFDIR}/silcd.conf
Maintainer update of chat/silc-server to version 0.9.5. Changes: buildlink->buildlink2 Main changes from 0.9.2 to 0.9.5 ================================= * Use the primary router as the origin of the locally connected server when it is disconnecting from the backup router since that's where it really is coming from. Now the clients from the disconnecting server are removed correctly and "shadow" clients are not left to the backup router. * If normal server is standalone and found existing but disabled channel, do not re-create the channel since it creates duplicate same channels. * Added anonymous client connections support to server. New "anonymous" configuration option to ConnectionParams section added. If set to true, the username and hostname information of the client will be scrambled and anonymous user mode is set automatically to the user. * In JOIN notify handling, mark that the cache entry of the client cannot be expired. Can cause crashes on normal server (asserts client->channels). * Added silcd configuration option Timestamp in the Logging section. * Fixed fingerprint checking to check for entirely empty fingerprint instead of two first bytes when determining if it is set. * Remove server/router operator privileges in DETACH command, since it's possible to resume to server where these privileges would not be allowed. * Do not re-create channel keys and send them when removing clients in server shutdown. * Completed backup router support for standalone routers. Supports also servers in the cell that do not use the backup at all. Server/router operator now receives notify when network switches to backup router and when it resumes the use of primary router. * Added -D option to server. It can be used to give debug level. The levels are from 0 - 99, and are predefined for smooth server debugging. Patch submitted by Lubomir Sedlacik <salo@Xtrmntr.org> in PR 18278.
2002-09-14 04:59:25 +02:00
CONFIGURE_ARGS+= --with-simdir=${PREFIX}/lib/silcd/modules
Update silc-server to 0.7.6: changes in the package since 0.7.3 to 0.7.6: - rewrite of package's Makefile. big parts of INSTALL and DEINSTALL scripts were moved into Makefile itself - silc-server now creates user silcd:silcd who run silcd by default - INSTALL and DEINSTALL files are smaller and contains only neccessary actions which cannot be executed from Makefile - partial rewrite of rc script, added rcvar support, it is neccessary to have silcd=YES in rc.conf now to start silc server (unless force is used) - changed motd.txt to contain BSD daemon ;) - updated patch-aa and patch-ab files changes in the silc-server software since 0.7.3 to 0.7.6: 0.7.4: This version fixes a crash that can occur mainly on normal server. Upgrading is recommended to avoid instability later. This version also fixes the BAN and INVITE commands that were pretty much broken. This version also disallows a situation where the nickname that server sets initially for the client could be a bad nickname (like nick including whitespaces). It used to be possible but now server checks for this. Johnny also introduces a new logging system to this version with log files being open all the time and not opened every time something is logged, and log rotation support. 0.7.5: Hopefully fixed the most nasty bugs. I found bunch of weird bugs that causes server syncing problems. Upgrading is strongly recommended as soon as possible. 0.7.6: Only a minor bugfix release to fix the CUMODE command that allowed non-founder channel users to remove modes of the founder, and to fix GETKEY always return server's public key if it is requested, and to fix the TOPIC_CHANGE notify to not route it twice to router. Patch submitted by Lubomir Sedlacik <salo@Xtrmntr.org> in PR 15373
2002-01-26 15:43:16 +01:00
CONFIGURE_ARGS+= --with-logsdir=/var/log/silcd
Update silc-server to version 0.9.1. Changes: * Fixed CUMODE_CHANGE notify handling in server. * Fixed USERS command to support empty channels. * Check the watcher list before sending signoff notifys when closing client connection. * Added better CMODE command rights checking. * Fixed watcher list checking during server signoff. It crashed the server. * The JOIN command reply returns now the founder's public key. * Announce the channel mode, and the mode properties with CMODE_CHANGE notify. * Mark new channels by default disabled, untill at least one user joins the channel. * The nickname argument to watch notify can be optional. Fixes a crash in server. * Check the watcher list before and after changing nickname when the NICK_CHANGE notify is received. * Added the founder's public key delivery to the CUMODE_CHANGE notify type as well. Updated the protocol specs and the code. * Added support for sending the founder's public key in the CMODE_CHANGE notify packet in the server. * Changed the FOUNDER_AUTH authentication to use only public key authentication as defined by new protocol specs. Passphrase authentication with that mode cannot be used anymore. It is now possible to reclaim founder mode from any server in the network. * Added permanent channels support by making the channel permanent when FOUNDER_AUTH mode is set on the channel. The channel will not be destroyed even if channel is empty when that mode is set. Protocol TODO #17. * Added BLOCK_INVITE user mode to be able to block incoming invite notifications. Protoocol TODO #26. * Disconnect Payload includes now the status type. Updated the protocol specs and the code. Protocol TODO #25. * Defined that the nickname hash in Client ID MUST be from lowercase nickname. This effectively changes nicknames in SILC to case-insensitive. Updated the protocol specs and the code. * Added new channel user modes BLOCK_MESSAGES_USERS and BLOCK_MESSAGES_ROBOTS. Updated the protocol specs and the code. * Added support for watch list. It is possible to add nicknames to be watched, and when they come to network, leave network or user mode changes the watcher will be notified of this change. Added SILC_COMMAND_WATCH command, added new notify type SILC_NOTIFY_TYPE_WATCH to deliver the watch notifications. Updated the protocol specs and implemented this to library, client and server. Protocol TODO #21. * Fixed a bug in the pid writing function, which couldn't be written in a root-owned directory. * Added detach_disabled and detach_timeout server config options to the server. * Defined that server receives WHOIS command reply for private and secret channels too. Updated protocol specs and the code in server. * Defined <channel user mode list> argument to WHOIS command reply for returning user modes on the channels. The channel list now doesn't include the user mode anymore but the actual channel mode. Updated protocol specs and the code in client and server. * Save the channels list in WHOIS command reply in normal server so that WHOIS always shows joined channels also in normal server and not just on router. * Defined that server receives USERS command reply for private and secret channels too. Updated protocol specs and the code in server. * Changed the UMODE's mode mask argument to be optional. If not provided then the command merely returns the current mode mask to the client. * Added SILC session detachment/resuming support. It is possible to detach by closing the network connection and then re-connect and resume to the old client session. Added DETACHED user mode that server will set for detached client. Added new packet RESUME_CLIENT which is used to perform the resuming process. Added DETACH command. Updated the protocol specs, core library, client and server. Protocol TODO #22. * Changed the CMODE's mode mask argument to be optional. If not provided then the command merely returns the current mode mask to the client. Updated protocol specs and the server. * Added new user modes ANONYMOUS for special anonymous servers that may set the mode for client, and BLOCK_PRIVMSG which client may set to block incoming private messages unless the Private Message Key flag is set (using private keys to protect private messages). Updated protocol specs and code in client and server and core library. Protocol TODO #23. * Added new channel user mode BLOCK_MESSAGES which the client may set to itself to tell server not send channel messages. Other packets such as channel key packets are still sent. Protocol TODO #23. Updated the protocol specs, client and server. * Fixed a bug in the fetch_logging() config callback. * Drop root privileges when started in foreground. Don't drop them if debugging also. * Added STATS command to the protocol after all, to return various statistical information about the network. It can be used by clients to retrieve statistical information, and servers may use it to to fetch cell and network wide statistics from router. Updated the protocol specs and implemented it to the server. Protocol TODO #16. * Rewrote the version SKE version checking in client libary and in server to use the silc_parse_version_string. * Added two new channel modes: SILC_CMODE_SILENCE_USERS and SILC_CMODE_SILENCE_OPERS which can be used to moderate the channel. Updated protocol specs and impelemented this to client and server. Protocol TODO #6. * Deprecated all administrative commands from SILC protocol since they are highly implementation specific commands. Updated protocol specs. Moved the old commands in implementations to private range of command types. * Fixed a bug in server where sending unknown command crashes the server. * Fixed the rekey protocol with PFS, which was totally broken. * Merged version 1.1.4 of zlib. Even if it not currently in use, it's good not to have security holes here. * Fixed a negative refcount situtuation for the config context. Affected file is silcd/serverconfig.c. changes in silc-server package: =============================== - removed INSTALL file, don't generate server keys during installation, if missing, generate them on server startup Patch contributed by Lubomir Sedlacik <salo@Xtrmntr.org> in PR 16981
2002-05-25 00:15:36 +02:00
CONFIGURE_ARGS+= --with-silcd-pid-file=/var/run/silcd.pid
Maintainer update of chat/silc-server to version 0.9.5. Changes: buildlink->buildlink2 Main changes from 0.9.2 to 0.9.5 ================================= * Use the primary router as the origin of the locally connected server when it is disconnecting from the backup router since that's where it really is coming from. Now the clients from the disconnecting server are removed correctly and "shadow" clients are not left to the backup router. * If normal server is standalone and found existing but disabled channel, do not re-create the channel since it creates duplicate same channels. * Added anonymous client connections support to server. New "anonymous" configuration option to ConnectionParams section added. If set to true, the username and hostname information of the client will be scrambled and anonymous user mode is set automatically to the user. * In JOIN notify handling, mark that the cache entry of the client cannot be expired. Can cause crashes on normal server (asserts client->channels). * Added silcd configuration option Timestamp in the Logging section. * Fixed fingerprint checking to check for entirely empty fingerprint instead of two first bytes when determining if it is set. * Remove server/router operator privileges in DETACH command, since it's possible to resume to server where these privileges would not be allowed. * Do not re-create channel keys and send them when removing clients in server shutdown. * Completed backup router support for standalone routers. Supports also servers in the cell that do not use the backup at all. Server/router operator now receives notify when network switches to backup router and when it resumes the use of primary router. * Added -D option to server. It can be used to give debug level. The levels are from 0 - 99, and are predefined for smooth server debugging. Patch submitted by Lubomir Sedlacik <salo@Xtrmntr.org> in PR 18278.
2002-09-14 04:59:25 +02:00
CONFIGURE_ARGS+= --without-iconv
Update to version 0.9.11 IMPORTANT NOTE: This version does not include backwards support for the old style SILC private key so if you skipped 0.9.10 version you won't be able to run this server without generating new key pair. Changes from 0.9.10 to 0.9.11 ============================= * Workaround GCC bug which causes memory exhaustion when compiling sha1 with optimizations on UltraSPARC. from openbsd * Added some sanity checks in server for correctness of the server configuration. * More log printing during backup router protocol. * Removed backwards support for old private key file format. * Removed backwards support for not-so-strict decryption length check, it's strict now. * Fixed error handling of invalid client entry when calling commands in server. Fixes a crash. * Fixed double free in async host lookup code. * On backup router handle now the SERVER_SIGNOFF from router for local connected servers too, and close the connections. Do not process them as normally signing off servers when they really signoff by sending EOF fe, but always assume that router sends the SERVER_SIGNOFF. * Fixed socket unsetting when closing connections. * Fixed close command to use the port correctly when closing server connections. * Check for NULL outbuf in silc_socket_write. It is possible that it is NULL is some odd case. * Do not call final protocol callback for backup router resuming protocol when closing connection. It is closed by timeout in case of error. * Backup reconnect to router if backup resuming protocol failed. * Fixed double free in SKE library error hadling when signature error occurred. * Fixed double free in invite list adding code when adding invite strings.
2003-01-09 00:56:44 +01:00
CONFIGURE_ARGS+= --without-libtoolfix
Maintainer update of chat/silc-server to version 0.9.5. Changes: buildlink->buildlink2 Main changes from 0.9.2 to 0.9.5 ================================= * Use the primary router as the origin of the locally connected server when it is disconnecting from the backup router since that's where it really is coming from. Now the clients from the disconnecting server are removed correctly and "shadow" clients are not left to the backup router. * If normal server is standalone and found existing but disabled channel, do not re-create the channel since it creates duplicate same channels. * Added anonymous client connections support to server. New "anonymous" configuration option to ConnectionParams section added. If set to true, the username and hostname information of the client will be scrambled and anonymous user mode is set automatically to the user. * In JOIN notify handling, mark that the cache entry of the client cannot be expired. Can cause crashes on normal server (asserts client->channels). * Added silcd configuration option Timestamp in the Logging section. * Fixed fingerprint checking to check for entirely empty fingerprint instead of two first bytes when determining if it is set. * Remove server/router operator privileges in DETACH command, since it's possible to resume to server where these privileges would not be allowed. * Do not re-create channel keys and send them when removing clients in server shutdown. * Completed backup router support for standalone routers. Supports also servers in the cell that do not use the backup at all. Server/router operator now receives notify when network switches to backup router and when it resumes the use of primary router. * Added -D option to server. It can be used to give debug level. The levels are from 0 - 99, and are predefined for smooth server debugging. Patch submitted by Lubomir Sedlacik <salo@Xtrmntr.org> in PR 18278.
2002-09-14 04:59:25 +02:00
# List it into IPv6-ready packages.
Update silc-server to 0.8.1. Update provided by the package maintainer, Lubomir Sedlacik <salo@silcnet.org> in PR pkg/16099, thanks! Changes from 0.8 to 0.8.1 ========================= * IPv6 fixes. IPv6 should work without problems now. * Fixed a minor bug in looking up correct client entry in KICKED notify in server. * Don't change the topic if olod topic is same as new one. * Packet relaying is now done by router without any extra memory allocations. * Fixed the INVITE notify handling. It took wrong arguments as invite list and invite delete. * Added check for INVITE, TOPIC_SET, KICKED, CMODE_CHANGE notify types that particular action is allowed by the client. * Fixed a packet sending bug on very high load, where outgoing packet queue wasn't handled correctly and packets got corrupted. * Added checks for maximum length of channel message payload and private message payload also. * Added checks for maximum packet length in server and in client library. * Added new configuration params: version_protocol, version_software and version_software_vendor to specify what version the remote host must at least be to be able to connect to server. The vendor string can be regex matched too. * Added new function silc_server_connection_allowed to check maximum number of allowed connections, and allowed versions for incoming connections. * Added logging of DISCONNECT packet message in the server. * Check for valid socket connection in client entries before sending any messages. Fixes a crash, but doesn't fix some other underlaying bug that is lurking there. * Added support for specifying multiple public keys for Client connection section in server configuration file. This makes it possible to accept multiple public keys from same host, or to make a section that accepts any incoming host, and have the accepted public keys listed in the section. * Added more error printing to logs in server code.
2002-03-29 12:34:51 +01:00
BUILD_DEFS+= USE_INET6
CONFIGURE_ARGS+= --enable-ipv6
Maintainer update of chat/silc-server to version 0.9.5. Changes: buildlink->buildlink2 Main changes from 0.9.2 to 0.9.5 ================================= * Use the primary router as the origin of the locally connected server when it is disconnecting from the backup router since that's where it really is coming from. Now the clients from the disconnecting server are removed correctly and "shadow" clients are not left to the backup router. * If normal server is standalone and found existing but disabled channel, do not re-create the channel since it creates duplicate same channels. * Added anonymous client connections support to server. New "anonymous" configuration option to ConnectionParams section added. If set to true, the username and hostname information of the client will be scrambled and anonymous user mode is set automatically to the user. * In JOIN notify handling, mark that the cache entry of the client cannot be expired. Can cause crashes on normal server (asserts client->channels). * Added silcd configuration option Timestamp in the Logging section. * Fixed fingerprint checking to check for entirely empty fingerprint instead of two first bytes when determining if it is set. * Remove server/router operator privileges in DETACH command, since it's possible to resume to server where these privileges would not be allowed. * Do not re-create channel keys and send them when removing clients in server shutdown. * Completed backup router support for standalone routers. Supports also servers in the cell that do not use the backup at all. Server/router operator now receives notify when network switches to backup router and when it resumes the use of primary router. * Added -D option to server. It can be used to give debug level. The levels are from 0 - 99, and are predefined for smooth server debugging. Patch submitted by Lubomir Sedlacik <salo@Xtrmntr.org> in PR 18278.
2002-09-14 04:59:25 +02:00
# If you want to debug silc-server, uncomment this.
Update silc-server to 0.8. Patches contributed by Lubomir Sedlacik <salo@Xtrmntr.org> in PR 15779 Changes from 0.7.9 to 0.8: ========================== * Removed 0.6.x backwards support. * Added `prefer_ipv6' argument to the functions silc_net_gethostbyname[_async]. If it is TRUE it will return IPv6 address over IPv4. If FALSE IPv4 address is returned even if IPv6 address was found. * Added support silc_net_create_connection[_async] to fallback to IPv4 address if IPv6 address could not be used (like if it doesn't work on a specific system). Affected file in * Added `user_count' to the SilcChannelEntry which now tells the number of users on the channel. The user count is now saved in normal server of global channels as well. * Added following new config file settings: channel_rekey_secs, key_exchange_rekey, key_exchange_pfs, key_exchange_timeout, conn_auth_timeout, connections_max, links_max. Implemented all the new config settings handling in the server. Optimized the use of SKE Mutual flag usage. Use it only if connection authentication protocol is not based in public key authentication. * Added new configuration options and blocks: keepalive_secs, reconnect_count, reconnect_interval, reconnect_interval_max, reconnect_keep_trying and require_reverser_lookup. Added ConnectionParam block, and implemented the connection parameters when connecting as initiator and when accepting connections as responder. * Splitted the doc/example_silcd.conf.in. Separated the crypto algorithm parts and created new file silcalgs.conf, that is now included from the example_silcd.conf.in. * Optimized the silc_server_connect_to_router_second to take the connection configuration object from the SilcServerConnection object instead of finding it during the connecting phase. Added the configuration object to SilcServerConnection struct. * Fixed the public key authentication to allocate always the destination signature buffer instead of using static buffer. * Added new Passphrase and Publickey authentication methods to config file, allowing both public key and passphrase based authentication to be set at the same time. Added `prefer_passphrase_auth' setting in config file which can be used to set to prefer passwd auth if both passwd and public key is set. If not set, public key is preferred. This has effect only when being initiator (responder will try both anyway). Added support for authentication with passphrase and public key at the same time. The passphrase is tried first always since it is faster to check. * Merged the new SILC Config library, with the server parsing support. Read the header file silcconfig.h or the toolkit documentation for the news.
2002-03-04 00:49:49 +01:00
#
#CONFIGURE_ARGS+= --enable-debug
.if (${MACHINE_ARCH} != "i386")
CONFIGURE_ARGS+= --disable-asm
.endif
Update silc-server to 0.7.6: changes in the package since 0.7.3 to 0.7.6: - rewrite of package's Makefile. big parts of INSTALL and DEINSTALL scripts were moved into Makefile itself - silc-server now creates user silcd:silcd who run silcd by default - INSTALL and DEINSTALL files are smaller and contains only neccessary actions which cannot be executed from Makefile - partial rewrite of rc script, added rcvar support, it is neccessary to have silcd=YES in rc.conf now to start silc server (unless force is used) - changed motd.txt to contain BSD daemon ;) - updated patch-aa and patch-ab files changes in the silc-server software since 0.7.3 to 0.7.6: 0.7.4: This version fixes a crash that can occur mainly on normal server. Upgrading is recommended to avoid instability later. This version also fixes the BAN and INVITE commands that were pretty much broken. This version also disallows a situation where the nickname that server sets initially for the client could be a bad nickname (like nick including whitespaces). It used to be possible but now server checks for this. Johnny also introduces a new logging system to this version with log files being open all the time and not opened every time something is logged, and log rotation support. 0.7.5: Hopefully fixed the most nasty bugs. I found bunch of weird bugs that causes server syncing problems. Upgrading is strongly recommended as soon as possible. 0.7.6: Only a minor bugfix release to fix the CUMODE command that allowed non-founder channel users to remove modes of the founder, and to fix GETKEY always return server's public key if it is requested, and to fix the TOPIC_CHANGE notify to not route it twice to router. Patch submitted by Lubomir Sedlacik <salo@Xtrmntr.org> in PR 15373
2002-01-26 15:43:16 +01:00
post-install:
@${SED} ${FILES_SUBST_SED} ${FILESDIR}/motd.txt \
Maintainer update of chat/silc-server to version 0.9.5. Changes: buildlink->buildlink2 Main changes from 0.9.2 to 0.9.5 ================================= * Use the primary router as the origin of the locally connected server when it is disconnecting from the backup router since that's where it really is coming from. Now the clients from the disconnecting server are removed correctly and "shadow" clients are not left to the backup router. * If normal server is standalone and found existing but disabled channel, do not re-create the channel since it creates duplicate same channels. * Added anonymous client connections support to server. New "anonymous" configuration option to ConnectionParams section added. If set to true, the username and hostname information of the client will be scrambled and anonymous user mode is set automatically to the user. * In JOIN notify handling, mark that the cache entry of the client cannot be expired. Can cause crashes on normal server (asserts client->channels). * Added silcd configuration option Timestamp in the Logging section. * Fixed fingerprint checking to check for entirely empty fingerprint instead of two first bytes when determining if it is set. * Remove server/router operator privileges in DETACH command, since it's possible to resume to server where these privileges would not be allowed. * Do not re-create channel keys and send them when removing clients in server shutdown. * Completed backup router support for standalone routers. Supports also servers in the cell that do not use the backup at all. Server/router operator now receives notify when network switches to backup router and when it resumes the use of primary router. * Added -D option to server. It can be used to give debug level. The levels are from 0 - 99, and are predefined for smooth server debugging. Patch submitted by Lubomir Sedlacik <salo@Xtrmntr.org> in PR 18278.
2002-09-14 04:59:25 +02:00
> ${PREFIX}/share/examples/silcd/motd.txt.default
Update silc-server to 0.7.6: changes in the package since 0.7.3 to 0.7.6: - rewrite of package's Makefile. big parts of INSTALL and DEINSTALL scripts were moved into Makefile itself - silc-server now creates user silcd:silcd who run silcd by default - INSTALL and DEINSTALL files are smaller and contains only neccessary actions which cannot be executed from Makefile - partial rewrite of rc script, added rcvar support, it is neccessary to have silcd=YES in rc.conf now to start silc server (unless force is used) - changed motd.txt to contain BSD daemon ;) - updated patch-aa and patch-ab files changes in the silc-server software since 0.7.3 to 0.7.6: 0.7.4: This version fixes a crash that can occur mainly on normal server. Upgrading is recommended to avoid instability later. This version also fixes the BAN and INVITE commands that were pretty much broken. This version also disallows a situation where the nickname that server sets initially for the client could be a bad nickname (like nick including whitespaces). It used to be possible but now server checks for this. Johnny also introduces a new logging system to this version with log files being open all the time and not opened every time something is logged, and log rotation support. 0.7.5: Hopefully fixed the most nasty bugs. I found bunch of weird bugs that causes server syncing problems. Upgrading is strongly recommended as soon as possible. 0.7.6: Only a minor bugfix release to fix the CUMODE command that allowed non-founder channel users to remove modes of the founder, and to fix GETKEY always return server's public key if it is requested, and to fix the TOPIC_CHANGE notify to not route it twice to router. Patch submitted by Lubomir Sedlacik <salo@Xtrmntr.org> in PR 15373
2002-01-26 15:43:16 +01:00
Maintainer update of chat/silc-server to version 0.9.5. Changes: buildlink->buildlink2 Main changes from 0.9.2 to 0.9.5 ================================= * Use the primary router as the origin of the locally connected server when it is disconnecting from the backup router since that's where it really is coming from. Now the clients from the disconnecting server are removed correctly and "shadow" clients are not left to the backup router. * If normal server is standalone and found existing but disabled channel, do not re-create the channel since it creates duplicate same channels. * Added anonymous client connections support to server. New "anonymous" configuration option to ConnectionParams section added. If set to true, the username and hostname information of the client will be scrambled and anonymous user mode is set automatically to the user. * In JOIN notify handling, mark that the cache entry of the client cannot be expired. Can cause crashes on normal server (asserts client->channels). * Added silcd configuration option Timestamp in the Logging section. * Fixed fingerprint checking to check for entirely empty fingerprint instead of two first bytes when determining if it is set. * Remove server/router operator privileges in DETACH command, since it's possible to resume to server where these privileges would not be allowed. * Do not re-create channel keys and send them when removing clients in server shutdown. * Completed backup router support for standalone routers. Supports also servers in the cell that do not use the backup at all. Server/router operator now receives notify when network switches to backup router and when it resumes the use of primary router. * Added -D option to server. It can be used to give debug level. The levels are from 0 - 99, and are predefined for smooth server debugging. Patch submitted by Lubomir Sedlacik <salo@Xtrmntr.org> in PR 18278.
2002-09-14 04:59:25 +02:00
.include "../../devel/glib/buildlink2.mk"
.include "../../mk/bsd.pkg.mk"