Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 290262
Collapse All | Expand All

(-)file_not_specified_in_diff (-84 / +59 lines)
Line 10 Link Here
10
DEFLATE_VER="0.3.3"
10
DEFLATE_VER="0.4"
11
--
Line 29 Link Here
29
IUSE="acl authfile ban +caps case clamav +ctrls deflate doc exec hardened ifsession ident ipv6 kerberos ldap mysql ncurses nls pam postgres radius ratio readme rewrite selinux sftp shaper sitemisc softquota +ssl tcpd trace vroot xinetd"
29
IUSE="acl authfile ban +caps case clamav +ctrls deflate doc exec hardened ifsession ident ipv6 kerberos ldap mysql ncurses nls pam postgres radius ratio readme rewrite selinux sftp shaper sitemisc softquota ssl tcpd trace vroot xinetd"
30
--
Line 50 Link Here
50
__prepare_plugin() {
50
__prepare_module() {
51
--
Line 69 Link Here
69
	use case && __prepare_plugin mod_case
69
	use case && __prepare_module mod_case
70
--
Lines 75-79 Link Here
75
	use deflate && __prepare_plugin mod_deflate
75
	use deflate && __prepare_module mod_deflate
76
	use vroot && __prepare_plugin mod_vroot
76
	use vroot && __prepare_module mod_vroot
77
	# Bug #284853 when using heimdal
78
	use kerberos && sed -i -e "s/krb5_principal2principalname/_\0/" \
79
		"${WORKDIR}"/mod_gss-${GSS_VER}/mod_auth_gss.c.in
80
--
Line 84 Link Here
81
	# Fix Gentoo Bug #284853
82
	use kerberos && sed -i -e "s/krb5_principal2principalname/_\0/" \
83
		"${WORKDIR}"/mod_gss-${GSS_VER}/mod_auth_gss.c.in
84
Lines 87-89 Link Here
87
	sed -e "/libtool\.m4/q" aclocal.m4 > acinclude.m4
88
	rm -f aclocal.m4
89
	eautoreconf
Line 93 Link Here
93
	local myconf mylibs mymodules
91
	local myc myl mym
94
--
Lines 95-98 Link Here
95
	use acl && mymodules="${mymodules}:mod_facl"
93
	use acl && mym="${mym}:mod_facl"
96
	use ban && mymodules="${mymodules}:mod_ban"
94
	use ban && mym="${mym}:mod_ban"
97
	use case && mymodules="${mymodules}:mod_case"
95
	use case && mym="${mym}:mod_case"
98
	use clamav && mymodules="${mymodules}:mod_clamav"
96
	use clamav && mym="${mym}:mod_clamav"
99
--
Lines 100-101 Link Here
100
		myconf="${myconf} --enable-ctrls"
98
		myc="${myc} --enable-ctrls"
101
		mymodules="${mymodules}:mod_ctrls_admin"
99
		mym="${mym}:mod_ctrls_admin"
102
--
Lines 103-104 Link Here
103
	use deflate && mymodules="${mymodules}:mod_deflate"
101
	use deflate && mym="${mym}:mod_deflate"
104
	use exec && mymodules="${mymodules}:mod_exec"
102
	use exec && mym="${mym}:mod_exec"
105
--
Line 119 Link Here
119
		mymodules="${mymodules}:mod_gss:mod_auth_gss"
117
		mym="${mym}:mod_gss:mod_auth_gss"
120
--
Lines 122-123 Link Here
122
		mylibs="${mylibs} -lresolv"
120
		myl="${myl} -lresolv"
123
		mymodules="${mymodules}:mod_ldap"
121
		mym="${mym}:mod_ldap"
124
--
Line 126 Link Here
126
		mymodules="${mymodules}:mod_sql"
124
		mym="${mym}:mod_sql:mod_sql_passwd"
127
--
Lines 128-129 Link Here
128
			myconf="${myconf} --with-includes=/usr/include/mysql"
126
			myc="${myc} --with-includes=/usr/include/mysql"
129
			mymodules="${mymodules}:mod_sql_mysql"
127
			mym="${mym}:mod_sql_mysql"
130
--
Lines 132-133 Link Here
132
			myconf="${myconf} --with-includes=/usr/include/postgresql"
130
			myc="${myc} --with-includes=/usr/include/postgresql"
133
			mymodules="${mymodules}:mod_sql_postgres"
131
			mym="${mym}:mod_sql_postgres"
134
--
Lines 138-139 Link Here
138
		myconf="${myconf} --enable-openssl --with-includes=/usr/include/openssl"
136
		myc="${myc} --enable-openssl --with-includes=/usr/include/openssl"
139
		mylibs="${mylibs} -lcrypto"
137
		myl="${myl} -lcrypto"
140
--
Lines 141-144 Link Here
141
	use radius && mymodules="${mymodules}:mod_radius"
139
	use radius && mym="${mym}:mod_radius"
142
	use ratio && mymodules="${mymodules}:mod_ratio"
140
	use ratio && mym="${mym}:mod_ratio"
143
	use readme && mymodules="${mymodules}:mod_readme"
141
	use readme && mym="${mym}:mod_readme"
144
	use rewrite && mymodules="${mymodules}:mod_rewrite"
142
	use rewrite && mym="${mym}:mod_rewrite"
145
--
Lines 146-147 Link Here
146
		mymodules="${mymodules}:mod_sftp"
144
		mym="${mym}:mod_sftp"
147
		use pam && mymodules="${mymodules}:mod_sftp_pam"
145
		use pam && mym="${mym}:mod_sftp_pam"
148
--
Line 149 Link Here
149
			mymodules="${mymodules}:mod_sftp_sql"
147
			mym="${mym}:mod_sftp_sql"
150
--
Lines 152-153 Link Here
152
	use shaper && mymodules="${mymodules}:mod_shaper"
150
	use shaper && mym="${mym}:mod_shaper"
153
	use sitemisc && mymodules="${mymodules}:mod_site_misc"
151
	use sitemisc && mym="${mym}:mod_site_misc"
154
--
Lines 155-157 Link Here
155
		mymodules="${mymodules}:mod_quotatab:mod_quotatab_file"
153
		mym="${mym}:mod_quotatab:mod_quotatab_file"
156
		use ldap && mymodules="${mymodules}:mod_quotatab_ldap"
154
		use ldap && mym="${mym}:mod_quotatab_ldap"
157
		use radius && mymodules="${mymodules}:mod_quotatab_radius"
155
		use radius && mym="${mym}:mod_quotatab_radius"
158
--
Line 159 Link Here
159
			mymodules="${mymodules}:mod_quotatab_sql"
157
			mym="${mym}:mod_quotatab_sql"
160
--
Lines 162-166 Link Here
162
	use ssl && mymodules="${mymodules}:mod_tls:mod_tls_shmcache"
160
	use ssl && mym="${mym}:mod_tls:mod_tls_shmcache"
163
	use tcpd && mymodules="${mymodules}:mod_wrap"
161
	use tcpd && mym="${mym}:mod_wrap"
164
	use vroot && mymodules="${mymodules}:mod_vroot"
162
	use vroot && mym="${mym}:mod_vroot"
165
	# mod_ifsession needs to be the last module in the mymodules list.
163
	# mod_ifsession needs to be the last module in the mym list.
166
	use ifsession && mymodules="${mymodules}:mod_ifsession"
164
	use ifsession && mym="${mym}:mod_ifsession"
167
--
Lines 168-169 Link Here
168
	[ ! -z ${mymodules} ] && myconf="${myconf} --with-modules=${mymodules:1}"
166
	[ -z ${mym} ] || myc="${myc} --with-modules=${mym:1}"
169
	LIBS="${mylibs}" econf --sbindir=/usr/sbin --localstatedir=/var/run/proftpd \
167
	LIBS="${myl}" econf --sbindir=/usr/sbin --localstatedir=/var/run/proftpd \
170
--
Line 180 Link Here
180
		${myconf} || die "econf failed"
178
		${myc:1} || die "econf failed"
181
--
Line 205 Link Here
203
		elog
Line 208 Link Here
207
		elog
Lines 210-216 Link Here
210
		ewarn "You have enabled the mod_exec module. This can be a security risk,"
210
		ewarn
211
		ewarn "as detailed in documentation:"
211
		ewarn "ProFTPD has been built with the mod_exec module. This module"
212
		ewarn "Use of this module allows for such external programs to be executed, and also"
212
		ewarn "can be a security risk for your server as it executes external"
213
		ewarn "opens up the server to the mentioned possibilities of compromise or disclosure"
213
		ewarn "programs. Vulnerables in these external programs may disclose"
214
		ewarn "via those programs."
214
		ewarn "information or even compromise your server."
215
		ewarn "YOU HAVE BEEN WARNED"
215
		ewarn "You have been warned! Use this module at your own risk!"
216
		ewarn "USE AT YOUR OWN RISK"
216
		ewarn
217
--

Return to bug 290262