From b531999e5cabfe77803de9b2709d41b58c72f6e26e5fb3a02078f9478e138ebd Mon Sep 17 00:00:00 2001 From: Pascal Bleser Date: Sun, 18 Nov 2007 14:38:25 +0000 Subject: [PATCH] OBS-URL: https://build.opensuse.org/package/show/network:utilities/ipcalc?expand=0&rev=1 --- .gitattributes | 23 +++++++++++++++++++ .gitignore | 1 + ipcalc-0.41.tar.gz | 3 +++ ipcalc.spec | 56 ++++++++++++++++++++++++++++++++++++++++++++++ patch-queue | 23 +++++++++++++++++++ 5 files changed, 106 insertions(+) create mode 100644 .gitattributes create mode 100644 .gitignore create mode 100644 ipcalc-0.41.tar.gz create mode 100644 ipcalc.spec create mode 100644 patch-queue diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,23 @@ +## Default LFS +*.7z filter=lfs diff=lfs merge=lfs -text +*.bsp filter=lfs diff=lfs merge=lfs -text +*.bz2 filter=lfs diff=lfs merge=lfs -text +*.gem filter=lfs diff=lfs merge=lfs -text +*.gz filter=lfs diff=lfs merge=lfs -text +*.jar filter=lfs diff=lfs merge=lfs -text +*.lz filter=lfs diff=lfs merge=lfs -text +*.lzma filter=lfs diff=lfs merge=lfs -text +*.obscpio filter=lfs diff=lfs merge=lfs -text +*.oxt filter=lfs diff=lfs merge=lfs -text +*.pdf filter=lfs diff=lfs merge=lfs -text +*.png filter=lfs diff=lfs merge=lfs -text +*.rpm filter=lfs diff=lfs merge=lfs -text +*.tbz filter=lfs diff=lfs merge=lfs -text +*.tbz2 filter=lfs diff=lfs merge=lfs -text +*.tgz filter=lfs diff=lfs merge=lfs -text +*.ttf filter=lfs diff=lfs merge=lfs -text +*.txz filter=lfs diff=lfs merge=lfs -text +*.whl filter=lfs diff=lfs merge=lfs -text +*.xz filter=lfs diff=lfs merge=lfs -text +*.zip filter=lfs diff=lfs merge=lfs -text +*.zst filter=lfs diff=lfs merge=lfs -text diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/ipcalc-0.41.tar.gz b/ipcalc-0.41.tar.gz new file mode 100644 index 0000000..9497803 --- /dev/null +++ b/ipcalc-0.41.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:dda9c571ce3369e5b6b06e92790434b54bec1f2b03f1c9df054c0988aa4e2e8a +size 21599 diff --git a/ipcalc.spec b/ipcalc.spec new file mode 100644 index 0000000..925ac12 --- /dev/null +++ b/ipcalc.spec @@ -0,0 +1,56 @@ +# norootforbuild + +%define _prefix /usr + +Name: ipcalc +Version: 0.41 +Release: 0 +Summary: IPv4 Address Calculator +Source: http://jodies.de/ipcalc-archive/ipcalc-%{version}.tar.gz +Patch1: http://jodies.de/ipcalc-archive/patch-queue +URL: http://jodies.de/ipcalc +Group: Productivity/Networking/System +License: GNU General Public License (GPL) +BuildRoot: %{_tmppath}/build-%{name}-%{version} +BuildArch: noarch + +%description +ipcalc takes an IP address and netmask and calculates the resulting +broadcast, network, Cisco wildcard mask, and host range. By giving a +second netmask, you can design subnets and supernets. It is also +presents the subnetting results as easy-to-understand binary values. + +Enter your netmask(s) in CIDR notation (/25) or dotted decimals +(255.255.255.0). Inverse netmasks are recognized. If you omit the +netmask ipcalc uses the default netmask for the class of your network. + +%prep +%setup -q +%patch1 + +%build + +%install +%__install -D -m 0755 ipcalc "%{buildroot}%{_bindir}/ipcalc" + +%clean +%__rm -rf "%{buildroot}" + +%files +%defattr(-,root,root) +%doc license changelog contributors +%{_bindir}/ipcalc + +%changelog +* Sun Nov 18 2007 Pascal Bleser 0.41 +- moved to openSUSE Build Service +- added minor patch + +* Sun Oct 22 2006 Pascal Bleser 0.41-1 +- new upstream version +- rewrote spec file + +# Local Variables: +# mode: rpm-spec +# tab-width: 3 +# End: diff --git a/patch-queue b/patch-queue new file mode 100644 index 0000000..6d21919 --- /dev/null +++ b/patch-queue @@ -0,0 +1,23 @@ +Jahreszahl, Mehrzahl und omit ;-) + +--- ipcalc-0.41 2006-07-27 11:42:31.000000000 +0200 ++++ ipcalc 2006-07-28 17:05:50.000000000 +0200 +@@ -2,7 +2,7 @@ + + + # IPv4 Calculator +-# Copyright (C) Krischan Jodies 2000 - 2004 ++# Copyright (C) Krischan Jodies 2000 - 2006 + # krischan()jodies.de, http://jodies.de/ipcalc + # + # This program is free software; you can redistribute it and/or modify +@@ -1082,7 +1082,7 @@ + IP Calculator $version + + Enter your netmask(s) in CIDR notation (/25) or dotted decimals (255.255.255.0). +-Inverse netmask are recognized. If you mmit the netmask, ipcalc uses the default ++Inverse netmasks are recognized. If you omit the netmask, ipcalc uses the default + netmask for the class of your network. + + Look at the space between the bits of the addresses: The bits before it are +