First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 96936
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: www-servers Herd <www-servers@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: lzap <lzap@seznam.cz>
Add CC:
CC:
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
ebuild.diff ebuild 1.21 --> 1.25 diff patch lzap 2005-06-24 03:55 0000 1.05 KB Details | Diff
confd.diff files/shttpd.conf patch to v1.25 patch lzap 2005-06-24 03:55 0000 1.49 KB Details | Diff
confd.diff files/shttpd.confd patch to v1.25 patch lzap 2005-06-24 03:56 0000 1.49 KB Details | Diff
xinetd.diff files/shttpd.xinetd patch to v1.25 patch lzap 2005-06-24 03:57 0000 441 bytes Details | Diff
shttpd.conf shttpd now uses config file, this is gentoo-ready config application/octet-stream lzap 2005-06-24 03:57 0000 1.72 KB Details
shttpd.confd Patched version 1.25 (if you do not like patch :-) application/octet-stream lzap 2005-06-24 03:58 0000 640 bytes Details
shttpd.xinetd Patched version 1.25 (if you do not like patch :-) application/octet-stream lzap 2005-06-24 03:59 0000 388 bytes Details
shttpd-1.25.ebuild Patched version 1.25 (if you do not like patch :-) application/octet-stream lzap 2005-06-24 03:59 0000 1.68 KB Details
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 96936 depends on: Show dependency tree
Bug 96936 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2005-06-24 03:52 0000
I have created new version of the ebuild, that compiles versions >= 1.24
because 
the author of this small webserver changed the package (no he uses tarball 
instead of single .c file).

Reproducible: Always
Steps to Reproduce:
1.
2.
3.




I am including patches for ebuild, xinetd config, init.d config and the new 
configuration file (shttpd now uses /etc/shttpd/shttpd.conf file).

Including also already-patched versions for those who do not like patches :-)

------- Comment #1 From lzap 2005-06-24 03:53:42 0000 -------
Its a www-servers/shttpd.

------- Comment #2 From lzap 2005-06-24 03:55:03 0000 -------
Created an attachment (id=61831) [edit]
ebuild 1.21 --> 1.25 diff

------- Comment #3 From lzap 2005-06-24 03:55:36 0000 -------
Created an attachment (id=61832) [edit]
files/shttpd.conf patch to v1.25

------- Comment #4 From lzap 2005-06-24 03:56:44 0000 -------
Created an attachment (id=61833) [edit]
files/shttpd.confd patch to v1.25

confd (not conf) - sorry, because there is also "conf" file

------- Comment #5 From lzap 2005-06-24 03:57:03 0000 -------
Created an attachment (id=61834) [edit]
files/shttpd.xinetd patch to v1.25

------- Comment #6 From lzap 2005-06-24 03:57:44 0000 -------
Created an attachment (id=61835) [edit]
shttpd now uses config file, this is gentoo-ready config

files/shttpd.conf

------- Comment #7 From lzap 2005-06-24 03:58:49 0000 -------
Created an attachment (id=61836) [edit]
Patched version 1.25 (if you do not like patch :-)

------- Comment #8 From lzap 2005-06-24 03:59:05 0000 -------
Created an attachment (id=61837) [edit]
Patched version 1.25 (if you do not like patch :-)

------- Comment #9 From lzap 2005-06-24 03:59:22 0000 -------
Created an attachment (id=61838) [edit]
Patched version 1.25 (if you do not like patch :-)

------- Comment #10 From lzap 2005-06-24 04:01:23 0000 -------
I am not sure about braking lines in ebuilds with "\".

It works but there are much useless whitespace - please fix it.

  opts="-DCONFIG=\"/etc/shttpd/shttpd.conf\" \
                        -DWITH_SSL ${PN}.c -o ${PN} -lcrypto -lssl"

------- Comment #11 From Aaron Walker (RETIRED) 2005-06-27 18:46:03 0000 -------
Please use the unified diff format (diff -u) in the future.  No need to post
patched versions, as just the diffs will do.  This is on my todo list for
tonight at work so it should be done in the morning.

------- Comment #12 From Aaron Walker (RETIRED) 2005-06-27 18:48:54 0000 -------
oops and I forgot to mention.  Always use text/plain for text files (patch is
fine for patches), otherwise it's not possible to view it in the browser.

------- Comment #13 From Aaron Walker (RETIRED) 2005-06-28 06:56:20 0000 -------
Did you try testing it at all?

There seems to be something b0rked with the config file code.  Unless I remove
the config file, it dies every time with:

].Each line in config file must be in format '<var> <value>'

It does this regardless of config (yours or the one distributed by uptstream). 
I don't have the time now to look into it, but needless to say until I get/write
a patch or he releases a new version that fixes it, it's not going into portage.

------- Comment #14 From lzap 2005-06-28 09:49:56 0000 -------
Got the bug!

The conf file was created under Win32 with Windows-like linefeeds. Please fix it
using Vim or recode, thank you. Will notice the author.

------- Comment #15 From Aaron Walker (RETIRED) 2005-06-30 21:49:03 0000 -------
In CVS.  Thanks Lukas.

First Last Prev Next    No search results available      Search page      Enter new bug