View | Details | Raw Unified | Return to bug 121267
Collapse All | Expand All

(-)/usr/ports/mail/ezmlm-web.new/Makefile (-26 / +26 lines)
Lines 6-14 Link Here
6
#
6
#
7
7
8
PORTNAME=	ezmlm-web
8
PORTNAME=	ezmlm-web
9
PORTVERSION=	3.1.4
9
PORTVERSION=	3.2
10
CATEGORIES=	mail www
10
CATEGORIES=	mail www
11
MASTER_SITES=	https://systemausfall.org/toolforge/ezmlm-web/download/
11
MASTER_SITES=	https://systemausfall.org/toolforge/ezmlm-web/download/ezmlm-web-3.2/
12
12
13
MAINTAINER=	hans@nordhaug.priv.no
13
MAINTAINER=	hans@nordhaug.priv.no
14
COMMENT=	Manage ezmlm-idx mailing lists through the web (using CGI)
14
COMMENT=	Manage ezmlm-idx mailing lists through the web (using CGI)
Lines 17-50 Link Here
17
		${SITE_PERL}/Mail/Ezmlm.pm:${PORTSDIR}/mail/p5-Mail-Ezmlm \
17
		${SITE_PERL}/Mail/Ezmlm.pm:${PORTSDIR}/mail/p5-Mail-Ezmlm \
18
		${SITE_PERL}/Mail/Address.pm:${PORTSDIR}/mail/p5-Mail-Tools
18
		${SITE_PERL}/Mail/Address.pm:${PORTSDIR}/mail/p5-Mail-Tools
19
19
20
# Change these to suit your setup. You can do this via the environment
20
EXAMPLES=	apache.conf.dist ezmlmwebrc.dist ezmlmwebrc.minimal-dist \
21
# CGI_BIN is the location relative to ${PREFIX} of your webservers' cgi-bin
21
		htaccess.dist multidomain.conf.dist webusers.dist
22
# EZMLM_DIR is the base relative to ${PREFIX} in which ezmlm was installed
22
DOCS=		INSTALL README TODO UPGRADING changelog copyright
23
#
23
24
CGI_BIN?=	www/cgi-bin.default
24
USE_GMAKE=	yes
25
USE_PERL5=	yes
26
PERL_CONFIGURE=	yes
25
27
26
USE_PERL5=	YES
28
post-patch:
27
PLIST_SUB=	CGI_BIN=${CGI_BIN}
29
	${REINPLACE_CMD} -e 's|local/share|share|' \
28
30
		-e 's|$$SHAREDIR/www-data|${WWWDIR}|' \
29
EXAMPLES=	htaccess.sample webusers.sample index.c
31
		${WRKSRC}/Makefile.PL
30
DOCS=		INSTALL INSTALL.clearsilver README TODO UPGRADING changelog copyright
32
	${REINPLACE_CMD} -e 's|/usr/local/share/ezmlm-web/www-data/|${WWWDIR}/|' \
33
		${WRKSRC}/examples/apache.conf.dist
34
	${REINPLACE_CMD} -e 's|/etc/ezmlm|${PREFIX}/etc/ezmlm|' -e 's|/usr/local|${PREFIX}|g' \
35
		${WRKSRC}/ezmlm-web.cgi ${WRKSRC}/examples/ezmlmwebrc.dist ${WRKSRC}/suid-wrapper/index.h
31
36
32
do-build:
37
.if defined(PACKAGE_BUILDING)
33
	cd ${WRKSRC} && ${CC} ${CFLAGS} -o ezmlm-web index.c
38
CONFIGURE_ENV=	BSD_BATCH_INSTALL=yes
39
.endif
34
40
35
post-patch:
41
post-install:
36
	${REINPLACE_CMD} -e 's|/etc/ezmlm|${PREFIX}/etc/ezmlm|' \
42
	${MKDIR} ${EXAMPLESDIR} ${PREFIX}/etc/ezmlm-web
37
		-e 's|/usr/local|${PREFIX}|g' -e 's|prefex|prefix|g' \
43
	${INSTALL_DATA} ${WRKSRC}/examples/ezmlmwebrc.dist ${PREFIX}/etc/ezmlm-web/ezmlmwebrc.sample
38
		${WRKSRC}/ezmlm-web.cgi ${WRKSRC}/ezmlmwebrc ${WRKSRC}/index.c
39
40
do-install:
41
	${MKDIR} ${PREFIX}/${CGI_BIN} ${PREFIX}/etc/ezmlm
42
	${INSTALL_SCRIPT} ${WRKSRC}/ezmlm-web.cgi ${PREFIX}/bin
43
	${INSTALL_DATA} ${WRKSRC}/ezmlmwebrc ${PREFIX}/etc/ezmlm/ezmlmwebrc.sample
44
	${INSTALL_PROGRAM} -o alias -g qmail -m 4755 ${WRKSRC}/ezmlm-web ${PREFIX}/${CGI_BIN}
45
	${MKDIR} ${EXAMPLESDIR}
46
.for file in ${EXAMPLES}
44
.for file in ${EXAMPLES}
47
	${INSTALL_MAN} ${WRKSRC}/${file} ${EXAMPLESDIR}
45
	${INSTALL_MAN} ${WRKSRC}/examples/${file} ${EXAMPLESDIR}
48
.endfor
46
.endfor
49
.if !defined(NOPORTDOCS)
47
.if !defined(NOPORTDOCS)
50
	${MKDIR} ${DOCSDIR}
48
	${MKDIR} ${DOCSDIR}
Lines 52-56 Link Here
52
	${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR}
50
	${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR}
53
.endfor
51
.endfor
54
.endif
52
.endif
53
54
MAN1=		ezmlm-web.cgi.1p
55
55
56
.include <bsd.port.mk>
56
.include <bsd.port.mk>
(-)/usr/ports/mail/ezmlm-web.new/distinfo (-3 / +3 lines)
Lines 1-3 Link Here
1
MD5 (ezmlm-web-3.1.4.tar.gz) = 97a8318f14c9cc6fec119558d36c35e1
1
MD5 (ezmlm-web-3.2.tar.gz) = 4960958871d9a131c85a2e0a25ff9027
2
SHA256 (ezmlm-web-3.1.4.tar.gz) = ac9d14a7bba9d24b01c2cf740b205a9c992782e09be0005c865a450025942f10
2
SHA256 (ezmlm-web-3.2.tar.gz) = 97aae5c09ff4749bf35d38e43ac6b5ea6636b105ab458ea527cdd3a63f645db0
3
SIZE (ezmlm-web-3.1.4.tar.gz) = 51533
3
SIZE (ezmlm-web-3.2.tar.gz) = 100541
(-)/usr/ports/mail/ezmlm-web.new/pkg-plist (-8 / +121 lines)
Lines 1-16 Link Here
1
bin/ezmlm-web.cgi
1
%%SITE_PERL%%/%%PERL_ARCH%%/auto/ezmlm-web/.packlist
2
%%CGI_BIN%%/ezmlm-web
2
@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/ezmlm-web
3
etc/ezmlm/ezmlmwebrc.sample
4
%%PORTDOCS%%%%DOCSDIR%%/INSTALL
3
%%PORTDOCS%%%%DOCSDIR%%/INSTALL
5
%%PORTDOCS%%%%DOCSDIR%%/INSTALL.clearsilver
6
%%PORTDOCS%%%%DOCSDIR%%/README
4
%%PORTDOCS%%%%DOCSDIR%%/README
7
%%PORTDOCS%%%%DOCSDIR%%/TODO
5
%%PORTDOCS%%%%DOCSDIR%%/TODO
8
%%PORTDOCS%%%%DOCSDIR%%/UPGRADING
6
%%PORTDOCS%%%%DOCSDIR%%/UPGRADING
9
%%PORTDOCS%%%%DOCSDIR%%/changelog
7
%%PORTDOCS%%%%DOCSDIR%%/changelog
10
%%PORTDOCS%%%%DOCSDIR%%/copyright
8
%%PORTDOCS%%%%DOCSDIR%%/copyright
11
%%EXAMPLESDIR%%/htaccess.sample
12
%%EXAMPLESDIR%%/index.c
13
%%EXAMPLESDIR%%/webusers.sample
14
%%PORTDOCS%%@dirrm %%DOCSDIR%%
9
%%PORTDOCS%%@dirrm %%DOCSDIR%%
10
%%EXAMPLESDIR%%/apache.conf.dist
11
%%EXAMPLESDIR%%/ezmlmwebrc.dist
12
%%EXAMPLESDIR%%/ezmlmwebrc.minimal-dist
13
%%EXAMPLESDIR%%/htaccess.dist
14
%%EXAMPLESDIR%%/multidomain.conf.dist
15
%%EXAMPLESDIR%%/webusers.dist
15
@dirrm %%EXAMPLESDIR%%
16
@dirrm %%EXAMPLESDIR%%
16
@dirrmtry %%CGI_BIN%%
17
bin/ezmlm-web.wrapper
18
bin/ezmlm-web-make-suid
19
bin/ezmlm-web.cgi
20
etc/ezmlm-web/ezmlmwebrc.sample
21
share/ezmlm-web/lang/de.hdf
22
share/ezmlm-web/lang/en.hdf
23
share/ezmlm-web/lang/es.hdf
24
share/ezmlm-web/lang/it.hdf
25
share/ezmlm-web/lang/ja.hdf
26
share/ezmlm-web/lang/pt.hdf
27
share/ezmlm-web/lang/pt_BR.hdf
28
share/ezmlm-web/lang/sl.hdf
29
share/ezmlm-web/template/config_options/admin_edit_text.cs
30
share/ezmlm-web/template/config_options/admin_enabled.cs
31
share/ezmlm-web/template/config_options/admin_get_subscribers.cs
32
share/ezmlm-web/template/config_options/admin_path.cs
33
share/ezmlm-web/template/config_options/archive_access.cs
34
share/ezmlm-web/template/config_options/archive_deny_unknown.cs
35
share/ezmlm-web/template/config_options/archive_enabled.cs
36
share/ezmlm-web/template/config_options/archive_mod_only.cs
37
share/ezmlm-web/template/config_options/archive_remove_private_header.cs
38
share/ezmlm-web/template/config_options/block_deny.cs
39
share/ezmlm-web/template/config_options/block_nonmod_post.cs
40
share/ezmlm-web/template/config_options/block_others_archive.cs
41
share/ezmlm-web/template/config_options/block_others_post.cs
42
share/ezmlm-web/template/config_options/charset_select.cs
43
share/ezmlm-web/template/config_options/confirm_post.cs
44
share/ezmlm-web/template/config_options/confirm_selection.cs
45
share/ezmlm-web/template/config_options/confirm_sub.cs
46
share/ezmlm-web/template/config_options/confirm_unsub.cs
47
share/ezmlm-web/template/config_options/copylines.cs
48
share/ezmlm-web/template/config_options/create_listaddress.cs
49
share/ezmlm-web/template/config_options/create_listname.cs
50
share/ezmlm-web/template/config_options/digest_enabled.cs
51
share/ezmlm-web/template/config_options/digest_settings.cs
52
share/ezmlm-web/template/config_options/from_address.cs
53
share/ezmlm-web/template/config_options/gnupg_keycomment.cs
54
share/ezmlm-web/template/config_options/gnupg_keyexpires.cs
55
share/ezmlm-web/template/config_options/gnupg_keyname.cs
56
share/ezmlm-web/template/config_options/gnupg_keysize.cs
57
share/ezmlm-web/template/config_options/gnupg_plain_without_key.cs
58
share/ezmlm-web/template/config_options/gnupg_sign_messages.cs
59
share/ezmlm-web/template/config_options/headeradd.cs
60
share/ezmlm-web/template/config_options/headerfilter.cs
61
share/ezmlm-web/template/config_options/lang_select.cs
62
share/ezmlm-web/template/config_options/mailman_requests.cs
63
share/ezmlm-web/template/config_options/mainlist.cs
64
share/ezmlm-web/template/config_options/mimefilter.cs
65
share/ezmlm-web/template/config_options/mimereject.cs
66
share/ezmlm-web/template/config_options/mod_post.cs
67
share/ezmlm-web/template/config_options/mod_post_path.cs
68
share/ezmlm-web/template/config_options/mod_sub.cs
69
share/ezmlm-web/template/config_options/mod_sub_path.cs
70
share/ezmlm-web/template/config_options/msgsize_max.cs
71
share/ezmlm-web/template/config_options/msgsize_min.cs
72
share/ezmlm-web/template/config_options/mysql.cs
73
share/ezmlm-web/template/config_options/owner_address.cs
74
share/ezmlm-web/template/config_options/posting_selection.cs
75
share/ezmlm-web/template/config_options/prefix.cs
76
share/ezmlm-web/template/config_options/public.cs
77
share/ezmlm-web/template/config_options/reply_to_self.cs
78
share/ezmlm-web/template/config_options/subscribe_selection.cs
79
share/ezmlm-web/template/config_options/trailer.cs
80
share/ezmlm-web/template/config_options/warn_remove.cs
81
share/ezmlm-web/template/config_options/webusers.cs
82
share/ezmlm-web/template/ui/easy.hdf
83
share/ezmlm-web/template/ui/expert.hdf
84
share/ezmlm-web/template/ui/normal.hdf
85
share/ezmlm-web/template/config_admin.cs
86
share/ezmlm-web/template/config_all.cs
87
share/ezmlm-web/template/config_archive.cs
88
share/ezmlm-web/template/config_encryption.cs
89
share/ezmlm-web/template/config_main.cs
90
share/ezmlm-web/template/config_posting.cs
91
share/ezmlm-web/template/config_processing.cs
92
share/ezmlm-web/template/config_subscription.cs
93
share/ezmlm-web/template/domain_select.cs
94
share/ezmlm-web/template/footer.cs
95
share/ezmlm-web/template/gnupg_convert.cs
96
share/ezmlm-web/template/gnupg_generate_key.cs
97
share/ezmlm-web/template/gnupg_import.cs
98
share/ezmlm-web/template/gnupg_public.cs
99
share/ezmlm-web/template/gnupg_secret.cs
100
share/ezmlm-web/template/header.cs
101
share/ezmlm-web/template/interface_select.cs
102
share/ezmlm-web/template/help_tag_substitution.cs
103
share/ezmlm-web/template/language_select.cs
104
share/ezmlm-web/template/list_create.cs
105
share/ezmlm-web/template/list_delete.cs
106
share/ezmlm-web/template/list_select.cs
107
share/ezmlm-web/template/macros.cs
108
share/ezmlm-web/template/main.cs
109
share/ezmlm-web/template/modpath_info.cs
110
share/ezmlm-web/template/nav.cs
111
share/ezmlm-web/template/show_subscription_log.cs
112
share/ezmlm-web/template/subscribers.cs
113
share/ezmlm-web/template/textfile_edit.cs
114
share/ezmlm-web/template/textfiles.cs
115
share/ezmlm-web/template/mime_type_examples.txt
116
%%WWWDIR%%/color-blue-gray.css
117
%%WWWDIR%%/color-red-blue.css
118
%%WWWDIR%%/default.css
119
%%WWWDIR%%/horiz_grad_blue.png
120
%%WWWDIR%%/horiz_grad_blue_long.png
121
%%WWWDIR%%/vert_grad_red.png
122
@dirrmtry etc/ezmlm-web
123
@dirrmtry share/ezmlm-web/www-data
124
@dirrmtry share/ezmlm-web/template/ui
125
@dirrmtry share/ezmlm-web/template/config_options
126
@dirrmtry share/ezmlm-web/template
127
@dirrmtry share/ezmlm-web/lang
128
@dirrmtry share/ezmlm-web
129
@dirrmtry %%WWWDIR%%

Return to bug 121267