debian init files gone wrong? (Due to git reorg?)
Hi, Building syslog-ng from source posed a few problems, one of them being debian/syslog-ng.init that missed a crucial option: It's function syslogng_start() in Git currently says: start-stop-daemon --start --quiet --exec "$SYSLOGNG" --pidfile "$PIDFILE" -- $SYSLOGNG_OPTS \ ... while the Debian source I viewed says: start-stop-daemon --start --quiet --exec "$SYSLOGNG" --pidfile "$PIDFILE" -- -p "$PIDFILE" $SYSLOGNG_OPTS \ As the Git repository tells the file is from 2007, I suspect the git reorganisation from november to have caused this - but I'm not sure. Also, the Debian init files seem to be much more up to date than this file - the file in Git still starts with the "skeleton" stuff. Best regards, Valentijn
Valentijn Sessink <valentyn@blub.net> writes:
Building syslog-ng from source posed a few problems, one of them being debian/syslog-ng.init that missed a crucial option:
The debian/ directory in the current syslog-ng source is useless and should not be used. It is only there for historical reasons and because internal tools here at BalaBit depend on it. I'm working on making it possible to drop it, along with the RPM .spec file and other unmaintained packaging bits. (I will likely add a note to all of them, until they can be dropped.) If you want to build a proper debian package, please use the packaging/debian/3.5 branch from my repository: https://github.com/algernon/syslog-ng/tree/packaging/debian/3.5 (Similar branch exists for 3.3 and 3.4, if you want those instead.) The debian/README.source file in that tree explains how to build a package out of it. -- |8]
Hi, On 12-02-14 11:24, Gergely Nagy wrote:
If you want to build a proper debian package, please use the packaging/debian/3.5 branch from my repository: https://github.com/algernon/syslog-ng/tree/packaging/debian/3.5
Ah, that explains what happened :) Problem is, I'm building 3.6 (alpha-alpha-0.00) :-) Anyway, with the historical debian/ tree in place, it's remarkable how easy it was to get the source to (sort of) build and run. It did not build separate -core and other packages, just one big fat syslog-ng deb-file, but, after some changes to the config file and restoring a few files from a real syslog-ng package, it does (sort of) run. V.
Valentijn Sessink <valentyn@blub.net> writes:
On 12-02-14 11:24, Gergely Nagy wrote:
If you want to build a proper debian package, please use the packaging/debian/3.5 branch from my repository: https://github.com/algernon/syslog-ng/tree/packaging/debian/3.5
Ah, that explains what happened :)
Problem is, I'm building 3.6 (alpha-alpha-0.00) :-)
The 3.5 branch should work for that, just update the submodule and bump the version in debian/changelog, and you're good to go =)
Anyway, with the historical debian/ tree in place, it's remarkable how easy it was to get the source to (sort of) build and run. It did not build separate -core and other packages, just one big fat syslog-ng deb-file, but, after some changes to the config file and restoring a few files from a real syslog-ng package, it does (sort of) run.
Yeah, it has its advantages, indeed. I plan to make the debian packaging configurable, so you'll be able to build a single fat package instead of -core and -mod-* ones, in a simple way. -- |8]
participants (2)
-
Gergely Nagy
-
Valentijn Sessink