summaryrefslogtreecommitdiffstats
path: root/checkpkg
AgeCommit message (Collapse)AuthorFilesLines
2011-10-07Support non-standard install locationsLukas Fleischer1-90/+0
This build system overhaul allows for adding (define-style) macros to our scripts. All source files are now suffixed with ".in" to clarify that they might contain unprocessed defines. The Makefile provides a new rule to preprocess source files and generate proper output scripts. Also, add a "@pkgdatadir@" define (as used in GNU Autotools) and use it instead of hardcoded paths to "/usr/share/devtools" everywhere. We missed this when adding PREFIX support to the build system in commit 35fc83ce7d8dc26cd424321f2e8638d05da0a6d4. Signed-off-by: Lukas Fleischer <archlinux@cryptocrack.de>
2011-08-25checkpkg: Use a pipe to sort package listsLukas Fleischer1-5/+2
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 Fleischer1-1/+1
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 Fleischer1-3/+3
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 Fleischer1-8/+2
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 Fleischer1-26/+26
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élanger1-5/+5
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élanger1-3/+2
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élanger1-9/+9
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 Gruber1-1/+1
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 McRae1-5/+0
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élanger1-1/+5
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 Schmitz1-1/+1
This makes it much better readable especially for very large file lists.
2011-01-08checkpkg: get back to working directory after soname checkAllan McRae1-0/+1
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 McRae1-0/+2
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 Schmitz1-2/+2
See https://bugs.archlinux.org/task/21315
2010-09-11checkpkg: make diff output more readablePierre Schmitz1-1/+1
2010-09-06checkpkg: fix extracting soname bumpsIonut Biru1-1/+1
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 Biru1-6/+7
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 Schmitz1-1/+1
2010-07-11checkpkg: Use temporary working directoryPierre Schmitz1-0/+5
2010-06-24removed mode lines; was not a good idea after allPierre Schmitz1-3/+0
2010-02-13apply common coding stylePierre Schmitz1-62/+63
2009-10-26checkpkg: Check package cache for old packagesEric Bélanger1-0/+2
Signed-off-by: Eric Bélanger <snowmaniscool@gmail.com> Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2009-10-26checkpkg: Made wget quietEric Bélanger1-1/+1
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élanger1-40/+43
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 Charette1-1/+3
Fixes FS#16419 Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2009-05-13Use $PKGEXT defined in makepkg.confPierre Schmitz1-5/+5
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 Willard1-15/+14
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 Willard1-1/+12
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-29Whitespace fixes/cleanup to all of the scriptsDan McGee1-0/+2
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-02checkpkg: chmod +xDan McGee1-0/+0
Signed-off-by: Dan McGee <dan@archlinux.org>
2007-10-02Sync package name checking for PKGDEST supportAaron Griffin1-1/+2
Not many changes here, most were already existing checkpkg should fully support PKGDEST Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2007-10-02Updates for makepkg3 and current -> core changeDan McGee1-6/+19
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 Chu1-1/+1
git-svn-id: http://projects.xennet.org/archtools/devtools/trunk@216 630f3fb4-fbd1-0310-a574-b293cca3120f
2005-03-03fixed the typo in my logicJason Chu1-2/+2
git-svn-id: http://projects.xennet.org/archtools/devtools/trunk@205 630f3fb4-fbd1-0310-a574-b293cca3120f
2005-02-24added support for file://Jason Chu1-1/+5
git-svn-id: http://projects.xennet.org/archtools/devtools/trunk@204 630f3fb4-fbd1-0310-a574-b293cca3120f
2004-07-19actually fixed the problem this timeJason Chu1-1/+8
git-svn-id: http://projects.xennet.org/archtools/devtools/trunk@142 630f3fb4-fbd1-0310-a574-b293cca3120f
2004-07-19a couple tweaksJason Chu1-1/+3
git-svn-id: http://projects.xennet.org/archtools/devtools/trunk@139 630f3fb4-fbd1-0310-a574-b293cca3120f
2004-06-24added so name outputsJason Chu1-1/+16
git-svn-id: http://projects.xennet.org/archtools/checkpkg/trunk@106 630f3fb4-fbd1-0310-a574-b293cca3120f
2004-06-24very basic checking so farJason Chu1-0/+30
git-svn-id: http://projects.xennet.org/archtools/checkpkg/trunk@105 630f3fb4-fbd1-0310-a574-b293cca3120f
2004-06-24skeletonJason Chu1-0/+3
git-svn-id: http://projects.xennet.org/archtools/checkpkg/trunk@104 630f3fb4-fbd1-0310-a574-b293cca3120f