1 | 14:24-161> sudo git apply ~/patchdir/libarchive_fix_from_3.3.1_try_2.diff |
---|
2 | Password: |
---|
3 | /Users/me/patchdir/libarchive_fix_from_3.3.1_try_2.diff:59: trailing whitespace. |
---|
4 | |
---|
5 | /Users/me/patchdir/libarchive_fix_from_3.3.1_try_2.diff:61: trailing whitespace. |
---|
6 | |
---|
7 | /Users/me/patchdir/libarchive_fix_from_3.3.1_try_2.diff:63: trailing whitespace. |
---|
8 | |
---|
9 | /Users/me/patchdir/libarchive_fix_from_3.3.1_try_2.diff:65: trailing whitespace. |
---|
10 | |
---|
11 | /Users/me/patchdir/libarchive_fix_from_3.3.1_try_2.diff:67: trailing whitespace. |
---|
12 | |
---|
13 | warning: squelched 849 whitespace errors |
---|
14 | warning: 854 lines add whitespace errors. |
---|
15 | 14:34-162> cd /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/archivers/libarchive/files |
---|
16 | 14:37-163> ls |
---|
17 | patch-3.3.1_to_master.diff |
---|
18 | patch-Makefile.am.diff |
---|
19 | patch-libarchive__archive_read_support_format_lha.c.diff |
---|
20 | patch-libarchive__archive_read_support_format_lha.c_p1.diff |
---|
21 | 14:37-164> cd |
---|
22 | 14:38-165> port info libarchive |
---|
23 | Error: Unable to open port: couldn't read file "Portfile": permission denied |
---|
24 | 14:38-166> sudo port info libarchive |
---|
25 | libarchive @3.3.1_1 (archivers) |
---|
26 | Variants: universal |
---|
27 | |
---|
28 | Description: Libarchive is a programming library that can create and |
---|
29 | read several different streaming archive formats, |
---|
30 | including most popular tar variants, several cpio formats, |
---|
31 | 7zip and rar. It can also write shar archives. |
---|
32 | Homepage: http://libarchive.org/ |
---|
33 | |
---|
34 | Build Dependencies: autoconf, automake, libtool |
---|
35 | Library Dependencies: bzip2, zlib, libxml2, xz, lzo2, libiconv, lz4, expat |
---|
36 | Platforms: darwin |
---|
37 | License: BSD |
---|
38 | Maintainers: Email: toby@macports.org |
---|
39 | Policy: openmaintainer |
---|
40 | 14:38-167> sudo port install libarchive Error: Unable to execute port: Could not open file: /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/archivers/libarchive/Portfile |
---|
41 | 14:39-168> cd /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/archivers/libarchive/ |
---|
42 | 14:44-169> ls |
---|
43 | Portfile files work |
---|
44 | 14:44-170> cd Portfile |
---|
45 | Portfile: Not a directory. |
---|
46 | 14:45-171> ll Portfile |
---|
47 | -rw------- 1 root 505 1818 Mar 22 14:34 Portfile |
---|
48 | 14:45-172> sudo cat /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/archivers/libarchive/Portfile |
---|
49 | Password: |
---|
50 | # -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4 |
---|
51 | |
---|
52 | PortSystem 1.0 |
---|
53 | name libarchive |
---|
54 | homepage http://libarchive.org/ |
---|
55 | master_sites ${homepage}downloads/ |
---|
56 | version 3.3.1 |
---|
57 | categories archivers |
---|
58 | license BSD |
---|
59 | maintainers toby openmaintainer |
---|
60 | description functions for reading and writing streaming archives |
---|
61 | long_description \ |
---|
62 | Libarchive is a programming library that can create and \ |
---|
63 | read several different streaming archive formats, including \ |
---|
64 | most popular tar variants, several cpio formats, 7zip and rar. It can \ |
---|
65 | also write shar archives. |
---|
66 | platforms darwin |
---|
67 | |
---|
68 | checksums rmd160 229d68a81b7b4e5b7b12d5da88522e04974328b4 \ |
---|
69 | sha256 29ca5bd1624ca5a007aa57e16080262ab4379dbf8797f5c52f7ea74a3b0424e7 |
---|
70 | |
---|
71 | depends_lib port:bzip2 port:zlib port:libxml2 port:xz \ |
---|
72 | port:lzo2 port:libiconv \ |
---|
73 | port:lz4 port:expat |
---|
74 | |
---|
75 | # patchfiles patch-libarchive__archive_read_support_format_lha.c.diff |
---|
76 | |
---|
77 | #### |
---|
78 | # the following section is to be removed when 3.3.2 is released. it is |
---|
79 | # a temporary fix for older Mac OS X versions, and is already upstream. |
---|
80 | # comment back in the above patchfile, too. |
---|
81 | |
---|
82 | revision 1 |
---|
83 | |
---|
84 | patchfiles-append \ |
---|
85 | patch-3.3.1_to_master.diff \ |
---|
86 | patch-Makefile.am.diff \ |
---|
87 | patch-libarchive__archive_read_support_format_lha.c_p1.diff |
---|
88 | patch.pre_args -p1 |
---|
89 | |
---|
90 | depends_build port:autoconf port:automake port:libtool |
---|
91 | |
---|
92 | post-patch { |
---|
93 | system -W ${worksrcpath} "build/autogen.sh" |
---|
94 | } |
---|
95 | |
---|
96 | #### |
---|
97 | |
---|
98 | configure.args --enable-bsdtar=shared --enable-bsdcpio=shared \ |
---|
99 | --disable-silent-rules --without-nettle \ |
---|
100 | --without-openssl |
---|
101 | |
---|
102 | livecheck.type regex |
---|
103 | livecheck.regex libarchive-(\[0-9.\]+)\\.tar.gz |
---|
104 | 15:13-173> sudo port install libarchive Error: Unable to execute port: Could not open file: /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/archivers/libarchive/Portfile |
---|
105 | 15:15-174> |
---|