Install fix and @dirrm removal.

Submitted by:	olgeni
This commit is contained in:
Cy Schubert 2014-10-24 08:01:24 +00:00
parent 9603a6f9f7
commit e0dcf0a895
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=371424
2 changed files with 3 additions and 15 deletions

View file

@ -3,7 +3,7 @@
PORTNAME= racoon2
PORTVERSION= 20100526a
PORTREVISION= 5
PORTREVISION= 6
CATEGORIES= security net ipv6
MASTER_SITES= ftp://ftp.racoon2.wide.ad.jp/pub/racoon2/
@ -67,6 +67,7 @@ post-configure:
@${REINPLACE_CMD} -e '/^prefix=/s|/usr/local|${STAGEDIR}${PREFIX}|;/\/var\/run\/racoon2/d' ${WRKSRC}/samples/Makefile
post-install:
${MKDIR} ${STAGEDIR}/var/run/racoon2
.if ${PORT_OPTIONS:MDOCS}
${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/COPYRIGHT ${STAGEDIR}${DOCSDIR}

View file

@ -37,17 +37,4 @@ man/man8/iked.8.gz
%%KINK%%man/man8/kinkd.8.gz
@exec test -f %%PFX%%/etc/racoon2/spmd.pwd && mv %%PFX%%/etc/racoon2/spmd.pwd %%PFX%%/etc/racoon2/spmd.pwd.bak && %%PFX%%/pskgen -r -o %%PFX%%/etc/racoon2/spmd.pwd
@unexec rm -f %%PFX/etc/racoon2/spmd.pwd
@exec /usr/sbin/install -d -o 0 -g 0 -m 700 /var/run/racoon2
@dirrm etc/racoon2/cert
@dirrm etc/racoon2/hook/ph1-up.d
@dirrm etc/racoon2/hook/ph1-down.d
@dirrm etc/racoon2/hook/migration.d
@dirrm etc/racoon2/hook/ikesa-up.d
@dirrm etc/racoon2/hook/ikesa-rekey.d
@dirrm etc/racoon2/hook/ikesa-down.d
@dirrm etc/racoon2/hook/child-up.d
@dirrm etc/racoon2/hook/child-rekey.d
@dirrm etc/racoon2/hook/child-down.d
@dirrm etc/racoon2/hook
@dirrm etc/racoon2/psk
@dirrm etc/racoon2
@dir(root,wheel,700) /var/run/racoon2