summaryrefslogtreecommitdiff
path: root/checkpkg
AgeCommit message (Collapse)Author
2011-08-25checkpkg: Use a pipe to sort package listsLukas Fleischer
No need to do this after we already wrote the package list to a file. Signed-off-by: Lukas Fleischer <archlinux@cryptocrack.de> Signed-off-by: Pierre Schmitz <pierre@archlinux.de>
2011-08-25checkpkg: Use read builtin to get new ".so" filesLukas Fleischer
The read shell builtin is the proper way to read single lines. Also, simplify grep(1) and awk(1) invocations and use a single awk(1) expression, that supports extracting file names with spaces, instead. Signed-off-by: Lukas Fleischer <archlinux@cryptocrack.de> Signed-off-by: Pierre Schmitz <pierre@archlinux.de>
2011-08-25checkpkg: Avoid unnecessary use of grep(1)/basename(1)Lukas Fleischer
Use parameter expansion instead of invoking external binaries here. Signed-off-by: Lukas Fleischer <archlinux@cryptocrack.de> Signed-off-by: Pierre Schmitz <pierre@archlinux.de>
2011-08-25checkpkg: Avoid unnecessary use of sed(1) and cut(1)Lukas Fleischer
We already use `pacman -Sddp` here which should always only return a single package URL for regular packages. No need to extract the first field of the last line. Also, specify "--print-format '%l'" explicitly to make this consistent even if pacman(8)'s default value changes some day. Use bash parameter expansion instead of sed(1) to extract the file name from the URL. Signed-off-by: Lukas Fleischer <archlinux@cryptocrack.de> Signed-off-by: Pierre Schmitz <pierre@archlinux.de>
2011-08-25checkpkg: Proper quoting, use double bracketsLukas Fleischer
Signed-off-by: Lukas Fleischer <archlinux@cryptocrack.de> Signed-off-by: Pierre Schmitz <pierre@archlinux.de>
2011-08-13checkpkg: Use symlinks in work directory instead of copying the packagesEric Bélanger
Signed-off-by: Eric Bélanger <snowmaniscool@gmail.com> Signed-off-by: Pierre Schmitz <pierre@archlinux.de>
2011-07-25checkpkg: Clean up soname check outputEric Bélanger
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-25Replace backticks by $() and add missing quotesEric Bélanger
Signed-off-by: Eric Bélanger <snowmaniscool@gmail.com> Signed-off-by: Pierre Schmitz <pierre@archlinux.de>
2011-05-16Change pacman calls with -Sd flags to -SddJakob Gruber
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-04-29checkpkg: remove checking for old style package namesAllan McRae
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-29checkpkg: Added epoch supportEric Bélanger
Signed-off-by: Eric Bélanger <snowmaniscool@gmail.com> Signed-off-by: Pierre Schmitz <pierre@archlinux.de>
2011-01-08checkpkg: use sdiff -s to show differences in the file listsPierre Schmitz
This makes it much better readable especially for very large file lists.
2011-01-08checkpkg: get back to working directory after soname checkAllan McRae
Signed-off-by: Allan McRae <allan@archlinux.org> Signed-off-by: Pierre Schmitz <pierre@archlinux.de>
2011-01-08checkpkg: Do not download oldpkg if in starting directoryAllan McRae
Signed-off-by: Allan McRae <allan@archlinux.org> Signed-off-by: Pierre Schmitz <pierre@archlinux.de>
2010-12-02checkpkg: don't exclude libs ending with .soPierre Schmitz
See https://bugs.archlinux.org/task/21315
2010-09-11checkpkg: make diff output more readablePierre Schmitz
2010-09-06checkpkg: fix extracting soname bumpsIonut Biru
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-08-18copy packages into TEMPDIRIonut Biru
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-07-11checkpkg: Improve output messagePierre Schmitz
2010-07-11checkpkg: Use temporary working directoryPierre Schmitz
2010-06-24removed mode lines; was not a good idea after allPierre Schmitz
2010-02-13apply common coding stylePierre Schmitz
2009-10-26checkpkg: Check package cache for old packagesEric Bélanger
Signed-off-by: Eric Bélanger <snowmaniscool@gmail.com> Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2009-10-26checkpkg: Made wget quietEric Bélanger
Signed-off-by: Eric Bélanger <snowmaniscool@gmail.com> Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2009-10-26checkpkg: Added split package supportEric Bélanger
Signed-off-by: Eric Bélanger <snowmaniscool@gmail.com> Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2009-10-06checkpkg: Set CARCH=any when arch=anyFrançois Charette
Fixes FS#16419 Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2009-05-13Use $PKGEXT defined in makepkg.confPierre Schmitz
Also replace some uses of tar with bsdtar Signed-off-by: Pierre Schmitz <pierre@archlinux.de> Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2008-01-23Ensure pkgurl is always fully-qualified pathname in checkpkg.Travis Willard
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-23Improve makepkg config loading for checkpkg and extrapkg.Travis Willard
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>
2007-11-28Whitespace fixes/cleanup to all of the scriptsDan McGee
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-10-01checkpkg: chmod +xDan McGee
Signed-off-by: Dan McGee <dan@archlinux.org>
2007-10-01Sync package name checking for PKGDEST supportAaron Griffin
Not many changes here, most were already existing checkpkg should fully support PKGDEST Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2007-10-01Updates for makepkg3 and current -> core changeDan McGee
Taken from makepkg3.patch that was in the PKGBUILD tree. Signed-off-by: Dan McGee <dan@archlinux.org>
2005-07-18fixed pacman command to not worry about version specific dependenciesJason Chu
git-svn-id: http://projects.xennet.org/archtools/devtools/trunk@216 630f3fb4-fbd1-0310-a574-b293cca3120f
2005-03-03fixed the typo in my logicJason Chu
git-svn-id: http://projects.xennet.org/archtools/devtools/trunk@205 630f3fb4-fbd1-0310-a574-b293cca3120f
2005-02-24added support for file://Jason Chu
git-svn-id: http://projects.xennet.org/archtools/devtools/trunk@204 630f3fb4-fbd1-0310-a574-b293cca3120f
2004-07-19actually fixed the problem this timeJason Chu
git-svn-id: http://projects.xennet.org/archtools/devtools/trunk@142 630f3fb4-fbd1-0310-a574-b293cca3120f
2004-07-19a couple tweaksJason Chu
git-svn-id: http://projects.xennet.org/archtools/devtools/trunk@139 630f3fb4-fbd1-0310-a574-b293cca3120f
2004-06-24added so name outputsJason Chu
git-svn-id: http://projects.xennet.org/archtools/checkpkg/trunk@106 630f3fb4-fbd1-0310-a574-b293cca3120f
2004-06-24very basic checking so farJason Chu
git-svn-id: http://projects.xennet.org/archtools/checkpkg/trunk@105 630f3fb4-fbd1-0310-a574-b293cca3120f
2004-06-24skeletonJason Chu
git-svn-id: http://projects.xennet.org/archtools/checkpkg/trunk@104 630f3fb4-fbd1-0310-a574-b293cca3120f