Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug
Bug#: 160268
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Rajiv Aaron Manglani <rajiv@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Matthias Egger <cannon@gmx.ch>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
ser2net-2.3-r1.ebuild The new updated ser2net ebuild based on the ser2net-2.3 ebuild text/plain Matthias Egger 2007-01-05 06:12 0000 1.02 KB Details
confd-ser2net The newly added files/confd-ser2net text/plain Matthias Egger 2007-01-05 06:13 0000 1.03 KB Details
config-ser2net The newly added files/config-ser2net (default configuration) text/plain Matthias Egger 2007-01-05 06:14 0000 4.09 KB Details
initd-ser2net The newly added files/initd-ser2net text/plain Matthias Egger 2007-01-05 06:16 0000 473 bytes Details
ser2net-2.3-r1.ebuild Newly updated ser2net ebuild based on ser2net-2.3 ebuild text/plain Matthias Egger 2007-01-08 16:16 0000 961 bytes Details
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 160268 depends on: Show dependency tree
Bug 160268 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: 2007-01-05 06:09 0000
Hi

The actual ser2net package doesnt have an init script nor has it a good default
config file. So i decided to write it on my own and to update that ebuild.

What i did:
- Added an init script.
- Added a conf.d File
- Created a new "default" configuration File.
- changed the ebuild to install all these files.

Files i created:
- Added ser2net-2.3-r1.ebuild
- Added files/initd-ser2net
- Added files/confd-ser2net
- Added files/config-ser2net

Decisions i made (but which are possibly wrong):
- The ser2net utility doesn't create any pid file. And using "start-stop-daemon
--make-pidfile" also doesn't work because ser2net forks from it's main process.

For this reason i decided to start ser2net "manualy" and to grep out the pid of
its process. This works very well here but i couldn't test it on other
machines.

- The default configuration opens one telnetable port (3001) which is connected
to /dev/ttyS0. Other examples (which i thought could be usefull) are also
included but commented out. I saw this behavior on a few other Packages and
thought this is a good behavior.

Btw. this is my first ebuild modification. So even if i read the docs
conecerning creating ebuild or init scripts, it could have made some mistakes a
pro wouldn't make. So please be fair on your comments!

------- Comment #1 From Matthias Egger 2007-01-05 06:12:05 0000 -------
Created an attachment (id=105521) [details]
The new updated ser2net ebuild based on the ser2net-2.3 ebuild

------- Comment #2 From Matthias Egger 2007-01-05 06:13:11 0000 -------
Created an attachment (id=105522) [details]
The newly addes files/confd-ser2net

------- Comment #3 From Matthias Egger 2007-01-05 06:14:41 0000 -------
Created an attachment (id=105523) [details]
The newly added files/config-ser2net (default configuration)

------- Comment #4 From Matthias Egger 2007-01-05 06:16:06 0000 -------
Created an attachment (id=105524) [details]
The newly added files/initd-ser2net

------- Comment #5 From Matthias Egger 2007-01-08 16:16:42 0000 -------
Created an attachment (id=106049) [details]
Newly updated ser2net ebuild based on ser2net-2.3 ebuild

As i saw today, the original ser2net ebuild has been fixed (autotools fix by
flameeyes), so i decided to update also my r1 Version. This makes the old
ebuild obsolete.

------- Comment #6 From Matthias Egger 2007-04-02 14:23:05 0000 -------
Any chance you will find the time to check my improvements? If not, Could
someone other do it? I would really like to see my enhancements upstream.

------- Comment #7 From Stefan Briesenick 2008-09-02 18:03:37 0000 -------
ser2net-2.5 incl. init-script in CVS now. I didn't used your sample-config
though.

Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug