Lines 152-172
Link Here
|
152 |
src_install() { |
152 |
src_install() { |
153 |
apache-2_src_install |
153 |
apache-2_src_install |
154 |
for i in /usr/bin/{htdigest,logresolve,htpasswd,htdbm,ab,httxt2dbm}; do |
154 |
for i in /usr/bin/{htdigest,logresolve,htpasswd,htdbm,ab,httxt2dbm}; do |
155 |
rm "${D}"/$i || die "Failed to prune apache-tools bits" |
155 |
rm "${ED}"/$i || die "Failed to prune apache-tools bits" |
156 |
done |
156 |
done |
157 |
for i in /usr/share/man/man8/{rotatelogs.8,htcacheclean.8}; do |
157 |
for i in /usr/share/man/man8/{rotatelogs.8,htcacheclean.8}; do |
158 |
rm "${D}"/$i || die "Failed to prune apache-tools bits" |
158 |
rm "${ED}"/$i || die "Failed to prune apache-tools bits" |
159 |
done |
159 |
done |
160 |
for i in /usr/share/man/man1/{logresolve.1,htdbm.1,htdigest.1,htpasswd.1,dbmmanage.1,ab.1}; do |
160 |
for i in /usr/share/man/man1/{logresolve.1,htdbm.1,htdigest.1,htpasswd.1,dbmmanage.1,ab.1}; do |
161 |
rm "${D}"/$i || die "Failed to prune apache-tools bits" |
161 |
rm "${ED}"/$i || die "Failed to prune apache-tools bits" |
162 |
done |
162 |
done |
163 |
for i in /usr/sbin/{checkgid,fcgistarter,htcacheclean,rotatelogs}; do |
163 |
for i in /usr/sbin/{checkgid,fcgistarter,htcacheclean,rotatelogs}; do |
164 |
rm "${D}/"$i || die "Failed to prune apache-tools bits" |
164 |
rm "${ED}/"$i || die "Failed to prune apache-tools bits" |
165 |
done |
165 |
done |
166 |
|
166 |
|
167 |
# well, actually installing things makes them more installed, I guess? |
167 |
# well, actually installing things makes them more installed, I guess? |
168 |
cp "${S}"/support/apxs "${D}"/usr/sbin/apxs || die "Failed to install apxs" |
168 |
cp "${S}"/support/apxs "${ED}"/usr/sbin/apxs || die "Failed to install apxs" |
169 |
chmod 0755 "${D}"/usr/sbin/apxs |
169 |
chmod 0755 "${ED}"/usr/sbin/apxs |
170 |
|
170 |
|
171 |
# Note: wait for mod_systemd to be included in the next release, |
171 |
# Note: wait for mod_systemd to be included in the next release, |
172 |
# then apache2.4.service can be used and systemd support controlled |
172 |
# then apache2.4.service can be used and systemd support controlled |