summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--news/inn-current/Makefile11
-rw-r--r--news/inn-current/pkg-plist7
-rw-r--r--news/inn/Makefile11
-rw-r--r--news/inn/pkg-plist7
4 files changed, 30 insertions, 6 deletions
diff --git a/news/inn-current/Makefile b/news/inn-current/Makefile
index c939a658530b..5ce93fac3bb4 100644
--- a/news/inn-current/Makefile
+++ b/news/inn-current/Makefile
@@ -7,6 +7,7 @@
PORTNAME= inn
PORTVERSION= 2.3.1
+PORTREVISION= 1
CATEGORIES= news
MASTER_SITES= ftp://ftp.isc.org/isc/inn/
@@ -59,6 +60,8 @@ MAN8= actsync.8 actsyncd.8 archive.8 batcher.8 buffchan.8 cnfsheadconf.8 \
EXTRA= ${WRKSRC}/HISTORY ${WRKSRC}/INSTALL ${WRKSRC}/LICENSE
+INN_INCLUDES= clibrary.h config.h libinn.h storage.h
+
pre-install:
${MKDIR} ${INN_NEWSSPOOL}
@@ -71,15 +74,19 @@ post-install:
${TOUCH} history ; \
${CHMOD} 644 history ; \
${CHOWN} news:news history ; \
- ../bin/makedbz -i ; \
+ su -fm news -c "../bin/makedbz -i" ; \
for s in dir hash index ; do \
- ${INSTALL} -o news -m 644 history.n.$${s} history.$${s} ; \
+ ${MV} history.n.$${s} history.$${s} ; \
done ; \
fi)
@${SED} <${FILESDIR}/innd.sh >${PREFIX}/etc/rc.d/innd.sh \
s+!!PREFIX!!+${PREFIX}+g && ${CHMOD} +x ${PREFIX}/etc/rc.d/innd.sh
@${MKDIR} ${PREFIX}/share/doc/inn
@${INSTALL_DATA} ${EXTRA} ${PREFIX}/share/doc/inn
+ @${MKDIR} ${PREFIX}/news/include
+.for FILE in ${INN_INCLUDES}
+ @${INSTALL_DATA} ${WRKSRC}/include/${FILE} ${PREFIX}/news/include/
+.endfor
@${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL
.include <bsd.port.mk>
diff --git a/news/inn-current/pkg-plist b/news/inn-current/pkg-plist
index 94c33da99e15..315ab4bc6d49 100644
--- a/news/inn-current/pkg-plist
+++ b/news/inn-current/pkg-plist
@@ -135,6 +135,10 @@ news/etc/radius.conf
news/etc/readers.conf
news/etc/sasl.conf
news/etc/storage.conf
+news/include/clibrary.h
+news/include/config.h
+news/include/libinn.h
+news/include/storage.h
news/lib/docheckgroups
news/lib/innreport_inn.pm
news/lib/innshellvars
@@ -157,6 +161,7 @@ share/doc/inn/LICENSE
@dirrm news/spool
@dirrm news/run
@dirrm news/lib
+@dirrm news/include
@dirrm news/etc
@dirrm news/db
@dirrm news/bin/rnews.libexec
@@ -166,4 +171,4 @@ share/doc/inn/LICENSE
@dirrm news/bin/auth/passwd
@dirrm news/bin/auth
@dirrm news/bin
-@dirrm news
+@dirrm news
diff --git a/news/inn/Makefile b/news/inn/Makefile
index c939a658530b..5ce93fac3bb4 100644
--- a/news/inn/Makefile
+++ b/news/inn/Makefile
@@ -7,6 +7,7 @@
PORTNAME= inn
PORTVERSION= 2.3.1
+PORTREVISION= 1
CATEGORIES= news
MASTER_SITES= ftp://ftp.isc.org/isc/inn/
@@ -59,6 +60,8 @@ MAN8= actsync.8 actsyncd.8 archive.8 batcher.8 buffchan.8 cnfsheadconf.8 \
EXTRA= ${WRKSRC}/HISTORY ${WRKSRC}/INSTALL ${WRKSRC}/LICENSE
+INN_INCLUDES= clibrary.h config.h libinn.h storage.h
+
pre-install:
${MKDIR} ${INN_NEWSSPOOL}
@@ -71,15 +74,19 @@ post-install:
${TOUCH} history ; \
${CHMOD} 644 history ; \
${CHOWN} news:news history ; \
- ../bin/makedbz -i ; \
+ su -fm news -c "../bin/makedbz -i" ; \
for s in dir hash index ; do \
- ${INSTALL} -o news -m 644 history.n.$${s} history.$${s} ; \
+ ${MV} history.n.$${s} history.$${s} ; \
done ; \
fi)
@${SED} <${FILESDIR}/innd.sh >${PREFIX}/etc/rc.d/innd.sh \
s+!!PREFIX!!+${PREFIX}+g && ${CHMOD} +x ${PREFIX}/etc/rc.d/innd.sh
@${MKDIR} ${PREFIX}/share/doc/inn
@${INSTALL_DATA} ${EXTRA} ${PREFIX}/share/doc/inn
+ @${MKDIR} ${PREFIX}/news/include
+.for FILE in ${INN_INCLUDES}
+ @${INSTALL_DATA} ${WRKSRC}/include/${FILE} ${PREFIX}/news/include/
+.endfor
@${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL
.include <bsd.port.mk>
diff --git a/news/inn/pkg-plist b/news/inn/pkg-plist
index 94c33da99e15..315ab4bc6d49 100644
--- a/news/inn/pkg-plist
+++ b/news/inn/pkg-plist
@@ -135,6 +135,10 @@ news/etc/radius.conf
news/etc/readers.conf
news/etc/sasl.conf
news/etc/storage.conf
+news/include/clibrary.h
+news/include/config.h
+news/include/libinn.h
+news/include/storage.h
news/lib/docheckgroups
news/lib/innreport_inn.pm
news/lib/innshellvars
@@ -157,6 +161,7 @@ share/doc/inn/LICENSE
@dirrm news/spool
@dirrm news/run
@dirrm news/lib
+@dirrm news/include
@dirrm news/etc
@dirrm news/db
@dirrm news/bin/rnews.libexec
@@ -166,4 +171,4 @@ share/doc/inn/LICENSE
@dirrm news/bin/auth/passwd
@dirrm news/bin/auth
@dirrm news/bin
-@dirrm news
+@dirrm news