[Midnightbsd-cvs] mports [18672] trunk/irc/ngircd: ngircd 22

laffer1 at midnightbsd.org laffer1 at midnightbsd.org
Sun Apr 12 12:23:53 EDT 2015


Revision: 18672
          http://svnweb.midnightbsd.org/mports/?rev=18672
Author:   laffer1
Date:     2015-04-12 12:23:52 -0400 (Sun, 12 Apr 2015)
Log Message:
-----------
ngircd 22

Modified Paths:
--------------
    trunk/irc/ngircd/Makefile
    trunk/irc/ngircd/distinfo

Removed Paths:
-------------
    trunk/irc/ngircd/files/patch-doc-Makefile.in
    trunk/irc/ngircd/files/patch-man::Makefile.in
    trunk/irc/ngircd/files/patch-src::ngircd_Makefile.in
    trunk/irc/ngircd/pkg-plist

Modified: trunk/irc/ngircd/Makefile
===================================================================
--- trunk/irc/ngircd/Makefile	2015-04-12 16:21:55 UTC (rev 18671)
+++ trunk/irc/ngircd/Makefile	2015-04-12 16:23:52 UTC (rev 18672)
@@ -1,11 +1,11 @@
 # $MidnightBSD$
 
 PORTNAME=	ngircd
-PORTVERSION=	21.1
+PORTVERSION=	22
 PORTEPOCH=	1
 CATEGORIES=	irc ipv6
-MASTER_SITES=	ftp://ftp.berlios.de/pub/%SUBDIR%/ \
-		http://arthur.barton.de/pub/%SUBDIR%/
+MASTER_SITES=	http://arthur.barton.de/pub/%SUBDIR%/ \
+		http://ngircd.mirror.3rz.org/pub/%SUBDIR%/
 MASTER_SITE_SUBDIR=	${PORTNAME}
 
 MAINTAINER=	ports at MidnightBSD.org
@@ -12,71 +12,52 @@
 COMMENT=	Free open source daemon for Internet Relay Chat (IRC)
 
 LICENSE=	gpl2
+LICENSE_FILE=	${WRKSRC}/COPYING
 
 USES=		tar:xz
+GNU_CONFIGURE=	yes
+CONFIGURE_ARGS=	--disable-silent-rules # --docdir=${WRKDIR}/tmproot
 USE_RC_SUBR=	ngircd
-GNU_CONFIGURE=	yes
-CONFIGURE_ENV=	LIBS="-L${LOCALBASE}/lib"
+
 CPPFLAGS+=	-I${LOCALBASE}/include
+LDFLAGS+=	-L${LOCALBASE}/lib
 
-OPTIONS_DEFINE=TCP_WRAPPERS SYSLOG ZLIB IPV6 OPENSSL GNUTLS IRCPLUS IDENT SNIFFER DEBUG
-OPTIONS_DEFAULT=TCP_WRAPPERS SYSLOG ZLIB IPV6 IRCPLUS
-NO_OPTIONS_SORT=yes
-TCP_WRAPPERS_DESC=Enable TCP wrappers support
-SYSLOG_DESC=Enable syslog() support
-ZLIB_DESC=Enable ZLIB compression
-IRCPLUS_DESC=Enable IRC+ protocol
-IDENT_DESC=Enable IDENT (AUTH) protocol support
-SNIFFER_DESC=Enable IRC traffic sniffer
-DEBUG_DESC=Show additional debug output
+PORTDOCS=	*
+PLIST_FILES=	etc/ngircd.conf.sample \
+		man/man5/ngircd.conf.5.gz \
+		man/man8/ngircd.8.gz \
+		sbin/ngircd
 
-.include <bsd.mport.options.mk>
+OPTIONS_DEFINE=		DEBUG DOCS ICONV IDENT IPV6 IRCPLUS LIBWRAP \
+			SNIFFER SYSLOG ZLIB
+OPTIONS_RADIO=		TLS
+OPTIONS_RADIO_TLS=	GNUTLS OPENSSL
+OPTIONS_DEFAULT=	ICONV IRCPLUS LIBWRAP OPENSSL SYSLOG ZLIB
 
-.if exists(/usr/include/tcpd.h) && !defined(WITHOUT_TCP_WRAPPERS)
-CONFIGURE_ARGS+=	--with-tcp-wrappers
-.endif
+DEBUG_CONFIGURE_EBABLE=		debug
+GNUTLS_LIB_DEPENDS=		libgnutls.so:${PORTSDIR}/security/gnutls
+GNUTLS_CONFIGURE_WITH=		gnutls
+ICONV_USES=			iconv
+ICONV_CONFIGURE_WITH=		iconv
+IDENT_DESC=			IDENT (AUTH) protocol support
+IDENT_LIB_DEPENDS=		libident.so:${PORTSDIR}/security/libident
+INDENT_CONFIGURE_WITH=		dent
+IPV6_CONFIGURE_ENABLE=		ipv6
+IRCPLUS_DESC=			IRC+ protocol
+IRCPLUS_CONFIGURE_ENABLE=	ircplus
+LIBWRAP_CONFIGURE_WITH=		tcp-wrappers
+OPENSSL_USE=			openssl=yes
+OPENSSL_CONFIGURE_WITH=		openssl
+SNIFFER_DESC=			IRC traffic sniffer
+SNIFFER_CONFIGURE_ENABLE=	sniffer
+SYSLOG_CONFIGURE_WITH=		syslog
+ZLIB_CONFIGURE_WITH=		zlib
 
-.if empty(PORT_OPTIONS:MSYSLOG)
-CONFIGURE_ARGS+=	--without-syslog
-.endif
+post-patch:
+	@${REINPLACE_CMD} -e \
+		'/LIBS/s|-liconv|${ICONV_LIB}|' ${WRKSRC}/configure
+	@${REINPLACE_CMD} -e \
+		'/toplevel/s| \.\./COPYING|| ; \
+		 /INSTALL/s|.conf$$|.conf.sample|' ${WRKSRC}/doc/Makefile.in
 
-.if empty(PORT_OPTIONS:MZLIB)
-CONFIGURE_ARGS+=	--without-zlib
-.endif
-
-.if ${PORT_OPTIONS:MIPV6}
-CONFIGURE_ARGS+=	--enable-ipv6
-.endif
-
-.if ${PORT_OPTIONS:MOPENSSL}
-CONFIGURE_ARGS+=	--with-openssl
-USE_OPENSSL=yes
-.endif
-
-.if ${PORT_OPTIONS:MGNUTLS}
-CONFIGURE_ARGS+=	--with-gnutls
-LIB_DEPENDS+=		gnutls:${PORTSDIR}/security/gnutls
-.endif
-
-.if empty(PORT_OPTIONS:MIRCPLUS)
-CONFIGURE_ARGS+=	--disable-ircplus
-.endif
-
-.if ${PORT_OPTIONS:MIDENT}
-LIB_DEPENDS+=		ident:${PORTSDIR}/security/libident
-CONFIGURE_ARGS+=	--with-ident
-.endif
-
-.if ${PORT_OPTIONS:MSNIFFER}
-CONFIGURE_ARGS+=	--enable-sniffer
-.endif
-
-.if ${PORT_OPTIONS:MDEBUG}
-CONFIGURE_ARGS+=	--enable-debug
-.endif
-
-.if defined(NOPORTDOCS)
-MAKE_ARGS+=		NOPORTDOCS=yes
-.endif
-
 .include <bsd.port.mk>

Modified: trunk/irc/ngircd/distinfo
===================================================================
--- trunk/irc/ngircd/distinfo	2015-04-12 16:21:55 UTC (rev 18671)
+++ trunk/irc/ngircd/distinfo	2015-04-12 16:23:52 UTC (rev 18672)
@@ -1,2 +1,2 @@
-SHA256 (ngircd-21.1.tar.xz) = b5b04f559bb533efc6821f2e62d83af8d196f7aa29a3710ff1e898d4e3c28a6f
-SIZE (ngircd-21.1.tar.xz) = 339092
+SHA256 (ngircd-22.tar.xz) = a4c13e6a5f991d248412d550b4617484d7f977c786a0323f0301b4d4707a639e
+SIZE (ngircd-22.tar.xz) = 340104

Deleted: trunk/irc/ngircd/files/patch-doc-Makefile.in
===================================================================
--- trunk/irc/ngircd/files/patch-doc-Makefile.in	2015-04-12 16:21:55 UTC (rev 18671)
+++ trunk/irc/ngircd/files/patch-doc-Makefile.in	2015-04-12 16:23:52 UTC (rev 18672)
@@ -1,41 +0,0 @@
---- doc/Makefile.in.orig	2013-02-15 11:30:58.000000000 +0000
-+++ doc/Makefile.in	2013-03-07 12:19:53.000000000 +0000
-@@ -588,6 +588,7 @@
- 	@if [ ! -f $(DESTDIR)$(sysconfdir)/ngircd.conf ]; then \
- 	  make install-config; \
- 	 fi
-+.if !defined(NOPORTDOCS)
- 	$(mkinstalldirs) $(DESTDIR)$(docdir)
- 	for f in $(static_docs) $(toplevel_docs); do \
- 	  $(INSTALL) -m 644 -c $(srcdir)/$$f $(DESTDIR)$(docdir)/; \
-@@ -595,12 +596,13 @@
- 	for f in $(generated_docs); do \
- 	  $(INSTALL) -m 644 -c $$f $(DESTDIR)$(docdir)/; \
- 	 done
-+.endif
- 
- install-config:
--	$(INSTALL) -m 600 -c sample-ngircd.conf $(DESTDIR)$(sysconfdir)/ngircd.conf
-+	$(INSTALL) -m 600 -c sample-ngircd.conf $(DESTDIR)$(sysconfdir)/ngircd.conf.sample
- 	@echo; \
- 	 echo " ** NOTE: Installed sample configuration file:"; \
--	 echo " ** \"$(DESTDIR)$(sysconfdir)/ngircd.conf\""; \
-+	 echo " ** \"$(DESTDIR)$(sysconfdir)/ngircd.conf.sample\""; \
- 	 echo
- 
- uninstall-hook:
-@@ -610,12 +612,12 @@
- 	 else \
- 	  echo; \
- 	  echo " ** NOTE: Not uninstalling changed configuration file:"; \
--	  echo " ** \"$(DESTDIR)$(sysconfdir)/ngircd.conf\""; \
-+	  echo " ** \"$(DESTDIR)$(sysconfdir)/ngircd.conf.sample\""; \
- 	  echo; \
- 	 fi
- 
- uninstall-config:
--	rm -f $(DESTDIR)$(sysconfdir)/ngircd.conf
-+	rm -f $(DESTDIR)$(sysconfdir)/ngircd.conf.sample
- 
- srcdoc:
- 	make -C src srcdoc

Deleted: trunk/irc/ngircd/files/patch-man::Makefile.in
===================================================================
--- trunk/irc/ngircd/files/patch-man::Makefile.in	2015-04-12 16:21:55 UTC (rev 18671)
+++ trunk/irc/ngircd/files/patch-man::Makefile.in	2015-04-12 16:23:52 UTC (rev 18672)
@@ -1,10 +0,0 @@
---- man/Makefile.in.orig	2010-11-07 08:25:30.000000000 -0800
-+++ man/Makefile.in	2010-12-07 12:38:35.848917613 -0800
-@@ -36,7 +36,6 @@
- install_sh_PROGRAM = $(install_sh) -c
- install_sh_SCRIPT = $(install_sh) -c
- INSTALL_HEADER = $(INSTALL_DATA)
--transform = $(program_transform_name)
- NORMAL_INSTALL = :
- PRE_INSTALL = :
- POST_INSTALL = :

Deleted: trunk/irc/ngircd/files/patch-src::ngircd_Makefile.in
===================================================================
--- trunk/irc/ngircd/files/patch-src::ngircd_Makefile.in	2015-04-12 16:21:55 UTC (rev 18671)
+++ trunk/irc/ngircd/files/patch-src::ngircd_Makefile.in	2015-04-12 16:23:52 UTC (rev 18672)
@@ -1,10 +0,0 @@
---- src/ngircd/Makefile.in.orig	2010-11-07 08:25:30.000000000 -0800
-+++ src/ngircd/Makefile.in	2010-12-07 12:39:20.309256054 -0800
-@@ -35,7 +35,6 @@
- install_sh_PROGRAM = $(install_sh) -c
- install_sh_SCRIPT = $(install_sh) -c
- INSTALL_HEADER = $(INSTALL_DATA)
--transform = $(program_transform_name)
- NORMAL_INSTALL = :
- PRE_INSTALL = :
- POST_INSTALL = :

Deleted: trunk/irc/ngircd/pkg-plist
===================================================================
--- trunk/irc/ngircd/pkg-plist	2015-04-12 16:21:55 UTC (rev 18671)
+++ trunk/irc/ngircd/pkg-plist	2015-04-12 16:23:52 UTC (rev 18672)
@@ -1,26 +0,0 @@
-etc/ngircd.conf.sample
-sbin/ngircd
-%%PORTDOCS%%%%DOCSDIR%%/AUTHORS
-%%PORTDOCS%%%%DOCSDIR%%/Bopm.txt
-%%PORTDOCS%%%%DOCSDIR%%/COPYING
-%%PORTDOCS%%%%DOCSDIR%%/Capabilities.txt
-%%PORTDOCS%%%%DOCSDIR%%/Contributing.txt
-%%PORTDOCS%%%%DOCSDIR%%/ChangeLog
-%%PORTDOCS%%%%DOCSDIR%%/FAQ.txt
-%%PORTDOCS%%%%DOCSDIR%%/GIT.txt
-%%PORTDOCS%%%%DOCSDIR%%/HowToRelease.txt
-%%PORTDOCS%%%%DOCSDIR%%/INSTALL
-%%PORTDOCS%%%%DOCSDIR%%/Modes.txt
-%%PORTDOCS%%%%DOCSDIR%%/NEWS
-%%PORTDOCS%%%%DOCSDIR%%/PAM.txt
-%%PORTDOCS%%%%DOCSDIR%%/Platforms.txt
-%%PORTDOCS%%%%DOCSDIR%%/Protocol.txt
-%%PORTDOCS%%%%DOCSDIR%%/README
-%%PORTDOCS%%%%DOCSDIR%%/README-AUX.txt
-%%PORTDOCS%%%%DOCSDIR%%/README-BeOS.txt
-%%PORTDOCS%%%%DOCSDIR%%/README-Interix.txt
-%%PORTDOCS%%%%DOCSDIR%%/RFC.txt
-%%PORTDOCS%%%%DOCSDIR%%/SSL.txt
-%%PORTDOCS%%%%DOCSDIR%%/Services.txt
-%%PORTDOCS%%%%DOCSDIR%%/sample-ngircd.conf
-%%PORTDOCS%%@dirrm %%DOCSDIR%%



More information about the Midnightbsd-cvs mailing list