|
|
|
@ -1,71 +1,158 @@
|
|
|
|
|
Name: yapet
|
|
|
|
|
Version: 0.6
|
|
|
|
|
Release: 2%{?dist}
|
|
|
|
|
Summary: Curses based password encryption tool
|
|
|
|
|
#global pre pre2
|
|
|
|
|
|
|
|
|
|
Group: Applications/Productivity
|
|
|
|
|
License: GPLv3+ with exceptions
|
|
|
|
|
URL: http://www.guengel.ch/myapps/%{name}/
|
|
|
|
|
Source0: http://www.guengel.ch/myapps/%{name}/downloads/%{name}-%{version}.tar.gz
|
|
|
|
|
# patch from: http://bugs.guengel.ch/show_bug.cgi?id=26
|
|
|
|
|
Patch0: %{name}_gcc44-0.6.diff
|
|
|
|
|
Name: yapet
|
|
|
|
|
Version: 2.3
|
|
|
|
|
Release: 3%{?pre}%{?dist}
|
|
|
|
|
Summary: Yet Another Password Encryption Tool
|
|
|
|
|
License: GPLv3+ with exceptions
|
|
|
|
|
URL: http://yapet.guengel.ch/
|
|
|
|
|
Source0: http://yapet.guengel.ch/downloads/%{name}-%{version}%{?pre}.tar.xz
|
|
|
|
|
BuildRequires: gcc-c++
|
|
|
|
|
BuildRequires: gettext
|
|
|
|
|
BuildRequires: ncurses-devel
|
|
|
|
|
BuildRequires: openssl-devel
|
|
|
|
|
BuildRequires: cppunit-devel
|
|
|
|
|
BuildRequires: libargon2-devel
|
|
|
|
|
|
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
|
|
|
|
|
|
|
|
BuildRequires: openssl-devel
|
|
|
|
|
BuildRequires: ncurses-devel
|
|
|
|
|
BuildRequires: gettext
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
|
YAPET is a text based password manager using the Blowfish encryption algorithm.
|
|
|
|
|
Because of its small footprint and very few library dependencies, it is suited
|
|
|
|
|
for installing on desktop and server systems alike.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
|
%setup -q
|
|
|
|
|
|
|
|
|
|
%if 0%{?fedora} >=11
|
|
|
|
|
%patch0 -p1
|
|
|
|
|
%if 0%{?rhel} == 7
|
|
|
|
|
BuildRequires: devtoolset-7-gcc-c++
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
for i in README DESIGN
|
|
|
|
|
do
|
|
|
|
|
iconv -f iso-8859-1 -t utf-8 $i |sed 's|\r||g' > $i.utf8
|
|
|
|
|
touch -c -r $i $i.utf8
|
|
|
|
|
mv $i.utf8 $i
|
|
|
|
|
done
|
|
|
|
|
%description
|
|
|
|
|
YAPET is a text based password manager using the AES-256 encryption
|
|
|
|
|
algorithm to store passwords and associated information encrypted on
|
|
|
|
|
disk. Its primary aim is to provide a safe way to store passwords in a
|
|
|
|
|
file on disk while having a small footprint, and compiling and running
|
|
|
|
|
under today's most popular Unix Systems.
|
|
|
|
|
|
|
|
|
|
The password records are protected by a master password which is used
|
|
|
|
|
to encrypt and decrypt the password records.
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
|
%setup -qn %{name}-%{version}%{?pre}
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
%configure --enable-terminal-title --enable-csv2yapet --enable-pwgen --disable-build-doc --disable-source-doc --disable-install-doc
|
|
|
|
|
make %{?_smp_mflags} CXXFLAGS+="%{optflags}" CFLAGS+="%{optflags}"
|
|
|
|
|
%if 0%{?rhel} == 7
|
|
|
|
|
source /opt/rh/devtoolset-7/enable
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
%configure --disable-install-doc \
|
|
|
|
|
--disable-source-doc \
|
|
|
|
|
--disable-install-doci \
|
|
|
|
|
--disable-silent-rules
|
|
|
|
|
|
|
|
|
|
%make_build
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
|
rm -rf %{buildroot}
|
|
|
|
|
make install INSTALL="install -p" DESTDIR=%{buildroot}
|
|
|
|
|
rm -rf %{buildroot}/%{_datadir}/applications/
|
|
|
|
|
%make_install
|
|
|
|
|
# Console running is OK.
|
|
|
|
|
rm -frv %{buildroot}%{_datadir}/applications/
|
|
|
|
|
|
|
|
|
|
# %%doc instead.
|
|
|
|
|
rm -frv %{buildroot}%{_docdir}
|
|
|
|
|
|
|
|
|
|
%find_lang %{name}
|
|
|
|
|
%find_lang libyacurs
|
|
|
|
|
|
|
|
|
|
%check
|
|
|
|
|
# RNG tests need /dev/urandom OR /dev/random!
|
|
|
|
|
# Failed at messagebox1. Digging.
|
|
|
|
|
#make check
|
|
|
|
|
|
|
|
|
|
%clean
|
|
|
|
|
rm -rf %{buildroot}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%files -f %{name}.lang
|
|
|
|
|
%defattr(-,root,root,-)
|
|
|
|
|
%doc AUTHORS COPYING DESIGN LICENSE NEWS README THANKS TODO
|
|
|
|
|
%{_bindir}/%{name}
|
|
|
|
|
%{_bindir}/csv2%{name}
|
|
|
|
|
%{_mandir}/man*/*%{name}*
|
|
|
|
|
|
|
|
|
|
%files -f %{name}.lang -f libyacurs.lang
|
|
|
|
|
%doc AUTHORS BUGS NEWS README
|
|
|
|
|
%license COPYING LICENSE
|
|
|
|
|
%{_bindir}/*yapet*
|
|
|
|
|
%{_mandir}/man*/*yapet*
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Sun Oct 12 2009 Simon Wesp <cassmdodiah@fedoraproject.org> - 0.6-2
|
|
|
|
|
* Sat Jul 27 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2.3-3
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Mon Mar 18 2019 Remi Collet <remi@fedoraproject.org> - 2.3-2
|
|
|
|
|
- rebuild for libargon2 new soname
|
|
|
|
|
|
|
|
|
|
* Sun Mar 3 2019 Greg Bailey <gbailey@lxpro.com> - 2.3-1
|
|
|
|
|
- Update to 2.3 (#1678913)
|
|
|
|
|
- Use devtoolset for EPEL 7 builds (needs C++14 language features)
|
|
|
|
|
|
|
|
|
|
* Sun Feb 03 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.1-4
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.1-3
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Wed Mar 28 2018 Greg Bailey <gbailey@lxpro.com> - 1.1-2
|
|
|
|
|
- No longer any need to rebuild configure script
|
|
|
|
|
|
|
|
|
|
* Wed Mar 28 2018 Greg Bailey <gbailey@lxpro.com> - 1.1-1
|
|
|
|
|
- Update to 1.1
|
|
|
|
|
- Update URL
|
|
|
|
|
- Remove unnecessary patches
|
|
|
|
|
|
|
|
|
|
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.0-12
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.0-11
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.0-10
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Wed Mar 1 2017 Greg Bailey <gbailey@lxpro.com> - 1.0-9
|
|
|
|
|
- Patch to fix build issues with GCC 6 and OpenSSL 1.1 (#1424564)
|
|
|
|
|
|
|
|
|
|
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.0-8
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Thu Apr 14 2016 Greg Bailey <gbailey@lxpro.com> - 1.0-7
|
|
|
|
|
- Patch GCC6 compilation error from void function returning a value (#1308262)
|
|
|
|
|
|
|
|
|
|
* Fri Feb 05 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.0-6
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Fri Jun 19 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0-5
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Sat May 02 2015 Kalev Lember <kalevlember@gmail.com> - 1.0-4
|
|
|
|
|
- Rebuilt for GCC 5 C++11 ABI change
|
|
|
|
|
|
|
|
|
|
* Mon Aug 18 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0-3
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0-2
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Thu Feb 27 2014 Christopher Meng <rpm@cicku.me> - 1.0-1
|
|
|
|
|
- Update to 1.0
|
|
|
|
|
|
|
|
|
|
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.8-0.6.pre2
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Fri Feb 15 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.8-0.5.pre2
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Sun Jul 22 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.8-0.4.pre2
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Tue Feb 28 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.8-0.3.pre2
|
|
|
|
|
- Rebuilt for c++ ABI breakage
|
|
|
|
|
|
|
|
|
|
* Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.8-0.2.pre2
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Tue Mar 15 2011 Simon Wesp <cassmdodiah@fedoraproject.org> - 0.8-0.1.pre2
|
|
|
|
|
- Update
|
|
|
|
|
|
|
|
|
|
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.7-2
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Sun Nov 14 2010 Simon Wesp <cassmdodiah@fedoraproject.org> - 0.7-1
|
|
|
|
|
- New upstream release
|
|
|
|
|
|
|
|
|
|
* Mon Oct 12 2009 Simon Wesp <cassmdodiah@fedoraproject.org> - 0.6-2
|
|
|
|
|
- Correct License and patch integration
|
|
|
|
|
- Add LICENSE to DOC
|
|
|
|
|
|
|
|
|
|
* Sun Oct 12 2009 Simon Wesp <cassmdodiah@fedoraproject.org> - 0.6-1
|
|
|
|
|
* Mon Oct 12 2009 Simon Wesp <cassmdodiah@fedoraproject.org> - 0.6-1
|
|
|
|
|
- Initial Package build
|
|
|
|
|