neues ebuild-format mit variablen und so
Bernd Wurst

Bernd Wurst commited on 2007-12-17 17:44:09
Zeige 3 geänderte Dateien mit 193 Einfügungen und 0 Löschungen.

... ...
@@ -8,11 +8,16 @@ RMD160 6a7627b2c957254e1a1bfc27e8101ff5da04fab5 files/apache-ssl-fix.diff 2993
8 8
 SHA256 150fdbd8ab5f45943c76b5244c9e3ef0ed30c6f70a5fd46981edb983de7ec02f files/apache-ssl-fix.diff 2993
9 9
 DIST gentoo-apache-2.2.6-20070907.tar.bz2 58121 RMD160 d0e5f55a8985f97fcdf646e04d92f6519f968104 SHA1 f9fd830bfb8e6c6e3cbac9d8342cc981032d20c5 SHA256 56f809f93fdcba204e6be271f195095d8ad033aa61447dab607af91d95cde8e6
10 10
 DIST gentoo-apache-2.2.6-r3-20071025.tar.bz2 60483 RMD160 3097b088eae160f1196f21abb1488cf54b349ba1 SHA1 1bb261c16e93bb1abc1972b38f73c2726435fb36 SHA256 3f2d0b9d210f3bb22c06901dee7df482c26647562d1a4e98f4196cd649f71d58
11
+DIST gentoo-apache-2.2.6-r6-20071215.tar.bz2 60964 RMD160 b2ea87d18117566a644fe012d23affd38d1f7ef6 SHA1 7a03af24bddf7e9b300eaad891a467ba25ab53ad SHA256 e2ec95dbfd3d406d16a5694746ade43863712037c12ac70f3433b16c75bf5638
11 12
 DIST httpd-2.2.6.tar.bz2 4717066 RMD160 5ae895c6898213e1e3b7e7b02cdfcbe5b36a108f SHA1 e6ef926ecd1f9a412af8c266239f0a6f58c63854 SHA256 f27cd9df50a2acd9df8f37520f62f6ce51758689d425ead5883e75ff5ed6548c
12 13
 EBUILD apache-2.2.6-r3.ebuild 15867 RMD160 bc4754a69578b07c0887948e143535ee42d5c494 SHA1 d4cd5d82f69d4b41f1d41d74eb6ab1cbdf25ed43 SHA256 1dc997400c2f2829939da89593ff43733db032df39c2a7b36e5a7e9885808aab
13 14
 MD5 51cf3a6d14f5799bc32a220665125641 apache-2.2.6-r3.ebuild 15867
14 15
 RMD160 bc4754a69578b07c0887948e143535ee42d5c494 apache-2.2.6-r3.ebuild 15867
15 16
 SHA256 1dc997400c2f2829939da89593ff43733db032df39c2a7b36e5a7e9885808aab apache-2.2.6-r3.ebuild 15867
17
+EBUILD apache-2.2.6-r6.ebuild 5217 RMD160 6411c458a443de97e94a3fa328b05b100245844f SHA1 3848dc1b562fc29322c3452e9fd5820284ed08d3 SHA256 2f51672862d7b3d12c15c8c0ea05006da7b279b226c98aafd7d090c61e0520a4
18
+MD5 3722ae4b57c51d6efd2989b27c870929 apache-2.2.6-r6.ebuild 5217
19
+RMD160 6411c458a443de97e94a3fa328b05b100245844f apache-2.2.6-r6.ebuild 5217
20
+SHA256 2f51672862d7b3d12c15c8c0ea05006da7b279b226c98aafd7d090c61e0520a4 apache-2.2.6-r6.ebuild 5217
16 21
 EBUILD apache-2.2.6.ebuild 15409 RMD160 d28d70bee62cf49b4fa03f11af540b4d73f573b6 SHA1 7e745f24c701aa975afeea5ac0dd1a92acc61e0f SHA256 db821b99842d980acbb98f2584f5374103508c8ba9a81fd6837518b19dcd71f1
17 22
 MD5 83cc4a3331319d94de3fb5e69f74e4d3 apache-2.2.6.ebuild 15409
18 23
 RMD160 d28d70bee62cf49b4fa03f11af540b4d73f573b6 apache-2.2.6.ebuild 15409
... ...
@@ -23,3 +28,6 @@ SHA256 69de15f758686c7f7977e0b75dd988e247162fb97fb394be4efe40997a53e308 files/di
23 28
 MD5 5345564d6f3113af8483954bf52c4209 files/digest-apache-2.2.6-r3 536
24 29
 RMD160 7569c275d74b58f38b180e12e19fb2e48608c86c files/digest-apache-2.2.6-r3 536
25 30
 SHA256 6de6aef20a1588fb17fdcfda567ee9e7b08fd700ffc823c83c88aeb88c43a51b files/digest-apache-2.2.6-r3 536
31
+MD5 d6e528b4934cf191516f6053c9f63c97 files/digest-apache-2.2.6-r6 536
32
+RMD160 f32d00e581a61a1b1e183f9229da0ca2048c5a9f files/digest-apache-2.2.6-r6 536
33
+SHA256 b96912d1eb1d3325b98daf7aa5314bf5eb5826206ba24add0d9840904497c541 files/digest-apache-2.2.6-r6 536
... ...
@@ -0,0 +1,179 @@
1
+# Copyright 1999-2007 Gentoo Foundation
2
+# Distributed under the terms of the GNU General Public License v2
3
+# $Header: /var/cvsroot/gentoo-x86/www-servers/apache/apache-2.2.6-r6.ebuild,v 1.1 2007/12/15 14:32:52 hollow Exp $
4
+
5
+# latest gentoo apache files
6
+GENTOO_PATCHSTAMP="20071215"
7
+GENTOO_DEVELOPER="hollow"
8
+
9
+# IUSE/USE_EXPAND magic
10
+IUSE_MPMS_FORK="itk peruser prefork"
11
+IUSE_MPMS_THREAD="event worker"
12
+
13
+IUSE_MODULES="actions alias asis auth_basic auth_digest authn_alias authn_anon
14
+authn_dbd authn_dbm authn_default authn_file authz_dbm authz_default
15
+authz_groupfile authz_host authz_owner authz_user autoindex cache cern_meta
16
+charset_lite dav dav_fs dav_lock dbd deflate dir disk_cache dumpio env expires
17
+ext_filter file_cache filter headers ident imagemap include info log_config
18
+log_forensic logio mem_cache mime mime_magic negotiation proxy proxy_ajp
19
+proxy_balancer proxy_connect proxy_ftp proxy_http rewrite setenvif speling
20
+status unique_id userdir usertrack version vhost_alias"
21
+
22
+# inter-module dependencies
23
+# TODO: this may still be incomplete
24
+MODULE_DEPENDS="
25
+	dav_fs:dav
26
+	dav_lock:dav
27
+	deflate:filter
28
+	disk_cache:cache
29
+	ext_filter:filter
30
+	file_cache:cache
31
+	log_forensic:log_config
32
+	logio:log_config
33
+	mem_cache:cache
34
+	mime_magic:mime
35
+	proxy_ajp:proxy
36
+	proxy_balancer:proxy
37
+	proxy_connect:proxy
38
+	proxy_ftp:proxy
39
+	proxy_http:proxy
40
+	usertrack:unique_id
41
+"
42
+
43
+# module<->define mappings
44
+MODULE_DEFINES="
45
+	auth_digest:AUTH_DIGEST
46
+	authnz_ldap:AUTHNZ_LDAP
47
+	cache:CACHE
48
+	dav:DAV
49
+	dav_fs:DAV
50
+	dav_lock:DAV
51
+	disk_cache:CACHE
52
+	file_cache:CACHE
53
+	info:INFO
54
+	ldap:LDAP
55
+	mem_cache:CACHE
56
+	proxy:PROXY
57
+	proxy_ajp:PROXY
58
+	proxy_balancer:PROXY
59
+	proxy_connect:PROXY
60
+	proxy_http:PROXY
61
+	ssl:SSL
62
+	status:INFO
63
+	suexec:SUEXEC
64
+	userdir:USERDIR
65
+"
66
+
67
+MODULE_CRITICAL="
68
+authz_host
69
+dir
70
+mime
71
+"
72
+
73
+inherit apache-2
74
+
75
+DESCRIPTION="The Apache Web Server."
76
+HOMEPAGE="http://httpd.apache.org/"
77
+
78
+# some helper scripts are apache-1.1, thus both are here
79
+LICENSE="Apache-2.0 Apache-1.1"
80
+SLOT="2"
81
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd"
82
+IUSE="sni"
83
+
84
+DEPEND="${DEPEND}
85
+	apache2_modules_deflate? ( sys-libs/zlib )"
86
+
87
+RDEPEND="${RDEPEND}
88
+	apache2_modules_mime? ( app-misc/mime-types )"
89
+
90
+src_unpack() {
91
+	if ! use sni ; then
92
+		EPATCH_EXCLUDE="04_all_mod_ssl_tls_sni.patch"
93
+	fi
94
+
95
+	apache-2_src_unpack
96
+
97
+	cd "${S}"
98
+	epatch "${FILESDIR}/apache-noip.diff"
99
+}
100
+
101
+pkg_postinst() {
102
+	apache-2_pkg_postinst
103
+
104
+	# previous installations of apache-2.2 installed the upstream configuration
105
+	# files, which shouldn't even have been installed!
106
+	if has_version '>=www-servers/apache-2.2.4' ; then
107
+		if [[ -f "${ROOT}"etc/apache2/apache2.conf ]] ; then
108
+			rm -f "${ROOT}"/etc/apache2/apache2.conf >/dev/null 2>&1
109
+		fi
110
+
111
+		for i in extra original ; do
112
+			if [[ -d "${ROOT}"/etc/apache2/${i} ]] ; then
113
+				rm -rf "${ROOT}"/etc/apache2/${i} >/dev/null 2>&1
114
+			fi
115
+		done
116
+	fi
117
+
118
+	# note regarding IfDefine changes
119
+	if has_version '<www-servers/apache-2.2.6-r1' ; then
120
+		elog
121
+		elog "When upgrading from versions 2.2.6 or earlier, please be aware"
122
+		elog "that the define for mod_authnz_ldap has changed from AUTH_LDAP"
123
+		elog "to AUTHNZ_LDAP. Additionally mod_auth_digest needs to be enabled"
124
+		elog "with AUTH_DIGEST now."
125
+		elog
126
+	fi
127
+
128
+	# note the changes regarding DEFAULT_VHOST and SSL_DEFAULT_VHOST
129
+	if has_version '<www-servers/apache-2.2.4-r7' ; then
130
+		elog
131
+		elog "Listen directives have been moved into the default virtual host"
132
+		elog "configuation. At least DEFAULT_VHOST has been enabled for you"
133
+		elog "(depending on your USE-flags.)"
134
+		elog
135
+		elog "If you disable DEFAULT_VHOST or SSL_DEFAULT_VHOST, there will"
136
+		elog "be no listening sockets available."
137
+		elog
138
+	fi
139
+
140
+	# note the user of the config changes
141
+	if has_version '<www-servers/apache-2.2.4-r5' ; then
142
+		elog
143
+		elog "Please make sure that you update your /etc directory."
144
+		elog "Between the versions, we had to changes some config files"
145
+		elog "and move some stuff out of the main httpd.conf file to a seperate"
146
+		elog "modules.d entry."
147
+		elog
148
+		elog "Thus please update your /etc directory either via etc-update,"
149
+		elog "dispatch-conf or conf-update !"
150
+		elog
151
+	fi
152
+
153
+	# check for dual/upgrade install
154
+	if has_version '<www-servers/apache-2.2.0' ; then
155
+		elog
156
+		elog "When upgrading from versions below 2.2.0 to this version, you"
157
+		elog "need to rebuild all your modules. Please do so for your modules"
158
+		elog "to continue working correctly."
159
+		elog
160
+		elog "Also note that some configuration directives have been"
161
+		elog "split into their own files under ${ROOT}etc/apache2/modules.d/"
162
+		elog "and that some modules, foremost the authentication related ones,"
163
+		elog "have been renamed."
164
+		elog
165
+		elog "Some examples:"
166
+		elog "  - USERDIR is now configureable in ${ROOT}etc/apache2/modules.d/00_mod_userdir.conf."
167
+		elog
168
+		elog "For more information on what you may need to change, please"
169
+		elog "see the overview of changes at:"
170
+		elog "http://httpd.apache.org/docs/2.2/new_features_2_2.html"
171
+		elog "and the upgrading guide at:"
172
+		elog "http://httpd.apache.org/docs/2.2/upgrading.html"
173
+		elog
174
+	fi
175
+
176
+	# cleanup the vim backup files, placed in /etc/apache2 by the last
177
+	# patchtarball (gentoo-apache-2.2.4-r7-20070615)
178
+	rm -f "${ROOT}etc/apache2/modules.d/*.conf~"
179
+}
... ...
@@ -0,0 +1,6 @@
1
+MD5 e5e99f1cb519d71242fa3a7f68e5f28a gentoo-apache-2.2.6-r6-20071215.tar.bz2 60964
2
+RMD160 b2ea87d18117566a644fe012d23affd38d1f7ef6 gentoo-apache-2.2.6-r6-20071215.tar.bz2 60964
3
+SHA256 e2ec95dbfd3d406d16a5694746ade43863712037c12ac70f3433b16c75bf5638 gentoo-apache-2.2.6-r6-20071215.tar.bz2 60964
4
+MD5 203bea91715064f0c787f6499d33a377 httpd-2.2.6.tar.bz2 4717066
5
+RMD160 5ae895c6898213e1e3b7e7b02cdfcbe5b36a108f httpd-2.2.6.tar.bz2 4717066
6
+SHA256 f27cd9df50a2acd9df8f37520f62f6ce51758689d425ead5883e75ff5ed6548c httpd-2.2.6.tar.bz2 4717066
0 7