mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-22 04:17:44 +00:00
mail/popular: Prepare for textproc/p5-XML-Parser update
Also: - Bump PORTREVISION - Skip build of man pages, which are already present in the distribution - Add LICENSE - Add USE_LDCONFIG - Regenerate patches to follow the standard - Pass maintainership to the submitter PR: 248725 Submitted by: Sergei Vyshenski <svysh.fbsd@gmail.com>
This commit is contained in:
parent
4f84b1093b
commit
5fe304a328
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=545323
@ -3,19 +3,21 @@
|
||||
|
||||
PORTNAME= popular
|
||||
PORTVERSION= 1.5.5
|
||||
PORTREVISION= 7
|
||||
PORTREVISION= 8
|
||||
CATEGORIES= mail
|
||||
MASTER_SITES= https://www.jochentopf.com/software/popular/
|
||||
|
||||
MAINTAINER= ports@FreeBSD.org
|
||||
MAINTAINER= svysh.fbsd@gmail.com
|
||||
COMMENT= Suite of programs for setting up large POP3 server systems
|
||||
|
||||
LICENSE= GPLv2
|
||||
|
||||
BUILD_DEPENDS= p5-XML-DOM>=0:textproc/p5-XML-DOM
|
||||
|
||||
USES= libtool perl5 gmake tar:bzip2 ssl
|
||||
CONFLICTS= pserv-[0-9]* synce-librapi2-[0-9]*
|
||||
CONFLICTS_INSTALL= ports-tools # bin/pcheck
|
||||
|
||||
USES= libtool perl5 gmake tar:bzip2 ssl
|
||||
GNU_CONFIGURE= yes
|
||||
PDM_MODULES= any master
|
||||
CONFIGURE_ARGS= --without-bdb --disable-docbook --with-confdir=${PREFIX}/etc/popular \
|
||||
@ -24,6 +26,7 @@ CPPFLAGS+= -I${LOCALBASE}/include
|
||||
LIBS+= -L${LOCALBASE}/lib
|
||||
|
||||
USE_RC_SUBR= pcheckd pproxy pserv 0ringd
|
||||
USE_LDCONFIG= yes
|
||||
|
||||
post-install:
|
||||
${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/popular/*.so
|
||||
|
@ -1,6 +1,6 @@
|
||||
--- configure.orig Sat Aug 21 12:21:50 2004
|
||||
+++ configure Mon Jul 11 17:20:12 2005
|
||||
@@ -22157,13 +22157,13 @@
|
||||
--- configure.orig 2004-08-21 10:21:50 UTC
|
||||
+++ configure
|
||||
@@ -22157,13 +22157,13 @@ fi
|
||||
|
||||
|
||||
|
||||
@ -17,7 +17,7 @@
|
||||
cat >conftest.$ac_ext <<_ACEOF
|
||||
/* confdefs.h. */
|
||||
_ACEOF
|
||||
@@ -22221,7 +22221,7 @@
|
||||
@@ -22221,7 +22221,7 @@ fi
|
||||
echo "$as_me:$LINENO: result: $ac_cv_lib_db_4_0_db_create" >&5
|
||||
echo "${ECHO_T}$ac_cv_lib_db_4_0_db_create" >&6
|
||||
if test $ac_cv_lib_db_4_0_db_create = yes; then
|
||||
|
26
mail/popular/files/patch-doc_man_Makefile.am
Normal file
26
mail/popular/files/patch-doc_man_Makefile.am
Normal file
@ -0,0 +1,26 @@
|
||||
--- doc/man/Makefile.am.orig 2020-08-19 11:43:30 UTC
|
||||
+++ doc/man/Makefile.am
|
||||
@@ -36,23 +36,6 @@ DB2MAN := @PERL_PATH@ $(top_srcdir)/doc/bin/docbo
|
||||
LOG_RAW2MAN := @PERL_PATH@ $(top_srcdir)/doc/bin/log-raw2man
|
||||
|
||||
|
||||
-.PHONY: all man clean
|
||||
-
|
||||
-all: man
|
||||
-
|
||||
-clean:
|
||||
- rm -f *.1 *.7 *.8
|
||||
-
|
||||
-man: $(man_MANS)
|
||||
-
|
||||
-%.1: %.sgml $(DB2MAN) $(ADDCREDIT)
|
||||
- $(ADDCREDIT) $< | $(DB2MAN) - >$@ || rm $@
|
||||
-
|
||||
-%.8: %.sgml $(DB2MAN) $(ADDCREDIT)
|
||||
- $(ADDCREDIT) $< | $(DB2MAN) - >$@ || rm $@
|
||||
-
|
||||
-popular-log.7: $(top_builddir)/doc/log/messagelist.raw
|
||||
- $(LOG_RAW2MAN) $< >$@ || rm $@
|
||||
|
||||
|
||||
#-----------------------------------------------------------------------------
|
26
mail/popular/files/patch-doc_man_Makefile.in
Normal file
26
mail/popular/files/patch-doc_man_Makefile.in
Normal file
@ -0,0 +1,26 @@
|
||||
--- doc/man/Makefile.in.orig 2020-08-19 11:43:47 UTC
|
||||
+++ doc/man/Makefile.in
|
||||
@@ -352,23 +352,6 @@ mostlyclean-generic distclean-generic clean-generic \
|
||||
maintainer-clean-generic clean mostlyclean distclean maintainer-clean
|
||||
|
||||
|
||||
-.PHONY: all man clean
|
||||
-
|
||||
-all: man
|
||||
-
|
||||
-clean:
|
||||
- rm -f *.1 *.7 *.8
|
||||
-
|
||||
-man: $(man_MANS)
|
||||
-
|
||||
-%.1: %.sgml $(DB2MAN) $(ADDCREDIT)
|
||||
- $(ADDCREDIT) $< | $(DB2MAN) - >$@ || rm $@
|
||||
-
|
||||
-%.8: %.sgml $(DB2MAN) $(ADDCREDIT)
|
||||
- $(ADDCREDIT) $< | $(DB2MAN) - >$@ || rm $@
|
||||
-
|
||||
-popular-log.7: $(top_builddir)/doc/log/messagelist.raw
|
||||
- $(LOG_RAW2MAN) $< >$@ || rm $@
|
||||
|
||||
#-----------------------------------------------------------------------------
|
||||
# gzip
|
@ -1,6 +1,6 @@
|
||||
--- src/Makefile.in.orig Sat Aug 21 12:26:23 2004
|
||||
+++ src/Makefile.in Mon Jul 11 16:47:17 2005
|
||||
@@ -132,7 +132,7 @@
|
||||
--- src/Makefile.in.orig 2004-08-21 10:26:23 UTC
|
||||
+++ src/Makefile.in
|
||||
@@ -132,7 +132,7 @@ VERSION = @VERSION@
|
||||
have_sgml = @have_sgml@
|
||||
prefix = @prefix@
|
||||
|
||||
@ -9,7 +9,7 @@
|
||||
|
||||
#LDFLAGS = -static -lc_p
|
||||
|
||||
@@ -166,13 +166,13 @@
|
||||
@@ -166,13 +166,13 @@ ptestpdm_SOURCES = ptestpdm.c popular.h pconfig.h util
|
||||
|
||||
LDADD = @LIB_STRL@ @LIB_GETOPT@
|
||||
|
@ -1,6 +1,6 @@
|
||||
--- src/io.c.orig Sat Aug 21 12:19:29 2004
|
||||
+++ src/io.c Mon Jul 11 16:16:50 2005
|
||||
@@ -307,7 +307,8 @@
|
||||
--- src/io.c.orig 2004-08-21 10:19:29 UTC
|
||||
+++ src/io.c
|
||||
@@ -307,7 +307,8 @@ io_sysread(struct io_ctx *ioc, char *buf, size_t count
|
||||
* A null byte was encountered in input from a network socket. This
|
||||
* can never happen in a normal POP3 connection. */
|
||||
xlog_printf(xlog_adm, 0x0035, "null_byte_in_input ctx='%s' len=%d data='%s'", ioc->io_desc, len, buf);
|
@ -1,6 +1,6 @@
|
||||
--- src/pcheckd.c.orig Sat Nov 22 22:27:22 2003
|
||||
+++ src/pcheckd.c Mon Jul 11 16:20:48 2005
|
||||
@@ -511,7 +511,6 @@
|
||||
--- src/pcheckd.c.orig 2003-11-22 21:27:22 UTC
|
||||
+++ src/pcheckd.c
|
||||
@@ -511,7 +511,6 @@ main(int argc, char *argv[])
|
||||
case SIGQUIT: /* fallthrough */
|
||||
case SIGINT: /* fallthrough */
|
||||
case SIGTERM: /* fallthrough */
|
@ -1,5 +1,5 @@
|
||||
--- src/pdeliver.c.orig Mon Apr 30 14:20:34 2001
|
||||
+++ src/pdeliver.c Sat Dec 16 15:01:12 2006
|
||||
--- src/pdeliver.c.orig 2001-04-30 12:20:34 UTC
|
||||
+++ src/pdeliver.c
|
||||
@@ -33,7 +33,7 @@
|
||||
#include "popular.h"
|
||||
|
@ -1,5 +1,5 @@
|
||||
--- src/popular.h.orig Thu Nov 28 14:56:03 2002
|
||||
+++ src/popular.h Mon Jul 11 16:19:50 2005
|
||||
--- src/popular.h.orig 2002-11-28 13:56:03 UTC
|
||||
+++ src/popular.h
|
||||
@@ -26,9 +26,7 @@
|
||||
|
||||
*****************************************************************************/
|
@ -1,6 +1,6 @@
|
||||
--- src/pproxy.c.orig Mon Nov 24 20:23:30 2003
|
||||
+++ src/pproxy.c Mon Jul 11 16:21:13 2005
|
||||
@@ -580,9 +580,6 @@
|
||||
--- src/pproxy.c.orig 2003-11-24 19:23:30 UTC
|
||||
+++ src/pproxy.c
|
||||
@@ -580,9 +580,6 @@ main(int argc, char *argv[])
|
||||
case SIGTERM:
|
||||
pproxy_shutdown(SHUTDOWN_CHILDREN | SHUTDOWN_SERVER);
|
||||
break;
|
@ -1,6 +1,6 @@
|
||||
--- src/pserv.c.orig Sun Sep 15 14:27:16 2002
|
||||
+++ src/pserv.c Mon Jul 11 16:23:03 2005
|
||||
@@ -484,9 +484,6 @@
|
||||
--- src/pserv.c.orig 2002-09-15 12:27:16 UTC
|
||||
+++ src/pserv.c
|
||||
@@ -484,9 +484,6 @@ main(int argc, char *argv[])
|
||||
case SIGTERM:
|
||||
pserv_shutdown(SHUTDOWN_CHILDREN | SHUTDOWN_SERVER);
|
||||
break;
|
@ -1,6 +1,6 @@
|
||||
--- src/sig.c.orig Sun Sep 15 14:27:16 2002
|
||||
+++ src/sig.c Mon Jul 11 16:21:23 2005
|
||||
@@ -114,7 +114,6 @@
|
||||
--- src/sig.c.orig 2002-09-15 12:27:16 UTC
|
||||
+++ src/sig.c
|
||||
@@ -114,7 +114,6 @@ signal_init(int c)
|
||||
signal_set(sigHandler, SIGQUIT, 0);
|
||||
signal_set(sigHandler, SIGUSR1, 0);
|
||||
signal_set(sigHandler, SIGUSR2, 0);
|
||||
@ -8,7 +8,7 @@
|
||||
}
|
||||
|
||||
|
||||
@@ -138,7 +137,6 @@
|
||||
@@ -138,7 +137,6 @@ signal_init_child()
|
||||
signal_set(sigDefault, SIGQUIT, 0);
|
||||
signal_set(sigDefault, SIGUSR1, 0);
|
||||
signal_set(sigDefault, SIGUSR2, 0);
|
@ -1,6 +1,6 @@
|
||||
--- src/util.c.orig Mon Apr 30 17:14:14 2001
|
||||
+++ src/util.c Wed Jun 7 13:19:59 2006
|
||||
@@ -125,7 +125,7 @@
|
||||
--- src/util.c.orig 2001-04-30 15:14:14 UTC
|
||||
+++ src/util.c
|
||||
@@ -125,7 +125,7 @@ timedesc2sec(char *desc, int min, int max)
|
||||
while (1) {
|
||||
if (*tptr == '-') return -1;
|
||||
value = strtol(tptr, &tptr, 10);
|
Loading…
Reference in New Issue
Block a user