- Update to 1.0.12

- Make portlint/portclippy happy

PR:		246752
Submitted by:	kaltheat@gmail.com (maintainer)
Approved by:	mentors (implicit)
Changelog:	https://sourceforge.net/p/motsognir/code/HEAD/tree/tags/v1.0.12/changes.txt
This commit is contained in:
Hiroki Tagato 2020-05-31 10:38:35 +00:00
parent 6f0e1c69da
commit 689ff6ef2a
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=537148
4 changed files with 23 additions and 6 deletions

View File

@ -1,7 +1,7 @@
# $FreeBSD$
PORTNAME= motsognir
PORTVERSION= 1.0.9
PORTVERSION= 1.0.12
CATEGORIES= net
MASTER_SITES= SF/${PORTNAME}/v${PORTVERSION}
@ -11,10 +11,10 @@ COMMENT= Full-featured gopher server without dependencies
LICENSE= GPLv3
LICENSE_FILE= ${WRKSRC}/license.txt
SUB_FILES= pkg-message
USES= tar:xz
USE_RC_SUBR= motsognir
USES= tar:xz
SUB_FILES= pkg-message
PLIST_FILES= bin/motsognir \
"@sample etc/motsognir.conf.sample" \

View File

@ -1,3 +1,3 @@
TIMESTAMP = 1473181073
SHA256 (motsognir-1.0.9.tar.xz) = 85d3a37472e5d13367ab44655c3304bf222ec9b81cd4ba57a98e6f1fc5096a06
SIZE (motsognir-1.0.9.tar.xz) = 991436
TIMESTAMP = 1590494017
SHA256 (motsognir-1.0.12.tar.xz) = b9d67df7bde3151d66000a9605cac2f15cca888e7cd174ae384d0835b4c54de5
SIZE (motsognir-1.0.12.tar.xz) = 812876

View File

@ -0,0 +1,13 @@
--- motsognir.c.orig 2019-07-07 18:44:09.203615614 +0000
+++ motsognir.c 2020-05-26 12:57:14.435049000 +0000
@@ -59,6 +59,10 @@
#define CONFIGFILE "/etc/motsognir.conf"
#endif
+/* in FreeBSD there is no MSG_MORE by default */
+#ifndef MSG_MORE
+ #define MSG_MORE 0
+#endif
#define CFG_SUBGOPHERMAPS 1
#define CFG_CAPSSUPPORT 2

View File

@ -22,6 +22,8 @@ You might need to add the following line to /etc/syslog.conf
if you want to keep log informations of Motsognir. Some of them go to
/var/log/messages, but connection informations go to LOG_INFO.
Since version 1.0.12 you can also configure the log facility
(see LogFacility in motsognir.conf).
Motsognir will serve files in /var/gopher/ per default.
@ -31,6 +33,8 @@ Note that Motsognir tries to use an inet6/ipv6 socket. Therefore it needs
access to an interface where ipv6 is enabled (for instance if you run
Motsognir in a jail). This holds even if you want to bind it to an ipv4
address.
Since version 1.0.11 you can disable IPv6 (see disableipv6 in
motsognir.conf).
EOM
}
]