debian build umask depedancy

Hermann Lauer Hermann.Lauer at iwr.uni-heidelberg.de
Tue Jan 5 14:26:33 CET 2010


The appended patch fixes a umask dependency of the build,
otherwise a umask of 0023 make a build with fakeroot fail on lenny:

chmod -x debian/freeradius/usr/share/doc/freeradius/examples/example.pl
chmod: debian/freeradius/usr/share/doc/freeradius/examples/example.pl: new permissions are rw-r--r-x, not rw-r--r--
make[1]: *** [binary-common] Error 1
make[1]: Leaving directory `/home/hlauer/debian/freeradius/freeradius-server-2.1.8'
make: *** [binary-arch] Error 2
dpkg-buildpackage: failure: fakeroot debian/rules binary gave error exit status 2

Or should this solved solved somehow else ?
Thanks,
  Hermann
-------------- next part --------------
diff --git a/debian/rules b/debian/rules
--- a/debian/rules
+++ b/debian/rules
@@ -182,7 +182,7 @@
 	dh_installchangelogs 
 	dh_installdocs
 	dh_installexamples
-	chmod -x debian/freeradius/usr/share/doc/freeradius/examples/example.pl
+	chmod go-x debian/freeradius/usr/share/doc/freeradius/examples/example.pl
 	dh_installlogrotate	
 	dh_installpam --name=radiusd 
 	dh_installinit --noscripts


More information about the Freeradius-Devel mailing list