2017-12-29 09:33:31 +01:00
|
|
|
|
# Tanım: 7zip sıkıştırılmış dosya arşivinin konsol uygulaması
|
2016-02-24 01:27:23 +01:00
|
|
|
|
# URL: http://p7zip.sourceforge.net
|
2017-10-27 20:46:27 +02:00
|
|
|
|
# Paketçi: milisarge
|
2017-12-29 09:33:31 +01:00
|
|
|
|
# Gerekler: yasm
|
|
|
|
|
# Grup: ağ
|
2016-02-24 01:27:23 +01:00
|
|
|
|
|
2017-10-28 14:10:23 +02:00
|
|
|
|
isim=p7zip
|
2017-12-29 09:33:31 +01:00
|
|
|
|
surum=16.02
|
2017-10-28 14:10:23 +02:00
|
|
|
|
devir=1
|
2016-02-24 01:27:23 +01:00
|
|
|
|
|
2017-12-29 09:33:31 +01:00
|
|
|
|
kaynak=(https://downloads.sourceforge.net/project/$isim/$isim/$surum/${isim}_${surum}_src_all.tar.bz2
|
|
|
|
|
CVE-2016-9296.patch)
|
2016-02-24 01:27:23 +01:00
|
|
|
|
|
2017-10-27 23:59:41 +02:00
|
|
|
|
derle() {
|
2017-10-28 14:10:23 +02:00
|
|
|
|
cd ${isim}_$surum
|
2017-12-29 09:33:31 +01:00
|
|
|
|
# https://sourceforge.net/p/p7zip/bugs/185/
|
|
|
|
|
patch -Np1 -i $SRC/CVE-2016-9296.patch
|
2016-02-24 01:27:23 +01:00
|
|
|
|
|
2017-12-29 09:33:31 +01:00
|
|
|
|
cp makefile.linux_amd64_asm makefile.machine
|
|
|
|
|
|
|
|
|
|
make all3
|
|
|
|
|
|
|
|
|
|
make install \
|
|
|
|
|
DEST_DIR="$PKG" \
|
|
|
|
|
DEST_HOME=/usr
|
|
|
|
|
|
|
|
|
|
# Remove documentation for the GUI file manager
|
|
|
|
|
rm -r "$PKG/usr/share/doc/"
|
|
|
|
|
|
|
|
|
|
install -d "${PKG}"/usr/share/licenses/p7zip
|
2016-02-24 01:27:23 +01:00
|
|
|
|
}
|