Re: [pacman-dev] [RFC] Make PKGBUILD attributes configurable

2017-04-22 Thread Eli Schwartz
On 04/22/2017 11:33 PM, Dustin Falgout wrote: > Well, TBH, it's news to me. I've never seen any documentation about > what you are describing nor have I ever seen it mentioned anywhere > online that I frequent. Do you have any links I can reference to know > what you are talking about. I'm trying t

Re: [pacman-dev] [RFC] Make PKGBUILD attributes configurable

2017-04-22 Thread Dustin Falgout
> I don't even know what you are talking about, there is no "replacement" > system and I never suggested there was. Okay, sure, so I added the term "replacement" to what you said because that's how I understood it when I read it (as in "drop-in replacement"). My mistake. > What I said was that

Re: [pacman-dev] [RFC] Make PKGBUILD attributes configurable

2017-04-22 Thread Eli Schwartz
On 04/22/2017 10:18 PM, Dustin Falgout wrote: > That sounds sensible to me. I didn't realize there was already a > drop-in replacement system for makepkg. How does it work? I don't even know what you are talking about, there is no "replacement" system and I never suggested there was. What I said w

Re: [pacman-dev] [RFC] Make PKGBUILD attributes configurable

2017-04-22 Thread Dustin Falgout
> Regardless of the suitability of such a thing, wouldn't it make a lot > more sense to try implementing it by making the attributes fully > libmakepkg-ified and extending it via drop-in components for libmakepkg, > rather than inventing some /etc configuration directory for what is, > after all, a

Re: [pacman-dev] [RFC] Make PKGBUILD attributes configurable

2017-04-22 Thread Eli Schwartz
On 04/22/2017 06:53 PM, Dustin Falgout wrote: > It would be great if there was a way to customize the list of > PKGBUILD attributes supported by makepkg without having to edit the > installed copy of makepkg. My use-case is mainly for use with the > --printsrcinfo option but I'm sure it would be

Re: [pacman-dev] [RFC] Make PKGBUILD attributes configurable

2017-04-22 Thread Dustin Falgout
Here is a basic POC for what I had in mind. Please let me know what you think.  >From e7f9293f42d8d069b7a57165b25e79e248abd680 Mon Sep 17 00:00:00 2001 From: Dustin Falgout Date: Sat, 22 Apr 2017 19:54:51 -0500 Subject: [PATCH] [POC] makepkg :: Configurable pkgbuild attributes Signed-off-by: D

Re: [pacman-dev] [RFC] Make PKGBUILD attributes configurable

2017-04-22 Thread Dustin Falgout
Sure, no problem. Currently, our build server uses some custom attributes in the PKGBUILD for additional metadata needed for things like release monitoring. I would like to start using .SRCINFO files on the server because they are easier to parse and also because it would be better convention-wi

Re: [pacman-dev] [RFC] Make PKGBUILD attributes configurable

2017-04-22 Thread Allan McRae
On 23/04/17 09:36, Dustin Falgout wrote: > I would like a way to include custom attributes from the PKGBUILD in the > output of the --printsrcinfo option. So basically, this... > > pkgbase = pacman > pkgdesc = A library-based package manager with dependency support > pkgver = 5.0.1 >

[pacman-dev] [RFC] Make PKGBUILD attributes configurable

2017-04-22 Thread Dustin Falgout
It would be great if there was a way to customize the list of PKGBUILD attributes supported by makepkg without having to edit the installed copy of  makepkg. My use-case is mainly for use with the --printsrcinfo option but I'm sure it would be useful in other areas as well. I'd like to submit a

[pacman-dev] [PATCH 1/2] add send_fakem to valgrind.supp

2017-04-22 Thread Andrew Gregory
Signed-off-by: Andrew Gregory --- valgrind.supp | 8 1 file changed, 8 insertions(+) diff --git a/valgrind.supp b/valgrind.supp index 69265dff..440b7318 100644 --- a/valgrind.supp +++ b/valgrind.supp @@ -169,3 +169,11 @@ obj:/usr/lib/ld-*.so ... } +{ + msgsnd + Memcheck:Par

[pacman-dev] [PATCH 2/2] free memory for --overwrite lists

2017-04-22 Thread Andrew Gregory
Signed-off-by: Andrew Gregory --- lib/libalpm/handle.c | 1 + src/pacman/conf.c| 1 + 2 files changed, 2 insertions(+) diff --git a/lib/libalpm/handle.c b/lib/libalpm/handle.c index b6b27881..502a5d9e 100644 --- a/lib/libalpm/handle.c +++ b/lib/libalpm/handle.c @@ -92,6 +92,7 @@ void _alpm_h