Re: [pacman-dev] #10530: checksum verification does not work on BSD

2008-05-31 Thread Roman Kyrylych
2008/5/30 Sebastian Nowicki [EMAIL PROTECTED]: I don't really like this solution, but it's the only portable solution I could think of. Instead of using md5sum, sha1sum, etc from GNU coreutils, openssl is used. Openssl has the limitation that it does not support the other sha* algorithms, so

Re: [pacman-dev] pacman port to BSD

2008-05-31 Thread Sebastian Nowicki
On 31/05/2008, at 5:42 PM, Antonio Huete Jimenez wrote: Hello I've just compiled and tested pacman with some minor make problems (like being unable to compile pacman.8) under DragonFlyBSD. pacman seems to run fine, but I've been unable to make packages using makepkg, due a fail when

Re: [pacman-dev] bacman

2008-05-31 Thread Dan McGee
On Sat, May 31, 2008 at 3:36 AM, Sebastian Nowicki [EMAIL PROTECTED] wrote: On 31/05/2008, at 8:27 AM, Carlo Bersani wrote: pkg_size=$(du -sb | awk '{print $1}') I suggest using $(du -sk | awk '{print $1 * 1024}') so that we don't have the same problem with portability as in makepkg[1].

Re: [pacman-dev] [PATCH] Make sure dot files don't get included in package

2008-05-31 Thread Dan McGee
On Sat, May 31, 2008 at 4:19 AM, Sebastian Nowicki [EMAIL PROTECTED] wrote: On BSD systems, as a super user, `ls` displays all dot files by default. On most BSD systems -I can be used to suppress this behavior, but this argument is not available on Mac OSX. Instead, grep is used to filter out

Re: [pacman-dev] [PATCH] Make sure dot files don't get included in package

2008-05-31 Thread Sebastian Nowicki
On 31/05/2008, at 9:09 PM, Dan McGee wrote: On Sat, May 31, 2008 at 4:19 AM, Sebastian Nowicki [EMAIL PROTECTED] wrote: On BSD systems, as a super user, `ls` displays all dot files by default. On most BSD systems -I can be used to suppress this behavior, but this argument is not

Re: [pacman-dev] [PATCH] Use openssl for checksum verification instead of *sum utilities

2008-05-31 Thread Dan McGee
On Sat, May 31, 2008 at 1:35 AM, Sebastian Nowicki [EMAIL PROTECTED] wrote: md5sum, sha1sum, etc, do not exist on BSD systems by default. Openssl is a good portable alternative. This also brings in a dependency for openssl. Closes FS#10530. Signed-off-by: Sebastian Nowicki [EMAIL PROTECTED]

Re: [pacman-dev] [PATCH] Make sure dot files don't get included in package

2008-05-31 Thread Dan McGee
On Sat, May 31, 2008 at 8:18 AM, Sebastian Nowicki [EMAIL PROTECTED] wrote: On 31/05/2008, at 9:09 PM, Dan McGee wrote: On Sat, May 31, 2008 at 4:19 AM, Sebastian Nowicki [EMAIL PROTECTED] wrote: On BSD systems, as a super user, `ls` displays all dot files by default. On most BSD systems

[pacman-dev] [PATCH] Allow GIT version to be used in pacman builds

2008-05-31 Thread Dan McGee
Add a new configure flag, --enable-git-version, that allows the output of 'git describe' to be used in the version string associated with this package. This could aid in debugging for users that are using a development version of pacman and we should be able to figure out which cut of code they

[pacman-dev] [GIT] The official pacman repository branch, master, updated. v3.1.4-184-g54e1e3e

2008-05-31 Thread Dan McGee
This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project The official pacman repository. The branch, master has been updated via 54e1e3e642d834d8c676db7f74e95c6e24b19eab (commit) via

Re: [pacman-dev] [PATCH] makepkg: add --allsource option

2008-05-31 Thread Miklos Vajna
On Sat, May 31, 2008 at 12:07:45PM -0500, Dan McGee [EMAIL PROTECTED] wrote: This supplements the --source option and does nearly the same thing, except downloaded source files are included in the archive as well. This is mainly an RFC patch and interested parties are encouraged to comment.

Re: [pacman-dev] [PATCH] makepkg: add --allsource option

2008-05-31 Thread Dan McGee
On Sat, May 31, 2008 at 3:47 PM, Miklos Vajna [EMAIL PROTECTED] wrote: On Sat, May 31, 2008 at 12:07:45PM -0500, Dan McGee [EMAIL PROTECTED] wrote: This supplements the --source option and does nearly the same thing, except downloaded source files are included in the archive as well. This is

Re: [pacman-dev] [PATCH] makepkg: add --allsource option

2008-05-31 Thread Loui
On Sat, 31 May 2008 12:07:45 -0500 Dan McGee [EMAIL PROTECTED] wrote: This is mainly an RFC patch and interested parties are encouraged to comment. I was also planning on making a patch for adding the package/ prefix to the archived files, but apparently no archive program makes this easy to

Re: [pacman-dev] [PATCH] makepkg: add --allsource option

2008-05-31 Thread Miklos Vajna
On Sat, May 31, 2008 at 04:32:15PM -0500, Dan McGee [EMAIL PROTECTED] wrote: Yes there is use for this- to help people using makepkg comply with the GPL and providing source and the necessary tools to build it when they provide binary packages. I didn't remove the --source option on purpose;

Re: [pacman-dev] [PATCH] makepkg: add --allsource option

2008-05-31 Thread Allan McRae
Miklos Vajna wrote: On Sat, May 31, 2008 at 04:32:15PM -0500, Dan McGee [EMAIL PROTECTED] wrote: Yes there is use for this- to help people using makepkg comply with the GPL and providing source and the necessary tools to build it when they provide binary packages. I didn't remove the