summaryrefslogtreecommitdiff
path: root/dns
diff options
context:
space:
mode:
authorPav Lucistnik <pav@FreeBSD.org>2004-03-02 17:17:21 +0000
committerPav Lucistnik <pav@FreeBSD.org>2004-03-02 17:17:21 +0000
commit651411a1182f3e80f291d7b2cdf140e728a8bb26 (patch)
treebb3014e44e097fba9b74e0ee1870a0e12a15184a /dns
parentMake the variable definition syntax more like make(1)'s, and update the (diff)
Add crossip, a Cross Platform DNS update client, written in java. CrossIP uses the
ThatIP protocol version 1.1 to send DNS update requests. It manages DNS records, update history, and allows for per record configuration. It also includes a wizard for generation of configuration files. PR: ports/62760 Submitted by: Dan Smith <dan@algenta.com>
Notes
Notes: svn path=/head/; revision=102748
Diffstat (limited to 'dns')
-rw-r--r--dns/Makefile1
-rw-r--r--dns/crossip/Makefile38
-rw-r--r--dns/crossip/distinfo2
-rw-r--r--dns/crossip/files/wrapper.sh6
-rw-r--r--dns/crossip/pkg-descr11
-rw-r--r--dns/crossip/pkg-plist27
6 files changed, 85 insertions, 0 deletions
diff --git a/dns/Makefile b/dns/Makefile
index 3acf204677b5..1619331659e2 100644
--- a/dns/Makefile
+++ b/dns/Makefile
@@ -8,6 +8,7 @@
SUBDIR += bind9
SUBDIR += bind9-dlz
SUBDIR += bind9-sdb-mysql
+ SUBDIR += crossip
SUBDIR += ddclient
SUBDIR += ddup
SUBDIR += dhid
diff --git a/dns/crossip/Makefile b/dns/crossip/Makefile
new file mode 100644
index 000000000000..7d0c8c9e396a
--- /dev/null
+++ b/dns/crossip/Makefile
@@ -0,0 +1,38 @@
+# New ports collection makefile for: CrossIP
+# Date created: Mon Feb 9 20:27:00 CST 2004
+# Whom: Dan Smith <dan@algenta.com>
+#
+# $FreeBSD$
+#
+
+PORTNAME= crossip
+PORTVERSION= 1.2
+CATEGORIES= dns java
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
+MASTER_SITE_SUBDIR= ${PORTNAME:L}
+DISTNAME= ${PORTNAME:L}-${PORTVERSION:S/.p/-pre/:S/.b/-beta/}
+
+MAINTAINER= dan@algenta.com
+COMMENT= CrossIP is a java DNS update client for the ThatIP protocol
+
+USE_JAVA= 1.2+
+USE_ZIP= yes
+
+NO_BUILD= yes
+NO_BUILD_DEPENDS_JAVA= yes
+
+JAVA_VM= ${LOCALBASE}/bin/javavm
+TARGET_DIR= ${JAVASHAREDIR}/${PKGNAME}
+
+post-patch:
+ @${SED} -e "s|%%JAR_DIR%%|${JAVAJARDIR}|;s|%%JAVAVM%%|${JAVA_VM}|" \
+ ${FILESDIR}/wrapper.sh > ${WRKDIR}/wrapper.sh
+
+do-install:
+ ${MKDIR} ${JAVAJARDIR}
+ ${MKDIR} ${TARGET_DIR}
+ ${CP} -R ${WRKSRC}/* ${TARGET_DIR}
+ ${LN} -sf ${TARGET_DIR}/lib/CrossIP.jar ${JAVAJARDIR}/CrossIP.jar
+ @${INSTALL_SCRIPT} ${WRKDIR}/wrapper.sh ${PREFIX}/bin/${PORTNAME:L}
+
+.include <bsd.port.mk>
diff --git a/dns/crossip/distinfo b/dns/crossip/distinfo
new file mode 100644
index 000000000000..9edf0d631edf
--- /dev/null
+++ b/dns/crossip/distinfo
@@ -0,0 +1,2 @@
+MD5 (crossip-1.2.zip) = ff55022a5899e0a24964b383cc9c5c82
+SIZE (crossip-1.2.zip) = 65233
diff --git a/dns/crossip/files/wrapper.sh b/dns/crossip/files/wrapper.sh
new file mode 100644
index 000000000000..92cee97d6b7a
--- /dev/null
+++ b/dns/crossip/files/wrapper.sh
@@ -0,0 +1,6 @@
+#!/bin/sh
+
+JAVAVM="%%JAVAVM%%"
+JAR_DIR="%%JAR_DIR%%"
+
+${JAVAVM} -jar ${JAR_DIR}/CrossIP.jar "${@}"
diff --git a/dns/crossip/pkg-descr b/dns/crossip/pkg-descr
new file mode 100644
index 000000000000..e2b39a2ef7d4
--- /dev/null
+++ b/dns/crossip/pkg-descr
@@ -0,0 +1,11 @@
+A Cross Platform DNS update client, written in java. CrossIP uses the
+ThatIP protocol version 1.1 to send DNS update requests. It manages DNS
+records, update history, and allows for per record configuration. It also
+includes a wizard for generation of configuration files.
+
+http://www.thatip.com/crossip/
+
+WWW: http://www.thatip.com/
+
+-Dan Smith
+ dan@algenta.com
diff --git a/dns/crossip/pkg-plist b/dns/crossip/pkg-plist
new file mode 100644
index 000000000000..76320fecf6ca
--- /dev/null
+++ b/dns/crossip/pkg-plist
@@ -0,0 +1,27 @@
+bin/crossip
+share/java/classes/CrossIP.jar
+share/java/crossip-1.2/LICENSE.txt
+share/java/crossip-1.2/README.txt
+share/java/crossip-1.2/bin/com/algenta/crossip/Actions.class
+share/java/crossip-1.2/bin/com/algenta/crossip/Config.class
+share/java/crossip-1.2/bin/com/algenta/crossip/ConfigFileException.class
+share/java/crossip-1.2/bin/com/algenta/crossip/CrossIP.class
+share/java/crossip-1.2/bin/com/algenta/crossip/CrossIPConstants.class
+share/java/crossip-1.2/bin/com/algenta/crossip/CrossIPException.class
+share/java/crossip-1.2/lib/CrossIP.jar
+share/java/crossip-1.2/src/com/algenta/crossip/Actions.java
+share/java/crossip-1.2/src/com/algenta/crossip/Config.java
+share/java/crossip-1.2/src/com/algenta/crossip/ConfigFileException.java
+share/java/crossip-1.2/src/com/algenta/crossip/CrossIP.java
+share/java/crossip-1.2/src/com/algenta/crossip/CrossIPConstants.java
+share/java/crossip-1.2/src/com/algenta/crossip/CrossIPException.java
+@dirrm share/java/crossip-1.2/src/com/algenta/crossip
+@dirrm share/java/crossip-1.2/src/com/algenta
+@dirrm share/java/crossip-1.2/src/com
+@dirrm share/java/crossip-1.2/src
+@dirrm share/java/crossip-1.2/lib
+@dirrm share/java/crossip-1.2/bin/com/algenta/crossip
+@dirrm share/java/crossip-1.2/bin/com/algenta
+@dirrm share/java/crossip-1.2/bin/com
+@dirrm share/java/crossip-1.2/bin
+@dirrm share/java/crossip-1.2