| Server IP : 82.208.35.60 / Your IP : 216.73.216.168 Web Server : Apache/2.4.55 (FreeBSD) OpenSSL/1.1.1q-freebsd PHP/7.3.31 System : FreeBSD server7.d2m.cz 12.4-RELEASE-p9 FreeBSD 12.4-RELEASE-p9 GENERIC amd64 User : studiokobylisy_cz ( 1008) PHP Version : 7.3.31 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /usr/ports/sysutils/rinse/files/ |
Upload File : |
--- bin/rinse~
+++ bin/rinse
@@ -334,7 +334,7 @@ exit;
sub testSetup {
- my @required = qw/ rpm rpm2cpio wget /;
+ my @required = qw/ bsdtar fetch /;
foreach my $file (@required) {
if ( ( !-x "/bin/$file" ) && ( !-x "/usr/bin/$file" ) ) {
@@ -840,7 +840,7 @@ sub downloadPackagesToDirectory {
print $msg;
# download - unless already present.
- system("wget --quiet -O $dir/$key $links{ $key }") unless -e "$dir/$key";
+ system("fetch -w10 -qo $dir/$key $links{ $key }") unless -e "$dir/$key";
next PACKAGE;
}
print "[Harmless] Failed to find download link for $package\n";
@@ -1147,7 +1147,7 @@ sub unpackPackages {
# Run the unpacking command.
#
my $cmd =
- "rpm2cpio $file | (cd $CONFIG{'directory'} ; cpio --extract --extract-over-symlinks --make-directories --no-absolute-filenames --preserve-modification-time) 2>/dev/null >/dev/null";
+ "bsdtar xPf $file --chroot -C $CONFIG{'directory'}";
if ( $file =~ /(fedora|centos|redhat|mandriva)-release-/ ) {
my $rpmname = basename($file);
$postcmd =