1 # Buildsheet autogenerated by ravenadm tool -- Do not edit.
7 SDESC[standard]= Simple and secure Gemini server
8 HOMEPAGE= https://gmid.omarpolo.com/
9 CONTACT= Michael_Reim[kraileth@elderlinux.org]
12 SITES[main]= GITHUB/omar-polo:gmid:1.8.6
13 DISTFILE[1]= generated:main
15 SPKGS[standard]= complete
19 OPTIONS_AVAILABLE= none
20 OPTIONS_STANDARD= none
22 BUILD_DEPENDS= libevent:dev:standard
23 BUILDRUN_DEPENDS= libevent:primary:standard
27 USERGROUP_SPKG= primary
32 LICENSE_FILE= ISCL:{{WRKSRC}}/LICENSE
35 FPC_EQUIVALENT= net/gmid
38 CONFIGURE_ARGS= --prefix={{PREFIX}}
39 MANDIR={{PREFIX}}/share/man
42 SUB_FILES= gmid.conf.sample
45 ${INSTALL_DATA} ${WRKDIR}/gmid.conf.sample \
46 ${STAGEDIR}${PREFIX}/etc/
48 [FILE:416:descriptions/desc.primary]
49 Gmid is an Internet server that uses the Gemini protocol. Some of its
52 * Sandboxed by default on OpenBSD, FreeBSD and Linux
53 * Ability to reload the configuration on-the-fly without losing connections
54 * Punycode and IRI support
56 * Support for CGI and FastCGI
57 * Virtual hosts and per-location rules
58 * Low memory footprint
59 * Event-based asynchronous I/O model
60 * Rich configuration file
64 1edf81d7368455247701f4c5658df7173dd150adbb78bf137d48ece17e67bc1e 151110 omar-polo-gmid-1.8.6.tar.gz
67 [FILE:44:manifests/plist.primary]
68 @sample etc/gmid.conf.sample
74 [FILE:66:manifests/plist.man]
78 share/man/man5/gmid.conf.5.gz
81 [FILE:698:files/gmid.conf.sample.in]
85 # it's a good idea to enable chroot, but
86 # beware that can make CGI scripting harder
89 # An example of a server block:
91 # set the directory to serve; it's relative to the
95 # Set self-signed TLS cert and key. It's better to keep
96 # the keys outside the chroot.
98 # You should generate them manually, for example:
99 # openssl req -x509 -newkey rsa:4096 -nodes \
100 # -out %%PREFIX%%/etc/ssl/gmid/localhost.crt \
101 # -keyout %%PREFIX%%/etc/ssl/gmid/localhost.key \
102 # -subj "/CN=localhost"
103 cert "%%PREFIX%%/etc/ssl/gmid/localhost.crt"
104 key "%%PREFIX%%/etc/ssl/gmid/localhost.key"
108 [FILE:773:files/gmid.in]
117 # Add the following lines to /etc/rc.conf to enable gmid:
118 # gmid_enable (bool): Set it to "YES" to enable gmid
120 # gmid_config (string): Path to gmid configuration file.
121 # Default is "%%PREFIX%%/etc/gmid.conf"
130 start_precmd="gmid_checkconfig"
131 configtest_cmd="gmid_checkconfig"
132 extra_commands="configtest"
134 : ${gmid_enable:="NO"}
135 : ${gmid_config:="%%PREFIX%%/etc/gmid.conf"}
139 command="%%PREFIX%%/bin/${name}"
140 gmid_flags="-c ${gmid_config}"
142 required_files="${gmid_config}"
146 echo "Performing sanity check on gmid configuration:"
147 eval ${command} -n ${gmid_flags}