perfsonar-dev - perfsonar: r3799 - trunk/packaging/script
Subject: perfsonar development work
List archive
- From:
- To:
- Subject: perfsonar: r3799 - trunk/packaging/script
- Date: Sun, 27 Apr 2008 10:29:03 -0400
Author: fernandes
Date: 2008-04-27 10:29:03 -0400 (Sun, 27 Apr 2008)
New Revision: 3799
Modified:
trunk/packaging/script/package_maker.pl
Log:
Added conffiles creation for debian packages.
Modified: trunk/packaging/script/package_maker.pl
===================================================================
--- trunk/packaging/script/package_maker.pl 2008-04-25 15:09:26 UTC (rev
3798)
+++ trunk/packaging/script/package_maker.pl 2008-04-27 14:29:03 UTC (rev
3799)
@@ -49,16 +49,20 @@
createScripts();
getFilesListing();
- system("find debian/opt -type f -exec md5sum \{\} \; >>
debian/DEBIAN/md5sums");
- system("cp -R webapps/$serviceDirectory
debian/opt/perfsonar/services/".lc($serviceName));
- system("chmod 775
debian/opt/perfsonar/services/".lc($serviceName)."/WEB-INF/logs");
+ chdir("debian");
+
+ system("find opt -type f -exec md5sum \\{\\} \\; >> DEBIAN/md5sums");
+ system("cp -R ../webapps/$serviceDirectory
opt/perfsonar/services/".lc($serviceName));
+ system("chmod 775
opt/perfsonar/services/".lc($serviceName)."/WEB-INF/logs");
for my $directory (@directoryListing){
chomp $directory;
- system("chmod 775
debian/opt/perfsonar/services/".lc($serviceName)."/$directory");
- system("chmod 660
debian/opt/perfsonar/services/".lc($serviceName)."/$directory/* &>
/dev/null");
+ system("chmod 775
opt/perfsonar/services/".lc($serviceName)."/$directory");
+ system("chmod 660
opt/perfsonar/services/".lc($serviceName)."/$directory/* &> /dev/null");
+ system("find
opt/perfsonar/services/".lc($serviceName)."/$directory/* -prune -type f
2>/dev/null >> DEBIAN/conffiles");
}
- system("ln -fs ../../services/".lc($serviceName)."
debian/opt/perfsonar/tomcat/webapps/".lc($serviceName));
+ system("ln -fs ../../services/".lc($serviceName)."
opt/perfsonar/tomcat/webapps/".lc($serviceName));
+ chdir("..");
buildDeb();
}
- perfsonar: r3799 - trunk/packaging/script, svnlog, 04/27/2008
Archive powered by MHonArc 2.6.16.