[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[leafnode-list] Re: Builds of leafnode2 for OpenSUSE on OBS
- To: leafnode-list@xxxxxxxxxxxxxxxxxxxxxxxxxxx
- Subject: [leafnode-list] Re: Builds of leafnode2 for OpenSUSE on OBS
- From: MatÄj Cepl <mcepl@xxxxxxx>
- Date: Mon, 26 Mar 2018 07:30:21 +0200
- Delivery-date: Mon, 26 Mar 2018 07:30:58 +0200
- Ironport-phdr: 9a23:28Pb5xOBE8eGCFYwgS8l6mtUPXoX/o7sNwtQ0KIMzox0Lfr5rarrMEGX3/hxlliBBdydt6ofzbKO+4nbGkU4qa6bt34DdJEeHzQksu4x2zIaPcieFEfgJ+TrZSFpVO5LVVti4m3peRMNQJW2aFLduGC94iAPERvjKwV1Ov71GonPhMiryuy+4ZLebxlGiTanfb9+MAi9oBnMuMURnYZsMLs6xAHTontPdeRWxGdoKkyWkh3h+Mq+/4Nt/jpJtf45+MFOTav1f6IjTbxFFzsmKHw65NfqtRbYUwSC4GYXX3gMnRpJBwjF6wz6Xov0vyDnuOdxxDWWMMvrRr0yRD+s7bpkSAXwhSkHKjA5/m/YhcNsg6xUoxyvqQJxzpXIYIyWKPZyYr/RcNcYSGdHQ81fVzZBAoS5b4YXCOQOJ/pYqpf/p1ATsxaxGxGsBOfywTJPg3/5wbM10/wlEQzdwAMvAcoOsHDOoNrrKacfSOa4x7TGwzXEavNZwzb96I7Qfx89v/6MRbZwcc3PyUkuDQ/KklSRpIr4ND2WzuQAq2aW4uh6We6yi2MqqRt9riWry8oskIXFm4YYxk7c+Sh6zos5P8O0RFJ4bNK+Dpddtz+WO5FrTs4iR2xlvjsxxKcctp6hZicKzYwqxx7BZPyDdIiF+gjjW/iMLjhknnJqZry+iwy18Ui6xe3wTsi00FBUoSpZitTBuHIA2wbO5sWHSPZx5Fqt1DKP2gzJ9+1JJV44mbLeK5E7w74wkpQTsV7EHi/zgEj2ibOZeVs8+uis8OnofqvppoeYN4NulA7+L7wimtajDuQgLggOQ2+b9Py41LL950L5TrNKjvornabHqZzaIcUbprWlAwJOz4kj9wyzACm/3NQEg3YIMFJFeBSGj4jqIV3OPO34Ae6ijFSrijdr2/XGPqDnAprQNHTMjanuLv5B7BtYxQM9y9dT6tdQC6odCP7vHEK0qNHTDhk4MEqo3qPrD89h054YVSSDD/y3KqTX5HqB+kEta8KBfItd7DP2JuAhz/XjlXt/lEJLLvrh5ocedH3tRqcuGE6ee3e52to=
- List-id: Leafnode NNTP Server - Support and Technical discussions <leafnode-list.dt.e-technik.tu-dortmund.de>
- Newsgroups: rh.public.leafnode
- Sender: leafnode-list-bounces+list01=leafnode.de@xxxxxxxxxxxxxxxxxxxxxxxxxxx
- User-agent: slrn/1.0.3 (Linux)
I had to have screw up something with the RPM scripts. On my
RHEL I get this:
mitmanek:~# rpm -q --scripts leafnode
preinstall program: /bin/sh
postinstall scriptlet (using /bin/sh):
if [ $1 -eq 1 ] ; then
# Initial installation
systemctl preset leafnode@.service >/dev/null 2>&1 || :
fi
if [ $1 -eq 1 ] ; then
chown -R news:news /var/spool/news
chmod -R 775 /var/spool/news
fi
preuninstall scriptlet (using /bin/sh):
if [ $1 -eq 0 ] ; then
# Package removal, not upgrade
systemctl --no-reload disable leafnode@.service > /dev/null 2>&1 || :
systemctl stop leafnode@.service > /dev/null 2>&1 || :
fi
postuninstall scriptlet (using /bin/sh):
systemctl daemon-reload >/dev/null 2>&1 || :
if [ $1 -ge 1 ] ; then
# Package upgrade, not uninstall
systemctl try-restart leafnode@.service >/dev/null 2>&1 || :
fi
mitmanek:~#
I have to tried to setup appropriate macros in the SPEC file,
but apparently I screwed up. Sometimes, too many macros are just
too many and explicit is better than implicit (see, what's my
main programming language? ;)). Which of the SUSE macros would
do the functional equivalent of above?
> Is then xinet.d needed?
Absolutely not! xinetd is dead, hard as stone (namely, the
headstone).
Best,
MatÄj
--
https://matej.ceplovi.cz/blog/, Jabber: mcepl@xxxxxxxxxx
GPG Finger: 3C76 A027 CA45 AD70 98B5 BC1D 7920 5802 880B C9D8
I am certain there is too much certainty in the world.
-- Michael Crichton
--
_______________________________________________
leafnode-list mailing list
leafnode-list@xxxxxxxxxxxxxxxxxxxxxxxxxxx
https://krusty.dt.e-technik.tu-dortmund.de/mailman/listinfo/leafnode-list
http://leafnode.sourceforge.net/