rpms/apg/FC-3 apg.xinetd, NONE, 1.1 .cvsignore, 1.2, 1.3 apg.spec, 1.4, 1.5 sources, 1.2, 1.3

Oliver Falk (oliver) fedora-extras-commits at redhat.com
Mon Apr 11 12:37:24 UTC 2005


Author: oliver

Update of /cvs/extras/rpms/apg/FC-3
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv8030

Modified Files:
	.cvsignore apg.spec sources 
Added Files:
	apg.xinetd 
Log Message:

Update of apg from v2.2.3 to 2.3.0b

Specfile changelog:
* Mon Apr 11 2005 Oliver Falk <oliver at linux-kernel.at>                                - 2.3.0b-1
- Merge FC devel specfile with lkernAT specfile (=> update)
- Has now support for xinetd



--- NEW FILE apg.xinetd ---
# default: off
# description: A password generator
service pwdgen
{
        disable         = yes
        socket_type     = stream
        wait            = no
        user            = root
        server          = /usr/sbin/apgd
        server_args     = -M sncl -EO -a 0 -r /usr/share/dict/words -m 8 -x 8 -t
        log_on_failure  += USERID
}


Index: .cvsignore
===================================================================
RCS file: /cvs/extras/rpms/apg/FC-3/.cvsignore,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- .cvsignore	8 Nov 2004 04:02:49 -0000	1.2
+++ .cvsignore	11 Apr 2005 12:37:22 -0000	1.3
@@ -1 +1 @@
-apg-2.2.3.tar.gz
+apg-2.3.0b.tar.gz


Index: apg.spec
===================================================================
RCS file: /cvs/extras/rpms/apg/FC-3/apg.spec,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- apg.spec	11 Nov 2004 19:21:36 -0000	1.4
+++ apg.spec	11 Apr 2005 12:37:22 -0000	1.5
@@ -1,55 +1,71 @@
-Name:           apg
-Version:        2.2.3
-Release:        3
-Epoch:          0
-Summary:        Automated Password Generator for random password generation.
-
-Group:          System Environment/Base
-License:        GPL
-URL:            http://www.adel.nursat.kz/apg/
-Source0:        http://www.adel.nursat.kz/apg/download/apg-2.2.3.tar.gz
-BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+Summary:		Automated Password Generator for random password generation
+Name:			apg
+
+Version:		2.3.0b
+Release:		1
+
+License:		GPL
+Group:			System Environment/Base
+URL:			http://www.adel.nursat.kz/%{name}/
+
+Source0:		http://www.adel.nursat.kz/%{name}/download/%{name}-%{version}.tar.gz
+Source1:		apg.xinetd
+
+BuildRoot:		%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
 %description
 APG (Automated Password Generator) is the tool set for random password
 generation. This standalone version generates some random words of
 required type and prints them to standard output.
 
-
-
 %prep
 %setup -q
-# Fix permissions (2.2.3)
-chmod -R u+w .
-
-
 
 %build
-make %{?_smp_mflags} standalone
-
+# Build server
+make %{?_smp_mflags} cliserv
 
+# Build standalone files
+make %{?_smp_mflags} standalone
 
 %install
-rm -rf ${RPM_BUILD_ROOT}
-install -D -m0755 apg ${RPM_BUILD_ROOT}%{_bindir}/apg
-install -D -m0644 doc/man/apg.1 ${RPM_BUILD_ROOT}%{_mandir}/man1/apg.1
-
+[ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT
+install -D apg %{buildroot}%{_bindir}/apg
+install -D apgbfm %{buildroot}%{_bindir}/apgbfm
+install -D apgd %{buildroot}%{_sbindir}/apgd
+install -D doc/man/apg.1 %{buildroot}%{_mandir}/man1/apg.1
+install -D doc/man/apgbfm.1 %{buildroot}%{_mandir}/man1/apgbfm.1
+install -D doc/man/apgd.8 %{buildroot}%{_mandir}/man8/apgd.8
 
+install -D %{SOURCE1} %{buildroot}%{_sysconfdir}/xinetd.d/apgd
 
 %clean
-rm -rf ${RPM_BUILD_ROOT}
+[ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT
 
+%post
+# add a service for apg if it doesn't already exist
+if ! grep -q ^pwdgen /etc/services; then
+    echo -e 'pwdgen\t\t129/tcp\t\t\t# PWDGEN service' >> /etc/services
+fi
 
 
 %files
-%defattr(-,root,root,-)
+%defattr(-, root, root)
 %doc CHANGES COPYING README THANKS TODO doc/rfc*
 %{_bindir}/apg
-%{_mandir}/man1/*
+%{_bindir}/apgbfm
+%{_sbindir}/apgd
+%{_mandir}/man*/*
+%{_sysconfdir}/xinetd.d/apgd
 
+%changelog
+* Mon Apr 11 2005 Oliver Falk <oliver at linux-kernel.at>				- 2.3.0b-1
+- Merge FC devel specfile with lkernAT specfile (=> update)
+- Has now support for xinetd
 
+* Fri Apr  7 2005 Michael Schwendt <mschwendt[AT]users.sf.net>
+- rebuilt
 
-%changelog
 * Wed Nov 10 2004 Matthias Saou <http://freshrpms.net/> 2.2.3-3
 - Bump release to provide Extras upgrade path.
 - Nicer mode fix for the sources.


Index: sources
===================================================================
RCS file: /cvs/extras/rpms/apg/FC-3/sources,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- sources	8 Nov 2004 04:02:49 -0000	1.2
+++ sources	11 Apr 2005 12:37:22 -0000	1.3
@@ -1 +1 @@
-3b3fc4f11e90635519fe627c1137c9ac  apg-2.2.3.tar.gz
+3f9301ab654e15ea258d3904c8669a25  apg-2.3.0b.tar.gz




More information about the fedora-extras-commits mailing list