View | Details | Raw Unified | Return to bug 207141
Collapse All | Expand All

(-)Makefile (-2 / +4 lines)
Lines 2-7 Link Here
2
2
3
PORTNAME=	motsognir
3
PORTNAME=	motsognir
4
PORTVERSION=	1.0.8
4
PORTVERSION=	1.0.8
5
PORTREVISION=	1
5
CATEGORIES=	net
6
CATEGORIES=	net
6
MASTER_SITES=	SF/${PORTNAME}/v${PORTVERSION}
7
MASTER_SITES=	SF/${PORTNAME}/v${PORTVERSION}
7
8
Lines 10-24 Link Here
10
11
11
LICENSE=	GPLv3
12
LICENSE=	GPLv3
12
13
14
SUB_FILES=	pkg-message
13
USE_RC_SUBR=	motsognir
15
USE_RC_SUBR=	motsognir
14
16
15
PLIST_FILES=	bin/motsognir \
17
PLIST_FILES=	bin/motsognir \
16
		etc/motsognir.conf \
18
		"@sample etc/motsognir.conf.sample" \
17
		man/man8/motsognir.8.gz
19
		man/man8/motsognir.8.gz
18
20
19
do-install:
21
do-install:
20
	${INSTALL_PROGRAM} ${WRKSRC}/motsognir ${STAGEDIR}${PREFIX}/bin/motsognir
22
	${INSTALL_PROGRAM} ${WRKSRC}/motsognir ${STAGEDIR}${PREFIX}/bin/motsognir
21
	${INSTALL_DATA} ${WRKSRC}/motsognir.conf ${STAGEDIR}${PREFIX}/etc/motsognir.conf
23
	${INSTALL_DATA} ${WRKSRC}/motsognir.conf ${STAGEDIR}${PREFIX}/etc/motsognir.conf.sample
22
	${INSTALL_MAN} ${WRKSRC}/motsognir.8.gz ${STAGEDIR}${MANPREFIX}/man/man8/motsognir.8.gz
24
	${INSTALL_MAN} ${WRKSRC}/motsognir.8.gz ${STAGEDIR}${MANPREFIX}/man/man8/motsognir.8.gz
23
25
24
.include <bsd.port.mk>
26
.include <bsd.port.mk>
(-)files/pkg-message.in (+32 lines)
Line 0 Link Here
1
==========================================================================
2
Please configure Motsognir using
3
4
  %%PREFIX%%/etc/motsognir.conf
5
6
7
Add the following line to /etc/rc.conf to enable Motsognir:
8
9
  motsognir_enable="YES"
10
11
12
Then you can start Motsognir daemon by issuing the following command:
13
14
  %%PREFIX%%/etc/rc.d/motsognir start
15
16
17
You might need to add the following line to /etc/syslog.conf
18
19
  daemon.*                                        /var/log/daemon.log
20
21
if you want to keep log informations of Motsognir. Some of them go to
22
/var/log/messages, but connection informations go to LOG_INFO.
23
24
25
Motsognir will serve files in /var/gopher/ per default.
26
27
28
Note that Motsognir tries to use an inet6/ipv6 socket. Therefore it needs
29
access to an interface where ipv6 is enabled (for instance if you run
30
Motsognir in a jail). This holds even if you want to bind it to an ipv4
31
address.
32
==========================================================================

Return to bug 207141