1
0
mirror of https://github.com/moparisthebest/pacman synced 2024-11-11 11:55:12 -05:00
pacman/lib/libalpm
Andrew Gregory bb5e6c3b76 always unlink files before extraction
libarchive will not extract a directory over an existing directory
symlink, making it impossible to replace a symlink with a directory
across packages.  Adding the ARCHIVE_EXTRACT_UNLINK and
ARCHIVE_EXTRACT_SECURE_SYMLINKS causes libarchive to unlink the existing
symlink and prevents it from extracting any paths that contain
a symlink, which we should not be doing anyway.

Signed-off-by: Andrew Gregory <andrew.gregory.8@gmail.com>
Signed-off-by: Allan McRae <allan@archlinux.org>
2015-12-05 17:46:12 +10:00
..
po Remove ko_KR translation 2015-08-08 10:36:03 +10:00
.gitignore libalpm: add pkg-config file 2012-04-25 20:02:36 -04:00
add.c always unlink files before extraction 2015-12-05 17:46:12 +10:00
add.h Update copyright notices for 2015 2015-02-01 21:19:04 +10:00
alpm_list.c Update copyright notices for 2015 2015-02-01 21:19:04 +10:00
alpm_list.h Update copyright notices for 2015 2015-02-01 21:19:04 +10:00
alpm.c handle: add hookdirs option 2015-10-18 10:59:23 +10:00
alpm.h run hooks during trans_commit 2015-10-18 10:59:23 +10:00
backup.c Alpm, check for NULL in free-functions 2015-10-27 14:22:30 +10:00
backup.h Update copyright notices for 2015 2015-02-01 21:19:04 +10:00
base64.c base64.c: comment out unused variable 2014-01-15 15:54:56 +10:00
base64.h base64: don't compile base64_encode() function 2011-10-17 12:03:02 -05:00
be_local.c ensure realloc has a positive size 2015-11-03 21:45:09 +10:00
be_package.c be_package: fallback to standard filelist loading 2015-03-26 14:44:13 +10:00
be_sync.c ensure realloc has a positive size 2015-11-03 21:45:09 +10:00
conflict.c Alpm, check for NULL in free-functions 2015-10-27 14:22:30 +10:00
conflict.h Update copyright notices for 2015 2015-02-01 21:19:04 +10:00
db.c Alpm, check for NULL in free-functions 2015-10-27 14:22:30 +10:00
db.h Update copyright notices for 2015 2015-02-01 21:19:04 +10:00
delta.c Alpm, check for NULL in free-functions 2015-10-27 14:22:30 +10:00
delta.h Update copyright notices for 2015 2015-02-01 21:19:04 +10:00
deps.c Alpm, check for NULL in free-functions 2015-10-27 14:22:30 +10:00
deps.h Update copyright notices for 2015 2015-02-01 21:19:04 +10:00
diskspace.c Use correct format specifiers 2015-11-11 13:47:08 +10:00
diskspace.h Update copyright notices for 2015 2015-02-01 21:19:04 +10:00
dload.c Use correct format specifiers 2015-11-11 13:47:08 +10:00
dload.h Update copyright notices for 2015 2015-02-01 21:19:04 +10:00
error.c run hooks during trans_commit 2015-10-18 10:59:23 +10:00
filelist.c Update copyright notices for 2015 2015-02-01 21:19:04 +10:00
filelist.h Update copyright notices for 2015 2015-02-01 21:19:04 +10:00
graph.c Alpm, check for NULL in free-functions 2015-10-27 14:22:30 +10:00
graph.h Update copyright notices for 2015 2015-02-01 21:19:04 +10:00
group.c Update copyright notices for 2015 2015-02-01 21:19:04 +10:00
group.h Update copyright notices for 2015 2015-02-01 21:19:04 +10:00
handle.c handle: add hookdirs option 2015-10-18 10:59:23 +10:00
handle.h handle: add hookdirs option 2015-10-18 10:59:23 +10:00
hook.c hooks: pass matched targets to hooks 2015-11-28 22:53:24 +10:00
hook.h run hooks during trans_commit 2015-10-18 10:59:23 +10:00
ini.c run hooks during trans_commit 2015-10-18 10:59:23 +10:00
ini.h run hooks during trans_commit 2015-10-18 10:59:23 +10:00
libalpm.pc.in Add large file support CFLAGS to pkgconfig file 2015-12-04 11:06:49 +10:00
libarchive-compat.h Update copyright notices for 2015 2015-02-01 21:19:04 +10:00
log.c alpm_logaction: implement documented return value 2015-05-12 14:00:55 +10:00
log.h Update copyright notices for 2015 2015-02-01 21:19:04 +10:00
Makefile.am run hooks during trans_commit 2015-10-18 10:59:23 +10:00
md5.c Use 32-bit wide integer type in PolarSSL code 2012-01-07 11:27:41 -06:00
md5.h Update MD5 routines with changes from PolarSSL 2011-08-11 20:17:21 -05:00
package.c Update copyright notices for 2015 2015-02-01 21:19:04 +10:00
package.h Update copyright notices for 2015 2015-02-01 21:19:04 +10:00
pkghash.c Use ARRAYSIZE macro for non-string array size computation 2015-10-27 13:53:18 +10:00
pkghash.h Update copyright notices for 2015 2015-02-01 21:19:04 +10:00
rawstr.c Remove ts and sw from vim modeline when noet is set 2014-01-28 20:19:25 +10:00
remove.c Use correct format specifiers 2015-11-11 13:47:08 +10:00
remove.h Update copyright notices for 2015 2015-02-01 21:19:04 +10:00
sha2.c Use 32-bit wide integer type in PolarSSL code 2012-01-07 11:27:41 -06:00
sha2.h Add sha2 (sha256) routines from PolarSSL 2011-08-15 07:07:13 -05:00
signing.c Update copyright notices for 2015 2015-02-01 21:19:04 +10:00
signing.h Update copyright notices for 2015 2015-02-01 21:19:04 +10:00
sync.c check fileconflicts and diskspace outside commit 2015-09-20 17:36:53 +10:00
sync.h check fileconflicts and diskspace outside commit 2015-09-20 17:36:53 +10:00
trans.c allow specifying input to scriptlets 2015-11-28 22:52:11 +10:00
trans.h Update copyright notices for 2015 2015-02-01 21:19:04 +10:00
util-common.c Split common utility functions for libalpm and pacman 2013-01-04 21:49:37 +10:00
util-common.h Split common utility functions for libalpm and pacman 2013-01-04 21:49:37 +10:00
util.c run_chroot: always clear script output buffer 2015-11-29 08:12:44 +10:00
util.h allow specifying input to scriptlets 2015-11-28 22:52:11 +10:00
version.c Update copyright notices for 2015 2015-02-01 21:19:04 +10:00