Lines 7-12
Link Here
|
7 |
|
7 |
|
8 |
PORTNAME= inn |
8 |
PORTNAME= inn |
9 |
PORTVERSION= 2.4.0 |
9 |
PORTVERSION= 2.4.0 |
|
|
10 |
PORTREVISION= 1 |
10 |
CATEGORIES= news ipv6 |
11 |
CATEGORIES= news ipv6 |
11 |
MASTER_SITES= ${MASTER_SITE_ISC} |
12 |
MASTER_SITES= ${MASTER_SITE_ISC} |
12 |
MASTER_SITE_SUBDIR= inn |
13 |
MASTER_SITE_SUBDIR= inn |
Lines 29-46
Link Here
|
29 |
INN_NEWSLOG?=/var/log/news |
30 |
INN_NEWSLOG?=/var/log/news |
30 |
|
31 |
|
31 |
HAS_CONFIGURE= yes |
32 |
HAS_CONFIGURE= yes |
32 |
CONFIGURE_ARGS+= --mandir=${PREFIX}/man |
33 |
CONFIGURE_ARGS+= --mandir=${PREFIX}/man \ |
33 |
CONFIGURE_ARGS+= --prefix=${PREFIX}/news |
34 |
--prefix=${PREFIX}/news \ |
34 |
CONFIGURE_ARGS+= --with-spool-dir=${INN_NEWSSPOOL} |
35 |
--with-spool-dir=${INN_NEWSSPOOL} \ |
35 |
CONFIGURE_ARGS+= --with-log-dir=${INN_NEWSLOG} |
36 |
--with-log-dir=${INN_NEWSLOG} \ |
36 |
CONFIGURE_ARGS+= --with-perl |
37 |
--with-perl \ |
37 |
CONFIGURE_ARGS+= --with-tmp-path=${INN_NEWSSPOOL}/tmp |
38 |
--with-tmp-path=${INN_NEWSSPOOL}/tmp \ |
|
|
39 |
--with-openssl \ |
40 |
--enable-ipv6 |
41 |
|
42 |
.if defined(WITH_PYTHON) |
43 |
USE_PYTHON= YES |
44 |
CONFIGURE_ARGS+= --with-python |
45 |
.endif |
46 |
|
47 |
.if defined(WITH_TAGGED_HASH) |
48 |
CONFIGURE_ARGS+= --enable-tagged-hash |
49 |
DBZ_FILES= dir pag |
50 |
PLIST_SUB= SUB_WITH_TAGGED_HASH="" |
51 |
PLIST_SUB+= SUB_WITHOUT_TAGGED_HASH="@comment " |
52 |
.else |
38 |
CONFIGURE_ARGS+= --enable-largefiles |
53 |
CONFIGURE_ARGS+= --enable-largefiles |
39 |
CONFIGURE_ARGS+= --with-openssl |
54 |
DBZ_FILES= dir hash index |
40 |
CONFIGURE_ARGS+= --enable-ipv6 |
55 |
PLIST_SUB= SUB_WITH_TAGGED_HASH="@comment " |
|
|
56 |
PLIST_SUB+= SUB_WITHOUT_TAGGED_HASH="" |
57 |
.endif |
41 |
|
58 |
|
42 |
EXTRA= CONTRIBUTORS HACKING INSTALL LICENSE MANIFEST NEWS README TODO |
59 |
EXTRA= CONTRIBUTORS HACKING INSTALL LICENSE MANIFEST NEWS README TODO |
43 |
HEADERS=clibrary.h config.h dbz.h libinn.h storage.h |
60 |
HEADERS= clibrary.h config.h dbz.h libinn.h storage.h |
44 |
|
61 |
|
45 |
MAN1= convdate.1 fastrm.1 getlist.1 grephistory.1 inews.1 innconfval.1 \ |
62 |
MAN1= convdate.1 fastrm.1 getlist.1 grephistory.1 inews.1 innconfval.1 \ |
46 |
innfeed.1 innmail.1 nntpget.1 pgpverify.1 rnews.1 shlock.1 \ |
63 |
innfeed.1 innmail.1 nntpget.1 pgpverify.1 rnews.1 shlock.1 \ |
Lines 64-72
Link Here
|
64 |
radius.8 rc.news.8 scanlogs.8 send-nntp.8 send-uucp.8 sendinpaths.8 \ |
81 |
radius.8 rc.news.8 scanlogs.8 send-nntp.8 send-uucp.8 sendinpaths.8 \ |
65 |
tally.control.8 tdx-util.8 writelog.8 |
82 |
tally.control.8 tdx-util.8 writelog.8 |
66 |
|
83 |
|
67 |
do-install: |
84 |
post-install: |
68 |
${MKDIR} ${INN_NEWSSPOOL} |
85 |
${MKDIR} ${INN_NEWSSPOOL} |
69 |
(cd ${WRKSRC} && ${GMAKE} install) |
|
|
70 |
.if !defined(NOPORTDOCS) |
86 |
.if !defined(NOPORTDOCS) |
71 |
${MKDIR} ${DOCSDIR} |
87 |
${MKDIR} ${DOCSDIR} |
72 |
.for FILE in ${EXTRA} |
88 |
.for FILE in ${EXTRA} |
Lines 79-86
Link Here
|
79 |
.endfor |
95 |
.endfor |
80 |
@${SED} <${FILESDIR}/innd.sh >${PREFIX}/etc/rc.d/innd.sh \ |
96 |
@${SED} <${FILESDIR}/innd.sh >${PREFIX}/etc/rc.d/innd.sh \ |
81 |
s+!!PREFIX!!+${PREFIX}+g && ${CHMOD} +x ${PREFIX}/etc/rc.d/innd.sh |
97 |
s+!!PREFIX!!+${PREFIX}+g && ${CHMOD} +x ${PREFIX}/etc/rc.d/innd.sh |
82 |
|
|
|
83 |
post-install: |
84 |
@${CHOWN} root:news ${PREFIX}/news/bin/auth/passwd/ckpasswd |
98 |
@${CHOWN} root:news ${PREFIX}/news/bin/auth/passwd/ckpasswd |
85 |
@${CHMOD} 4755 ${PREFIX}/news/bin/auth/passwd/ckpasswd |
99 |
@${CHMOD} 4755 ${PREFIX}/news/bin/auth/passwd/ckpasswd |
86 |
@(if [ ! -f ${PREFIX}/news/db/history ] ; then \ |
100 |
@(if [ ! -f ${PREFIX}/news/db/history ] ; then \ |
Lines 90-96
Link Here
|
90 |
${CHMOD} 644 history ; \ |
104 |
${CHMOD} 644 history ; \ |
91 |
${CHOWN} news:news history ; \ |
105 |
${CHOWN} news:news history ; \ |
92 |
su -fm news -c "../bin/makedbz -i" ; \ |
106 |
su -fm news -c "../bin/makedbz -i" ; \ |
93 |
for s in dir hash index ; do \ |
107 |
for s in ${DBZ_FILES} ; do \ |
94 |
${MV} history.n.$${s} history.$${s} ; \ |
108 |
${MV} history.n.$${s} history.$${s} ; \ |
95 |
done ; \ |
109 |
done ; \ |
96 |
fi) |
110 |
fi) |