Suggest to use more long options arguments at /etc/makepkg.conf

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



I think long command line options are more readable compared to short one. 
There fore, I suggest:

--- a/makepkg.conf	2022-12-12 17:00:57.773722168 +0000
+++ b/makepkg.conf	2022-12-12 18:00:46.612320662 +0000
@@ -9,11 +9,11 @@
 #
 #-- The download utilities that makepkg should use to acquire sources
 #  Format: 'protocol::agent'
-DLAGENTS=('file::/usr/bin/curl -qgC - -o %o %u'
-          'ftp::/usr/bin/curl -qgfC - --ftp-pasv --retry 3 --retry-delay 3 -o %o %u'
-          'http::/usr/bin/curl -qgb "" -fLC - --retry 3 --retry-delay 3 -o %o %u'
-          'https::/usr/bin/curl -qgb "" -fLC - --retry 3 --retry-delay 3 -o %o %u'
-          'rsync::/usr/bin/rsync --no-motd -z %u %o'
+DLAGENTS=('file::/usr/bin/curl --disable --globoff --continue-at - --output %o %u'
+          'ftp::/usr/bin/curl --disable --globoff --fail --continue-at - --ftp-pasv --retry 3 --retry-delay 3 --output %o %u'
+          'http::/usr/bin/curl --disable --globoff --cookie "" --fail --location --continue-at - --retry 3 --retry-delay 3 --output %o %u'
+          'https::/usr/bin/curl --disable --globoff --cookie "" --fail --location --continue-at - --retry 3 --retry-delay 3 --output %o %u'
+          'rsync::/usr/bin/rsync --no-motd --compress %u %o'
           'scp::/usr/bin/scp -C %u %o')
 
 # Other common tools:
@@ -134,15 +134,15 @@
 # COMPRESSION DEFAULTS
 #########################################################################
 #
-COMPRESSGZ=(gzip -c -f -n)
-COMPRESSBZ2=(bzip2 -c -f)
-COMPRESSXZ=(xz -c -z -)
-COMPRESSZST=(zstd -c -z -q -)
-COMPRESSLRZ=(lrzip -q)
-COMPRESSLZO=(lzop -q)
+COMPRESSGZ=(gzip --to-stdout --force --no-name)
+COMPRESSBZ2=(bzip2 --stdout --force)
+COMPRESSXZ=(xz --to-stdout --compress -)
+COMPRESSZST=(zstd --stdout --compress --quiet -)
+COMPRESSLRZ=(lrzip --quiet)
+COMPRESSLZO=(lzop --quiet)
 COMPRESSZ=(compress -c -f)
-COMPRESSLZ4=(lz4 -q)
-COMPRESSLZ=(lzip -c -f)
+COMPRESSLZ4=(lz4 --quiet)
+COMPRESSLZ=(lzip --stdout --force)
 
 #########################################################################
 # EXTENSION DEFAULTS

--
u34



[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]

  Powered by Linux