pkgsrc/net/sniproxy/Makefile
wiedi 9ac956f297 Update sniproxy to 0.3.6
Changelog:
2014-09-26  Dustin Lundquist <dustin@null-ptr.net>
	0.3.6 release

	* Improve logging:
	  Fix negative connection duration in access log
	  Include log rotate script
	  Reopen log files on SIGHUP
	  Share file handle to same log file between listeners
	  Avoid unnecessary reconnection to syslog socket
	  Cache timestamp string for current second
	* Man page
	* Packaging improvements:
	  passes lintian and rpm-lint

2014-08-13	Dustin Lundquist <dustin@null-ptr.net>
	0.3.5 release

	* Configuration reloading on SIGHUP
	* SSL 2.0 connection handling: do not treat as an error, use fallback
	address if configured.
	* Fix buffer_coalesce error
	* Spawn privileged child to bind sockets to privileged ports on reload
	* Add -V flag to return sniproxy version
	* Use libev for timestamps to improve portability
	* Include several for BSD compatibility
	* Large file support (for log files)
2014-10-21 12:04:44 +00:00

38 lines
1.1 KiB
Makefile

# $NetBSD: Makefile,v 1.3 2014/10/21 12:04:44 wiedi Exp $
DISTNAME= 0.3.6
PKGNAME= sniproxy-${DISTNAME}
CATEGORIES= net
MASTER_SITES= https://github.com/dlundquist/sniproxy/archive/
MAINTAINER= wiedi@frubar.net
HOMEPAGE= https://github.com/dlundquist/sniproxy/
COMMENT= Proxy that routes based on TLS server name extension
LICENSE= 2-clause-bsd
WRKSRC= ${WRKDIR}/sniproxy-${DISTNAME}
USE_LANGUAGES= c99
USE_TOOLS+= autoconf aclocal automake pkg-config
GNU_CONFIGURE= YES
USE_LIBTOOL= YES
BUILD_DEPENDS+= gettext-m4-[0-9]*:../../devel/gettext-m4
EGDIR= ${PREFIX}/share/examples/${PKGBASE}
CONF_FILES= ${EGDIR}/sniproxy.conf ${PKG_SYSCONFDIR}/sniproxy.conf
CPPFLAGS.SunOS+= -D__EXTENSIONS__ -D_XOPEN_SOURCE=600
LDFLAGS.SunOS+= -lsocket -lnsl
pre-configure:
cd ${WRKSRC} && autoreconf --install && automake --add-missing --copy
post-install:
${INSTALL_DATA_DIR} ${DESTDIR}${EGDIR}
${INSTALL_DATA} ${WRKSRC}/sniproxy.conf ${DESTDIR}${EGDIR}
.include "../../devel/libev/buildlink3.mk"
.include "../../devel/pcre/buildlink3.mk"
.include "../../net/udns/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"