[arch-dev-public] [signoff] filesystem-2008.06-1
Dan McGee
dpmcgee at gmail.com
Sun Jun 8 20:31:51 EDT 2008
On Sun, Jun 8, 2008 at 6:57 PM, Eric Belanger
<belanger at astro.umontreal.ca> wrote:
> On Sun, 8 Jun 2008, Dan McGee wrote:
>
>> New filesystem package:
>> * Bumped the month number
>> * Updated services/protocols files. These were updated in CVS 3 months
>> ago but had still not gotten a rebuild, and were lost in the
>> transition to SVN. This will close FS#9941.
>>
>> I couldn't build for x86_64, so if someone could do that it would be
>> great.
>>
>> -Dan
>>
>
> While buiding the x86_64 package (I haven't committed it yet), I noticed
> that it creates a /usr/local/man/ directory. Shouldn't that be
> /usr/local/share/man for FSH compliance?
Looks like we need a symlink:
http://www.pathname.com/fhs/pub/fhs-2.3.html#USRLOCALSHARE1
The below patch would work and would link /usr/local/share/man ->
../man (aka /usr/local/man). This is acceptable under the FHS, and
although I would probably prefer the symlink go the other way, this
change will prevent any problems from changing an existing possibly
non-empty directory into a symlink, so is the much easier route.
I didn't apply this in SVN, I will wait for some feedback.
$ svn diff
Index: PKGBUILD
===================================================================
--- PKGBUILD (revision 2625)
+++ PKGBUILD (working copy)
@@ -4,7 +4,7 @@
pkgname=filesystem
pkgver=2008.06
-pkgrel=1
+pkgrel=2
pkgdesc="Base filesystem"
arch=(i686 x86_64)
license=('GPL')
@@ -32,6 +32,7 @@
# fhs compliance
mkdir -p usr/local/{bin,games,include,lib,man,sbin,share,src}
+ ln -s ../man $startdir/pkg/usr/local/share/man
mkdir -p var/{cache/man,local,lock,opt,run,spool/mail,tmp,games}
chmod 1777 var/lock
mkdir -p var/log/old
More information about the arch-dev-public
mailing list