[tor-dev] RPM: migration to systemd service

Nusenu BM-2D8wMEVgGVY76je1WXNPfo8SrpZt5yGHES at bitmessage.ch
Thu Aug 14 14:47:51 UTC 2014


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

>> Ondrej Mikle:
>>> If possible, I'd like to avoid the if-defs. Do you perhaps have
>>> a tip how to make the spec file "nice" and have it work both
>>> with old startup script and systemd? Maybe some patch?
>> 
>> I would not mind having clean separated per-distribution spec
>> files. That way you can basically reuse the complete spec file
>> from the distribution and you would have systemd support without
>> having to think about it - they probably have had their fair
>> amount of testing.
>> 
> 
> I spent about a day adjusting and merging the Fedora's systemd
> tor.spec. However, it won't build the git source (e.g. with
> LIBS=-lrt ./autogen.sh && ./configure && make dist-rpm). There is
> something missing in the .spec which makes rpmbuild fail on not
> finding the correct source directory, but I wasn't able to figure
> why that happens as rpmbuild is quite hard to debug.

I'd like to have a look at your attempts.

Is there something wrong with the rpm-tor git repo?

git clone https://gitweb.torproject.org/user/hiviah/rpm-tor.git
Cloning into 'rpm-tor'...
fatal: https://gitweb.torproject.org/user/hiviah/rpm-tor.git/info/refs
not valid: is this a git repository?

-----BEGIN PGP SIGNATURE-----

iQIcBAEBCgAGBQJT7MwXAAoJEDcK3SCCSvoecqsQAIkwLSKdSw9G9TPvD55Q7DZH
c3KaJJbFmeIWONKpzfdMgdTC4h3e8ksOJIGBBp8oTFOzE315DkJFb/h5Trl8UQgm
a3cXVKrWktli0rPwiFFrUDEtTXd4mT9xrmgIzivlSEjyTJRCzKWSc3/pX0r4W+Vp
X/e6TCDqBOxIZ/9BgAd5ZkbAiMZBisdZxbbzB3ZdfarbLbHvPLmFAtiPPWEVJMpD
LLGkdM2VRjZCInS7Em0HQj44FCrfbDu29ctbTAd9safP+UmV+aztqrj9hewjH3sc
jTC7Ng00crR9Fa4iNGnCSAFiW5S4bT35tttxIGWlBnFaqAWegNL93Mdeb7YJk+6N
GuHz3kbklQfOXhcycnb3UnsyLUt4x/W5doR5VdOCOBazGAHwkypmR3mWc7ydnKbA
D3fuI1hpEo1Awwa+1XFnmoaz+A8b5vHJbZJj4aOJ3CF8RJzHZP+sHtDNdtANJV0b
fpYjuCYL9e+sAJi04s/WjwLCqhj+d63OuryFF5czpF2cxg70tiYRgTegl8zG3hoE
wm4TPspigvNbeYzu/DYn0lhhrYv3aJfs9+Z6FtBGaOdMYVerRwJqaHee5ylllfFn
qEMEAFh0zSFugtbs6OCq4ZRExddoQStETXveqBJUNcSi19er2/udUkr1JNc3zrSE
P0GaJ7s8hJtdVOtb+BBe
=wChQ
-----END PGP SIGNATURE-----



More information about the tor-dev mailing list