aboutsummaryrefslogtreecommitdiff
path: root/dns/skadns
diff options
context:
space:
mode:
authorSergei Kolobov <sergei@FreeBSD.org>2004-01-02 22:28:35 +0000
committerSergei Kolobov <sergei@FreeBSD.org>2004-01-02 22:28:35 +0000
commit1834ff920664b236dc7eedef2a7960fdcbfb8852 (patch)
tree5245f6f2711ba65c696dca423ab5853f5c71aee1 /dns/skadns
parent9c6b3192c9c700203f20be24b475b056b4419d44 (diff)
downloadports-1834ff920664b236dc7eedef2a7960fdcbfb8852.tar.gz
ports-1834ff920664b236dc7eedef2a7960fdcbfb8852.zip
Notes
Diffstat (limited to 'dns/skadns')
-rw-r--r--dns/skadns/Makefile24
-rw-r--r--dns/skadns/distinfo2
-rw-r--r--dns/skadns/pkg-plist6
3 files changed, 17 insertions, 15 deletions
diff --git a/dns/skadns/Makefile b/dns/skadns/Makefile
index b08220d63096..96204f555aa6 100644
--- a/dns/skadns/Makefile
+++ b/dns/skadns/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= skadns
-PORTVERSION= 0.23
+PORTVERSION= 0.24
CATEGORIES= dns devel
MASTER_SITES= http://www.skarnet.org/software/${PORTNAME}/
@@ -18,6 +18,7 @@ BUILD_DEPENDS= ${LOCALBASE}/lib/skalibs/libstddjb.a:${PORTSDIR}/devel/skalibs
USE_REINPLACE= yes
LDFLAGS?= -s
+STRIPFLAGS?= -x
WRKSRC= ${WRKDIR}/web/${DISTNAME}
@@ -25,14 +26,17 @@ DOCS= package/CHANGES package/README package/THANKS package/TODO \
doc/*.html
do-configure:
- ${ECHO_CMD} "${CC} ${CFLAGS}" > ${WRKSRC}/src/sys/conf-cc
- ${ECHO_CMD} "${CC} ${LDFLAGS}" > ${WRKSRC}/src/sys/conf-ld
+ ${ECHO_CMD} "${CC} ${CFLAGS}" > ${WRKSRC}/conf-compile/conf-cc
+ ${ECHO_CMD} "${CC} ${LDFLAGS}" > ${WRKSRC}/conf-compile/conf-ld
+ ${ECHO_CMD} "${STRIP_CMD}" > ${WRKSRC}/conf-compile/conf-stripbins
+ ${ECHO_CMD} "${STRIP_CMD} ${STRIPFLAGS}" > ${WRKSRC}/conf-compile/conf-striplibs
${ECHO_CMD} "FreeBSD" > ${WRKSRC}/src/sys/systype
- ${ECHO_CMD} "${LOCALBASE}/include/skalibs" > ${WRKSRC}/package/import
- ${ECHO_CMD} "${LOCALBASE}/lib/skalibs" >> ${WRKSRC}/package/import
+ ${TOUCH} ${WRKSRC}/src/skadns/socket.lib
+ ${ECHO_CMD} "${LOCALBASE}/include/skalibs" > ${WRKSRC}/conf-compile/import
+ ${ECHO_CMD} "${LOCALBASE}/lib/skalibs" >> ${WRKSRC}/conf-compile/import
${REINPLACE_CMD} -e 's,/service/skadnsd/.,/var/run/,' \
- -e 's,/package/web/skadns/command,${PREFIX}/bin,' \
- ${WRKSRC}/src/skadns/skadns.h
+ -e 's,\$PACKAGE_HOME/skadns/command,${PREFIX}/bin,' \
+ ${WRKSRC}/src/skadns/skadns.h.stupid
do-build:
cd ${WRKSRC} && package/compile
@@ -42,9 +46,9 @@ do-install:
@${MKDIR} ${PREFIX}/include/${PORTNAME}
${INSTALL_DATA} ${WRKSRC}/include/* ${PREFIX}/include/${PORTNAME}
${INSTALL_DATA} ${WRKSRC}/library/* ${PREFIX}/lib
- @${MKDIR} ${EXAMPLESDIR}/service
- cd ${WRKSRC}/service/skadnsd && ${TAR} cf - * | \
- (cd ${EXAMPLESDIR}/service && ${TAR} xf -)
+ @${MKDIR} ${EXAMPLESDIR}/service/log
+ ${INSTALL_SCRIPT} ${WRKSRC}/service/skadnsd/run ${EXAMPLESDIR}/service
+ ${INSTALL_SCRIPT} ${WRKSRC}/service/skadnsd/log/run ${EXAMPLESDIR}/service/log
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
cd ${WRKSRC} && ${INSTALL_DATA} ${DOCS} ${DOCSDIR}
diff --git a/dns/skadns/distinfo b/dns/skadns/distinfo
index 34247a68306b..044ad77013ce 100644
--- a/dns/skadns/distinfo
+++ b/dns/skadns/distinfo
@@ -1 +1 @@
-MD5 (skadns-0.23.tar.gz) = 68c018d2e9b7a5b16695643ea1a899f0
+MD5 (skadns-0.24.tar.gz) = 947b3d3c988517fdc4c2e2eb14897765
diff --git a/dns/skadns/pkg-plist b/dns/skadns/pkg-plist
index 04e4a76401c7..f7f5955444c2 100644
--- a/dns/skadns/pkg-plist
+++ b/dns/skadns/pkg-plist
@@ -18,10 +18,8 @@ lib/libskadns.a
%%PORTDOCS%%%%DOCSDIR%%/skadnsmx.html
%%PORTDOCS%%%%DOCSDIR%%/upgrade.html
%%PORTDOCS%%@dirrm %%DOCSDIR%%
-%%EXAMPLESDIR%%/service/log/run.exl
-%%EXAMPLESDIR%%/service/log/run.sh
-%%EXAMPLESDIR%%/service/run.exl
-%%EXAMPLESDIR%%/service/run.sh
+%%EXAMPLESDIR%%/service/log/run
+%%EXAMPLESDIR%%/service/run
@dirrm %%EXAMPLESDIR%%/service/log
@dirrm %%EXAMPLESDIR%%/service
@dirrm %%EXAMPLESDIR%%