[4616] | 1 | Summary: Automated Password Generator for random password generation |
---|
| 2 | Name: apg |
---|
| 3 | |
---|
| 4 | Version: 2.3.0b |
---|
| 5 | Release: 1%{?_dist_release} |
---|
| 6 | License: BSD |
---|
| 7 | Group: System Environment/Base |
---|
| 8 | URL: http://www.adel.nursat.kz/%{name}/ |
---|
| 9 | |
---|
| 10 | Source0: http://www.adel.nursat.kz/%{name}/download/%{name}-%{version}.tar.gz |
---|
| 11 | Source1: apg.xinetd |
---|
| 12 | Patch0: apg-2.3.0b-gen_rand_pass.patch |
---|
| 13 | |
---|
| 14 | BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) |
---|
| 15 | Requires(post): grep |
---|
| 16 | |
---|
| 17 | Vendor: Project Vine |
---|
| 18 | Distribution: Vine Linux |
---|
| 19 | |
---|
| 20 | %description |
---|
| 21 | APG (Automated Password Generator) is the tool set for random password |
---|
| 22 | generation. This standalone version generates some random words of |
---|
| 23 | required type and prints them to standard output. |
---|
| 24 | |
---|
| 25 | %prep |
---|
| 26 | %setup -q |
---|
| 27 | %patch0 -p1 -b .gen_rand_pass |
---|
| 28 | |
---|
| 29 | %build |
---|
| 30 | # Build server |
---|
| 31 | make CFLAGS="$RPM_OPT_FLAGS" FLAGS="$RPM_OPT_FLAGS" %{?_smp_mflags} cliserv |
---|
| 32 | |
---|
| 33 | # Build standalone files |
---|
| 34 | make CFLAGS="$RPM_OPT_FLAGS" FLAGS="$RPM_OPT_FLAGS" %{?_smp_mflags} standalone |
---|
| 35 | |
---|
| 36 | %install |
---|
| 37 | [ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT |
---|
| 38 | install -D apg %{buildroot}%{_bindir}/apg |
---|
| 39 | install -D apgbfm %{buildroot}%{_bindir}/apgbfm |
---|
| 40 | install -D apgd %{buildroot}%{_sbindir}/apgd |
---|
| 41 | install -D -m 644 doc/man/apg.1 %{buildroot}%{_mandir}/man1/apg.1 |
---|
| 42 | install -D -m 644 doc/man/apgbfm.1 %{buildroot}%{_mandir}/man1/apgbfm.1 |
---|
| 43 | install -D -m 644 doc/man/apgd.8 %{buildroot}%{_mandir}/man8/apgd.8 |
---|
| 44 | |
---|
| 45 | install -D -m 644 %{SOURCE1} %{buildroot}%{_sysconfdir}/xinetd.d/apgd |
---|
| 46 | |
---|
| 47 | %clean |
---|
| 48 | [ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT |
---|
| 49 | |
---|
| 50 | %post |
---|
| 51 | # add a service for apg if it doesn't already exist |
---|
| 52 | if ! grep -q ^pwdgen /etc/services; then |
---|
| 53 | echo -e 'pwdgen\t\t129/tcp\t\t\t# PWDGEN service' >> /etc/services |
---|
| 54 | fi |
---|
| 55 | |
---|
| 56 | |
---|
| 57 | %files |
---|
| 58 | %defattr(-, root, root) |
---|
| 59 | %doc CHANGES COPYING README THANKS TODO doc/rfc* |
---|
| 60 | %{_bindir}/apg |
---|
| 61 | %{_bindir}/apgbfm |
---|
| 62 | %{_sbindir}/apgd |
---|
| 63 | %{_mandir}/man*/* |
---|
| 64 | %{_sysconfdir}/xinetd.d/apgd |
---|
| 65 | |
---|
| 66 | %changelog |
---|
| 67 | * Tue Aug 16 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.3.0b-1 |
---|
| 68 | - initial build for Vine Linux |
---|
| 69 | |
---|
| 70 | |
---|
| 71 | * Mon Mar 14 2011 Kevin Fenzi <kevin@tummy.com> - 2.3.0b-11 |
---|
| 72 | - Add Requires(post) on grep. Fixes bug #684779 |
---|
| 73 | |
---|
| 74 | * Mon Feb 07 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.3.0b-10 |
---|
| 75 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild |
---|
| 76 | |
---|
| 77 | * Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.3.0b-9 |
---|
| 78 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild |
---|
| 79 | |
---|
| 80 | * Mon Feb 23 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.3.0b-8 |
---|
| 81 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild |
---|
| 82 | |
---|
| 83 | * Mon Aug 11 2008 Kevin Fenzi <kevin@tummy.com> - 2.3.0b-7 |
---|
| 84 | - Fix permissions. Fixes #453621 |
---|
| 85 | |
---|
| 86 | * Sun Feb 10 2008 Kevin Fenzi <kevin@tummy.com> - 2.3.0b-6 |
---|
| 87 | - Rebuild for gcc43 |
---|
| 88 | |
---|
| 89 | * Tue Aug 21 2007 Kevin Fenzi <kevin@tummy.com> - 2.3.0b-5 |
---|
| 90 | - Fix incorrect license tag |
---|
| 91 | - Fix incorrect sources |
---|
| 92 | |
---|
| 93 | * Sun Aug 27 2006 Kevin Fenzi <kevin@tummy.com> - 2.3.0b-4 |
---|
| 94 | - Rebuild for fc6 |
---|
| 95 | |
---|
| 96 | * Thu Feb 16 2006 Kevin Fenzi <kevin@tummy.com> - 2.3.0b-3 |
---|
| 97 | - Rebuild for fc5 |
---|
| 98 | |
---|
| 99 | * Sat Jul 30 2005 Michael Schwendt <mschwendt[AT]users.sf.net> - 2.3.0b-2 |
---|
| 100 | - Fix -y segfault (#164698). |
---|
| 101 | - Make with CFLAGS and FLAGS to build with RPM optflags to |
---|
| 102 | repair debuginfo package. |
---|
| 103 | |
---|
| 104 | * Fri Apr 22 2005 Oliver Falk <oliver@linux-kernel.at> - 2.3.0b-1_FC4 |
---|
| 105 | - Add FC4 to the release tag, so it's newer than the FC3 package |
---|
| 106 | |
---|
| 107 | * Mon Apr 11 2005 Oliver Falk <oliver@linux-kernel.at> - 2.3.0b-1 |
---|
| 108 | - Merge FC devel specfile with lkernAT specfile (=> update) |
---|
| 109 | - Has now support for xinetd |
---|
| 110 | |
---|
| 111 | * Fri Apr 7 2005 Michael Schwendt <mschwendt[AT]users.sf.net> |
---|
| 112 | - rebuilt |
---|
| 113 | |
---|
| 114 | * Wed Nov 10 2004 Matthias Saou <http://freshrpms.net/> 2.2.3-3 |
---|
| 115 | - Bump release to provide Extras upgrade path. |
---|
| 116 | - Nicer mode fix for the sources. |
---|
| 117 | |
---|
| 118 | * Sun Sep 21 2003 Phillip Compton <pcompton[AT]proteinmedia.com> - 0:2.2.3-0.fdr.2 |
---|
| 119 | - Fixed file permission on source tarball. |
---|
| 120 | - Brought spec more in line with current template. |
---|
| 121 | |
---|
| 122 | * Mon Sep 15 2003 Phillip Compton <pcompton[AT]proteinmedia.com> - 0:2.2.3-0.fdr.1 |
---|
| 123 | - Updated to 2.2.3. |
---|
| 124 | |
---|
| 125 | * Mon Sep 01 2003 Phillip Compton <pcompton[AT]proteinmedia.com> - 0:2.2.2-0.fdr.1 |
---|
| 126 | - Updated to 2.2.2. |
---|
| 127 | |
---|
| 128 | * Tue Aug 05 2003 Phillip Compton <pcompton[AT]proteinmedia.com> - 0:2.2.0-0.fdr.1 |
---|
| 129 | - Updated to 2.2.0. |
---|
| 130 | |
---|
| 131 | * Wed Jul 30 2003 Phillip Compton <pcompton[AT]proteinmedia.com> - 0:2.1.0-0.fdr.1 |
---|
| 132 | - Fedorafication. |
---|
| 133 | |
---|
| 134 | * Mon Mar 31 2003 Matthias Saou <matthias.saou@est.une.marmotte.net> |
---|
| 135 | - Rebuilt for Red Hat Linux 9. |
---|
| 136 | - Added _smp_mflags macro. |
---|
| 137 | |
---|
| 138 | * Fri Oct 4 2002 Matthias Saou <matthias.saou@est.une.marmotte.net> |
---|
| 139 | - Update to 2.1.0. |
---|
| 140 | |
---|
| 141 | * Thu May 2 2002 Matthias Saou <matthias.saou@est.une.marmotte.net> |
---|
| 142 | - Update to 2.0.0final. |
---|
| 143 | |
---|
| 144 | * Tue Feb 27 2001 Matthias Saou <matthias.saou@est.une.marmotte.net> |
---|
| 145 | - Update to 1.2.13. |
---|
| 146 | |
---|
| 147 | * Fri Feb 16 2001 Matthias Saou <matthias.saou@est.une.marmotte.net> |
---|
| 148 | - Update to 1.2.11. |
---|
| 149 | |
---|
| 150 | * Thu Feb 15 2001 Matthias Saou <matthias.saou@est.une.marmotte.net> |
---|
| 151 | - Update to 1.2.1. |
---|
| 152 | |
---|
| 153 | * Wed Feb 7 2001 Matthias Saou <matthias.saou@est.une.marmotte.net> |
---|
| 154 | - Initial RPM release. |
---|
| 155 | |
---|