Difference between revisions of "Talk:Arch packaging standards"
m (→Punctuation in PKGBUILD: signed)
|Line 52:||Line 52:|
Revision as of 15:17, 14 June 2013
Shouldn't we suggest using SHA1 hash and not the already broken one (MD5)? --Tomato 15:47, 25 August 2010 (EDT)
I've recently found that packages that used bundles libraries tend to segfault. Should we suggest the removal of bundled libraries and instead use system libraries? --Gadget3000 (talk) 02:13, 6 August 2011 (UTC)
Some packages require the addition of system users. For them to be ignored by things such as lightdm, tthey have to be in the sub-1000 UID space. Looking at packages in ABS, these users are simply added with an useradd -u .... However, there is no guideline or authoritative list that I can find which lists which UID is used for what, which is free, or how to register a UID for a specific system user. It would be nice to see a section about it here. --OlivierMehani 19:31, 13 October 2011 (EDT)
- I thinks it's a bit too specific to be listed here. --Snowman 20:45, 13 October 2011 (EDT)
How about adding https://wiki.archlinux.org/index.php/Web_application_package_guidelines to the list? --Trontonic 11:18, 29 February 2012 (EST)
Something more should be said about .install files. Mention that there are also examples in
/usr/share/pacman but it also needs some explanation on how they work. --Mauro2 (talk) 05:30, 15 October 2012 (UTC)
makepkg -g has been superseded by
updpkgsums since pacman 4.1, which doesn't require redirection operators (
>>) or removing the earlier md5sums (with something like
sed -i "/md5sums/,/)/d" PKGBUILD). --Det (talk) 12:16, 7 April 2013 (UTC)
/usr/sbin -> /usr/bin merge
The Directories section needs to be updated to reflect the recent /bin, /sbin, /usr/sbin -> /usr/bin merge:
- The /usr/sbin line should be removed and the description of the /usr/bin line should be changed to all binaries or something similar.
- /bin and /sbin should be added to the "Package should not contain following directories" list.
Punctuation in PKGBUILD
What is the official guidance regarding ending a pkgdesc in a period or using commas and English prose punctuation in general? I find that the official packages are a mixed bag (5% for [core]; 13 % for [extra]; 17 % for [community]) and I find no official guidance in this article.
[Link] to discussion thread.
% sudo abs ### how many have periods in their pkgdesc lines % for i in core extra community; do; find /var/abs/$i -name 'PKGBUILD' | \ parallel grep pkgdesc | grep -c '\.'; done 9 253 431 ### how many total PKGBUILDs % for i in core extra community; do; find /var/abs/$i -name 'PKGBUILD' | \ wc -l; done 176 1999 2571