summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2011-08-13commitpkg: Provide a commit message templateLukas Fleischer1-3/+18
Generate a message template when omitting the commit message (includes the same subject line that is used if a commit message is specified). Also, use two newlines to separate the subject line from the message body as it looks much clearer that way. Signed-off-by: Lukas Fleischer <archlinux@cryptocrack.de> Signed-off-by: Pierre Schmitz <pierre@archlinux.de>
2011-08-13Makefile: Add PREFIX supportLukas Fleischer1-15/+17
Default to "/usr/local" which should be used if you want to build devtools from sources and install without using a package manager. Use `make PREFIX=/usr install` to install to "/usr" instead. Signed-off-by: Lukas Fleischer <archlinux@cryptocrack.de> Signed-off-by: Pierre Schmitz <pierre@archlinux.de>
2011-08-13archrelease: Fix removal of repository contentLukas Fleischer1-1/+1
Fix the `svn rm` invocation when releasing to a repository that already contains some files. `svn ls` only returns basenames, so we need to prepend the path here. Regression introduced in 8384ad849dfe308ed3e63e252785b9a6f80474f5. Signed-off-by: Lukas Fleischer <archlinux@cryptocrack.de> Signed-off-by: Pierre Schmitz <pierre@archlinux.de>
2011-08-13commitpkg: Use positive patterns in SVN checksLukas Fleischer1-2/+2
In addition to what we had before, this will also detect: * Non-existent files. * Files that are missing or scheduled for deletion. * Ignored files. Signed-off-by: Lukas Fleischer <archlinux@cryptocrack.de> Signed-off-by: Pierre Schmitz <pierre@archlinux.de>
2011-08-13commitpkg: Avoid unnecessary use of grep(1)Lukas Fleischer1-3/+3
Use bash patterns instead of using grep(1) to check if a source file contains the string "://". Signed-off-by: Lukas Fleischer <archlinux@cryptocrack.de> Signed-off-by: Pierre Schmitz <pierre@archlinux.de>
2011-08-13commitpkg: Proper quoting in version control checksLukas Fleischer1-4/+4
Signed-off-by: Lukas Fleischer <archlinux@cryptocrack.de> Signed-off-by: Pierre Schmitz <pierre@archlinux.de>
2011-08-13Remove communityco on uninstallPierre Schmitz1-0/+1
2011-08-13merge archco and communitycoFlorian Pritz3-13/+16
Signed-off-by: Florian Pritz <bluewind@xinu.at> delete mode 100755 communityco 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-25makechrootpkg: support absolute paths for chroot copyFlorian Pritz1-2/+6
Signed-off-by: Florian Pritz <bluewind@xinu.at> Signed-off-by: Pierre Schmitz <pierre@archlinux.de>
2011-07-25archrelease: remove extra SVN commitDan McGee1-5/+22
This relies on the fact that trunk/ never has any subdirectories, so we can simply copy all the files in it to the relevant repos/xxx/ directory after removing all existing files in that directory. Signed-off-by: Dan McGee <dan@archlinux.org> Signed-off-by: Pierre Schmitz <pierre@archlinux.de>
2011-07-25Edit /etc/locale.gen instead of overwrite.Gerardo Exequiel Pozzi1-1/+1
I need this for archiso, instead of maintaining a private copy. Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar> Signed-off-by: Pierre Schmitz <pierre@archlinux.de>
2011-07-25Install a package in the chroot without confirmAndrea Scarpino1-1/+1
Signed-off-by: Pierre Schmitz <pierre@archlinux.de>
2011-07-25lddd: Add /usr/local/lib to library directoriesEric Bélanger1-1/+1
Signed-off-by: Eric Bélanger <snowmaniscool@gmail.com> Signed-off-by: Pierre Schmitz <pierre@archlinux.de>
2011-07-25lddd: Replace hardcoded list of library directories by those listed in ↵Eric Bélanger1-2/+2
/etc/ld.so.conf.d 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élanger2-11/+11
Signed-off-by: Eric Bélanger <snowmaniscool@gmail.com> Signed-off-by: Pierre Schmitz <pierre@archlinux.de>
2011-07-25archrelease: add repos/ directory if it doesn't existDan McGee1-0/+4
Very easy thing to forget when creating a new package, but easy enough to check for and add automatically. Signed-off-by: Dan McGee <dan@archlinux.org> Signed-off-by: Pierre Schmitz <pierre@archlinux.de>
2011-05-30Include epoch in updpkg default messageuser1-1/+1
Signed-off-by: Pierre Schmitz <pierre@archlinux.de>
2011-05-18prepare release0.9.23Pierre Schmitz1-1/+1
2011-05-18commitpkg: add -a option to upload only one archFlorian Pritz1-2/+12
-a i686 uploads only i686 packages and ignore everything else Signed-off-by: Florian Pritz <bluewind@server-speed.net> Signed-off-by: Pierre Schmitz <pierre@archlinux.de>
2011-05-16Change pacman calls with -Sd flags to -SddJakob Gruber2-2/+2
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-03Revert "Use en_US.UTF-8 locale instead of C to support unicode filenames"Pierre Schmitz1-1/+1
This reverts commit 9b33a29ea549e91ec0a3c4e28a333083dc7e8c2e. This was a bad idea as bsdtar cannot read pacakges create with this locale.
2011-05-03Use en_US.UTF-8 locale instead of C to support unicode filenamesPierre Schmitz1-1/+1
2011-04-29prepare release0.9.22Pierre Schmitz1-1/+1
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-04-29Added bash_completion fileEric Bélanger2-0/+71
Signed-off-by: Eric Bélanger <snowmaniscool@gmail.com> Signed-off-by: Pierre Schmitz <pierre@archlinux.de>
2011-04-17Use GPGKEY to select signing keyAllan McRae1-1/+4
Use the default key from the gpg keyring to sign packages unless GPGKEY is specified (either in makepkg.conf or as an environmental variable). Signed-off-by: Allan McRae <allan@archlinux.org> Signed-off-by: Pierre Schmitz <pierre@archlinux.de>
2011-04-17Copy check() log from chrootAllan McRae1-1/+1
Signed-off-by: Allan McRae <allan@archlinux.org> Signed-off-by: Pierre Schmitz <pierre@archlinux.de>
2011-04-17commitpkg: clean up svn after changing arch from any to i686/x86_64Eric Bélanger1-0/+9
Signed-off-by: Eric Bélanger <snowmaniscool@gmail.com> Signed-off-by: Pierre Schmitz <pierre@archlinux.de>
2011-04-11prepare release0.9.21Pierre Schmitz1-1/+1
2011-04-11Add simple function to sign packagesPierre Schmitz1-0/+7
Set SIGNPKG to y in makepkg.conf to enable signing.
2011-04-09prepare release0.9.20Pierre Schmitz1-2/+5
2011-04-09archrelease: be more verbosePierre Schmitz1-1/+1
2011-04-08Fix rsync call; quotes wont work herePierre Schmitz1-1/+1
2011-04-02commitpkg: upload signatures if availableDan McGee1-1/+6
Signed-off-by: Dan McGee <dan@archlinux.org> Signed-off-by: Pierre Schmitz <pierre@archlinux.de>
2011-04-02commitpkg: upload all files at the same timeDan McGee1-3/+8
Batch them up using a bash array and then pass them all to a single invocation of rsync. Signed-off-by: Dan McGee <dan@archlinux.org> Signed-off-by: Pierre Schmitz <pierre@archlinux.de>
2011-04-02commitpkg: add '-y' to rsyncoptsDan McGee1-1/+1
This allows uploads to possibly be smaller if a similar file exists nearby without the same name. Unlikely in most cases, but we might as well take advantage if they do exist: Signed-off-by: Dan McGee <dan@archlinux.org> Signed-off-by: Pierre Schmitz <pierre@archlinux.de>
2011-04-02commitpkg: move all rsync opts to rsyncopts varDan McGee1-3/+3
Signed-off-by: Dan McGee <dan@archlinux.org> Signed-off-by: Pierre Schmitz <pierre@archlinux.de>
2011-04-02commitpkg: make repo/server selection more modularDan McGee1-31/+24
This gets rid of the ever-expanding conditional we had before and replaces it with two case statements. The first handles the command name. If it ends with 'pkg', we treat the entire first part of the reponame, unless of course 'commitpkg' was called directly. This allows one to add new symlinks such as 'gnome-unstablepkg'. The second handles the server. Well-known repositories are listed and passed to the appropriate server. All unusual repos are assumed to live on gerolde and sent that direction. Signed-off-by: Dan McGee <dan@archlinux.org> Signed-off-by: Pierre Schmitz <pierre@archlinux.de>
2011-04-02Unify comment styleDan McGee1-3/+3
Signed-off-by: Dan McGee <dan@archlinux.org> Signed-off-by: Pierre Schmitz <pierre@archlinux.de>
2011-03-28prepare release0.9.19Pierre Schmitz1-1/+1
2011-03-28Don't prefix package name with './' if package is in $PKGDESTRémy Oudompheng1-3/+5
Commit ad593b8b61558da779530a6cb8f4938a273f5553 introduces a problem when $PKGDEST is set and the package to transfer has an absolute pathname. In this case there is no need to add anything to have rsync work properly. Signed-off-by: Rémy Oudompheng <remy@archlinux.org> Signed-off-by: Pierre Schmitz <pierre@archlinux.de>
2011-03-26prepare release0.9.18Pierre Schmitz1-1/+1
2011-03-26Be less generic with package extensionAllan McRae1-2/+2
Arch only uses .gz and .xz packages so look for .pkg.tar.?z. This prevents matching potential detached signature files. Signed-off-by: Allan McRae <allan@archlinux.org> Signed-off-by: Pierre Schmitz <pierre@archlinux.de>
2011-03-26Update default makepkg.conf and pacman.conf to match the ones from pacman 3.5Pierre Schmitz7-15/+18
2011-03-26Merge branch 'master', remote-tracking branch 'heftig/master'Pierre Schmitz5-105/+169
2011-03-26support optdependsRay Rashif1-0/+7
Signed-off-by: Pierre Schmitz <pierre@archlinux.de>
2011-03-26makechrootpkg: Copy package logs with split packages (fixes FS#23239).Lukas Fleischer1-1/+1
Signed-off-by: Lukas Fleischer <archlinux@cryptocrack.de> Signed-off-by: Pierre Schmitz <pierre@archlinux.de>