Commit Graph

36 Commits

Author SHA1 Message Date
Eric Bélanger 2582637376 checkpkg: Use symlinks in work directory instead of copying the packages
Signed-off-by: Eric Bélanger <snowmaniscool@gmail.com>
Signed-off-by: Pierre Schmitz <pierre@archlinux.de>
2011-08-13 20:06:43 +02:00
Eric Bélanger 9a29f624f1 checkpkg: Clean up soname check output
A missing quote in a grep command was giving out false matches.

By moving the objdump command in the same echo statement as the
filename, we ensure that every library name are displayed on a line of
their own in case they don't have a SONAME defined in their
headers. That is the case for some plugin libraries.

Signed-off-by: Eric Bélanger <snowmaniscool@gmail.com>
Signed-off-by: Pierre Schmitz <pierre@archlinux.de>
2011-07-25 17:53:08 +02:00
Eric Bélanger 3040951ca0 Replace backticks by $() and add missing quotes
Signed-off-by: Eric Bélanger <snowmaniscool@gmail.com>
Signed-off-by: Pierre Schmitz <pierre@archlinux.de>
2011-07-25 17:53:02 +02:00
Jakob Gruber 6d4367de35 Change pacman calls with -Sd flags to -Sdd
The old pacman -d flag is now -dd since commit 111e07d0be44b7.

Signed-off-by: Jakob Gruber <jakob.gruber@gmail.com>
Signed-off-by: Pierre Schmitz <pierre@archlinux.de>
2011-05-16 18:19:19 +02:00
Allan McRae e197f6d34c checkpkg: remove checking for old style package names
All the packages in the Arch repo have been rebuilt to include the
architecture in their package names so this workaround is no longer
needed.

Signed-off-by: Allan McRae <allan@archlinux.org>
Signed-off-by: Pierre Schmitz <pierre@archlinux.de>
2011-04-29 21:20:11 +02:00
Eric Bélanger c45e5bbf22 checkpkg: Added epoch support
Signed-off-by: Eric Bélanger <snowmaniscool@gmail.com>
Signed-off-by: Pierre Schmitz <pierre@archlinux.de>
2011-04-29 21:20:04 +02:00
Pierre Schmitz 95afa2e495 checkpkg: use sdiff -s to show differences in the file lists
This makes it much better readable especially for very large file lists.
2011-01-08 17:06:27 +01:00
Allan McRae 1094111559 checkpkg: get back to working directory after soname check
Signed-off-by: Allan McRae <allan@archlinux.org>
Signed-off-by: Pierre Schmitz <pierre@archlinux.de>
2011-01-08 17:04:27 +01:00
Allan McRae 62860de113 checkpkg: Do not download oldpkg if in starting directory
Signed-off-by: Allan McRae <allan@archlinux.org>
Signed-off-by: Pierre Schmitz <pierre@archlinux.de>
2011-01-08 17:04:18 +01:00
Pierre Schmitz 962d84c708 checkpkg: don't exclude libs ending with .so
See https://bugs.archlinux.org/task/21315
2010-12-02 16:50:23 +01:00
Pierre Schmitz 8cb3bcc17b checkpkg: make diff output more readable 2010-09-11 20:17:41 +02:00
Ionut Biru b9ea05789d checkpkg: fix extracting soname bumps
extracting the tarball was done from the wrong directory

Signed-off-by: Ionut Biru <ibiru@archlinux.org>
Signed-off-by: Pierre Schmitz <pierre@archlinux.de>
2010-09-06 20:28:14 +02:00
Ionut Biru 000d68f7c6 copy packages into TEMPDIR
TEMPDIR is used before packages are copied into it and made it fail
because cannot find any.

Signed-off-by: Ionut Biru <ibiru@archlinux.org>
Signed-off-by: Pierre Schmitz <pierre@archlinux.de>
2010-08-18 17:30:49 +02:00
Pierre Schmitz cfdfbd99f8 checkpkg: Improve output message 2010-07-11 13:46:40 +02:00
Pierre Schmitz a01ed3869c checkpkg: Use temporary working directory 2010-07-11 13:45:51 +02:00
Pierre Schmitz 85251a1d7b removed mode lines; was not a good idea after all 2010-06-24 10:01:20 +02:00
Pierre Schmitz 362a99b995 apply common coding style 2010-02-13 19:47:16 +01:00
Eric Bélanger 61e8cd97fb checkpkg: Check package cache for old packages
Signed-off-by: Eric Bélanger <snowmaniscool@gmail.com>
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2009-10-26 13:20:58 -07:00
Eric Bélanger 23aa9719a8 checkpkg: Made wget quiet
Signed-off-by: Eric Bélanger <snowmaniscool@gmail.com>
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2009-10-26 13:20:51 -07:00
Eric Bélanger 40791b305f checkpkg: Added split package support
Signed-off-by: Eric Bélanger <snowmaniscool@gmail.com>
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2009-10-26 13:20:38 -07:00
François Charette 219ec9f196 checkpkg: Set CARCH=any when arch=any
Fixes FS#16419

Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2009-10-06 09:18:02 -07:00
Pierre Schmitz 5dbb964d66 Use $PKGEXT defined in makepkg.conf
Also replace some uses of tar with bsdtar

Signed-off-by: Pierre Schmitz <pierre@archlinux.de>
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2009-05-13 09:41:44 -07:00
Travis Willard 97d4a8bbd0 Ensure pkgurl is always fully-qualified pathname in checkpkg.
This keeps the pkgurl variable consistently fully-qualified, so that whenever we
use that variable we know it points straight at the package file.

Signed-off-by: Travis Willard <travis@archlinux.org>
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2008-01-23 16:11:38 -06:00
Travis Willard 6748570413 Improve makepkg config loading for checkpkg and extrapkg.
Now, checkpkg and extrapkg will fail if /etc/makepkg.conf doesn't exist, and will also try to load in personal user's settings in ~/.makepkg.conf

Signed-off-by: Travis Willard <travis@archlinux.org>
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2008-01-23 16:11:38 -06:00
Dan McGee f05495dfc8 Whitespace fixes/cleanup to all of the scripts
Add the same vim modeline to all the files, as well as cleanup the newly
added scripts a bit. If you look at this diff with the -w option, you'll see
it really isn't all that significant.

Signed-off-by: Dan McGee <dan@archlinux.org>
2007-11-28 21:20:24 -06:00
Dan McGee 43820a5a0d checkpkg: chmod +x
Signed-off-by: Dan McGee <dan@archlinux.org>
2007-10-01 23:29:12 -05:00
Aaron Griffin c1efcc1204 Sync package name checking for PKGDEST support
Not many changes here, most were already existing
checkpkg should fully support PKGDEST

Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2007-10-01 23:08:29 -05:00
Dan McGee 05d0bb6fcc Updates for makepkg3 and current -> core change
Taken from makepkg3.patch that was in the PKGBUILD tree.

Signed-off-by: Dan McGee <dan@archlinux.org>
2007-10-01 23:06:38 -05:00
Jason Chu 770fcbdcab fixed pacman command to not worry about version specific dependencies
git-svn-id: http://projects.xennet.org/archtools/devtools/trunk@216 630f3fb4-fbd1-0310-a574-b293cca3120f
2005-07-18 00:25:38 +00:00
Jason Chu 66b4cfe770 fixed the typo in my logic
git-svn-id: http://projects.xennet.org/archtools/devtools/trunk@205 630f3fb4-fbd1-0310-a574-b293cca3120f
2005-03-03 15:22:56 +00:00
Jason Chu f1fe91af29 added support for file://
git-svn-id: http://projects.xennet.org/archtools/devtools/trunk@204 630f3fb4-fbd1-0310-a574-b293cca3120f
2005-02-24 04:32:43 +00:00
Jason Chu c75f35be50 actually fixed the problem this time
git-svn-id: http://projects.xennet.org/archtools/devtools/trunk@142 630f3fb4-fbd1-0310-a574-b293cca3120f
2004-07-19 05:43:20 +00:00
Jason Chu 5b7fdbdcb8 a couple tweaks
git-svn-id: http://projects.xennet.org/archtools/devtools/trunk@139 630f3fb4-fbd1-0310-a574-b293cca3120f
2004-07-19 05:21:47 +00:00
Jason Chu 0908d03b95 added so name outputs
git-svn-id: http://projects.xennet.org/archtools/checkpkg/trunk@106 630f3fb4-fbd1-0310-a574-b293cca3120f
2004-06-24 21:10:02 +00:00
Jason Chu 7206b11211 very basic checking so far
git-svn-id: http://projects.xennet.org/archtools/checkpkg/trunk@105 630f3fb4-fbd1-0310-a574-b293cca3120f
2004-06-24 20:32:57 +00:00
Jason Chu 8b2d479773 skeleton
git-svn-id: http://projects.xennet.org/archtools/checkpkg/trunk@104 630f3fb4-fbd1-0310-a574-b293cca3120f
2004-06-24 20:02:28 +00:00