View | Details | Raw Unified
Collapse All | Expand All

(-) file_not_specified_in_diff (-10 / +18 lines)
Line 7    Link Here 
MY_P="${P/-/_}"
Line 10    Link Here 
SRC_URI="mirror://sourceforge/${PN}/${MY_P}.c"
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
 Lines 21-25    Link Here 
src_unpack() {
# shttpd now supports this:
	mkdir ${S}
# -DWITH_PUT_AND_DELETE Support for PUT and DELETE methods
	cp ${DISTDIR}/${MY_P}.c ${S}
# -DNO_AUTH     Disable authorization support
}
# -DNO_CGI      Disable CGI support
# -DIO_MAX=16384        Maximum HTTP request size (default is 32K)
#
# i think CGI is interesting (CGI use flag?)
Line 31    Link Here 
		opts="-DWITH_SSL ${MY_P}.c -o ${PN} -lcrypto -lssl"
		opts="-DCONFIG=\"/etc/shttpd/shttpd.conf\" \
			-DWITH_SSL ${PN}.c -o ${PN} -lcrypto -lssl"
Line 33    Link Here 
		opts="${MY_P}.c -o ${PN}"
		opts="-DCONFIG=\"/etc/shttpd/shttpd.conf\" \
			${PN}.c -o ${PN}"
Line 48    Link Here 
	doman ${PN}.1 || die
	
	insinto /etc/shttpd
	doins ${FILESDIR}/${PN}.conf || die
	doins ${PN}.pem || die
Line 55    Link Here 
	einfo "Please read http://shttpd.sourceforge.net/ for more info!"
	einfo "Do not forget to edit the config file /etc/shttpd/shttpd.conf."