[Git][NTPsec/ntpsec][master] This is the spec file and README for creating an RPM package

deamoneye gitlab at mg.gitlab.com
Tue Aug 22 18:09:19 UTC 2017


deamoneye pushed to branch master at NTPsec / ntpsec


Commits:
4b3e730e by Keane Wolter at 2017-08-22T12:26:35-04:00
This is the spec file and README for creating an RPM package

- - - - -


2 changed files:

- + packaging/RPM/README
- + packaging/RPM/ntpsec.spec


Changes:

=====================================
packaging/RPM/README
=====================================
--- /dev/null
+++ b/packaging/RPM/README
@@ -0,0 +1,6 @@
+To create the RPM directory structure, run rpmdev-setuptree.  This creates all
+the required directories.  Place the ntpsec.spec file in the SPECS directory
+and download the current tarball file to the SOURCES directory.  You do not
+need to extract the files.  RPM does this automatically.  From the rpmbuild
+root directory, run "rpmbuild -ba SPECS/ntpsec.spec".  This will extract the
+code and attempt to run the waf configure, build, and install steps.


=====================================
packaging/RPM/ntpsec.spec
=====================================
--- /dev/null
+++ b/packaging/RPM/ntpsec.spec
@@ -0,0 +1,38 @@
+Name:		ntpsec
+Version:	0.9.7
+Release:	1%{?dist}
+Summary:	A secure, hardened, and improved implementation of Network Time Protocol derived from NTP Classic, Dave Mills’s original.
+
+License:	BSD
+URL:		https://www.ntpsec.org/
+Source0:	ftp://ftp.ntpsec.org/pub/releases/ntpsec-0.9.7.tar.gz
+
+%description
+NTPsec, as its name implies, is a more secure NTP. Our goal is to deliver code that can be used with confidence in deployments with the most stringent security, availability, and assurance requirements.
+
+Towards that end we apply best practices and state-of-the art technology in code auditing, verification, and testing. We begin with the most important best practice: true open-source code review. The NTPsec code is available in a public git repository. One of our goals is to support broader community participation.
+
+
+BuildRequires:  bison openssl-devel libcap-devel libseccomp-devel pps-tools-devel libcap openssl-libs pps-tools avahi-compat-libdns_sd-devel
+
+%global debug_package %{nil}
+
+%prep
+%setup -q
+
+
+%build
+# %%configure
+./waf configure
+
+
+%install
+# %%make_install
+./waf install
+
+
+%files
+%doc
+
+
+



View it on GitLab: https://gitlab.com/NTPsec/ntpsec/commit/4b3e730e3548a5aa5ee91ddd2105830b917d339e

---
View it on GitLab: https://gitlab.com/NTPsec/ntpsec/commit/4b3e730e3548a5aa5ee91ddd2105830b917d339e
You're receiving this email because of your account on gitlab.com.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ntpsec.org/pipermail/vc/attachments/20170822/f847f750/attachment.html>


More information about the vc mailing list