1 # Buildsheet autogenerated by ravenadm tool -- Do not edit.
8 SDESC[standard]= Ravenports binary package manager
9 HOMEPAGE= https://github.com/jrmarino/ravensw/blob/master/README.md
12 DOWNLOAD_GROUPS= main sqlite
13 SITES[main]= GITHUB/jrmarino:ravensw:16e7810
14 SITES[sqlite]= https://www.sqlite.org/2019/
15 http://www2.sqlite.org/2019/
16 DISTFILE[1]= generated:main
17 DISTFILE[2]= sqlite-autoconf-3280000.tar.gz:sqlite
19 SPKGS[standard]= single
21 OPTIONS_AVAILABLE= RUNTESTS
22 OPTIONS_STANDARD= RUNTESTS
24 BUILD_DEPENDS= libarchive:single:ravensw
27 linenoise:single:standard
30 elftoolchain:libraries:standard
31 uthash:primary:standard
32 picosat:single:standard
33 Zstandard:static:standard
34 autoconf:single:standard
35 automake:single:standard
36 B_DEPS[sunos]= musl-fts:single:standard
38 USES= pkgconfig ssl:build
40 LICENSE= BSD2CLAUSE:single
41 LICENSE_FILE= BSD2CLAUSE:{{WRKSRC}}/COPYING
45 CONFIGURE_ARGS= --mandir={{MANPREFIX}}/man
46 --pkgconfigdir={{PREFIX}}/lib/pkgconfig
53 [RUNTESTS].DESCRIPTION= Run kyua tests after build
54 [RUNTESTS].BUILD_DEPENDS_ON= kyua:single:standard
55 Zstandard:complete:standard
57 post-build-RUNTESTS-ON:
58 # All the tests are hardcoded with "pkg" executable
59 (cd ${WRKSRC}/src && ${LN} -s ravensw pkg)
60 ${ECHO} "!/bin/sh" >> ${WRKSRC}/tests/exec_test.sh
61 .if "${OPSYS}" == "Linux"
62 ${ECHO} "export -n RAVENSW_CACHEDIR" >> ${WRKSRC}/tests/exec_test.sh
63 ${ECHO} "export -n RAVENSW_DBDIR" >> ${WRKSRC}/tests/exec_test.sh
65 ${ECHO} "unset RAVENSW_CACHEDIR" >> ${WRKSRC}/tests/exec_test.sh
66 ${ECHO} "unset RAVENSW_DBDIR" >> ${WRKSRC}/tests/exec_test.sh
68 ${ECHO} "kyua test" >> ${WRKSRC}/tests/exec_test.sh
69 ${CHMOD} ${BINMODE} ${WRKSRC}/tests/exec_test.sh
72 # Install SQLite source
73 (cd ${WRKDIR}/sqlite-autoconf-3280000/ && \
74 cp sqlite3.[ch] shell.c ${WRKSRC}/external/sqlite/)
75 ${REINPLACE_CMD} -e 's|SQLITE_CDECL main|SQLITE_CDECL sqlite3_shell|'\
76 ${WRKSRC}/external/sqlite/shell.c
78 [FILE:473:descriptions/desc.single]
79 The ravensw program is the package management tool used by Ravenports.
80 It handles the manipulation of both locally built and remotely available
83 It is a fork of FreeBSD's pkg program. It behaves identically in most
84 cases, and documentation written for pkg is probably valid for ravensw
85 as well (after substituting the name).
87 The primary reason for changing the name is to avoid confusion with
88 "pkg", the package manager used by some Solaris derivatives.
92 f483ffe622c22a06846f313d88875e9e6dab82e9f6521aad753088aafba200d2 668267 jrmarino-ravensw-16e7810.tar.gz
93 d61b5286f062adfce5125eaf544d495300656908e61fca143517afcc0a89b7c3 2810415 sqlite-autoconf-3280000.tar.gz
96 [FILE:1059:manifests/plist.single]
97 @sample etc/ravensw.conf.sample
98 etc/bash_completion.d/_ravensw.bash
101 490.status-ravensw-changes
102 etc/periodic/security/
105 etc/periodic/weekly/400.status-ravensw
108 ravensw-repository.5.gz
113 ravensw-annotate.8.gz
115 ravensw-autoremove.8.gz
127 ravensw-register.8.gz
139 ravensw-updating.8.gz
144 share/zsh/site-functions/_ravensw
145 @dir etc/ravensw/repos
148 [FILE:601:patches/patch-libpkg_port__fileat.c]
149 --- libpkg/port_fileat.c.orig 2019-07-23 16:09:40 UTC
150 +++ libpkg/port_fileat.c
151 @@ -88,7 +88,7 @@ file_chdir_unlock(int dfd)
158 if (saved_cwd[0] != '\0')
160 @@ -170,11 +170,15 @@ port_fchmodat(int fd, const char* path,
161 if ((ret = file_chdir_lock(fd) != 0))
164 +#if defined(__sun__) || defined(__linux__)
165 + ret = chmod(path, mode);
167 if (flag & AT_SYMLINK_NOFOLLOW) {
168 ret = lchmod(path, mode);
170 ret = chmod(path, mode);
174 file_chdir_unlock(fd);