[62834] trunk/dports/sysutils/backuppc/Portfile

jameskyle at macports.org jameskyle at macports.org
Mon Jan 18 15:04:39 PST 2010


Revision: 62834
          http://trac.macports.org/changeset/62834
Author:   jameskyle at macports.org
Date:     2010-01-18 15:04:36 -0800 (Mon, 18 Jan 2010)
Log Message:
-----------
Corrected dependencies for port change from p5-compress-zlib to p5-compress-raw-zlib. Ticket #22477.

Modified Paths:
--------------
    trunk/dports/sysutils/backuppc/Portfile

Modified: trunk/dports/sysutils/backuppc/Portfile
===================================================================
--- trunk/dports/sysutils/backuppc/Portfile	2010-01-18 22:54:53 UTC (rev 62833)
+++ trunk/dports/sysutils/backuppc/Portfile	2010-01-18 23:04:36 UTC (rev 62834)
@@ -1,9 +1,9 @@
 # $Id$
 
 PortSystem            1.0
-name									backuppc
+name                  backuppc
 categories            sysutils
-version								3.1.0
+version                3.1.0
 maintainers           jameskyle
 homepage              http://backuppc.sourceforge.net/
 description           BackupPC is a high-performance, enterprise-grade system for backing up Linux, WinXX and Mac OS X PCs and laptops to a server's disk.
@@ -11,37 +11,37 @@
 
 platforms             darwin
 
-master_sites					sourceforge
+master_sites          sourceforge
 
-depends_lib						port:perl5 \
-											port:p5-compress-zlib \
-											port:p5-archive-zip \
-											port:p5-file-rsyncp \
-											port:samba3 \
-											port:gnutar \
-											port:mod_perl2 \
-											port:rsync \
-											port:openssh \
-											port:gzip \
-											port:bzip2 \
-											port:par2
-											
+depends_lib            port:perl5 \
+                      port:p5-compress-raw-zlib \
+                      port:p5-archive-zip \
+                      port:p5-file-rsyncp \
+                      port:samba3 \
+                      port:gnutar \
+                      port:mod_perl2 \
+                      port:rsync \
+                      port:openssh \
+                      port:gzip \
+                      port:bzip2 \
+                      port:par2
+
 distname              BackupPC-${version}
-										
-checksums           	md5     84b4471852ef910768eae9963ef932d2 \
-                    	sha1    3bd6d637f4f08f2fda44a12668b91d47c4abb0a7 \
-                    	rmd160  22d4cb6dd76f846fde489a301852f50e8db1ae1d
 
-configure.args				--batch \
-											--backuppc-user=backuppc \
-											--cgi-dir ${prefix}/var/wwwbackup/cgi-bin \
-											--data-dir ${prefix}/var/backups \
-											--dest-dir ${destroot} \
-											--html-dir ${prefix}/var/wwwbackup/htdocs/backuppc \
-											--html-dir-url /backuppc \
-											--install-dir ${prefix}	\
-											--config-dir ${prefix}/etc/BackupPC										
+checksums             md5     84b4471852ef910768eae9963ef932d2 \
+                      sha1    3bd6d637f4f08f2fda44a12668b91d47c4abb0a7 \
+                      rmd160  22d4cb6dd76f846fde489a301852f50e8db1ae1d
 
+configure.args        --batch \
+                      --backuppc-user=backuppc \
+                      --cgi-dir ${prefix}/var/wwwbackup/cgi-bin \
+                      --data-dir ${prefix}/var/backups \
+                      --dest-dir ${destroot} \
+                      --html-dir ${prefix}/var/wwwbackup/htdocs/backuppc \
+                      --html-dir-url /backuppc \
+                      --install-dir ${prefix}  \
+                      --config-dir ${prefix}/etc/BackupPC
+
 patchfiles            patch-configure.pl.diff \
                       patch-lib-backuppc-cgi-view.pm.diff
 
@@ -57,9 +57,9 @@
                        ${destroot}${prefix}/var/log/BackupPC \
                        ${destroot}${prefix}/var/wwwbackup/htdocs\
                        ${destroot}${prefix}/var/wwwbackup/logs
-                       
-set hostname [exec "hostname"]                       
 
+set hostname [exec "hostname"]
+
 pre-configure {
 
   ui_debug  "Hostname: ${hostname}"
@@ -70,8 +70,8 @@
 configure {
   reinplace "s|@@PREFIX@@|${prefix}|g" ${worksrcpath}/configure.pl
   reinplace "s|@@PREFIX@@|${prefix}/|g" ${worksrcpath}/lib/BackupPC/CGI/View.pm
-  
-  
+
+
   addgroup backuppc
   set gid [existsgroup backuppc]
   adduser backuppc gid=${gid} realname=BackupPC
@@ -79,43 +79,43 @@
 
 build {}
 
-destroot {  
+destroot {
   # destroot for the web skeleton
   xinstall -d -m 770 -g backuppc -o backuppc ${destroot}${prefix}/var/wwwbackup
   xinstall -d -m 770 -g backuppc -o backuppc ${destroot}${prefix}/var/wwwbackup/cgi-bin
   xinstall -d -m 770 -g backuppc -o backuppc ${destroot}${prefix}/var/wwwbackup/conf
   xinstall -m 600 -g backuppc -o backuppc ${filespath}/httpd.conf ${destroot}${prefix}/var/wwwbackup/conf/
-  
+
   xinstall -m 600 -g backuppc -o backuppc ${filespath}/mime.types ${destroot}${prefix}/var/wwwbackup/conf
   xinstall -m 600 -g backuppc -o backuppc ${filespath}/magic ${destroot}${prefix}/var/wwwbackup/conf
-  
+
   xinstall -d -m 770 -g backuppc -o backuppc ${destroot}${prefix}/var/wwwbackup/htdocs
   xinstall -m 600 -g backuppc -o backuppc ${filespath}/favicon.ico ${destroot}${prefix}/var/wwwbackup/htdocs/
-  
+
   xinstall -d -m 770 -g backuppc -o backuppc ${destroot}${prefix}/var/wwwbackup/logs
-  
+
   # destroot for backuppc
   xinstall -d -m 770 -g backuppc -o backuppc ${destroot}${prefix}/var/backups
   xinstall -d -m 770 -g backuppc -o backuppc ${destroot}${prefix}/var/log/BackupPC
-  
+
   # create backup directory
   system "cd ${worksrcpath} && ${prefix}/bin/perl configure.pl ${configure.args}"
   xinstall -d -m 755 ${destroot}${prefix}/share/doc/
   move ${destroot}${prefix}/doc ${destroot}${prefix}/share/doc/BackupPC
-  
+
   # install the launch scripts
   xinstall -d -m 755 ${destroot}/Library/LaunchDaemons
-  
+
   xinstall ${filespath}/net.sourceforge.backuppc.plist \
            ${destroot}/Library/LaunchDaemons/
-   
+
    # Install extras
    xinstall -d -m 755 ${destroot}${prefix}/share/BackupPC/extras
    xinstall ${filespath}/backuppc_config_template.rb \
             ${destroot}${prefix}/share/BackupPC/extras
    xinstall ${filespath}/backuppc_auth.conf ${destroot}${prefix}/share/BackupPC/extras
    reinplace "s|@@PREFIX@@|${prefix}|g" ${destroot}${prefix}/share/BackupPC/extras/backuppc_auth.conf
-            
+
    xinstall ${filespath}/org.macports.backuppc.apache2.plist \
             ${destroot}/Library/LaunchDaemons/
   reinplace "s|@@PREFIX@@|${prefix}|g" ${destroot}/Library/LaunchDaemons/org.macports.backuppc.apache2.plist
@@ -123,11 +123,11 @@
   reinplace "s|@@PREFIX@@|${prefix}|g" ${destroot}${prefix}/var/wwwbackup/conf/httpd.conf
   reinplace "s|@@HOSTNAME@@|${hostname}|g" ${destroot}${prefix}/var/wwwbackup/conf/httpd.conf
   reinplace "s|@@PREFIX@@|${prefix}|g" ${destroot}/Library/LaunchDaemons/net.sourceforge.backuppc.plist
-            
-            
-   
-            
-  
+
+
+
+
+
 }
 
 post-activate {
@@ -138,7 +138,7 @@
       and make sure all the settings are correct.  In particular,
       you will need to set \$Conf{CgiAdminUsers} so you have
       administration privileges in the CGI interface.
-      
+
     - Change the \$Conf{}
 
     - Edit the list of hosts to backup in ${prefix}/etc/BackupPC/hosts.
@@ -154,24 +154,24 @@
     - BackupPC should be ready to start.  Don't forget to run it
       as user backuppc!  The installation also contains an
       /Library/LaunchDaemons/net.sourceforge.backuppc.plist launchd
-      so that BackupPC can auto-start on boot. To enable this daemon 
+      so that BackupPC can auto-start on boot. To enable this daemon
       execute the following command:
       cd /Library/LaunchDaemons
       sudo launchctl load net.sourceforge.backuppc.plist
-      
+
     - The data directory is set to ${prefix}/var/backups. Please ensure
-      You have enough space for your backups at this location. You may 
+      You have enough space for your backups at this location. You may
       wish to create a custom mount point point for you backup volume
       if necessary.
-      
+
     - To hide the backuppc user in the login window, you may execute
-      
+
       defaults write /Library/Preferences/com.apple.loginwindow
-      
+
     - Please see the ${prefix}/share/BackupPC/extras directory for client
       setup scripts, sample apache.conf files, and more.
   "
 
   ui_msg ${finish_message}
-  
+
 }
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20100118/09acfe6a/attachment.html>


More information about the macports-changes mailing list