[paketler-commits] r8487 - in playground/server/proxy/squid: . comar

paketler-uludag at uludag.org.tr paketler-uludag at uludag.org.tr
26 Haz 2006 Pzt 14:05:46 EEST


Author: erdinc
Date: Mon Jun 26 14:05:45 2006
New Revision: 8487

Added:
   playground/server/proxy/squid/comar/service.py
Modified:
   playground/server/proxy/squid/actions.py
   playground/server/proxy/squid/comar/package.py
   playground/server/proxy/squid/pspec.xml
Log:
comar init script added, typo fixes and 90 60 90 60 bu kızı kim daraltmış :)


Modified: playground/server/proxy/squid/actions.py
=================================================================
--- playground/server/proxy/squid/actions.py	(original)
+++ playground/server/proxy/squid/actions.py	Mon Jun 26 14:05:45 2006
@@ -13,6 +13,8 @@
 WorkDir = "squid-2.5.STABLE14"
 
 def setup():
+    shelltools.export("WANT_AUTOCONF", "2.1")
+    autotools.autoconf()
     shelltools.export("CC", get.CC())
     autotools.configure("--prefix=/usr \
                          --bindir=/usr/bin \
@@ -40,7 +42,9 @@
                          --with-large-files \
                          --enable-htcp \
                          --enable-carp \
-                         --enable-poll")
+                         --enable-poll \
+                         --enable-ssl \
+                         --host=%s" %  get.HOST())
 
 #    pisitools.dosed("include/autoconf.h", "#define SQUID_MAXFD", "#define SQUID_MAXFD 8192")
 
@@ -50,6 +54,7 @@
 def install():
     autotools.rawInstall("DESTDIR=%s" % get.installDIR())
     pisitools.dodir("/var/cache/squid")
+    pisitools.dodir("/var/log/squid")
     pisitools.dosym("/usr/lib/squid/errors/English", "/etc/squid/errors")
     pisitools.dodoc("CONTRIBUTORS", "CREDITS", "ChangeLog", "QUICKSTART", "SPONSORS", "doc/*.txt", "helpers/ntlm_auth/no_check/README.no_check_ntlm_auth")
     pisitools.dodoc("helpers/basic_auth/SASL/squid_sasl_auth*")

Modified: playground/server/proxy/squid/comar/package.py
=================================================================
--- playground/server/proxy/squid/comar/package.py	(original)
+++ playground/server/proxy/squid/comar/package.py	Mon Jun 26 14:05:45 2006
@@ -27,5 +27,9 @@
 
     os.system("/usr/bin/chown root:squid /usr/lib/squid/ncsa_auth")
     os.system("/usr/bin/chown root:squid /usr/lib/squid/pam_auth")
+    os.system("/usr/bin/chown squid:squid /var/log/squid")
+    os.system("/usr/bin/chown squid:squid /var/cache/squid")
     os.system("/usr/bin/chmod 4750 /usr/lib/squid/ncsa_auth")
     os.system("/usr/bin/chmod 4750 /usr/lib/squid/pam_auth")
+    os.system("/usr/bin/chmod 0755 /var/log/squid")
+    os.system("/usr/bin/chmod 0755 /var/cache/squid")

Modified: playground/server/proxy/squid/pspec.xml
=================================================================
--- playground/server/proxy/squid/pspec.xml	(original)
+++ playground/server/proxy/squid/pspec.xml	Mon Jun 26 14:05:45 2006
@@ -21,6 +21,11 @@
 
     <Package>
         <Name>squid</Name>
+        <RuntimeDependencies>
+            <Dependency versionFrom="0.9.6">openssl</Dependency>
+            <Dependency>pam</Dependency>
+            <Dependency>cyrus-sasl</Dependency>
+        </RuntimeDependencies>
         <Files>
             <Path fileType="executable">/usr/bin</Path>
             <Path fileType="executable">/usr/sbin</Path>
@@ -36,10 +41,18 @@
         </AdditionalFiles>
         <Provides>
             <COMAR script="package.py">System.Package</COMAR>
+            <COMAR script="service.py">System.Service</COMAR>
         </Provides>
     </Package>
 
-    <History>                                                                          
+    <History>
+        <Update release="2">
+            <Date>2006-06-26</Date>
+            <Version>2.5.14</Version>
+            <Comment>Comar init script added</Comment>
+            <Name>Ali Erdinç Köroğlu</Name>
+            <Email>erdinc at pardus.org.tr</Email>
+        </Update>                                                                       
         <Update release="1">
             <Date>2006-06-13</Date>
             <Version>2.5.14</Version>


Paketler-commits mesaj listesiyle ilgili daha fazla bilgi