diff --git a/.files b/.files index 852fa61..75aa2b8 100644 Binary files a/.files and b/.files differ diff --git a/.rev b/.rev index a4295b3..71847d4 100644 --- a/.rev +++ b/.rev @@ -35,4 +35,12 @@ 773733 + + e1984585d52fb181066b19ecdaeeb02c + 2.0+git.0.bdc680d + + dimstar_suse + + 845106 + diff --git a/.servicemark b/.servicemark index 13c1e50..3707a95 100644 --- a/.servicemark +++ b/.servicemark @@ -1 +1 @@ -a266a349e589df8b4179353a1291560a +8d4436abd3c7563d1055084f53cbcfa9 diff --git a/ads-1.5+git.6.ae0dafd.tar.bz2 b/ads-1.5+git.6.ae0dafd.tar.bz2 deleted file mode 120000 index 072edaf..0000000 --- a/ads-1.5+git.6.ae0dafd.tar.bz2 +++ /dev/null @@ -1 +0,0 @@ -/ipfs/bafkreiafcokzmuzte5tfqec3ry36t4jbhnchyfwr7b7vqjf6ehq7om475m \ No newline at end of file diff --git a/ads-2.0+git.0.bdc680d.tar.bz2 b/ads-2.0+git.0.bdc680d.tar.bz2 new file mode 120000 index 0000000..278e4e8 --- /dev/null +++ b/ads-2.0+git.0.bdc680d.tar.bz2 @@ -0,0 +1 @@ +/ipfs/bafkreihbqqq2arxqnvoq4zwlbl5lotkwttqppod7p3duafjozdu4nflkfi \ No newline at end of file diff --git a/ads.changes b/ads.changes index 3b214f6..9789976 100644 --- a/ads.changes +++ b/ads.changes @@ -1,4 +1,10 @@ ------------------------------------------------------------------- +Fri Oct 30 20:12:41 UTC 2020 - dmulder@suse.com + +- Update to 2.0: + + Major rewrite uses samba python bindings for most commands + +------------------------------------------------------------------- Tue Jan 28 15:31:57 UTC 2020 - Samuel Cabrero - Add missing BuildRequires to spec file diff --git a/ads.spec b/ads.spec index 000d8dc..275096f 100644 --- a/ads.spec +++ b/ads.spec @@ -17,30 +17,38 @@ Name: ads -Version: 1.5+git.6.ae0dafd +Version: 2.0+git.0.bdc680d Release: 0 Summary: Swiss army knife for samba License: GPL-3.0-only -URL: http://www.github.com/dmulder/ads +Group: Productivity/Networking/Samba +URL: https://github.com/suse-samba-tools/ads Source: %{name}-%{version}.tar.bz2 +BuildArch: noarch Requires: krb5-client Requires: ntp Requires: python3-dnspython -Requires: python3-ldap +Requires: python3-ldb Requires: python3-netifaces +Requires: python3-psutil Requires: python3-python-pam Requires: samba-client +Requires: samba-dsdb-modules Requires: samba-python3 BuildRequires: autoconf BuildRequires: automake BuildRequires: python3 +%if 0%{?sle_version} > 150100 BuildRequires: python3-argparse-manpage +%endif BuildRequires: python3-dnspython -BuildRequires: python3-ldap +BuildRequires: python3-ldb BuildRequires: python3-netifaces +BuildRequires: python3-psutil BuildRequires: python3-python-pam -BuildRequires: python3-setuptools BuildRequires: samba-python3 +Provides: vasclnt +Provides: vastool %description Active Directory services tool for samba. @@ -56,14 +64,29 @@ while also adding additional features relevant to samba (such as kdc provisionin %build autoreconf -if %configure +%if 0%{?sle_version} <= 150100 +pushd src +%endif make +%if 0%{?sle_version} <= 150100 +popd +%endif %install +%if 0%{?sle_version} <= 150100 +pushd src +%endif %make_install +%if 0%{?sle_version} <= 150100 +popd +%endif %files %defattr(-,root,root) %{_bindir}/ads +%{_bindir}/vastool +%if 0%{?sle_version} > 150100 %{_mandir}/man1/ads.1* +%endif %changelog