|
@@ -1,7 +1,7 @@
|
|
%define base_name squid
|
|
%define base_name squid
|
|
%define pkg_epoch 7
|
|
%define pkg_epoch 7
|
|
%define pkg_version 3.1.12
|
|
%define pkg_version 3.1.12
|
|
-%define pkg_release 1%{?_dist_release}
|
|
|
|
|
|
+%define pkg_release 2%{?_dist_release}
|
|
|
|
|
|
Summary: The Squid proxy caching server
|
|
Summary: The Squid proxy caching server
|
|
Summary(ja): Squid ウェブプロキシキャッシュ
|
|
Summary(ja): Squid ウェブプロキシキャッシュ
|
|
@@ -64,7 +64,7 @@ Squid は、メインのサーバプログラム squid と、 Domain Name System
|
|
%build
|
|
%build
|
|
export CXXFLAGS="-fPIE %{optflags}" ; export CFLAGS="-fPIE -Os -g -pipe -fsigned-char %{optflags}" ; export LDFLAGS="-pie" ;
|
|
export CXXFLAGS="-fPIE %{optflags}" ; export CFLAGS="-fPIE -Os -g -pipe -fsigned-char %{optflags}" ; export LDFLAGS="-pie" ;
|
|
%configure \
|
|
%configure \
|
|
- --libexecdir=%{_libexecdir}/%{base_name} \
|
|
|
|
|
|
+ --libexecdir=%{_libdir}/%{base_name} \
|
|
--sysconfdir=%{_sysconfdir}/%{base_name} \
|
|
--sysconfdir=%{_sysconfdir}/%{base_name} \
|
|
--datadir=%{_datadir}/%{base_name} \
|
|
--datadir=%{_datadir}/%{base_name} \
|
|
--disable-dependency-tracking \
|
|
--disable-dependency-tracking \
|
|
@@ -116,7 +116,7 @@ echo "
|
|
# This is %{_sysconfdir}/httpd/conf.d/%{base_name}.conf
|
|
# This is %{_sysconfdir}/httpd/conf.d/%{base_name}.conf
|
|
#
|
|
#
|
|
|
|
|
|
-ScriptAlias /Squid/cgi-bin/cachemgr.cgi %{_libexecdir}/%{base_name}/cachemgr.cgi
|
|
|
|
|
|
+ScriptAlias /Squid/cgi-bin/cachemgr.cgi %{_libdir}/%{base_name}/cachemgr.cgi
|
|
|
|
|
|
# Only allow access from localhost by default
|
|
# Only allow access from localhost by default
|
|
<Location /Squid/cgi-bin/cachemgr.cgi>
|
|
<Location /Squid/cgi-bin/cachemgr.cgi>
|
|
@@ -193,7 +193,7 @@ fi
|
|
|
|
|
|
# Directory
|
|
# Directory
|
|
%dir %{_sysconfdir}/%{base_name}/
|
|
%dir %{_sysconfdir}/%{base_name}/
|
|
-%dir %{_libexecdir}/%{base_name}
|
|
|
|
|
|
+%dir %{_libdir}/%{base_name}
|
|
%dir %{_datadir}/%{base_name}
|
|
%dir %{_datadir}/%{base_name}
|
|
|
|
|
|
%attr(0750,%{base_name},%{base_name}) %dir %{_localstatedir}/log/%{base_name}
|
|
%attr(0750,%{base_name},%{base_name}) %dir %{_localstatedir}/log/%{base_name}
|
|
@@ -205,30 +205,30 @@ fi
|
|
|
|
|
|
%attr(0755,root,root) %{_initdir}/%{base_name}
|
|
%attr(0755,root,root) %{_initdir}/%{base_name}
|
|
|
|
|
|
-%attr(0755,root,root) %{_libexecdir}/%{base_name}/cachemgr.cgi
|
|
|
|
-%attr(4750,root,%{base_name}) %{_libexecdir}/%{base_name}/digest_pw_auth
|
|
|
|
-%attr(4750,root,%{base_name}) %{_libexecdir}/%{base_name}/diskd
|
|
|
|
-%attr(4750,root,%{base_name}) %{_libexecdir}/%{base_name}/fakeauth_auth
|
|
|
|
-%attr(4750,root,%{base_name}) %{_libexecdir}/%{base_name}/getpwname_auth
|
|
|
|
-%attr(4750,root,%{base_name}) %{_libexecdir}/%{base_name}/ip_user_check
|
|
|
|
-%attr(4750,root,%{base_name}) %{_libexecdir}/%{base_name}/msnt_auth
|
|
|
|
-%attr(4750,root,%{base_name}) %{_libexecdir}/%{base_name}/ncsa_auth
|
|
|
|
-%attr(4750,root,%{base_name}) %{_libexecdir}/%{base_name}/negotiate_kerb_auth
|
|
|
|
-%attr(4750,root,%{base_name}) %{_libexecdir}/%{base_name}/negotiate_kerb_auth_test
|
|
|
|
-%attr(4750,root,%{base_name}) %{_libexecdir}/%{base_name}/ntlm_smb_lm_auth
|
|
|
|
-%attr(4750,root,%{base_name}) %{_libexecdir}/%{base_name}/pam_auth
|
|
|
|
-%attr(4750,root,%{base_name}) %{_libexecdir}/%{base_name}/sasl_auth
|
|
|
|
-%attr(4750,root,%{base_name}) %{_libexecdir}/%{base_name}/smb_auth
|
|
|
|
-%attr(4750,root,%{base_name}) %{_libexecdir}/%{base_name}/smb_auth.pl
|
|
|
|
-%attr(4750,root,%{base_name}) %{_libexecdir}/%{base_name}/smb_auth.sh
|
|
|
|
-%attr(4750,root,%{base_name}) %{_libexecdir}/%{base_name}/squid_kerb_auth
|
|
|
|
-%attr(4750,root,%{base_name}) %{_libexecdir}/%{base_name}/squid_kerb_auth_test
|
|
|
|
-%attr(4750,root,%{base_name}) %{_libexecdir}/%{base_name}/squid_ldap_auth
|
|
|
|
-%attr(4750,root,%{base_name}) %{_libexecdir}/%{base_name}/squid_ldap_group
|
|
|
|
-%attr(4750,root,%{base_name}) %{_libexecdir}/%{base_name}/squid_unix_group
|
|
|
|
-%attr(4750,root,%{base_name}) %{_libexecdir}/%{base_name}/unlinkd
|
|
|
|
-%attr(4750,root,%{base_name}) %{_libexecdir}/%{base_name}/wbinfo_group.pl
|
|
|
|
-%attr(4750,root,%{base_name}) %{_libexecdir}/%{base_name}/yp_auth
|
|
|
|
|
|
+%attr(0755,root,root) %{_libdir}/%{base_name}/cachemgr.cgi
|
|
|
|
+%attr(4750,root,%{base_name}) %{_libdir}/%{base_name}/digest_pw_auth
|
|
|
|
+%attr(4750,root,%{base_name}) %{_libdir}/%{base_name}/diskd
|
|
|
|
+%attr(4750,root,%{base_name}) %{_libdir}/%{base_name}/fakeauth_auth
|
|
|
|
+%attr(4750,root,%{base_name}) %{_libdir}/%{base_name}/getpwname_auth
|
|
|
|
+%attr(4750,root,%{base_name}) %{_libdir}/%{base_name}/ip_user_check
|
|
|
|
+%attr(4750,root,%{base_name}) %{_libdir}/%{base_name}/msnt_auth
|
|
|
|
+%attr(4750,root,%{base_name}) %{_libdir}/%{base_name}/ncsa_auth
|
|
|
|
+%attr(4750,root,%{base_name}) %{_libdir}/%{base_name}/negotiate_kerb_auth
|
|
|
|
+%attr(4750,root,%{base_name}) %{_libdir}/%{base_name}/negotiate_kerb_auth_test
|
|
|
|
+%attr(4750,root,%{base_name}) %{_libdir}/%{base_name}/ntlm_smb_lm_auth
|
|
|
|
+%attr(4750,root,%{base_name}) %{_libdir}/%{base_name}/pam_auth
|
|
|
|
+%attr(4750,root,%{base_name}) %{_libdir}/%{base_name}/sasl_auth
|
|
|
|
+%attr(4750,root,%{base_name}) %{_libdir}/%{base_name}/smb_auth
|
|
|
|
+%attr(4750,root,%{base_name}) %{_libdir}/%{base_name}/smb_auth.pl
|
|
|
|
+%attr(4750,root,%{base_name}) %{_libdir}/%{base_name}/smb_auth.sh
|
|
|
|
+%attr(4750,root,%{base_name}) %{_libdir}/%{base_name}/squid_kerb_auth
|
|
|
|
+%attr(4750,root,%{base_name}) %{_libdir}/%{base_name}/squid_kerb_auth_test
|
|
|
|
+%attr(4750,root,%{base_name}) %{_libdir}/%{base_name}/squid_ldap_auth
|
|
|
|
+%attr(4750,root,%{base_name}) %{_libdir}/%{base_name}/squid_ldap_group
|
|
|
|
+%attr(4750,root,%{base_name}) %{_libdir}/%{base_name}/squid_unix_group
|
|
|
|
+%attr(4750,root,%{base_name}) %{_libdir}/%{base_name}/unlinkd
|
|
|
|
+%attr(4750,root,%{base_name}) %{_libdir}/%{base_name}/wbinfo_group.pl
|
|
|
|
+%attr(4750,root,%{base_name}) %{_libdir}/%{base_name}/yp_auth
|
|
|
|
|
|
# Config Files
|
|
# Config Files
|
|
%attr(0640,root,%{base_name}) %config(noreplace) %{_sysconfdir}/%{base_name}/%{base_name}.conf
|
|
%attr(0640,root,%{base_name}) %config(noreplace) %{_sysconfdir}/%{base_name}/%{base_name}.conf
|
|
@@ -261,6 +261,9 @@ fi
|
|
%{_sysconfdir}/%{base_name}/%{base_name}.conf.documented
|
|
%{_sysconfdir}/%{base_name}/%{base_name}.conf.documented
|
|
|
|
|
|
%changelog
|
|
%changelog
|
|
|
|
+* Fri Jun 10 2011 Masahiro INOUE <miyabi.-.inoue@nifty.com> 3.1.12-2
|
|
|
|
+- files in libexec moved to libdir
|
|
|
|
+
|
|
* Tue May 17 2011 Masahiro INOUE <miyabi.-.inoue@nifty.com> 3.1.12-1
|
|
* Tue May 17 2011 Masahiro INOUE <miyabi.-.inoue@nifty.com> 3.1.12-1
|
|
- initial build for Vine Linux
|
|
- initial build for Vine Linux
|
|
- This package is based on Vine Linux - squid-3.0.STABLE25-2
|
|
- This package is based on Vine Linux - squid-3.0.STABLE25-2
|