/[smeserver]/common/Makefile.common
ViewVC logotype

Contents of /common/Makefile.common

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.19 - (show annotations) (download)
Fri Aug 3 16:54:13 2012 UTC (12 years, 4 months ago) by slords
Branch: MAIN
CVS Tags: e-smith-manager-2_4_0-5_el6_sme, e-smith-base-5_2_0-68_el5_sme, smeserver-qpsmtpd-2_4_0-27_el6_sme, smeserver-locale-2_2_0-45_el5_sme, smeserver-support-2_2_0-24_el5_sme, e-smith-backup-2_4_0-32_el6_sme, clamav-0_98_1-3_el6_sme, e-smith-base-5_2_0-85_el5_sme, e-smith-backup-2_2_0-87_el5_sme, e-smith-hosts-2_4_0-12_el6_sme, smeserver-qpsmtpd-2_4_0-23_el6_sme, perl-Net-CIDR-Lite-0_21-2_el6_sme, e-smith-samba-2_4_0-14_el6_sme, e-smith-samba-2_6_0-5_el7_sme, smeserver-release-9_1-0_beta3_el6_sme, e-smith-ibays-2_6_0-3_el7_sme, qpsmtpd-0_96-1_el6_sme, qpsmtpd-0_84-12_el6_sme, e-smith-5_4_0-4_el6_sme, e-smith-backup-2_2_0-83_el5_sme, e-smith-samba-2_4_0-8_el6_sme, e-smith-base-5_4_0-41_el6_sme, e-smith-lib-2_4_0-3_el6_sme, e-smith-pptpd-2_6_0-1_el7_sme, LPRng-3_8_35-3_el7_sme, e-smith-backup-2_2_0-78_el5_sme, e-smith-backup-2_4_0-19_el6_sme, buffer-1_19-9_el7_sme, e-smith-backup-2_4_0-3_el6_sme, e-smith-base-5_6_0-7_el6_sme, e-smith-base-5_4_0-54_el6_sme, clamav-0_99-2_el6_sme, e-smith-backup-2_6_0-7_el7_sme, e-smith-base-5_2_0-74_el5_sme, anaconda-11_1_2_263-2_el5_sme, e-smith-radiusd-2_6_0-8_el7_sme, smeserver-release-9_0-1_el6_sme, e-smith-base-5_6_0-13_el6_sme, qpsmtpd-0_96-2_el6_sme, smeserver-yum-2_4_0-8_el6_sme, e-smith-apache-2_4_0-7_el6_sme, smeserver-clamav-2_6_0-1_el7_sme, e-smith-dnscache-2_2_0-2_el5_sme, smeserver-qpsmtpd-2_4_0-3_el6_sme, samba-4_4_4-12_6_el7_sme, e-smith-manager-2_6_0-1_el6_sme, e-smith-ntp-2_6_0-4_el7_sme, e-smith-manager-2_8_0-7_el7_sme, e-smith-base-5_4_0-44_el6_sme, smeserver-release-9_0-0_beta1_el6_sme, smeserver-qpsmtpd-2_4_0-12_el6_sme, e-smith-backup-2_4_0-38_el6_sme, e-smith-mysql-2_6_0-3_el7_sme, ulogd-1_24-13_fc12, e-smith-ibays-2_2_0-16_el5_sme, e-smith-manager-2_8_0-24_el7_sme, e-smith-manager-2_2_0-11_el5_sme, perl-Net-CIDR-Lite-0_21-1_el6_sme, e-smith-runit-2_4_0-2_el6_sme, spamassassin-3_4_1-1_el6_sme, e-smith-base-5_6_0-26_el6_sme, smeserver-support-2_8_0-11_el7_sme, e-smith-backup-2_2_0-68_el5_sme, e-smith-base-5_4_0-19_el6_sme, e-smith-backup-2_4_0-14_el6_sme, e-smith-email-5_4_0-2_el6_sme, smeserver-release-9_0-0_beta2_el6_sme, qpsmtpd-0_84-10_el6_sme, e-smith-5_4_0-5_el6_sme, e-smith-ldap-5_4_0-6_el6_sme, clamav-0_98_1-1_el6_sme, e-smith-apache-2_2_0-13_el5_sme, e-smith-backup-2_2_0-82_el5_sme, e-smith-base-5_2_0-78_el5_sme, e-smith-turba-3_6_0-1_el7_sme, e-smith-ibays-2_6_0-6_el7_sme, e-smith-base-5_2_0-87_el5_sme, e-smith-manager-2_8_0-26_el7_sme, perl-CGI-FormMagick-0_92-22_el5_sme, e-smith-qmail-2_4_0-8_el6_sme, anaconda-11_1_2_242-1_el5_sme_1, anaconda-11_1_2_263-2_el5_centos, anaconda-13_21_215-1_el6_sme, e-smith-lib-2_4_0-8_el6_sme, spamassassin-3_3_2-58_el6_sme, e-smith-base-5_2_0-95_el5_sme, smeserver-samba-0_1_0-1_el6_sme, djbdns-1_05-11_el6_sme, smeserver-audittools-1_4_0-2_el6_sme, e-smith-mysql-2_4_0-9_el6_sme, smeserver-clamav-2_2_0-15_el5_sme, buffer-1_19-8_el7_sme, qpsmtpd-0_96-16_el7_sme, e-smith-lib-2_6_0-5_el7_sme, e-smith-manager-2_8_0-20_el7_sme, e-smith-base-5_6_0-33_el6_sme, smeserver-locale-2_6_0-9_el7_sme, dar-2_3_8-7_el6_sme, smeserver-release-9_0-0_beta3_el6_sme, e-smith-manager-2_8_0-19_el7_sme, e-smith-backup-2_2_0-67_el5_sme, smeserver-yum-2_6_0-16_el7_sme, e-smith-backup-2_2_0-77_el5_sme, qpsmtpd-plugins-0_0_1-5_el6_sme, e-smith-base-5_2_0-72_el5_sme, smeserver-yum-2_4_0-16_el6_sme, smeserver-locale-2_2_0-56_el5_sme, smeserver-support-2_4_0-21_el6_sme, e-smith-base-5_4_0-48_el6_sme, e-smith-manager-2_8_0-1_el7_sme, clamav-0_99-1_el6_sme, e-smith-manager-2_8_0-21_el7_sme, qpsmtpd-plugins-0_0_1-4_el6_sme, e-smith-pop3-2_6_0-1_el7_sme, clamav-0_99_2-1_el6_sme, e-smith-test-2_6_0-1_el7_sme, smeserver-release-9_1-0_beta1_el6_sme, qpsmtpd-0_84-20_el7_sme, e-smith-base-5_4_0-60_el6_sme, clamav-0_98_4-1, e-smith-backup-2_2_0-64_el5_sme, perl-Struct-Compare-1_0_1-1, e-smith-samba-2_4_0-11_el6_sme, e-smith-apache-2_4_0-5_el6_sme, e-smith-radiusd-2_6_0-2_el7_sme, e-smith-imap-2_2_0-8_el5_sme, e-smith-radiusd-2_4_0-10_el6_sme, e-smith-base-5_4_0-31_el6_sme, e-smith-samba-2_4_0-12_el6_sme, qpsmtpd-0_96-18_el7_sme, e-smith-radiusd-2_6_0-7_el7_sme, e-smith-base-5_8_0-4_el7_sme, php-horde-Horde-ActiveSync-2_34_0-3_el7_sme, e-smith-base-5_4_0-30_el6_sme, e-smith-base-5_2_0-97_el5_sme, clamav-0_98_4-2_el5_sme, e-smith-ldap-5_2_0-80_el5_sme, e-smith-base-5_8_0-33_el7_sme, e-smith-base-5_6_0-15_el6_sme, smeserver-release-8_2-1_el5_sme, e-smith-base-5_4_0-61_el6_sme, e-smith-devtools-2_4_0-5_el6_sme, e-smith-ibays-2_4_0-6_el6_sme, qpsmtpd-0_84-16_el6_sme, e-smith-base-5_4_0-24_el6_sme, e-smith-email-5_2_0-20_el5_sme, e-smith-proxy-5_4_0-2_el6_sme, smeserver-support-2_2_0-27_el5_sme, smeserver-locale-2_2_0-46_el5_sme, e-smith-base-5_2_0-88_el5_sme, smeserver-yum-2_2_0-22_el5_sme, smeserver-qpsmtpd-2_6_0-1_el7_sme, rssh-2_3_4-1_el6, e-smith-test-2_4_0-2_el6_sme, e-smith-base-5_8_0-10_el7_sme, e-smith-lib-2_4_0-13_el6_sme, smeserver-support-2_8_0-13_el7_sme, e-smith-radiusd-2_6_0-4_el7_sme, smeserver-qpsmtpd-2_4_0-35_el6_sme, e-smith-quota-2_6_0-1_el7_sme, e-smith-mysql-2_2_0-7_el5_sme, e-smith-base-5_8_0-37_el7_sme, e-smith-hosts-2_4_0-2_el6_sme, e-smith-base-5_6_0-28_el6_sme, smeserver-dovecot-1_4_0-9_el6_sme, php-pear-HTTP_WebDAV_Server-1_0_0RC8-2, php-pear-Auth-SASL2-0_1_0-2_el6, e-smith-backup-2_2_0-70_el5_sme, e-smith-backup-2_4_0-26_el6_sme, e-smith-apache-2_4_0-6_el6_sme, e-smith-mysql-2_4_0-8_el6_sme, php-horde-Horde-Service-Facebook-2_0_9-2_el7_sme, e-smith-base-5_6_0-18_el6_sme, e-smith-base-5_8_0-23_el7_sme, e-smith-backup-2_2_0-80_el5_sme, e-smith-horde-4_4_0-8_el6_sme, e-smith-ingo-2_6_0-1_el7_sme, smeserver-dovecot-1_4_0-1_el6_sme, LPRng-3_8_35-4_el7_sme, e-smith-base-5_6_0-4_el6_sme, e-smith-ldap-5_6_0-1_el7_sme, clamav-0_99_1-1_el6_sme, smeserver-qpsmtpd-2_4_0-13_el6_sme, e-smith-base-5_8_0-24_el7_sme, e-smith-imap-2_2_0-7_el5_sme, timeobjects-2_1_2-1_el6, samba-4_4_4-14_6_el7_sme, e-smith-ibays-2_4_0-4_el6_sme, e-smith-manager-2_2_0-10_el5_sme, smeserver-support-2_6_0-7_el6_sme, e-smith-backup-2_4_0-30_el6_sme, e-smith-samba-2_4_0-17_el6_sme, e-smith-backup-2_4_0-23_el6_sme, e-smith-samba-2_2_0-50_el5_sme, smeserver-spamassassin-2_2_0-13_el5_sme, e-smith-manager-2_8_0-16_el7_sme, smeserver-yum-2_6_0-14_el7_sme, timeobjects-2_1_2-3_el7_sme, smeserver-release-9_0-0_rc1_el6_sme, e-smith-manager-2_4_0-7_el6_sme, initscripts-9_03_40-2_el6_sme, clamav-0_98_3-1_el6, e-smith-samba-2_4_0-9_el6_sme, smeserver-release-8_1-0_beta1_1_el5_sme, e-smith-manager-2_8_0-13_el7_sme, e-smith-manager-2_6_0-19_el6_sme, initscripts-8_45_44-3_el5_sme, e-smith-imp-5_2_0-10_el5_sme, e-smith-base-5_8_0-13_el7_sme, smeserver-support-2_8_0-9_el7_sme, e-smith-packetfilter-2_2_0-2_el5_sme, smeserver-qpsmtpd-2_4_0-15_el6_sme, php-pear-Date-Holidays-Australia-0_2_2-1_el6, smeserver-audittools-1_2_0-9_el5_sme, smeserver-clamav-2_4_0-3_el6_sme, e-smith-email-5_2_0-25_el5_sme, e-smith-base-5_6_0-20_el6_sme, e-smith-horde-4_6_0-1_el7_sme, e-smith-base-5_8_0-26_el7_sme, initscripts-9_03_40-2_1_el6_sme, e-smith-ibays-2_4_0-3_el6_sme, clamav-0_98_6-1_el6_sme, e-smith-base-5_4_0-43_el6_sme, e-smith-imap-2_4_0-2_el6_sme, samba-4_4_4-12_5_el7_sme, e-smith-base-5_4_0-8_el6_sme, e-smith-base-5_4_0-50_el6_sme, smeserver-locale-2_4_0-5_el6_sme, e-smith-base-5_4_0-12_el6_sme, e-smith-base--, smeserver-qpsmtpd-2_2_0-18_el5_sme, spamassassin-3_3_2-59_el6_sme, e-smith-backup-2_4_0-17_el6_sme, openssl-0_9_8e-31_1_el5_sme, e-smith-backup-2_6_0-12_el7_sme, perl-CGI-FormMagick-0_93-3_el7_sme, pam_abl-0_2_3-2_el7_sme, smeserver-dovecot-1_4_0-16_el6_sme, e-smith-manager-2_2_0-12_el5_sme, e-smith-ibays-2_4_0-11_el6_sme, e-smith-apache-2_6_0-1_el7_sme, smeserver-locale-2_4_0-14_el6_sme, php-5_3_3-17_el5_sme, smeserver-yum-2_4_0-3_el6_sme, e-smith-base-5_4_0-39_el6_sme, e-smith-ntp-2_4_0-7_el6_sme, e-smith-base-5_8_0-18_el7_sme, e-smith-manager-2_2_0-8_el5_sme, e-smith-samba-2_6_0-1_el7_sme, smeserver-locale-2_2_0-50_el5_sme, e-smith-base-5_8_0-14_el7_sme, e-smith-samba-2_4_0-23_el6_sme, e-smith-pop3-2_2_0-7_el5_sme, smeserver-qpsmtpd-2_6_0-29_el7_sme, php-pear-Date-Holidays-Turkey-0_1_1-1_el6, e-smith-grub-2_6_1-3_el7_sme, e-smith-base-5_8_0-22_el7_sme, smeserver-support-2_8_0-8_el7_sme, openssl-0_9_8e-27_el5_10_1, smeserver-samba-0_7_0-2_el7_sme, qpsmtpd-0_84-6_el5_sme, clamav-0_98_4-2_el6_sme, smeserver-qpsmtpd-2_4_0-14_el6_sme, smeserver-spamassassin-2_4_0-3_el6_sme, e-smith-turba--, smeserver-support-2_6_0-6_el6_sme, qpsmtpd-0_84-7_el6_sme, e-smith-base-5_4_0-18_el6_sme, smeserver-horde-1_0_0-5_el7_sme, smeserver-qpsmtpd-2_4_0-20_el6_sme, e-smith-base-5_6_0-22_el6_sme, smeserver-dovecot-1_4_0-15_el6_sme, smeserver-support-2_4_0-16_el6_sme, e-smith-ibays-2_6_0-1_el7_sme, e-smith-proftpd-2_4_0-3_el6_sme, smeserver-dovecot-1_4_0-17_el6_sme, perl-Mojolicious-5_05-2_el6_sme, e-smith-base-5_2_0-92_el5_sme, anaconda-13_21_195-1_el6_sme_1, mod_perl-2_0_4-10_el6, smeserver-dovecot-1_4_0-18_el6_sme, e-smith-pop3-2_4_0-3_el6_sme, smeserver-qpsmtpd-2_4_0-25_el6_sme, e-smith-backup-2_4_0-22_el6_sme, e-smith-base-5_4_0-34_el6_sme, e-smith-base-5_2_0-79_el5_sme, smeserver-locale-2_4_0-24_el6_sme, smeserver-yum-2_6_0-15_el7_sme, e-smith-php-2_2_0-7_el5_sme, e-smith-manager-2_2_0-9_el5_sme, qpsmtpd-0_96-9_el6_sme, e-smith-hosts-2_4_0-3_el6_sme, oidentd-2_0_8-1_rf, clamav-0_99_2-1_el5_sme, smeserver-qpsmtpd-2_4_0-8_el6_sme, smeserver-qpsmtpd-2_2_0-19_el5_sme, e-smith-samba-2_2_0-56_el5_sme, e-smith-qmail-2_4_0-6_el6_sme, e-smith-base-5_4_0-25_el6_sme, smeserver-qpsmtpd-2_4_0-11_el6_sme, smeserver-qpsmtpd-2_4_0-29_el6_sme, smeserver-qpsmtpd-2_4_0-16_el6_sme, e-smith-backup-2_2_0-66_el5_sme, dehydrated-0_3_0_20160914_gitcaeed7d-4_el7_sme, smeserver-qpsmtpd-2_4_0-7_el6_sme, anaconda-13_21_239_1-1_el6_sme, e-smith-apache-2_6_1-2_el7_sme, anaconda-13_21_239-1_el6_sme_1, anaconda-13_21_239-1_el6_sme_2, php-pear-Date-Holidays-Italy-0_1_1-1_el6, e-smith-manager-2_8_0-22_el7_sme, e-smith-portforwarding-2_6_0-1_el7_sme, e-smith-manager-2_6_0-15_el6_sme, smeserver-support-2_4_0-19_el6_sme, e-smith-base-5_4_0-53_el6_sme, smeserver-spamassassin-2_6_0-8_el7_sme, smeserver-yum-2_6_0-8_el7_sme, e-smith-ibays-2_6_0-4_el7_sme, smeserver-support-2_6_0-1_el6_sme, e-smith-qmail-2_4_0-7_el6_sme, e-smith-base-5_6_0-21_el6_sme, e-smith-base-5_2_0-96_el5_sme, smeserver-support-2_4_0-17_el6_sme, runit-2_1_2-1_el6_sme, e-smith-manager-2_2_0-7_el5_sme, initscripts-9_03_31-2_el6_centos_1, e-smith-backup-2_4_0-29_el6_sme, pwauth-2_3_10-1_el6_sme, e-smith-base-5_2_0-73_el5_sme, e-smith-base-5_4_0-6_el6_sme, e-smith-apache-2_2_0-11_el5_sme, e-smith-base-5_2_0-93_el5_sme, e-smith-starterwebsite-2_6_0-1_el7_sme, smeserver-locale-2_4_0-8_el6_sme, clamav-0_98_7-1_el6_sme, e-smith-radiusd-2_4_0-4_el6_sme, e-smith-lib-2_4_0-17_el6_sme, e-smith-manager-2_4_0-9_el6_sme, e-smith-openssh-2_4_0-5_el6_sme, e-smith-email-5_4_0-6_el6_sme, anaconda-13_21_254-1_el6_sme_2, anaconda-13_21_254-1_el6_sme_1, e-smith-qmail-2_4_0-2_el6_sme, initscripts-9_03_53-1_el6_sme_1, smeserver-qpsmtpd-2_4_0-5_el6_sme, e-smith-lib-2_4_0-9_el6_sme, php-pear-Date-Holidays-Netherlands-0_1_4-1_el6, e-smith-samba-2_4_0-7_el6_sme, e-smith-openssh-2_6_0-1_el7_sme, e-smith-manager-2_8_0-3_el7_sme, e-smith-backup-2_4_0-45_el6_sme, qpsmtpd-0_96-17_el7_sme, qpsmtpd-0_96-3_el6_sme, smeserver-yum-2_4_0-14_el6_sme, smeserver-qpsmtpd-2_4_0-30_el6_sme, e-smith-imap-2_2_0-4_el5_sme, openssl-0_9_8e-32_1_el5_sme, smeserver-support-2_8_0-7_el7_sme, qmail-1_03-19_el7_sme, smeserver-locale-2_4_0-10_el6_sme, smeserver-support-2_2_0-30_el5_sme, clamav-0_97_8-1_el5_sme, e-smith-ibays-2_2_0-14_el5_sme, smeserver-dovecot-1_4_0-2_el6_sme, e-smith-email-5_2_0-19_el5_sme, perl-Net-IMAP-Simple-1_1916-3_el6, e-smith-backup-2_2_0-79_el5_sme, e-smith-email-5_2_0-21_el5_sme, e-smith-base-5_2_0-66_el5_sme, php-pear-Console-GetoptPlus-1_0_0RC1-2_el6, e-smith-base-5_8_0-6_el7_sme, xlhtml-0_5-11_fc12, mod_perl-2_0_4-11_1_el6_sme, smeserver-yum-2_4_0-6_el6_sme, smeserver-yum-2_6_0-12_el7_sme, e-smith-proftpd-2_2_0-4_el5_sme, smeserver-qpsmtpd-2_4_0-28_el6_sme, e-smith-ntp-2_4_0-4_el6_sme, e-smith-ldap-5_2_0-77_el5_sme, smeserver-release-8_1-0_beta2_el5_sme, e-smith-backup-2_6_0-2_el7_sme, perl-Mojolicious-4_91-1_el6, clamav-0_98_3-1, e-smith-base-5_4_0-62_el6_sme, smeserver-locale-2_4_0-11_el6_sme, smeserver-spamassassin-2_4_0-4_el6_sme, e-smith-base-5_8_0-32_el7_sme, e-smith-runit-2_6_0-1_el7_sme, e-smith-apache-2_2_0-12_el5_sme, e-smith-base-5_6_0-1_el6_sme, e-smith-packetfilter-2_4_0-3_el6_sme, e-smith-backup-2_4_0-20_el6_sme, smeserver-dovecot-1_4_0-21_el6_sme, smeserver-release-9_2-0_beta1_el6_sme, e-smith-backup-2_2_0-84_el5_sme, e-smith-backup-2_4_0-31_el6_sme, e-smith-base-5_2_0-86_el5_sme, e-smith-proxy-5_6_0-1_el7_sme, smeserver-support-2_8_0-1_el7_sme, dietlibc-0_30-4_el5_sme_2, php-pear-Math_BigInteger-1_0_3-1_el6, e-smith-ntp-2_4_0-2_el6_sme, e-smith-samba-2_4_0-5_el6_sme, perl-Quota-1_6_7-1_rf, e-smith-mysql-2_4_0-7_el6_sme, smeserver-release-9_0-0_beta4_el6_sme, e-smith-qmail-2_2_0-11_el5_sme, e-smith-samba-2_2_0-52_el5_sme, php-horde-horde-5_2_11-1_el7, clamav-0_98_6-1_el5_sme, e-smith-base-5_2_0-84_el5_sme, LPRng-3_8_35-5_el7_sme, e-smith-hosts-2_6_0-5_el7_sme, e-smith-email-5_6_0-1_el7_sme, e-smith-backup-2_2_0-76_el5_sme, smeserver-qpsmtpd-2_2_0-22_el5_sme, smeserver-release--, e-smith-mysql-2_4_0-6_el6_sme, e-smith-tinydns-2_4_0-2_el6_sme, smeserver-qpsmtpd-2_6_0-2_el7_sme, e-smith-manager-2_8_0-8_el7_sme, smeserver-dovecot-1_4_0-10_el6_sme, smeserver-qpsmtpd-2_4_0-24_el6_sme, qmail-1_03-19_el6_sme, e-smith-lib-2_2_0-8_el5_sme, e-smith-lib-2_6_0-1_el7_sme, smeserver-dovecot-1_6_0-1_el7_sme, e-smith-base-5_4_0-37_el6_sme, e-smith-radiusd-2_6_0-3_el7_sme, smeserver-release-8_2-0_beta2_el5_sme, php-pear-Date-Holidays-Sweden-0_1_3-1_el6, smeserver-release-8_1-0_beta1_el5_sme, e-smith-lib-2_4_0-14_el6_sme, smeserver-locale-2_2_0-44_el5_sme, smeserver-support-2_2_0-25_el5_sme, e-smith-base-5_4_0-55_el6_sme, clamav-0_97_7-1_rf, e-smith-pop3-2_4_0-2_el6_sme, e-smith-apache-2_4_0-2_el6_sme, e-smith-manager-2_6_0-22_el6_sme, e-smith-base-5_6_0-19_el6_sme, e-smith-radiusd-2_6_0-6_el7_sme, e-smith-backup-2_2_0-73_el5_sme, e-smith-apache-2_6_0-2_el7_sme, e-smith-apache-2_2_0-15_el5_sme, e-smith-backup-2_4_0-6_el6_sme, e-smith-pop3-2_4_0-4_el6_sme, e-smith-manager-2_6_0-14_el6_sme, e-smith-base-5_2_0-69_el5_sme, e-smith-pop3-2_4_0-5_el6_sme, e-smith-ldap-5_4_0-3_el6_sme, php-pear-Date-Holidays-Russia-0_1_0-1_el6, e-smith-backup-2_6_0-9_el7_sme, jigdo-0_7_3-10_el7_sme, e-smith-email-5_4_0-4_el6_sme, e-smith-email-5_4_0-7_el6_sme, qpsmtpd-0_84-11_el6_sme, e-smith-backup-2_2_0-69_el5_sme, e-smith-proftpd-2_4_0-2_el6_sme, e-smith-samba-2_4_0-3_el6_sme, initscripts-9_03_40-2_3_el6_sme, e-smith-samba-2_6_0-2_el7_sme, e-smith-backup-2_4_0-37_el6_sme, e-smith-backup-2_6_0-8_el7_sme, e-smith-base-5_4_0-56_el6_sme, e-smith-lib-compspec-2_6_0-1_el7_sme, mod_perl-2_0_4-10_el6_sme, e-smith-backup-2_4_0-18_el6_sme, smeserver-audittools-1_4_0-3_el6_sme, e-smith-manager-2_6_0-17_el6_sme, e-smith-base-5_6_0-16_el6_sme, anaconda-13_21_215-1_el6_sme_10, anaconda-13_21_215-1_el6_sme_11, anaconda-13_21_215-1_el6_sme_12, smeserver-locale-2_6_0-7_el7_sme, e-smith-lib-2_2_0-10_el5_sme, initscripts-9_03_40-2_2_el6_sme, initscripts-9_03_46-2_el6_sme_1, smeserver-yum-2_4_0-15_el6_sme, smeserver-dovecot-1_4_0-20_el6_sme, e-smith-flexbackup-2_4_0-2_el6_sme, perl-Passwd-Unix-0_71-1, perl-Passwd-Unix-0_71-2, qpsmtpd-0_96-8_el6_sme, e-smith-base-5_4_0-28_el6_sme, e-smith-apache-2_4_0-15_el6_sme, anaconda-13_21_239-1_el6_sme, e-smith-base-5_2_0-77_el5_sme, e-smith-samba-2_4_0-24_el6_sme, qpsmtpd-0_84-8_el5_sme, smeserver-samba-0_7_0-3_el7_sme, smeserver-release-8_2-0_rc2_el5_sme, e-smith-mysql-2_4_0-5_el6_sme, e-smith-quota-2_4_0-2_el6_sme, e-smith-manager-2_8_0-17_el7_sme, smeserver-release-9_2-1_el6_sme, qpsmtpd-0_96-5_el6_sme, e-smith-ibays-2_4_0-14_el6_sme, smeserver-locale-2_4_0-9_el6_sme, smeserver-yum-2_4_0-13_el6_sme, smeserver-yum-2_2_0-26_el5_sme, e-smith-proftpd-2_6_0-3_el7_sme, e-smith-manager-2_8_0-12_el7_sme, e-smith-backup-2_4_0-24_el6_sme, clamav-0_98_7-1_el5_sme, smeserver-qpsmtpd-2_4_0-21_el6_sme, e-smith-lib-2_4_0-4_el6_sme, php-pear-Date-Holidays-Slovenia-0_1_2-1_el6, e-smith-base-5_4_0-57_el6_sme, e-smith-manager-2_6_0-13_el6_sme, smeserver-clamav-2_2_0-14_el5_sme, e-smith-ibays-2_2_0-15_el5_sme, e-smith-manager-2_8_0-15_el7_sme, e-smith-grub-2_6_0-3_el7_sme, smeserver-yum-2_6_0-3_el7_sme, e-smith-base-5_2_0-94_el5_sme, oidentd-2_0_8-4_el7_sme, smeserver-release-8_1-0_rc1_el5_sme, openssl-0_9_8e-28_el5_sme, clamav-0_98_1-1_el5_sme, qpsmtpd-plugins-0_0_1-5_el7_sme, e-smith-grub-2_6_0-1_el7_sme, smeserver-qpsmtpd-2_2_0-21_el5_sme, oidentd-2_0_8-3_el7_sme, initscripts-9_03_58-1_el6_sme_1, qpsmtpd-0_96-6_el6_sme, e-smith-flexbackup-2_4_0-3_el6_sme, smeserver-qpsmtpd-2_4_0-34_el6_sme, openssl-0_9_8e-33_1_el5_sme, initscripts-8_45_42-2_1_el5_sme, e-smith-base-5_4_0-26_el6_sme, qmail-1_03-20_el7_sme, e-smith-base-5_2_0-70_el5_sme, e-smith-proftpd-2_6_0-4_el7_sme, smeserver-release-9_1-1_el6_sme, e-smith-base-5_6_0-17_el6_sme, e-smith-radiusd-2_6_0-5_el7_sme, e-smith-ibays-2_4_0-13_el6_sme, smeserver-yum-2_6_0-11_el7_sme, e-smith-base-5_4_0-40_el6_sme, e-smith-qmail-2_6_0-1_el7_sme, qmail-1_03-20_el6_sme, qpsmtpd-0_96-7_el6_sme, smeserver-support-2_6_0-3_el6_sme, smeserver-yum-2_4_0-7_el6_sme, e-smith-apache-2_4_0-12_el6_sme, e-smith-starterwebsite-2_6_0-4_el7_sme, e-smith-manager-2_6_0-16_el6_sme, e-smith-manager-2_8_0-18_el7_sme, e-smith-proxy-5_4_0-4_el6_sme, smeserver-yum-2_4_0-12_el6_sme, smeserver-locale-2_4_0-13_el6_sme, e-smith-mysql-2_6_0-4_el7_sme, e-smith-qmailanalog-2_6_0-1_el7_sme, clamav-0_98_5-1_el6_sme, e-smith-samba-2_4_0-15_el6_sme, e-smith-base-5_6_0-5_el6_sme, e-smith-base-5_6_0-25_el6_sme, e-smith-base-5_2_0-80_el5_sme, e-smith-base-5_8_0-12_el7_sme, e-smith-manager-2_8_0-4_el7_sme, e-smith-backup-2_4_0-36_el6_sme, initscripts-9_03_40-2_el6, smeserver-support-2_2_0-23_el5_sme, smeserver-locale-2_2_0-42_el5_sme, e-smith-backup-2_2_0-85_el5_sme, smeserver-release-9_2-0_rc1_el6_sme, e-smith-base-5_4_0-42_el6_sme, e-smith-manager-2_4_0-8_el6_sme, e-smith-ldap-5_2_0-79_el5_sme, qpsmtpd-0_84-18_el6_sme, ppp-2_4_5-24_fc19, e-smith-base-5_4_0-58_el6_sme, e-smith-lib-2_4_0-11_el6_sme, e-smith-manager-2_8_0-14_el7_sme, e-smith-ibays-2_6_0-7_el7_sme, djbdns-1_05-10_el6_sme, e-smith-flexbackup-2_6_0-1_el7_sme, e-smith-hosts-2_6_0-1_el7_sme, smeserver-audittools-1_6_0-1_el7_sme, e-smith-pop3-2_4_0-7_el6_sme, e-smith-backup-2_2_0-72_el5_sme, e-smith-radiusd-2_4_0-9_el6_sme, smeserver-horde-1_0_0-6_el7_sme, smeserver-release-10_0-0_alpha2_el7_sme, e-smith-base-5_4_0-11_el6_sme, e-smith-oidentd-2_6_0-1_el7_sme, clamav-0_98_1-4_el5_sme, perl-Object-Persistence-0_92-5_el6_sme, smeserver-locale-2_2_0-55_el5_sme, smeserver-spamassassin-2_6_0-1_el7_sme, smeserver-yum-2_4_0-17_el6_sme, bglibs-1_102-2_el7_sme, e-smith-samba-2_2_0-51_el5_sme, qpsmtpd-0_84-5_el6_sme, e-smith-manager-2_2_0-13_el5_sme, e-smith-imap-2_2_0-5_el5_sme, initscripts-9_03_31-2_el6_sme_2, e-smith-mysql-2_6_0-11_el7_sme, smeserver-support-2_4_0-4_el6_sme, e-smith-backup-2_4_0-9_el6_sme, e-smith-base-5_6_0-10_el6_sme, LPRng--, e-smith-backup-2_4_0-16_el6_sme, smeserver-spamassassin-2_4_0-9_el6_sme, e-smith-ntp-2_4_0-3_el6_sme, e-smith-manager-2_8_0-11_el7_sme, qpsmtpd-0_96-4_el6_sme, e-smith-base-5_4_0-52_el6_sme, smeserver-support-2_8_0-12_el7_sme, e-smith-samba-2_4_0-10_el6_sme, e-smith-base-5_2_0-83_el5_sme, e-smith-runit-2_6_0-6_el7_sme, e-smith-devtools-2_4_0-3_el6_sme, e-smith-runit-2_6_0-4_el7_sme, e-smith-samba-2_2_0-61_el5_sme, e-smith-hosts-2_6_0-3_el7_sme, e-smith-lib-2_2_0-9_el5_sme, e-smith-base-5_2_0-81_el5_sme, e-smith-backup-2_6_0-10_el7_sme, e-smith-nutUPS-2_6_0-1_el7_sme, smeserver-qpsmtpd-2_2_0-20_el5_sme, e-smith-base-5_2_0-90_el5_sme, e-smith-lib-2_4_0-10_el6_sme, e-smith-base-5_4_0-32_el6_sme, smeserver-spamassassin-2_4_0-6_el6_sme, smeserver-qpsmtpd-2_4_0-2_el6_sme, php-pear-XML-Parser2-0_1_0-2_el6, smeserver-locale-2_4_0-12_el6_sme, smeserver-qpsmtpd-2_4_0-26_el6_sme, samba-4_4_4-12_el7_3, ipsvd-0_12_1-7_el5_sme, e-smith-base-5_8_0-5_el7_sme, initscripts-9_03_49-1_el6_sme_1_1, e-smith-backup-2_2_0-75_el5_sme, smeserver-release-9_2-2_el6_sme, smeserver-qpsmtpd-2_4_0-38_el6_sme, e-smith-backup-2_4_0-12_el6_sme, cpuspeed-1_5-23_el7_centos, perl-Mojolicious-5_05-1_el6_sme, e-smith-hosts-2_6_0-4_el7_sme, anaconda-13_21_263-1_el6_sme_1, clamav-0_98_1-2_el5_sme, perl-CGI-FormMagick-0_92-23_el5_sme, e-smith-apache-2_4_0-9_el6_sme, e-smith-samba-2_2_0-55_el5_sme, e-smith-proftpd-2_2_0-3_el5_sme, e-smith-php-2_6_0-1_el7_sme, e-smith-lib-2_4_0-12_el6_sme, e-smith-base-5_6_0-24_el6_sme, e-smith-email-5_2_0-23_el5_sme, e-smith-base-5_6_0-6_el6_sme, ipsvd-0_12_1-6_el6_sme, e-smith-backup-2_4_0-25_el6_sme, e-smith-email-5_4_0-8_el6_sme, e-smith-horde-4_4_0-6_el6_sme, e-smith-base-5_2_0-89_el5_sme, mod_auth_external-2_2_8-6_el6_sme, smeserver-spamassassin-2_2_0-12_el5_sme, e-smith-ldap-5_4_0-5_el6_sme, qpsmtpd-0_84-17_el6_sme, e-smith-base-5_6_0-9_el6_sme, e-smith-base-5_4_0-38_el6_sme, e-smith-base-5_6_0-27_el6_sme, e-smith-grub-2_6_1-5_el7_sme, anaconda-13_21_229-1_el6_sme_3, anaconda-13_21_229-1_el6_sme_2, anaconda-13_21_229-1_el6_sme_1, spamassassin-3_3_2-60_el6_sme, e-smith-imp-5_6_0-1_el7_sme, e-smith-apache-2_4_0-11_el6_sme, php-pear-Date-Holidays-France-0_1_0-4_el7_sme, timeobjects-2_1_2-2_el7_sme, smeserver-support-2_6_0-2_el6_sme, e-smith-base-5_8_0-36_el7_sme, e-smith-lib-2_4_0-18_el6_sme, e-smith-apache-2_4_0-14_el6_sme, e-smith-mysql-2_4_0-3_el6_sme, smeserver-horde-1_0_0-1_el7_centos, e-smith-runit-2_6_0-3_el7_sme, e-smith-base-5_8_0-16_el7_sme, mbuffer-20100526-2_fc12, e-smith-backup-2_2_0-86_el5_sme, perl-IO-Socket-SSL-2_022-1_el6_sme, perl-IO-Socket-SSL-1_74-1_el6_sme, pwauth-2_3_10-4_el6_sme, e-smith-proxy-5_4_0-5_el6_sme, e-smith-backup-2_4_0-15_el6_sme, e-smith-test-2_6_0-4_el7_sme, e-smith-php-2_6_0-4_el7_sme, e-smith-backup-2_4_0-35_el6_sme, e-smith-base-5_2_0-76_el5_sme, perl-CGI-FormMagick-0_93-2_el6_sme, smeserver-release-9_1-0_rc1_el6_sme, e-smith-grub-2_6_1-6_el7_sme, e-smith-php-2_4_0-2_el6_sme, LPRng-3_8_35-2_el7_sme, e-smith-base-5_2_0-67_el5_sme, e-smith-backup-2_4_0-27_el6_sme, e-smith-proftpd-2_6_0-2_el7_sme, smeserver-locale-2_4_0-26_el6_sme, e-smith-backup-2_4_0-28_el6_sme, php-horde-horde-5_2_11-2_el7_sme, pwauth-2_3_10-5_el6_sme, e-smith-lib-2_4_0-2_el6_sme, e-smith-manager-2_6_0-21_el6_sme, clamav-0_98_3-2_el6_sme, e-smith-backup-2_4_0-34_el6_sme, e-smith-grub-2_6_1-4_el7_sme, e-smith-backup-2_4_0-33_el6_sme, smeserver-release-10_0-0_alpha3_el7_sme, e-smith-pop3-2_4_0-6_el6_sme, e-smith-mysql-2_4_0-4_el6_sme, e-smith-base-5_4_0-47_el6_sme, e-smith-base-5_2_0-71_el5_sme, dehydrated-0_3_0_20160914_gitcaeed7d-3_el6_fws, e-smith-manager-2_6_0-3_el6_sme, e-smith-php-2_6_0-3_el7_sme, e-smith-manager-2_6_0-4_el6_sme, e-smith-LPRng-2_6_0-1_el7_sme, e-smith-runit-2_6_0-5_el7_sme, e-smith-manager-2_6_0-18_el6_sme, e-smith-domains-2_4_0-2_el6_sme, php-pear-Date-Holidays-Denmark-0_1_3-1_el6, smeserver-locale-2_4_0-27_el6_sme, e-smith-base-5_4_0-2_el6_sme, e-smith-manager-2_2_0-14_el5_sme, wv-1_2_7-2_el6, qpsmtpd-0_84-9_el6_sme, e-smith-base-5_6_0-11_el6_sme, e-smith-backup-2_2_0-71_el5_sme, smeserver-release-9_2-0_RC1_el6_sme, anaconda-21_48_22_56-5_el7_centos, e-smith-base-5_4_0-51_el6_sme, php-pear-Date-Holidays-Norway-0_1_2-1_el6, e-smith-base-5_6_0-32_el6_sme, smeserver-release-9_1-0_beta2_el6_sme, e-smith-base-5_8_0-34_el7_sme, e-smith-lib-2_6_0-6_el7_sme, e-smith-mysql-2_6_0-1_el7_sme, clamav-0_98_1-4_el6_sme, e-smith-apache-2_6_1-1_el7_sme, initscripts-8_45_44-3_el5, smeserver-support-2_2_0-22_el5_sme, smeserver-locale-2_2_0-43_el5_sme, smeserver-locale-2_2_0-49_el5_sme, e-smith-formmagick-2_6_0-1_el7_sme, e-smith-devtools-2_6_0-6_el7_sme, qpsmtpd-0_84-7_el5_sme, zsync-0_6_2-1_rf, perl-Test-Harness-Straps-0_30-4_fc12, djbdns-1_05-10_el7_sme, php-horde-Horde-Service-Twitter-2_1_5-2_el7_sme, smeserver-release-8_1-0_beta3_el5_sme, smeserver-locale-2_4_0-6_el6_sme, smeserver-release-8_1-0_beta4_el5_sme, e-smith-ldap-5_4_0-7_el6_sme, e-smith-backup-2_4_0-7_el6_sme, e-smith-packetfilter-2_4_0-2_el6_sme, smeserver-locale-2_4_0-25_el6_sme, e-smith-manager-2_6_0-8_el6_sme, smeserver-qpsmtpd-2_4_0-32_el6_sme, initscripts-9_03_38-1_el6_centos, qpsmtpd-0_84-19_el7_sme, qpsmtpd-0_84-14_el6_sme, e-smith-nutUPS-2_6_0-2_el7_sme, e-smith-starterwebsite-2_4_0-3_el6_sme, e-smith-backup-2_2_0-65_el5_sme, qpsmtpd-0_84-13_el6_sme, smeserver-locale-2_4_0-15_el6_sme, djbdns-1_05-9_el7_sme, clamav-0_98_5-1_el5_sme, perl-Object-Persistence-0_92-4_el6_sme, e-smith-base-5_6_0-8_el6_sme, php-5_3_3-15_el5_sme, smeserver-spamassassin-2_4_0-7_el6_sme, dietlibc-0_33-0_1600_20110311_el6_sme, e-smith-apache-2_2_0-10_el5_sme, e-smith-manager-2_6_0-9_el6_sme, djbdns-1_05-9_el6_sme, e-smith-base-5_4_0-29_el6_sme, e-smith-backup-2_4_0-5_el6_sme, smeserver-dovecot-1_4_0-14_el6_sme, e-smith-backup-2_2_0-63_el5_sme, e-smith-base-5_4_0-36_el6_sme, openssl-0_9_8e-27_1_el5_sme, e-smith-base-5_6_0-3_el6_sme, e-smith-proftpd-2_2_0-5_el5_sme, smeserver-qpsmtpd-2_4_0-33_el6_sme, smeserver-support-2_4_0-20_el6_sme, ipsvd-0_12_1-7_el6_sme, e-smith-backup-2_2_0-74_el5_sme, smeserver-yum-2_6_0-1_el7_sme, e-smith-mysql-2_6_0-13_el7_sme, e-smith-mysql-2_6_0-8_el7_sme, smeserver-locale-2_6_0-1_el7_sme, e-smith-manager-2_8_0-25_el7_sme, e-smith-packetfilter-2_6_0-1_el7_sme, php-pear-Date-Holidays-Portugal-0_1_1-1_el6, php-5_3_3-16_el5_sme, e-smith-php-2_6_0-2_el7_sme, jigdo-0_7_3-9_el6_sme, php-pear-Math_BigInteger-1_0_3-2_el7_sme, e-smith-base-5_6_0-12_el6_sme, clamav-0_98_1-2_el6_sme, clamav-0_98_3-2_el5_sme, e-smith-ldap-5_4_0-2_el6_sme, e-smith-viewlogfiles-2_6_0-1_el7_sme, qmail-1_03-21_el7_sme, e-smith-samba-2_2_0-60_el5_sme, smeserver-spamassassin-2_2_0-11_el5_sme, e-smith-proxy-5_6_0-5_el7_sme, smeserver-qpsmtpd-2_4_0-4_el6_sme, qpsmtpd-0_84-8_el6_sme, e-smith-base-5_8_0-28_el7_sme, e-smith-proftpd-2_2_0-6_el5_sme, e-smith-imp-5_4_0-2_el6_sme, smeserver-release-8_1-1_el5_sme, smeserver-audittools-1_2_0-8_el5_sme, e-smith-lib-2_4_0-5_el6_sme, e-smith-backup-2_6_0-11_el7_sme, e-smith-email-5_2_0-22_el5_sme, e-smith-samba-2_2_0-57_el5_sme, php-pear-Date-Holidays-Germany-0_1_2-1_el6, e-smith-base-5_6_0-2_el6_sme, e-smith-samba-2_2_0-53_el5_sme, e-smith-backup-2_4_0-10_el6_sme, smeserver-support-2_2_0-28_el5_sme, smeserver-qpsmtpd-2_4_0-31_el6_sme, e-smith-samba-2_6_0-6_el7_sme, smeserver-support-2_8_0-10_el7_sme, smeserver-clamav-2_4_0-4_el6_sme, smeserver-dovecot-1_4_0-8_el6_sme, e-smith-ntp-2_2_0-6_el5_sme, ppp-2_4_5-24_el6_sme, php-5_3_3-14_el5_sme, smeserver-yum-2_6_0-5_el7_sme, e-smith-backup-2_4_0-8_el6_sme, smeserver-locale-2_6_0-8_el7_sme, e-smith-horde-4_2_0-20_el5_sme, e-smith-proxy-5_6_0-2_el7_sme, smeserver-support-2_4_0-18_el6_sme, dar-2_4_11-1_el5_sme, e-smith-manager-2_6_0-20_el6_sme, e-smith-ldap-5_4_0-8_el6_sme, e-smith-base-5_8_0-31_el7_sme, smeserver-qpsmtpd-2_2_0-17_el5_sme, e-smith-lib-2_4_0-16_el6_sme, e-smith-apache-2_4_0-10_el6_sme, e-smith-horde-4_4_0-7_el6_sme, e-smith-base-5_4_0-9_el6_sme, smeserver-spamassassin-2_4_0-5_el6_sme, e-smith-base-5_4_0-59_el6_sme, e-smith-base-5_4_0-49_el6_sme, e-smith-email-5_4_0-3_el6_sme, e-smith-ldap-5_4_0-4_el6_sme, e-smith-ldap-5_2_0-78_el5_sme, e-smith-base-5_8_0-21_el7_sme, smeserver-dovecot-1_4_0-11_el6_sme, e-smith-qmail-2_2_0-7_el5_sme, smeserver-yum-2_6_0-13_el7_sme, smeserver-clamav-2_4_0-5_el6_sme, smeserver-support-2_2_0-26_el5_sme, smeserver-locale-2_2_0-47_el5_sme, e-smith-quota-2_6_0-4_el7_sme, e-smith-pop3-2_2_0-8_el5_sme, smeserver-dovecot-1_4_0-19_el6_sme, e-smith-mysql-2_4_0-2_el6_sme, e-smith-apache-2_4_0-8_el6_sme, e-smith-proftpd-2_6_0-1_el7_sme, e-smith-ibays-2_6_0-5_el7_sme, e-smith-tinydns-2_6_0-1_el7_sme, php-pear-Crypt-Blowfish-1_0_1-2_el6, e-smith-openssh-2_2_0-7_el5_sme, e-smith-ibays-2_4_0-2_el6_sme, e-smith-backup-2_4_0-11_el6_sme, qpsmtpd-0_96-10_el6_sme, e-smith-radiusd-2_4_0-5_el6_sme, e-smith-base-5_8_0-27_el7_sme, e-smith-base-5_4_0-35_el6_sme, e-smith-grub-2_4_0-4_el6_sme, e-smith-proxy-5_6_0-6_el7_sme, e-smith-apache-2_2_0-14_el5_sme, smeserver-locale-2_2_0-48_el5_sme, smeserver-support-2_2_0-29_el5_sme, e-smith-apache-2_4_0-13_el6_sme, e-smith-base-5_2_0-82_el5_sme, e-smith-backup-2_4_0-2_el6_sme, e-smith-samba-2_2_0-58_el5_sme, smeserver-yum-2_6_0-17_el7_sme, e-smith-ntp-2_6_0-1_el7_sme, e-smith-backup-2_4_0-21_el6_sme, anaconda-13_21_215-1_el6_sme_8, anaconda-13_21_215-1_el6_sme_9, anaconda-13_21_215-1_el6_sme_6, anaconda-13_21_215-1_el6_sme_7, anaconda-13_21_215-1_el6_sme_4, anaconda-13_21_215-1_el6_sme_5, anaconda-13_21_215-1_el6_sme_1, smeserver-spamassassin-2_4_0-8_el6_sme, smeserver-locale-2_4_0-7_el6_sme, dar-2_3_8-7_fc16, anaconda-13_21_215-1_el6_centos, smeserver-qpsmtpd-2_6_0-28_el7_sme, clamav-0_97_8-1_el6_sme, smeserver-qpsmtpd-2_4_0-37_el6_sme, e-smith-backup-2_2_0-81_el5_sme, checkpassword-pam-0_99-1_3_el7_centos, initscripts-9_03_46-3_el6_sme_1, e-smith-base-5_4_0-14_el6_sme, e-smith-base-5_4_0-13_el6_sme, e-smith-pptpd-2_4_0-2_el6_sme, e-smith-backup-2_4_0-13_el6_sme, smeserver-qpsmtpd-2_4_0-36_el6_sme, e-smith-manager-2_6_0-2_el6_sme, e-smith-starterwebsite-2_4_0-2_el6_sme
Branch point for: upstream
Changes since 1.18: +2 -2 lines
Fix source upload path

1 # -*- Makefile -*-
2 #
3 # Common Makefile for building RPMs
4 # Licensed under the new-BSD license (http://www.opensource.org/licenses/bsd-license.php)
5 # Copyright (C) 2004-2005 Red Hat, Inc.
6 # Copyright (C) 2005 Fedora Foundation
7 #
8 # $Id: Makefile.common,v 1.18 2012/06/30 05:57:51 slords Exp $
9
10 # Define the common dir.
11 # This needs to happen first.
12 define find-common-dir
13 for d in common ../common ../../common ; do if [ -f $$d/Makefile.common ] ; then echo "$$d"; break ; fi ; done
14 endef
15 COMMON_DIR := $(shell $(find-common-dir))
16
17 # Branch and disttag definitions
18 # These need to happen second.
19 ifndef HEAD_BRANCH
20 HEAD_BRANCH := devel
21 endif
22 BASEDIR := $(shell basename `pwd`)
23 BRANCH := $(BASEDIR)
24 BRANCHINFO = $(shell grep ^$(BRANCH): $(COMMON_DIR)/branches | cut -d: --output-delimiter=" " -f2-)
25 TARGET := $(word 1, $(BRANCHINFO))
26 DIST = $(word 2, $(BRANCHINFO))
27 DISTVAR = $(word 3, $(BRANCHINFO))
28 DISTVAL = $(word 4, $(BRANCHINFO))
29 DISTDEF = $(shell echo $(DIST) | sed -e s/^\\\.// )
30 SMEVAL = $(word 5, $(BRANCHINFO))
31 DIST_DEFINES = --define "dist $(DIST)" --define "$(DISTVAR) $(DISTVAL)" --define "$(DISTDEF) 1" --define "sme $(SMEVAL)"
32
33 BUILD_FLAGS ?= $(KOJI_FLAGS)
34
35 LOCALARCH := $(if $(shell grep -i '^BuildArch:.*noarch' $(SPECFILE)), noarch, $(shell uname -m))
36
37 ## a base directory where we'll put as much temporary working stuff as we can
38 ifndef WORKDIR
39 WORKDIR := $(shell pwd)
40 endif
41 ## of course all this can also be overridden in your RPM macros file,
42 ## but this way you can separate your normal RPM setup from your CVS
43 ## setup. Override RPM_WITH_DIRS in ~/.cvspkgsrc to avoid the usage of
44 ## these variables.
45 SRCRPMDIR ?= $(WORKDIR)
46 BUILDDIR ?= $(WORKDIR)
47 RPMDIR ?= $(WORKDIR)
48 MOCKDIR ?= $(WORKDIR)
49 MOCKCFG ?= smeserver-$(SMEVAL)-$(BUILDARCH)-base
50 ## SOURCEDIR is special; it has to match the CVS checkout directory,
51 ## because the CVS checkout directory contains the patch files. So it basically
52 ## can't be overridden without breaking things. But we leave it a variable
53 ## for consistency, and in hopes of convincing it to work sometime.
54 ifndef SOURCEDIR
55 SOURCEDIR := $(shell pwd)
56 endif
57 ifndef SPECDIR
58 SPECDIR := $(shell pwd)
59 endif
60
61 ifndef RPM_DEFINES
62 RPM_DEFINES := --define "_sourcedir $(SOURCEDIR)" \
63 --define "_specdir $(SPECDIR)" \
64 --define "_builddir $(BUILDDIR)" \
65 --define "_srcrpmdir $(SRCRPMDIR)" \
66 --define "_rpmdir $(RPMDIR)" \
67 $(DIST_DEFINES)
68 endif
69
70 # Initialize the variables that we need, but are not defined
71 # the version of the package
72 VER_REL := $(shell rpm $(RPM_DEFINES) $(DIST_DEFINES) -q --qf "%{VERSION} %{RELEASE}\n" --specfile $(SPECFILE)| head -1)
73 ifndef NAME
74 $(error "You can not run this Makefile without having NAME defined")
75 endif
76 ifndef VERSION
77 VERSION := $(word 1, $(VER_REL))
78 endif
79 # the release of the package
80 ifndef RELEASE
81 RELEASE := $(word 2, $(VER_REL))
82 endif
83 # this is used in make patch, maybe make clean eventually.
84 # would be nicer to autodetermine from the spec file...
85 RPM_BUILD_DIR ?= $(BUILDDIR)/$(NAME)-$(VERSION)
86
87 # default target: just make sure we've got the sources
88 all: sources
89
90 # user specific configuration
91 CVS_EXTRAS_RC := $(shell if test -f $(HOME)/.cvspkgsrc ; then echo $(HOME)/.cvspkgsrc ; fi)
92 ifdef CVS_EXTRAS_RC
93 include $(CVS_EXTRAS_RC)
94 endif
95
96 # The repository and the clients we use for the files
97 REPOSITORY ?= http://buildsys.contribs.org/source
98 UPLOAD_REPOSITORY ?= /build/builds/source
99
100 # We define CURL and WGET in a way that makes if possible to have them
101 # overwritten from the module's Makefiles. Then CLIENT picks CURL, otherwise WGET
102 CURL ?= $(shell if test -f /usr/bin/curl ; then echo "curl -H Pragma: -O -R -S --fail --show-error" ; fi)
103 WGET ?= $(shell if test -f /usr/bin/wget ; then echo "wget -nd -m" ; fi)
104 CLIENT ?= $(if $(CURL),$(CURL),$(if $(WGET),$(WGET)))
105 PLAGUE_CLIENT ?= $(shell which plague-client 2>/dev/null)
106 BUILD_CLIENT ?= $(shell which koji 2>/dev/null)
107 BODHI_CLIENT ?= $(shell which bodhi 2>/dev/null)
108
109 # RPM with all the overrides in place; you can override this in your
110 # .cvspkgsrc also, to use a default rpm setup
111 # the rpm build command line
112 ifndef RPM
113 RPM := rpmbuild
114 endif
115 ifndef RPM_WITH_DIRS
116 RPM_WITH_DIRS = $(RPM) $(RPM_DEFINES)
117 endif
118
119 # CVS-safe version/release -- a package name like 4Suite screws things
120 # up, so we have to remove the leaving digits from the name
121 TAG_NAME := $(shell echo $(NAME) | sed -e s/\\\./_/g -e s/^[0-9]\\\+//g)
122 TAG_VERSION := $(shell echo $(VERSION) | sed s/\\\./_/g)
123 TAG_RELEASE := $(shell echo $(RELEASE) | sed s/\\\./_/g)
124
125 # tag to export, defaulting to current tag in the spec file
126 TAG?=$(TAG_NAME)-$(TAG_VERSION)-$(TAG_RELEASE)
127
128 # where to cvs export temporarily
129 TMPCVS := $(WORKDIR)/cvs-$(TAG)
130
131 # source file basenames
132 SOURCEFILES := $(shell cat sources 2>/dev/null | awk '{ print $$2 }')
133 # full path to source files
134 FULLSOURCEFILES := $(addprefix $(SOURCEDIR)/,$(SOURCEFILES))
135
136 # retrieve the stored md5 sum for a source download
137 define get_sources_md5
138 $(shell cat sources 2>/dev/null | while read m f ; do if test "$$f" = "$@" ; then echo $$m ; break ; fi ; done)
139 endef
140
141 # list the possible targets for valid arches
142 ARCHES = noarch i386 i586 i686 x86_64 # ia64 s390 s390x ppc ppc64 pseries ppc64pseries iseries ppc64iseries athlon alpha alphaev6 sparc sparc64 sparcv9 sparcv9v sparc64v i164 mac sh mips geode
143
144 # for the modules that do different "make prep" depending on what arch we build for
145 PREP_ARCHES = $(addprefix prep-,$(ARCHES))
146
147 ## list all our bogus targets
148 .PHONY :: $(ARCHES) commit sources uploadsource upload export check build-check plague koji build cvsurl chain-build test-srpm srpm tag force-tag verrel new clean patch prep compile install install-short compile-short FORCE local scratch-build scratch-build-%
149
150 # The TARGETS define is meant for local module targets that should be
151 # made in addition to the SOURCEFILES whenever needed
152 TARGETS ?=
153
154 # default target - retrieve the sources and make the module specific targets
155 sources: $(SOURCEFILES) $(TARGETS)
156
157 # Retrieve the sources we do not have in CVS
158 $(SOURCEFILES): #FORCE
159 @mkdir -p $(SOURCEDIR)
160 @echo "Downloading $@..."
161 @for i in `find ../ -maxdepth 2 -name "$@"`; do \
162 if test "$$(md5sum $$i | awk '{print $$1}')" = "$(get_sources_md5)" ; then \
163 echo "Copying from $$i" ; \
164 ln $$i $@ ; \
165 break ; \
166 fi ; \
167 done
168 @if [ -z "$(CLIENT)" ]; then echo "Can't download, need curl or wget installed." ; exit 1; fi
169 @if [ ! -e "$@" ] ; then $(CLIENT) $(REPOSITORY)/$(get_sources_md5)/$@ ; fi
170 @if [ ! -e "$@" ] ; then echo "Could not download source file: $@ does not exist" ; exit 1 ; fi
171 @if test "$$(md5sum $@ | awk '{print $$1}')" != "$(get_sources_md5)" ; then \
172 echo "md5sum of the downloaded $@ does not match the one from 'sources' file" ; \
173 echo "Local copy: $$(md5sum $@)" ; \
174 echo "In sources: $$(grep $@ sources)" ; \
175 exit 1 ; \
176 else \
177 ls -l $@ ; \
178 fi
179
180 # Support for uploading stuff into the repository.
181 ifdef FILES
182
183 upload-file = echo -F "name=$(NAME)" -F "md5sum=$${m%%[[:space:]]*}" -F "file=@$$f" $(UPLOAD_REPOSITORY)
184
185 define upload-request
186 echo "Checking : $$b on $(UPLOAD_REPOSITORY)..." ; \
187 if test -f "$(UPLOAD_REPOSITORY)/$${m%%[[:space:]]*}/$$f"; then \
188 echo "This file ($$m) is already uploaded" ; \
189 else \
190 echo "Uploading: $$b to $(UPLOAD_REPOSITORY)..." ; \
191 mkdir -p "$(UPLOAD_REPOSITORY)/$${m%%[[:space:]]*}" || exit 1 ; \
192 ln -f "$$f" "$(UPLOAD_REPOSITORY)/$${m%%[[:space:]]*}/$$f" 2> /dev/null || cp -f "$$f" "$(UPLOAD_REPOSITORY)/$${m%%[[:space:]]*}/$$f" || exit 1 ; \
193 fi
194 endef
195
196 # Upload the FILES, adding to the ./sources manifest
197 upload: $(FILES)
198 @if ! test -f ./sources ; then touch ./sources ; fi
199 @if ! test -f ./.cvsignore ; then touch ./.cvsignore ; fi
200 @for f in $(FILES); do \
201 if ! test -s $$f ; then echo "SKIPPING EMPTY FILE: $$f" ; continue ; fi ; \
202 b="$$(basename $$f)" ; \
203 m="$$(cd $$(dirname $$f) && md5sum $$b)" ; \
204 if test "$$m" = "$$(grep $$b sources)" ; then \
205 echo "ERROR: file $$f is already listed in the sources file..." ; \
206 exit 1 ; \
207 fi ; \
208 chmod +r $$f ; \
209 echo ; $(upload-request) ; echo ; \
210 if test -z "$$(egrep ""[[:space:]]$$b$$"" sources)" ; then \
211 echo "$$m" >> sources ; \
212 else \
213 egrep -v "[[:space:]]$$b$$" sources > sources.new ; \
214 echo "$$m" >> sources.new ; \
215 mv sources.new sources ; \
216 fi ; \
217 if test -z "$$(egrep ""^$$b$$"" .cvsignore)" ; then \
218 echo $$b >> .cvsignore ; \
219 fi \
220 done
221 @if grep "^/sources/" CVS/Entries >/dev/null; then true ; else cvs -Q add sources; fi
222 @echo "Source upload succeeded. Don't forget to commit the new ./sources file"
223 @cvs update sources .cvsignore
224
225 # Upload FILES and recreate the ./sources file to include only these FILES
226 new-source new-sources: $(FILES)
227 @rm -f sources && touch sources
228 @rm -f .cvsignore && touch .cvsignore
229 @for f in $(FILES); do \
230 if ! test -s $$f ; then echo "SKIPPING EMPTY FILE: $$f" ; continue ; fi ; \
231 b="$$(basename $$f)" ; \
232 m="$$(cd $$(dirname $$f) && md5sum $$b)" ; \
233 chmod +r $$f ; \
234 echo ; $(upload-request) ; echo ; \
235 echo "$$m" >> sources ; \
236 echo "$$b" >> .cvsignore ; \
237 done
238 @if grep "^/sources/" CVS/Entries >/dev/null; then true ; else cvs -Q add sources; fi
239 @echo "Source upload succeeded. Don't forget to commit the new ./sources file"
240 @cvs update sources .cvsignore
241 endif
242
243 # allow overriding buildarch so you can do, say, an i386 build on x86_64
244 ifndef BUILDARCH
245 BUILDARCH := $(shell rpm --eval "%{_arch}")
246 endif
247
248 # test build in mock
249 mockbuild : srpm
250 mock $(MOCKARGS) -r $(MOCKCFG) --resultdir=$(MOCKDIR)/$(TAG) rebuild $(SRCRPMDIR)/$(NAME)-$(VERSION)-$(RELEASE).src.rpm
251
252 # check the build with rpmlint
253 lint:
254 @test -e $(NAME)-$(VERSION)-$(RELEASE).src.rpm || (echo "run 'make local' first" ; exit 1 )
255 rpmlint $(NAME)-$(VERSION)-$(RELEASE).src.rpm $(LOCALARCH)/*-$(VERSION)-$(RELEASE).$(LOCALARCH).rpm
256
257 # build for a particular arch
258 $(ARCHES) : sources $(TARGETS)
259 $(RPM_WITH_DIRS) --target $@ -ba $(SPECFILE) 2>&1 | tee .build-$(VERSION)-$(RELEASE).log ; exit $${PIPESTATUS[0]}
260
261 # empty target to force checking of md5sums in FULLSOURCEFILES
262 FORCE:
263
264 # build whatever's appropriate for the local architecture
265 local: $(LOCALARCH)
266
267 # attempt to apply all the patches, optionally only for a particular arch
268 ifdef PREPARCH
269 prep: sources $(TARGETS)
270 $(RPM_WITH_DIRS) --nodeps -bp --target $(PREPARCH) $(SPECFILE)
271 else
272 prep: sources $(TARGETS)
273 $(RPM_WITH_DIRS) --nodeps -bp $(SPECFILE)
274 endif
275
276 # this allows for make prep-i686, make prep-ppc64, etc
277 prep-% : Makefile
278 $(MAKE) prep PREPARCH=$*
279
280 compile: sources $(TARGETS)
281 $(RPM_WITH_DIRS) -bc $(SPECFILE)
282
283 install: sources $(TARGETS)
284 $(RPM_WITH_DIRS) -bi $(SPECFILE)
285
286 compile-short: sources $(TARGETS)
287 $(RPM_WITH_DIRS) --nodeps --short-circuit -bc $(SPECFILE)
288
289 install-short: sources $(TARGETS)
290 $(RPM_WITH_DIRS) --nodeps --short-circuit -bi $(SPECFILE)
291
292 CVS_ROOT := $(shell if [ -f CVS/Root ] ; then cat CVS/Root ; fi)
293 CVS_REPOSITORY := $(shell if [ -f CVS/Repository ] ; then cat CVS/Repository ; fi)
294 CVS_URL := cvs://smeserver.cvs.sourceforge.net/cvsroot/smeserver?$(CVS_REPOSITORY)\#$(TAG)
295
296 ## create a clean exported copy in $(TMPCVS)
297 export:: sources
298 @mkdir -p $(WORKDIR)
299 /bin/rm -rf $(TMPCVS)
300 @if test -z "$(TAG)" ; then echo "Must specify a tag to check out" ; exit 1; fi
301 @mkdir -p $(TMPCVS)
302 @cd $(TMPCVS) && \
303 cvs -Q -d $(CVS_ROOT) export -r$(TAG) -d $(NAME) $(CVS_REPOSITORY) && \
304 cvs -Q -d $(CVS_ROOT) export -rHEAD common
305 @if [ -n "$(FULLSOURCEFILES)" ]; then ln -f $(FULLSOURCEFILES) $(TMPCVS)/$(NAME) 2> /dev/null || cp -f $(FULLSOURCEFILES) $(TMPCVS)/$(NAME) ; fi
306 @echo "Exported $(TMPCVS)/$(NAME)"
307
308 ## build a test-srpm and see if it will -bp on all arches
309 # XXX: I am not sure exactly what this is supposed to really do, since the
310 # query format returns (none) most of the time, and that is not
311 # handled --gafton
312 check: test-srpm
313 @archs=`rpm -qp $(SRCRPMDIR)/$(NAME)-$(VERSION)-$(RELEASE).src.rpm --qf "[%{EXCLUSIVEARCH}\n]" | egrep -v "(i586)|(i686)|(athlon)"` ;\
314 if test -z "$$archs"; then archs=noarch; fi ; \
315 echo "Checking arches: $$archs" ; \
316 for arch in $$archs; do \
317 echo "Checking $$arch..."; \
318 if ! $(RPM_WITH_DIRS) -bp --target $$arch $(SPECFILE); then \
319 echo "*** make prep failed for $$arch"; \
320 exit 1; \
321 fi; \
322 done;
323
324 ## use this to build an srpm locally
325 ifneq (, $(filter sme7 sme8, $(BRANCH)))
326 srpm: sources $(TARGETS)
327 $(RPM_WITH_DIRS) $(DIST_DEFINES) --define _source_filedigest_algorithm=md5 --nodeps -bs $(SPECFILE)
328 else
329 srpm: sources $(TARGETS)
330 $(RPM_WITH_DIRS) $(DIST_DEFINES) --nodeps -bs $(SPECFILE)
331 endif
332
333 test-srpm: srpm
334
335 verrel:
336 @echo $(NAME)-$(VERSION)-$(RELEASE)
337
338 # If you build a new version into the tree, first do "make tag",
339 # then "make srpm", then build the package.
340 tag:: $(SPECFILE) $(COMMON_DIR)/branches
341 cvs tag $(TAG_OPTS) -c $(TAG)
342 @echo "Tagged with: $(TAG)"
343 @echo
344
345 force-tag: $(SPECFILE) $(COMMON_DIR)/branches
346 @$(MAKE) tag TAG_OPTS="-F $(TAG_OPTS)"
347
348 define find-user
349 if [ `cat CVS/Root |grep -c [^:]@` -ne 0 ]; then cat CVS/Root |cut -d @ -f 1 | sed 's/:.*://' ; else echo $(USER); fi
350 endef
351 USER := $(shell $(find-user))
352
353 oldbuild: $(COMMON_DIR)/branches
354 @if [ -z "$(TARGET)" -a ! -d CVS ]; then echo "Must be in a branch subdirectory"; exit 1; fi
355
356 @cvs status -v $(SPECFILE) 2>/dev/null | grep -q $(TAG); ret=$$? ;\
357 if [ $$ret -ne 0 ]; then echo "$(SPECFILE) not tagged with tag $(TAG)"; exit 1; fi
358
359 @(pushd $(COMMON_DIR) >/dev/null ;\
360 rm -f tobuild ;\
361 cvs -Q update -C tobuild ;\
362 echo -e "$(USER)\t$(CVS_REPOSITORY)\t$(TAG)\t$(TARGET)" >> tobuild ;\
363 cvs commit -m "request build of $(CVS_REPOSITORY) $(TAG) for $(TARGET)" tobuild ;\
364 popd >/dev/null)
365
366 build-check: $(SPECFILE)
367 @if [ -z "$(TARGET)" -o ! -d CVS ]; then echo "Must be in a branch subdirectory"; exit 1; fi
368 @cvs -f status -v $(SPECFILE) 2>/dev/null | grep -q $(TAG); ret=$$? ;\
369 if [ $$ret -ne 0 ]; then echo "$(SPECFILE) not tagged with tag $(TAG)"; exit 1; fi
370
371 plague: build-check $(COMMON_DIR)/branches
372 @if [ ! -x "$(PLAGUE_CLIENT)" ]; then echo "Must have plague-client installed - see http://fedoraproject.org/wiki/Extras/BuildSystemClientSetup"; exit 1; fi
373 $(PLAGUE_CLIENT) build $(NAME) $(TAG) $(TARGET)
374
375 koji: build-check $(COMMON_DIR)/branches
376 @if [ ! -x "$(BUILD_CLIENT)" ]; then echo "Must have koji installed - see http://fedoraproject.org/wiki/BuildSystemClientSetup"; exit 1; fi
377 $(BUILD_CLIENT) $(SECONDARY_CONFIG) build $(BUILD_FLAGS) $(TARGET) '$(CVS_URL)'
378
379 ifneq (, $(filter devel, $(BRANCH)))
380 build: koji
381 else
382 build: plague
383 endif
384
385 scratch-build: build-check
386 @if [ ! -x "$(BUILD_CLIENT)" ]; then echo "Must have koji installed - see http://fedoraproject.org/wiki/BuildSystemClientSetup"; exit 1; fi
387 $(BUILD_CLIENT) $(SECONDARY_CONFIG) build --scratch $(BUILD_FLAGS) $(TARGET) '$(CVS_URL)'
388
389
390 scratch-build-%: build-check
391 @if [ ! -x "$(BUILD_CLIENT)" ]; then echo "Must have koji installed - see http://fedoraproject.org/wiki/BuildSystemClientSetup"; exit 1; fi
392 $(BUILD_CLIENT) $(SECONDARY_CONFIG) build --scratch --arch-override=$* $(BUILD_FLAGS) $(TARGET) '$(CVS_URL)'
393
394
395 bodhi: build-check $(COMMON_DIR)/branches clog
396 @if [ ! -x "$(BODHI_CLIENT)" ]; then echo "Must have bodhi-client installed"; exit 1; fi
397 @echo -e "\
398 # [ $(NAME)-$(VERSION)-$(RELEASE) ]\n\
399 # type=[S|B|E] (S=security, B=bugfix, E=enhancement) (required)\n\
400 # request=[T|S] (T=testing, S=stable) (default: testing)\n\
401 # bug=123,456\n\
402 # all other text will be considered to be part of the update notes\n\
403 type=" > bodhi.template
404 @grep -iZ '\[SME' clog | xargs -0n1 | sed -n -e 's,[^]]*\[SME[: ]*\([0-9]*\)\],\1 ,igp' | xargs | tr ' ' ',' > $(NAME).bugs
405 @if [ `cat $(NAME).bugs` ]; then echo "bug=`cat $(NAME).bugs`" >> bodhi.template; fi
406 @sed -e '/^#/d' < bodhi.template > bodhi.template.orig
407 @if [ -z "$$EDITOR" ]; then vi bodhi.template; else $$EDITOR bodhi.template; fi
408 @if [ -n "`sed -e '/^#/d' < bodhi.template | diff bodhi.template.orig -`" ]; then \
409 $(BODHI_CLIENT) -v --new --release $(subst -,,$(BRANCH)) \
410 --file bodhi.template $(NAME)-$(VERSION)-$(RELEASE) -u $(BODHI_USER); \
411 else \
412 echo "Bodhi update aborted!"; \
413 fi
414 @rm -f bodhi.template{,.orig} $(NAME).bugs clog
415
416 ifndef $(BODHI_USER)
417 BODHI_USER=$(USER)
418 endif
419
420 ifneq (, $(filter sme7 sme8, $(BRANCH)))
421 update: bodhi
422 endif
423
424 cvsurl:
425 @echo '$(CVS_URL)'
426
427 chain-build: build-check
428 @if [ -z "$(CHAIN)" ]; then \
429 echo "Missing CHAIN variable, please specify the order of packages to" ; \
430 echo "chain build. For example: make chain-build CHAIN='foo bar'" ; \
431 exit 1 ; \
432 fi ; \
433 set -e ; \
434 subdir=`basename $$(pwd)` ; \
435 urls="" ; \
436 for component in $(CHAIN) ; do \
437 if [ "$$component" = "$(NAME)" ]; then \
438 echo "$(NAME) must not appear in CHAIN" ; \
439 exit 1 ; \
440 fi ; \
441 if [ "$$component" = ":" ]; then \
442 urls="$$urls :" ; \
443 continue ; \
444 elif [ -n "$$urls" -a -z "$(findstring :,$(CHAIN))" ]; then \
445 urls="$$urls :" ; \
446 fi ; \
447 rm -rf .tmp-$$$$ ; \
448 mkdir -p .tmp-$$$$ ; \
449 pushd .tmp-$$$$ > /dev/null ; \
450 cvs -f -Q -z 3 -d $(CVS_ROOT) co $$component ; \
451 urls="$$urls `make -s -C $$component/$$subdir cvsurl`" ; \
452 popd > /dev/null ; \
453 rm -rf .tmp-$$$$ ; \
454 done ; \
455 if [ -z "$(findstring :,$(CHAIN))" ]; then \
456 urls="$$urls :" ; \
457 fi ; \
458 urls="$$urls `make -s cvsurl`" ; \
459 $(BUILD_CLIENT) chain-build $(BUILD_FLAGS) $(TARGET) $$urls
460
461 # "make new | less" to see what has changed since the last tag was assigned
462 new:
463 -@cvs diff -u -r$$(cvs log Makefile 2>/dev/null | awk '/^symbolic names:$$/ {getline; sub(/^[ \t]*/, "") ; sub (/:.*$$/, ""); print; exit 0}')
464
465 # mop up, printing out exactly what was mopped.
466 clean ::
467 @echo "Running the %clean script of the rpmbuild..."
468 -@$(RPM_WITH_DIRS) --clean --nodeps $(SPECFILE)
469 @for F in $(FULLSOURCEFILES); do \
470 if test -e $$F ; then \
471 echo "Deleting $$F" ; /bin/rm -f $$F ; \
472 fi; \
473 done
474 @if test -d $(TMPCVS); then \
475 echo "Deleting CVS dir $(TMPCVS)" ; \
476 /bin/rm -rf $(TMPCVS); \
477 fi
478 @if test -e $(SRCRPMDIR)/$(NAME)-$(VERSION)-$(RELEASE).src.rpm ; then \
479 echo "Deleting $(SRCRPMDIR)/$(NAME)-$(VERSION)-$(RELEASE).src.rpm" ; \
480 /bin/rm -f $(SRCRPMDIR)/$(NAME)-$(VERSION)-$(RELEASE).src.rpm ; \
481 fi
482 @rm -fv *~ clog
483 @echo "Fully clean!"
484
485 # To prevent CVS noise due to changing file timestamps, upgrade
486 # to patchutils-0.2.23-3 or later, and add to ~/.cvspkgsrc:
487 # FILTERDIFF := filterdiff --remove-timestamps
488 ifndef FILTERDIFF
489 FILTERDIFF := cat
490 endif
491
492 ifdef CVE
493 PATCHFILE := $(NAME)-$(VERSION)-CVE-$(CVE).patch
494 SUFFIX := cve$(shell echo $(CVE) | sed s/.*-//)
495 else
496 PATCHFILE := $(NAME)-$(VERSION)-$(SUFFIX).patch
497 endif
498
499 patch:
500 @if test -z "$(SUFFIX)"; then echo "Must specify SUFFIX=whatever" ; exit 1; fi
501 (cd $(RPM_BUILD_DIR)/.. && gendiff $(NAME)-$(VERSION) .$(SUFFIX) | $(FILTERDIFF)) > $(PATCHFILE) || true
502 @if ! test -s $(PATCHFILE); then echo "Patch is empty!"; exit 1; fi
503 @echo "Created $(PATCHFILE)"
504 @grep "$(PATCHFILE)" CVS/Entries >&/dev/null || cvs add -ko $(PATCHFILE) || true
505
506 # Recreates the patch file of specified suffix from the current working sources
507 # but keeping any comments at the top of file intact, and backing up the old copy
508 # with a '~' suffix.
509 rediff:
510 @if test -z "$(SUFFIX)"; then echo "Must specify SUFFIX=whatever" ; exit 1; fi
511 @if ! test -f "$(PATCHFILE)"; then echo "$(PATCHFILE) not found"; exit 1; fi
512 @mv -f $(PATCHFILE) $(PATCHFILE)\~
513 @sed '/^--- /,$$d' < $(PATCHFILE)\~ > $(PATCHFILE)
514 @(cd $(RPM_BUILD_DIR)/.. && gendiff $(NAME)-$(VERSION) .$(SUFFIX) | $(FILTERDIFF)) >> $(PATCHFILE) || true
515
516 clog: $(SPECFILE)
517 @sed -n '/^%changelog/,/^$$/{/^%/d;/^$$/d;s/%%/%/g;p}' $(SPECFILE) | tee $@
518
519 commit: clog
520 @cvs commit -F $?
521 @rm -f clog
522
523 help:
524 @echo "Usage: make <target>"
525 @echo "Available targets are:"
526 @echo " help Show this text"
527 @echo " sources Download source files [default]"
528 @echo " upload FILES=<files> Add <files> to CVS"
529 @echo " new-sources FILES=<files> Replace sources in CVS with <files>"
530 @echo " <arch> Local test rpmbuild binary"
531 @echo " local Local test rpmbuild binary"
532 @echo " prep Local test rpmbuild prep"
533 @echo " compile Local test rpmbuild compile"
534 @echo " install Local test rpmbuild install"
535 @echo " compile-short Local test rpmbuild short-circuit compile"
536 @echo " install-short Local test rpmbuild short-circuit install"
537 @echo " lint Run rpmlint against local build output"
538 @echo " export Create clean export in \"cvs-$(TAG)\""
539 @echo " check Check test srpm preps on all archs"
540 @echo " srpm Create a srpm"
541 @echo " tag Tag sources as \"$(TAG)\""
542 @echo " build Request build of \"$(TAG)\" for $(TARGET)"
543 @echo " chain-build Build current package in order with other packages"
544 @echo " example: make chain-build CHAIN='libwidget libgizmo'"
545 @echo " The current package is added to the end of the CHAIN list."
546 @echo " Colons (:) can be used in the CHAIN parameter to define dependency groups."
547 @echo " Packages in a single group will be built in parallel, and all packages"
548 @echo " in a group must build successfully and populate the repository before"
549 @echo " the next group will begin building."
550 @echo " If no groups are defined, packages will be built sequentially."
551 @echo " scratch-build Request scratch build of \"$(TAG)\" for $(TARGET)"
552 @echo " scratch-build-<archs> Request scratch build of \"$(TAG)\" for $(TARGET) and archs <archs>"
553 @echo " examples: make scratch-build-i386,ppc64"
554 @echo " make scratch-build-x86_64"
555 @echo " mockbuild Local test build using mock"
556 @echo " verrel Echo \"$(NAME)-$(VERSION)-$(RELEASE)\""
557 @echo " new Diff against last tag"
558 @echo " clog Make a clog file containing top changelog entry"
559 @echo " commit Commit to CVS using the clog file as the log message"
560 @echo " clean Remove srcs ($(SOURCEFILES)), export dir (cvs-$(TAG)) and srpm ($(NAME)-$(VERSION)-$(RELEASE).src.rpm)"
561 @echo " patch SUFFIX=<suff> Create and add a gendiff patch file"
562 @echo " rediff SUFFIX=<suff> Recreates a gendiff patch file, retaining comments"
563 @echo " unused-patches Print list of patches not referenced by name in specfile"
564 @echo " unused-fedora-patches Print Fedora patches not used by Patch and/or ApplyPatch directives"
565 @echo " gimmespec Print the name of the specfile"
566 @echo " update Submit $(NAME)-$(VERSION)-$(RELEASE) as an update for $(BRANCH)"
567
568 gimmespec:
569 @echo "$(SPECFILE)"
570
571 unused-patches:
572 @for f in *.patch; do if [ -e $$f ]; then grep -q $$f $(SPECFILE) || echo $$f; fi; done
573
574 unused-fedora-patches:
575 @for f in *.patch; do if [ -e $$f ]; then (egrep -q "^Patch[[:digit:]]+:[[:space:]]+$$f" $(SPECFILE) || echo "Unused: $$f") && egrep -q "^ApplyPatch[[:space:]]+$$f" $(SPECFILE) || echo "Unapplied: $$f"; fi; done
576
577 ##################### EXPERIMENTAL ##########################
578 # this stuff is very experimental in nature and should not be
579 # relied upon until these targets are moved above this line
580
581 # This section contains some hacks that instrument
582 # download-from-upstream support. You'll have to talk to gafton, he
583 # knows how this shit works.
584
585 # Add to the list of hardcoded upstream files the contents of the
586 # ./upstream file
587 UPSTREAM_FILES += $(shell if test -f ./upstream ; then cat ./upstream ; fi)
588 # extensions for signature files we need to retrieve for verification
589 # Warning: if you update the set of defaults, please make sure to
590 # update/add to the checking rules further down
591 UPSTREAM_CHECKS ?= sign asc sig md5
592
593 # check the signatures for the downloaded upstream stuff
594 UPSTREAM_CHECK_FILES = $(foreach e, $(UPSTREAM_CHECKS), $(addsuffix .$(e), $(UPSTREAM_FILES)))
595
596 # Download a file from a particular host.
597 # First argument contains the url base, the second the filename,
598 # third extra curl options
599 define download-host-file
600 if test ! -e "$(2)" ; then \
601 echo -n "URL: $(1)/$(2) ..." ; \
602 $(CURL) --silent --head $(1)/$(2) && \
603 { \
604 echo "OK, downloading..." ; \
605 $(CURL) $(3) $(1)/$(2) ; \
606 } || \
607 echo "not found" ; \
608 fi
609 endef
610
611 # Download a file, trying each mirror in sequence. Also check for
612 # signatures, if available
613 # First argument contains the file name. We read the list of mirrors
614 # from the ./mirrors file
615 define download-file
616 $(foreach h, $(shell cat mirrors),
617 $(call download-host-file,$(h),$(1))
618 if test -e $(1) ; then \
619 $(foreach e,$(UPSTREAM_CHECKS),$(call download-host-file,$(h),$(1).$(e),--silent) ; ) \
620 fi
621 )
622 if test ! -e $(1) ; then \
623 echo "ERROR: Could not download file: $(1)" ; \
624 exit -1 ; \
625 else \
626 echo "File $(1) available for local use" ; \
627 fi
628 endef
629
630 # Download all the UPSTREAM files
631 define download-files
632 $(foreach f, $(UPSTREAM_FILES),
633 $(call download-file,$(f))
634 echo
635 )
636 endef
637
638 # Make sure the signature files we download are properly added
639 define cvs-add-upstream-sigs
640 for s in $(UPSTREAM_CHECK_FILES) ; do \
641 if test -f "$$s" ; then \
642 if ! grep "^/$$s/" CVS/Entries >/dev/null 2>/dev/null ; then \
643 cvs -Q add "$$s" ; \
644 fi ; \
645 fi ; \
646 done
647 endef
648
649 download : upstream mirrors
650 @$(download-files)
651 $(MAKE) download-checks
652
653 download-checks :: import-upstream-gpg
654 download-checks :: $(UPSTREAM_CHECK_FILES)
655
656 # how to check for a gpg signature, given a separate signature file
657 define check-upstream-gpg-sig
658 echo -n "Checking GPG signature on $* from $@ : "
659 if ! test -f $@ ; then \
660 echo "ERROR" ; echo "GPG signature file $@ not found" ; \
661 exit 1 ; \
662 fi
663 if ! gpg --no-secmem-warning --no-permission-warning -q --verify $@ $* 2>/dev/null ; then \
664 echo "FAILED" ; \
665 exit 1 ; \
666 else \
667 echo "OK" ; \
668 fi
669 endef
670
671 # how to check for a md5sum, given a separate .md5 file
672 define check-upstream-md5sum
673 echo -n "Checking md5sum on $* from $@ : "
674 if ! test -f $@ ; then \
675 echo "ERROR" ; echo "md5sum file $@ not found" ; \
676 exit 1 ; \
677 fi
678 if ! md5sum $* | diff >/dev/null --brief "$@" - ; then \
679 echo "FAILED" ; \
680 exit 1 ; \
681 else \
682 echo "OK" ; \
683 fi
684 endef
685
686 # and now the rules, specific to each extension
687 $(addsuffix .sign,$(UPSTREAM_FILES)): %.sign: % FORCE
688 @$(check-upstream-gpg-sig)
689 $(addsuffix .asc,$(UPSTREAM_FILES)): %.asc: % FORCE
690 @$(check-upstream-gpg-sig)
691 $(addsuffix .sig,$(UPSTREAM_FILES)): %.sig: % FORCE
692 @$(check-upstream-gpg-sig)
693 $(addsuffix .md5,$(UPSTREAM_FILES)): %.md5: % FORCE
694 @$(check-upstream-md5sum)
695
696 # We keep all the relevant GPG keys in the upstream-key.gpg so we can
697 # check the signatures...
698 import-upstream-gpg : upstream-key.gpg FORCE
699 mkdir -p $(HOME)/.gnupg
700 gpg --quiet --import --no-secmem-warning --no-permission-warning $< || :
701
702 # A handy target to download the latest and greatest from upstream and
703 # check it into the lookaside cache.
704 # new-base assumes that all the sources are downloaded from upstream, so it uses "make new-source"
705 # rebase uses the standard "make upload"
706 new-base : clean download
707 $(MAKE) new-source FILES="$(UPSTREAM_FILES)"
708 @$(cvs-add-upstream-sigs)
709 @echo "Don't forget to do a 'cvs commit' for your new sources file."
710
711 rebase : clean download
712 $(MAKE) upload FILES="$(UPSTREAM_FILES)"
713 @$(cvs-add-upstream-sigs)
714 @echo "Don't forget to do a 'cvs commit' for your new sources file."
715
716 # there is more stuff to clean, now that we have upstream files
717 clean ::
718 @rm -fv $(UPSTREAM_FILES)

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed