Update of /cvsroot/fink/experimental/thesin/finkinfo
In directory sfp-cvs-1.v30.ch3.sourceforge.com:/tmp/cvs-serv31154

Modified Files:
        debhelper.info 
Log Message:
  * /usr -> %p fixes
  * fix perms so that build as no one or build as root works in fink


Index: debhelper.info
===================================================================
RCS file: /cvsroot/fink/experimental/thesin/finkinfo/debhelper.info,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- debhelper.info      3 Sep 2013 20:20:16 -0000       1.2
+++ debhelper.info      20 Sep 2013 22:49:17 -0000      1.3
@@ -71,6 +71,15 @@
 mv debian/Debhelper perl/Debian
 perl -pi -e 's,Debian\/,perl\/Debian\/,g' Makefile t/syntax
 perl -pi -e 's,PERL5LIB=..\/..,PERL5LIB=..\/..\/perl,g' t/override_target
+
+perl -pi -e 's,-0r,,g' dh_fixperms
+perl -pi -e 's,--no-dereference 0:0," . getpwuid\(\$<\) . ":,g' dh_fixperms
+perl -pi -e 's,0:0,getpwuid\(\$<\):,g' dh_install*
+perl -pi -e 's;"-o",0;"-o",\$\<;g' dh_install*
+perl -pi -e 's;"-g",0;"-g",\(split " ", \$\( \)\[0\];g' dh_install*
+
+# Fixes so we don't need to be root, root or fink-bld is acceptable
+perl -pi -e 's,\$\< != 0,\$\< != 0 and getpwuid\(\$<\) ne "fink-bld",g' 
dh_testroot
 <<
 ###
 CompileScript: <<


------------------------------------------------------------------------------
LIMITED TIME SALE - Full Year of Microsoft Training For Just $49.99!
1,500+ hours of tutorials including VisualStudio 2012, Windows 8, SharePoint
2013, SQL 2012, MVC 4, more. BEST VALUE: New Multi-Library Power Pack includes
Mobile, Cloud, Java, and UX Design. Lowest price ever! Ends 9/20/13. 
http://pubads.g.doubleclick.net/gampad/clk?id=58041151&iu=/4140/ostg.clktrk
_______________________________________________
Fink-commits mailing list
Fink-commits@lists.sourceforge.net
http://news.gmane.org/gmane.os.apple.fink.cvs

Reply via email to