moved openbsd/* to openbsd/fwknop-2.0.3/ now that Vlad Glagolev has contributed an...
authorMichael Rash <mbr@cipherdyne.org>
Fri, 14 Dec 2012 02:05:31 +0000 (21:05 -0500)
committerMichael Rash <mbr@cipherdyne.org>
Fri, 14 Dec 2012 02:05:31 +0000 (21:05 -0500)
extras/openbsd/fwknop-2.0.3/Makefile [new file with mode: 0644]
extras/openbsd/fwknop-2.0.3/distinfo [moved from extras/openbsd/distinfo with 100% similarity]
extras/openbsd/fwknop-2.0.3/patches/patch-lib_fko_decode_c [moved from extras/openbsd/patches/patch-lib_fko_decode_c with 100% similarity]
extras/openbsd/fwknop-2.0.3/patches/patch-server_replay_cache_c [moved from extras/openbsd/patches/patch-server_replay_cache_c with 100% similarity]

diff --git a/extras/openbsd/fwknop-2.0.3/Makefile b/extras/openbsd/fwknop-2.0.3/Makefile
new file mode 100644 (file)
index 0000000..a5a5f9b
--- /dev/null
@@ -0,0 +1,46 @@
+# $OpenBSD$
+
+COMMENT=               Single Packet Authorization and Port Knocking
+
+VERSION=               2.0.3
+DISTNAME=              fwknop-${VERSION}
+EXTRACT_SUFX=          .tar.bz2
+CATEGORIES=            net security mystuff
+
+MAINTAINER=            Vlad Glagolev <stealth@sourcemage.org>
+
+HOMEPAGE=              http://www.cipherdyne.org/fwknop/
+
+MASTER_SITES=          http://www.cipherdyne.org/fwknop/download/
+
+SHARED_LIBS+=          fko     0.3
+
+# GPL
+PERMIT_PACKAGE_CDROM=  Yes
+PERMIT_PACKAGE_FTP=    Yes
+PERMIT_DISTFILES_CDROM=        Yes
+PERMIT_DISTFILES_FTP=  Yes
+
+WANTLIB=               c pcap iconv intl
+WANTLIB+=              gpg-error gpgme assuan
+WANTLIB+=              gdbm
+
+CONFIGURE_STYLE=       gnu
+USE_GMAKE=             Yes
+USE_GROFF=             Yes
+
+# fixes GDBM detection
+CONFIGURE_ENV=         LDFLAGS="-L${LOCALBASE}/lib" \
+                       CFLAGS="-I${LOCALBASE}/include"
+
+CONFIGURE_ARGS+=       --localstatedir='$${DESTDIR}/var' \
+                       --enable-client \
+                       --enable-server \
+                       --enable-digest-cache \
+                       --disable-file-cache \
+                       --with-gpgme
+
+LIB_DEPENDS+=          databases/gdbm
+LIB_DEPENDS+=          security/gpgme
+
+.include <bsd.port.mk>