Am 30.06.2014 16:47, schrieb Nick: > On 2014-06-22 5:55 PM, li...@rhsoft.net wrote: >> well, you could build a package at your own or just take the >> init-script from the debian packages, no idea why people > > I tried to but I end up with a script makes non-existing calls to > "quiet-start" and the like, maybe they hacked the > source code to handle them but since I am using relatively stock Postfix I > don't have that/those patches in...
modify the script you need nothing more as the start/restart/stop functions frankly do you understand how init-scripts are working? they are called with start/stop/restart as param and contain functions wich are called depending on $1 >> bypass the package management and then seek for help > > Because I am a programmer and I have done tweaks to Postfix in > the past by modifying the source code, that's why... one reason more to use packages guess what with the patches below happens * raise the version in the SPEC * put the upstream tarball in the SOURCES folder * build the new RPM * rpmbuld unpacks the tarball, applies the patches and build the packages [builduser@buildserver64:~]$ cat /rpmbuild/SPECS/httpd.spec | grep patch Patch1: %{name}-2.4.1-apctl.patch Patch2: %{name}-2.4.1-deplibs.patch Patch3: %{name}-2.4.3-layout.patch Patch4: %{name}-2.4.4-export.patch Patch5: %{name}-2.4-no-server-header.patch %patch1 -p1 %patch2 -p1 %patch3 -p1 %patch4 -p1 %patch5 -p1 > Postfix is one of the programs I usually always compile instead of using a > package because of that... me too - but that's not a reason to bypass the package management typically one starts with the distribution packages, applies hies changes and continues to mainten them > Mind you, I did actually give this kind of speech to somebody in the past > while wearing another hat... (-; i practice what i preach, guess what the .rh in the package versions below means what can't build as package can't be safe deployed and don't exist for me [harry@srv-rhsoft:~]$ /bin/ls -1 /fileserver/yum-repo/fc20/x86_64/ | grep rpm | sort aespipe-2.4c-5.fc20.20140625.rh.x86_64.rpm apr-1.5.1-2.fc20.20140518.rh.x86_64.rpm apr-devel-1.5.1-2.fc20.20140518.rh.x86_64.rpm apr-util-1.5.3-3.fc20.20140518.rh.x86_64.rpm apr-util-devel-1.5.3-3.fc20.20140518.rh.x86_64.rpm apr-util-mysql-1.5.3-3.fc20.20140518.rh.x86_64.rpm apr-util-nss-1.5.3-3.fc20.20140518.rh.x86_64.rpm apr-util-openssl-1.5.3-3.fc20.20140518.rh.x86_64.rpm arp-scan-1.8.4-1.fc20.20131231.rh.x86_64.rpm cantata-1.3.4-2.fc20.20140625.rh.x86_64.rpm dbmail-3.1.15-2.fc20.20140615.rh.8a042214ae1d120581740020f4e73c3cf8d3a6c0.x86_64.rpm dbmail-manpages-3.1.15-2.fc20.20140615.rh.8a042214ae1d120581740020f4e73c3cf8d3a6c0.x86_64.rpm dbmail-tools-3.1.15-2.fc20.20140615.rh.8a042214ae1d120581740020f4e73c3cf8d3a6c0.x86_64.rpm dovecot-2.2.13-3.fc20.20140518.rh.x86_64.rpm ffmpeg-devel-2.1.5-4.fc20.20140625.rh.x86_64.rpm ffmpeg-latest-2.2.4-4.fc20.20140625.rh.x86_64.rpm ffmpeg-latest-manpages-2.2.4-4.fc20.20140624.rh.noarch.rpm ffmpeg-libs-2.1.5-4.fc20.20140625.rh.x86_64.rpm fsync-tester-1.0-1.fc20.20131223.rh.x86_64.rpm GeoIP-1.6.0-1.fc20.20131231.rh.x86_64.rpm GeoIP-devel-1.6.0-1.fc20.20131231.rh.x86_64.rpm gmime-2.6.20-3.fc20.20140518.rh.x86_64.rpm gmime-devel-2.6.20-3.fc20.20140518.rh.x86_64.rpm hostapd-2.2-2.fc20.20140625.rh.x86_64.rpm httpd-2.4.9-4.fc20.20140518.rh.x86_64.rpm httpd-devel-2.4.9-4.fc20.20140518.rh.x86_64.rpm httpd-extras-2.4.9-4.fc20.20140518.rh.x86_64.rpm httpd-extras-auth-2.4.9-4.fc20.20140518.rh.x86_64.rpm httpd-manual-2.4.9-4.fc20.20140518.rh.noarch.rpm httpd-tools-2.4.9-4.fc20.20140518.rh.x86_64.rpm hylafax-5.5.4-3.fc20.20131231.rh.x86_64.rpm iat-0.1.7-16.fc20.20140625.rh.x86_64.rpm iaxmodem-1.2.0-9.fc20.20131231.rh.x86_64.rpm jpegoptim-1.4.1-1.fc20.x86_64.rpm lame-3.99.5-4.fc20.20140518.rh.x86_64.rpm lame-devel-3.99.5-4.fc20.20140518.rh.x86_64.rpm lame-libs-3.99.5-4.fc20.20140518.rh.x86_64.rpm libdvdcss-1.2.13-7.fc20.x86_64.rpm libdvdcss2-1.2.13-7.fc20.x86_64.rpm libevent-2.0.21-5.fc20.20140518.rh.x86_64.rpm libevent-devel-2.0.21-5.fc20.20140518.rh.x86_64.rpm libmpdclient-2.9-2.fc20.20140625.rh.x86_64.rpm libmpdclient-devel-2.9-2.fc20.20140625.rh.x86_64.rpm libnss-mysql-1.5-20.fc20.20131231.rh.x86_64.rpm libvpx-1.3.0-5.fc20.20140127.rh.x86_64.rpm libvpx-devel-1.3.0-5.fc20.20140127.rh.x86_64.rpm libvpx-utils-1.3.0-5.fc20.20140127.rh.x86_64.rpm libzdb-3.0-5.fc20.20140518.rh.x86_64.rpm libzdb-devel-3.0-5.fc20.20140518.rh.x86_64.rpm lzo-2.08-5.fc20.20140629.rh.x86_64.rpm lzo-devel-2.08-5.fc20.20140629.rh.x86_64.rpm lzo-minilzo-2.08-5.fc20.20140629.rh.x86_64.rpm mariadb-5.5.38-2.fc20.20140609.rh.x86_64.rpm mariadb-devel-5.5.38-2.fc20.20140609.rh.x86_64.rpm mariadb-libs-5.5.38-2.fc20.20140609.rh.x86_64.rpm mariadb-manpages-5.5.38-2.fc20.20140609.rh.x86_64.rpm mariadb-server-5.5.38-2.fc20.20140609.rh.x86_64.rpm mariadb-test-5.5.38-2.fc20.20140609.rh.x86_64.rpm minizip-1.2.8-3.fc20.20131231.rh.x86_64.rpm minizip-devel-1.2.8-3.fc20.20131231.rh.x86_64.rpm mod_dav_svn-1.8.9-1.fc20.20140528.rh.x86_64.rpm mod_h264_streaming-2.2.7-20.fc20.20140518.rh.x86_64.rpm mod_mime_magic-2.4.9-4.fc20.20140518.rh.x86_64.rpm mod_proxy_html-2.4.9-4.fc20.20140518.rh.x86_64.rpm mod_security-2.8.0-3.fc20.20140518.rh.x86_64.rpm mod_ssl-2.4.9-4.fc20.20140518.rh.x86_64.rpm mp3info-0.8.5a-20.fc20.20140625.rh.x86_64.rpm mpc-0.26-2.fc20.20140625.rh.x86_64.rpm mpd-0.17.6-1.fc20.20140625.rh.x86_64.rpm mpdscribble-0.22-7.fc20.20140625.rh.x86_64.rpm msttcorefonts-2.0-6.fc20.20131221.rh.noarch.rpm mysqltuner-1.2.0-10.20110306git.fc20.20140105.rh.noarch.rpm netatalk-3.0.8-1.fc20.20140620.rh.x86_64.rpm netatalk-devel-3.0.8-1.fc20.20140620.rh.x86_64.rpm netatalk-manpages-3.0.8-1.fc20.20140620.rh.x86_64.rpm openssl-1.0.1e-38.fc20.20140605.rh.x86_64.rpm openssl-devel-1.0.1e-38.fc20.20140605.rh.x86_64.rpm openssl-libs-1.0.1e-38.fc20.20140605.rh.x86_64.rpm openssl-perl-1.0.1e-38.fc20.20140605.rh.x86_64.rpm openssl-static-1.0.1e-38.fc20.20140605.rh.x86_64.rpm open-vm-tools-9.4.0.1280544-8.fc20.20131231.rh.x86_64.rpm openvpn-2.3.2-16.fc20.20131231.rh.x86_64.rpm perl-Class-Std-Fast-0.0.8-13.fc20.20131231.rh.noarch.rpm perl-IO-Socket-INET6-2.71-1.fc20.20131231.rh.noarch.rpm perl-Net-DRI-0.96_05-3.fc20.20131231.rh.noarch.rpm perl-SOAP-WSDL-2.00.99_3-3.fc20.20131231.rh.noarch.rpm php-5.5.14-8.fc20.20140630.rh.x86_64.rpm php-bcmath-5.5.14-8.fc20.20140630.rh.x86_64.rpm php-cli-5.5.14-8.fc20.20140630.rh.x86_64.rpm php-common-5.5.14-8.fc20.20140630.rh.x86_64.rpm php-devel-5.5.14-8.fc20.20140630.rh.x86_64.rpm php-feedcreator-1.7.2-50.fc20.20131231.rh.noarch.rpm php-gd-5.5.14-8.fc20.20140630.rh.x86_64.rpm php-imap-5.5.14-8.fc20.20140630.rh.x86_64.rpm php-intl-5.5.14-8.fc20.20140630.rh.x86_64.rpm php-mbstring-5.5.14-8.fc20.20140630.rh.x86_64.rpm phpMyAdmin-4.2.5-2.fc20.20140628.rh.noarch.rpm php-opcache-5.5.14-8.fc20.20140630.rh.x86_64.rpm php-pdo-5.5.14-8.fc20.20140630.rh.x86_64.rpm php-pdo-mysql-5.5.14-8.fc20.20140630.rh.x86_64.rpm php-pecl-geoip-1.1.0-3.fc20.20140629.rh.x86_64.rpm php-pecl-imagick-3.1.2-7.fc20.20140629.rh.x86_64.rpm php-pecl-mailparse-2.1.6-7.fc20.20140629.rh.x86_64.rpm php-pecl-mysqlnd_qc-1.2.0-7.fc20.20140629.rh.x86_64.rpm php-pecl-ssh2-0.12-7.fc20.20140629.rh.x86_64.rpm php-pecl-uploadprogress-1.0.3.1-7.fc20.20140629.rh.x86_64.rpm php-pecl-xdebug-2.2.5-4.fc20.20140629.rh.x86_64.rpm php-phar-5.5.14-8.fc20.20140630.rh.x86_64.rpm php-process-5.5.14-8.fc20.20140630.rh.x86_64.rpm php-tidy-5.5.14-8.fc20.20140630.rh.x86_64.rpm php-xml-5.5.14-8.fc20.20140630.rh.x86_64.rpm php-xmlrpc-5.5.14-8.fc20.20140630.rh.x86_64.rpm postfix-2.11.1-3.fc20.20140518.rh.x86_64.rpm postfix-manpages-2.11.1-3.fc20.20140518.rh.x86_64.rpm pulsed-3.0-3.fc20.20131231.rh.noarch.rpm pure-ftpd-1.0.36-12.fc20.20140211.rh.x86_64.rpm rar-4.2.0-4.fc20.x86_64.rpm roundcubemail-1.0.1-5.fc20.20140628.rh.noarch.rpm subversion-1.8.9-1.fc20.20140528.rh.x86_64.rpm subversion-devel-1.8.9-1.fc20.20140528.rh.x86_64.rpm subversion-gnome-1.8.9-1.fc20.20140528.rh.x86_64.rpm subversion-kde-1.8.9-1.fc20.20140528.rh.x86_64.rpm subversion-libs-1.8.9-1.fc20.20140528.rh.x86_64.rpm subversion-perl-1.8.9-1.fc20.20140528.rh.x86_64.rpm subversion-python-1.8.9-1.fc20.20140528.rh.x86_64.rpm subversion-ruby-1.8.9-1.fc20.20140528.rh.x86_64.rpm subversion-tools-1.8.9-1.fc20.20140528.rh.x86_64.rpm trafficserver-5.0.0-1.fc20.20140624.rh.x86_64.rpm trafficserver-devel-5.0.0-1.fc20.20140624.rh.x86_64.rpm trafficserver-manpages-5.0.0-1.fc20.20140624.rh.x86_64.rpm trafficserver-plugins-5.0.0-1.fc20.20140624.rh.x86_64.rpm up-imapproxy-1.2.8-5.fc20.20140519.rh.x86_64.rpm vnstat-1.11-20.fc20.20131231.rhvnstat.x86_64.rpm webalizer-xtended-2.23_08_RB30-30.fc20.20140414.rh.x86_64.rpm woff-code-1.0-3.fc20.20140625.rh.x86_64.rpm x264-latest-0.142.2431-3.fc20.20140522.rh.x86_64.rpm xz-5.1.2-12alpha.fc20.20140614.rh.x86_64.rpm xz-compat-libs-5.1.2-12alpha.fc20.20140614.rh.x86_64.rpm xz-devel-5.1.2-12alpha.fc20.20140614.rh.x86_64.rpm xz-libs-5.1.2-12alpha.fc20.20140614.rh.x86_64.rpm xz-lzma-compat-5.1.2-12alpha.fc20.20140614.rh.x86_64.rpm xz-static-5.1.2-12alpha.fc20.20140614.rh.x86_64.rpm zlib-1.2.8-3.fc20.20131231.rh.x86_64.rpm zlib-devel-1.2.8-3.fc20.20131231.rh.x86_64.rpm zlib-static-1.2.8-3.fc20.20131231.rh.x86_64.rpm zram-1.0.1-1.fc20.20140512.rh.noarch.rpm