浏览代码

Relicense aaio under LGPLv2 with authors permission
see the pull request on github for the email correspondence

enkvadrat 1 月之前
父节点
当前提交
20a561212e
共有 6 个文件被更改,包括 17 次插入246 次删除
  1. 0 1
      dev/aaio/AUTHORS
  2. 0 59
      dev/aaio/COPYING
  3. 0 71
      dev/aaio/README
  4. 7 54
      dev/aaio/aaio.c
  5. 10 61
      include/aaio.h
  6. 二进制
      libaaio/libaaio-0.3.2.tar.bz2

+ 0 - 1
dev/aaio/AUTHORS

@@ -1 +0,0 @@
-Daniel Aarno - <[email protected]>

+ 0 - 59
dev/aaio/COPYING

@@ -1,59 +0,0 @@
-This software (AAIO) is licenced under the ATTRIBUTION ASSURANCE
-LICENSE, see below.
-
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
-
- * Copyright (c) 2004-2005 by Daniel Aarno - <[email protected]>
- * M. Sc. Electrical Engineering * http://www.nada.kth.se/~bishop
- * 
- * All Rights Reserved
- * ATTRIBUTION ASSURANCE LICENSE (adapted from the original BSD license)
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the conditions below are met.
- * These conditions require a modest attribution to  (the
- * "Author"), who hopes that its promotional value may help justify the
- * thousands of dollars in otherwise billable time invested in writing
- * this and other freely available, open-source software.
- * 
- * 1. Redistributions of source code, in whole or part and with or without
- * modification (the "Code"), must prominently display this GPG-signed
- * text in verifiable form.
- * 2. Redistributions of the Code in binary form must be accompanied by
- * this GPG-signed text in any documentation and, each time the resulting
- * executable program or a program dependent thereon is launched, a
- * prominent display (e.g., splash screen or banner text) of the Author's
- * attribution information, which includes:
- * (a) Name ("Daniel Aarno"),
- * (b) Professional identification ("M. Sc. Electrical Engineering"), and
- * (c) URL ("http://www.nada.kth.se/~bishop").
- * 3. Neither the name nor any trademark of the Author may be used to
- * endorse or promote products derived from this software without specific
- * prior written permission.
- * 4. Users are entirely responsible, to the exclusion of the Author and
- * any other persons, for compliance with (1) regulations set by owners or
- * administrators of employed equipment, (2) licensing terms of any other
- * software, and (3) local regulations regarding use, including those
- * regarding import, export, and use of encryption software.
- * 
- * THIS FREE SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND
- * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND
- * FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
- * EVENT SHALL THE AUTHOR OR ANY CONTRIBUTOR BE LIABLE FOR
- * ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
- * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
- * EFFECTS OF UNAUTHORIZED OR MALICIOUS NETWORK ACCESS;
- * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
- * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
- * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
- * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
- * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN
- * IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v1.2.4 (GNU/Linux)
-
-iD8DBQFCHuXui6ECThHTSIkRAk9qAKCVs7kMSUtv5YhljeQsAA52EcjTFgCeNflz
-w0lAUG3zeHQcJ+7t6tpce4s=
-=qlVs
------END PGP SIGNATURE-----

+ 0 - 71
dev/aaio/README

@@ -1,71 +0,0 @@
-AAIO Advanced I/O
------------------
-
-Many people moving from Windows programming to UNIX program have problems 
-with the missing non-blocking getch() and getche() functions provided by 
-conio.h. This library provides the functionality of getch(), getche() and
-kbhit(). It does not require an initialization (like curses) and does 
-not abuse the terminal (i.e. whenever the mode of the terminal is 
-changed its state is stored so it can be restored). For increased 
-efficiency there exists funcionality to allow abuse of the terminal as well 
-as functions to restore or reset the terminal when the application exits.
-
-License
--------
-
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
-
- * Copyright (c) 2004-2005 by Daniel Aarno - <[email protected]>
- * M. Sc. Electrical Engineering * http://www.nada.kth.se/~bishop
- * 
- * All Rights Reserved
- * ATTRIBUTION ASSURANCE LICENSE (adapted from the original BSD license)
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the conditions below are met.
- * These conditions require a modest attribution to  (the
- * "Author"), who hopes that its promotional value may help justify the
- * thousands of dollars in otherwise billable time invested in writing
- * this and other freely available, open-source software.
- * 
- * 1. Redistributions of source code, in whole or part and with or without
- * modification (the "Code"), must prominently display this GPG-signed
- * text in verifiable form.
- * 2. Redistributions of the Code in binary form must be accompanied by
- * this GPG-signed text in any documentation and, each time the resulting
- * executable program or a program dependent thereon is launched, a
- * prominent display (e.g., splash screen or banner text) of the Author's
- * attribution information, which includes:
- * (a) Name ("Daniel Aarno"),
- * (b) Professional identification ("M. Sc. Electrical Engineering"), and
- * (c) URL ("http://www.nada.kth.se/~bishop").
- * 3. Neither the name nor any trademark of the Author may be used to
- * endorse or promote products derived from this software without specific
- * prior written permission.
- * 4. Users are entirely responsible, to the exclusion of the Author and
- * any other persons, for compliance with (1) regulations set by owners or
- * administrators of employed equipment, (2) licensing terms of any other
- * software, and (3) local regulations regarding use, including those
- * regarding import, export, and use of encryption software.
- * 
- * THIS FREE SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND
- * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND
- * FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
- * EVENT SHALL THE AUTHOR OR ANY CONTRIBUTOR BE LIABLE FOR
- * ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
- * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
- * EFFECTS OF UNAUTHORIZED OR MALICIOUS NETWORK ACCESS;
- * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
- * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
- * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
- * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
- * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN
- * IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v1.2.4 (GNU/Linux)
-
-iD8DBQFCHuXui6ECThHTSIkRAk9qAKCVs7kMSUtv5YhljeQsAA52EcjTFgCeNflz
-w0lAUG3zeHQcJ+7t6tpce4s=
-=qlVs
------END PGP SIGNATURE-----

+ 7 - 54
dev/aaio/aaio.c

@@ -13,63 +13,16 @@
  */
 
 /*
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
-
  * Copyright (c) 2004-2005 by Daniel Aarno - <[email protected]>
  * M. Sc. Electrical Engineering * http://www.nada.kth.se/~bishop
  * 
- * All Rights Reserved
- * ATTRIBUTION ASSURANCE LICENSE (adapted from the original BSD license)
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the conditions below are met.
- * These conditions require a modest attribution to  (the
- * "Author"), who hopes that its promotional value may help justify the
- * thousands of dollars in otherwise billable time invested in writing
- * this and other freely available, open-source software.
- * 
- * 1. Redistributions of source code, in whole or part and with or without
- * modification (the "Code"), must prominently display this GPG-signed
- * text in verifiable form.
- * 2. Redistributions of the Code in binary form must be accompanied by
- * this GPG-signed text in any documentation and, each time the resulting
- * executable program or a program dependent thereon is launched, a
- * prominent display (e.g., splash screen or banner text) of the Author's
- * attribution information, which includes:
- * (a) Name ("Daniel Aarno"),
- * (b) Professional identification ("M. Sc. Electrical Engineering"), and
- * (c) URL ("http://www.nada.kth.se/~bishop").
- * 3. Neither the name nor any trademark of the Author may be used to
- * endorse or promote products derived from this software without specific
- * prior written permission.
- * 4. Users are entirely responsible, to the exclusion of the Author and
- * any other persons, for compliance with (1) regulations set by owners or
- * administrators of employed equipment, (2) licensing terms of any other
- * software, and (3) local regulations regarding use, including those
- * regarding import, export, and use of encryption software.
- * 
- * THIS FREE SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND
- * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND
- * FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
- * EVENT SHALL THE AUTHOR OR ANY CONTRIBUTOR BE LIABLE FOR
- * ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
- * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
- * EFFECTS OF UNAUTHORIZED OR MALICIOUS NETWORK ACCESS;
- * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
- * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
- * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
- * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
- * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN
- * IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v1.2.4 (GNU/Linux)
-
-iD8DBQFCHuXui6ECThHTSIkRAk9qAKCVs7kMSUtv5YhljeQsAA52EcjTFgCeNflz
-w0lAUG3zeHQcJ+7t6tpce4s=
-=qlVs
------END PGP SIGNATURE-----
-*/
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 2.1 of the License, or (at your option) any later version.
+ * * Relicensed from Attribution Assurance License to LGPLv2 with 
+ * permission from the original author (received 2025-01-09).
+ */
 
 #include "aaio.h"
 

+ 10 - 61
include/aaio.h

@@ -1,7 +1,6 @@
-/**
- * @file aaio.h
- *
+/*
  * AAIO Advanced I/O
+ * -----------------
  *
  * Many people moving from Windows programming to UNIX program have problems 
  * with the missing non-blocking getch() and getche() functions provided by 
@@ -11,69 +10,19 @@
  * changed its state is stored so it can be restored). For increased 
  * efficiency there exists funcionality to allow abuse of the terminal as well 
  * as functions to restore or reset the terminal when the application exits.
- *
- * @author Daniel Aarno
- * @version 0.3.0
  */
 
 /*
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
-
- * Copyright (c) 2004-2005 by Daniel Aarno - <[email protected]>
+ * Copyright (c) 2004-2005 by Daniel Aarno - <[email protected], [email protected]>
  * M. Sc. Electrical Engineering * http://www.nada.kth.se/~bishop
  * 
- * All Rights Reserved
- * ATTRIBUTION ASSURANCE LICENSE (adapted from the original BSD license)
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the conditions below are met.
- * These conditions require a modest attribution to  (the
- * "Author"), who hopes that its promotional value may help justify the
- * thousands of dollars in otherwise billable time invested in writing
- * this and other freely available, open-source software.
- * 
- * 1. Redistributions of source code, in whole or part and with or without
- * modification (the "Code"), must prominently display this GPG-signed
- * text in verifiable form.
- * 2. Redistributions of the Code in binary form must be accompanied by
- * this GPG-signed text in any documentation and, each time the resulting
- * executable program or a program dependent thereon is launched, a
- * prominent display (e.g., splash screen or banner text) of the Author's
- * attribution information, which includes:
- * (a) Name ("Daniel Aarno"),
- * (b) Professional identification ("M. Sc. Electrical Engineering"), and
- * (c) URL ("http://www.nada.kth.se/~bishop").
- * 3. Neither the name nor any trademark of the Author may be used to
- * endorse or promote products derived from this software without specific
- * prior written permission.
- * 4. Users are entirely responsible, to the exclusion of the Author and
- * any other persons, for compliance with (1) regulations set by owners or
- * administrators of employed equipment, (2) licensing terms of any other
- * software, and (3) local regulations regarding use, including those
- * regarding import, export, and use of encryption software.
- * 
- * THIS FREE SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND
- * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND
- * FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
- * EVENT SHALL THE AUTHOR OR ANY CONTRIBUTOR BE LIABLE FOR
- * ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
- * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
- * EFFECTS OF UNAUTHORIZED OR MALICIOUS NETWORK ACCESS;
- * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
- * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
- * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
- * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
- * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN
- * IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v1.2.4 (GNU/Linux)
-
-iD8DBQFCHuXui6ECThHTSIkRAk9qAKCVs7kMSUtv5YhljeQsAA52EcjTFgCeNflz
-w0lAUG3zeHQcJ+7t6tpce4s=
-=qlVs
------END PGP SIGNATURE-----
-*/
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 2.1 of the License, or (at your option) any later version.
+ * * Relicensed from Attribution Assurance License to LGPLv2 with 
+ * permission from the original author (received 2025-01-09).
+ */
 
 #ifndef _L_AAIO_
 #define _L_AAIO_

二进制
libaaio/libaaio-0.3.2.tar.bz2