Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2011-11-11prepare release20111111Pierre Schmitz
2011-11-09makechrootpkg: fix repackIonut Biru
repack is defined as a boolean. set it true when -R is passed /usr/sbin/makechrootpkg: line 295: 1: command not found Signed-off-by: Ionut Biru <ibiru@archlinux.org> Signed-off-by: Pierre Schmitz <pierre@archlinux.de>
2011-11-06prepare release20111106Pierre Schmitz
2011-11-06archbuild: Always use recent makepkg.conf and pacman.conf; Run namcap by defaultPierre Schmitz
2011-11-06makechrootpkg: Create separate namcap log for every single filePierre Schmitz
2011-11-06mkarchroot: Respect makepkg.conf and pacman.conf when running a commandPierre Schmitz
2011-11-04commitpkg: Fix commit messageLukas Fleischer
Move the message template before the if block. We moved this to the else branch in commit aaa68e49e8e5a68950a63b9aa4a8c1f6aed2e2d2 which lead to "msgtemplate" being unset if one specifies a commit message on the command line, thus stripping the "upgpkg:" part. Signed-off-by: Lukas Fleischer <archlinux@cryptocrack.de> Signed-off-by: Pierre Schmitz <pierre@archlinux.de>
2011-11-04commitpkg: Make svn quieterEric Bélanger
Signed-off-by: Eric Bélanger <snowmaniscool@gmail.com> Signed-off-by: Pierre Schmitz <pierre@archlinux.de>
2011-11-04Makefile: Add common library to build dependenciesLukas Fleischer
Add "lib/common.sh" to the build dependencies of our scripts to ensure everything gets rebuilt when we modify a common function. Also, add "Makefile" itself to enforce a rebuild if the edit command changes. Signed-off-by: Lukas Fleischer <archlinux@cryptocrack.de> Signed-off-by: Pierre Schmitz <pierre@archlinux.de>
2011-11-04lib/common.sh: Revise setup_workdir()Lukas Fleischer
* Honor TMPDIR variable (just like we did in commit a0c6bf45). * Quote path properly. * Avoid unnecessary use of basename(1). Signed-off-by: Lukas Fleischer <archlinux@cryptocrack.de> Signed-off-by: Pierre Schmitz <pierre@archlinux.de>
2011-11-04lib/common.sh: Use double bracketsLukas Fleischer
Signed-off-by: Lukas Fleischer <archlinux@cryptocrack.de> Signed-off-by: Pierre Schmitz <pierre@archlinux.de>
2011-11-04Capitalize output messagesEric Bélanger
Some of the output/error messages were capitalized, some were not. This patch capitalize everything for consistency sake. Other minor changes were done to the messages like removing the superfluous "error:" from die messages and adding a final period to messages that were complete sentences as appropriate. Signed-off-by: Eric Bélanger <snowmaniscool@gmail.com> Signed-off-by: Pierre Schmitz <pierre@archlinux.de>
2011-11-01Change version to date20111101Pierre Schmitz
2011-11-01Move common functions to a shared filePierre Schmitz
* common.sh is included on build time * most functions are copied from makepkg
2011-10-31add libdepends scriptFlorian Pritz
Signed-off-by: Florian Pritz <bluewind@xinu.at> Signed-off-by: Pierre Schmitz <pierre@archlinux.de>
2011-10-31Create signature for devtools source packagePierre Schmitz
2011-10-31commitpkg: Require signatures for packagesPierre Schmitz
2011-10-31commitpkg: Check signature if availablePierre Schmitz
2011-10-31commitpkg: Skip signing if signature already existsPierre Schmitz
2011-10-31makechrootpkg: Handle install and changelog file the same way as in commitpkgPierre Schmitz
2011-10-31makechrootpkg: Do not export LANGPierre Schmitz
This is done by /etc/profile.d/locale.sh. By this we also ensure compatibility with systemd.
2011-10-29prepare release0.9.30Pierre Schmitz
2011-10-29temporary workaround until pacman 4.0 moves to [core]Pierre Schmitz
Pacman 3 refuses to work with the pacman 4 SigLevel config entry Also related: https://bugs.archlinux.org/task/26555
2011-10-29makechrootpkg: Make host pubring.gpg available to check signed sourcesPierre Schmitz
2011-10-29commitpkg: Sync changelog/install check with makepkg(8)Lukas Fleischer
makepkg(8) currently uses a smarter method to extract all changelog and install files from a PKGBUILD. Sync commitpkg to use the same code (with small modifications). This also adds support for changelog/install files that contain a whitespace. Signed-off-by: Lukas Fleischer <archlinux@cryptocrack.de> Signed-off-by: Pierre Schmitz <pierre@archlinux.de>
2011-10-29makechrootpkg: Set the C locale system widePierre Schmitz
makepkg sources /etc/profile before calling build(). This will change the locale from C to en_US.UTF8.
2011-10-14prepare release0.9.29Pierre Schmitz
2011-10-14Disable pacman's CheckSpace option as it fails within a chrootPierre Schmitz
2011-10-14prepare release0.9.28Pierre Schmitz
2011-10-14Call locale-gen with full path in chroot environmentPierre Schmitz
Thanks to Peter Schuller for this hint
2011-10-14makechrootpkg: Avoid running namcap on non-package file like signaturesPierre Schmitz
We only use .xz or .gz compression for pacakges so we can be more specific and avoid a match of e.g. *.pkg.tar.xz.sig etc.
2011-10-14Merge remote-tracking branch 'cryptocrack/for-pierre'Pierre Schmitz
2011-10-14Apply pacman 4.0 changes to our copies of makepkg.conf and pacman.confPierre Schmitz
Note: Signature checks are disabled for now until we provide a keyring package.
2011-10-13Honor TMPDIR environment variableLukas Fleischer
Replace all mktemp(1) invocations that hardcode "/tmp" with `mktemp --tmpdir` and change templates accordingly. Note that "--tmpdir" is GNU-ish which is okay given that we currently support Arch Linux only anyway. Signed-off-by: Lukas Fleischer <archlinux@cryptocrack.de>
2011-10-13finddeps: Unset optdependsLukas Fleischer
The optdepends array should be unset before sourcing the PKGBUILD to avoid dangling optional depends. Signed-off-by: Lukas Fleischer <archlinux@cryptocrack.de>
2011-10-13finddeps: Use read builtin to iterate over packagesLukas Fleischer
Using parameter substitution might result in unpredictable behaviour when directories contain whitespaces here. The read shell builtin is the proper way to read single lines. Signed-off-by: Lukas Fleischer <archlinux@cryptocrack.de>
2011-10-13finddeps: Remove redundant cd(1)Lukas Fleischer
Source the PKGBUILD using the correct path (relative to our base directory) instead of using cd(1) to switch to the ABS base directory first and to the package directory afterwards. This is very useful when trying to track errors, also: $ ~/src/devtools/finddeps libdaq ./community/snort (depends) PKGBUILD: line 17: ruby: command not found PKGBUILD: line 19: [: =: unary operator expected Versus: $ ~/src/devtools/finddeps libdaq ./community/snort (depends) ./community/ruby-pkgconfig/PKGBUILD: line 17: ruby: command not found ./community/lmms/PKGBUILD: line 19: [: =: unary operator expected Signed-off-by: Lukas Fleischer <archlinux@cryptocrack.de>
2011-10-13finddeps: Proper quoting, use double bracketsLukas Fleischer
Signed-off-by: Lukas Fleischer <archlinux@cryptocrack.de>
2011-10-12archrelease: Fix SVN error when repository is emptyLukas Fleischer
If trash is empty, `svn rm -q "${trash[@]}"` fails with: svn: Try 'svn help' for more info and then svn: Not enough arguments provided This doesn't result in any further malfunction but is kind of confusing and unexpected. Skipping `svn rm` on an empty trash fixes this. Reported-by: Alexander Rødseth <rodseth@gmail.com> Signed-off-by: Lukas Fleischer <archlinux@cryptocrack.de>
2011-10-07Always log builds in makechrootpkgAllan McRae
It is very helpful to always log the build output in makechrootpkg so pass "-L" as a standard option to makepkg. Signed-off-by: Allan McRae <allan@archlinux.org> Signed-off-by: Lukas Fleischer <archlinux@cryptocrack.de>
2011-10-07archrelease: call 'svn copy' once for all filesDan McGee
We don't need to invoke svn copy on each file; it accepts multiple arguments. This cut Allan's time releasing one patch-friendly package from 5 minutes to 2 minutes. Signed-off-by: Dan McGee <dan@archlinux.org> Signed-off-by: Lukas Fleischer <archlinux@cryptocrack.de>
2011-10-07makechrootpkg: If chroot is missing, exit instead of usageJan Alexander Steffens (heftig)
I'm not sure why this was handled differently than the other error conditions. Signed-off-by: Lukas Fleischer <archlinux@cryptocrack.de>
2011-10-07makechrootpkg: Add option to explicitly run namcapJan Alexander Steffens (heftig)
Installs namcap if needed, *after* building the package, contrary to the former way of having to have namcap installed, e.g. via makedepends. Signed-off-by: Lukas Fleischer <archlinux@cryptocrack.de>
2011-10-07makechrootpkg: Source PKGBUILD only onceJan Alexander Steffens (heftig)
Signed-off-by: Lukas Fleischer <archlinux@cryptocrack.de>
2011-10-07makechrootpkg: Use nullglobJan Alexander Steffens (heftig)
Use nullglob instead of checking for existence. If the glob doesn't match any files, it will be removed instead of staying unexpanded. Signed-off-by: Lukas Fleischer <archlinux@cryptocrack.de>
2011-10-07makechrootpkg: Always set PKGDEST and SRCDESTJan Alexander Steffens (heftig)
Signed-off-by: Lukas Fleischer <archlinux@cryptocrack.de>
2011-10-07makechrootpkg: Replace $workdir with . ($PWD)Jan Alexander Steffens (heftig)
$workdir is never used when we change directory, so it's superfluous. Signed-off-by: Lukas Fleischer <archlinux@cryptocrack.de>
2011-10-07makechrootpkg: Eliminate appname, only used onceJan Alexander Steffens (heftig)
Signed-off-by: Lukas Fleischer <archlinux@cryptocrack.de>
2011-10-07makechrootpkg: Bashify syntaxJan Alexander Steffens (heftig)
No functional change. Eliminates unused variables RUN and FORCE. Signed-off-by: Lukas Fleischer <archlinux@cryptocrack.de>
2011-10-07Makefile: Add a cleanup targetLukas Fleischer
Allows for using `make clean` to remove any output files generated by make(1). Signed-off-by: Lukas Fleischer <archlinux@cryptocrack.de>